Read the LaTeX source file.
Identify the document structure (sections, figures, tables).
Check for grammar and writing style issues.
Verify LaTeX best practices (e.g., use of siunitx, hyperref).
Suggest improvements for clarity and conciseness.
Apply the suggested changes to the LaTeX source.
Output the polished LaTeX source file.