1. Clarify the research topic and requirements with the user.
2. Develop a detailed outline of the paper structure (Introduction, Related Work, Methodology, etc.).
3. Draft each section of the paper iteratively, starting with the core contribution.
4. Add in-text citations and create a comprehensive reference list in the specified format (IEEE or ACM).
5. Review and refine the paper for logical flow, consistency, and completeness.
6. Format the paper according to the IEEE or ACM guidelines, including margins, fonts, and layout.
7. Ensure the abstract accurately summarizes the paper's content and contributions.