Files
gh-rubencodeforges-codeforg…/commands/analyze-file.md
2025-11-30 08:53:15 +08:00

18 lines
531 B
Markdown

---
name: analyze-file
description: Deep analysis of a specific file using code-analyst sub-agent
---
Invoke the @code-analyst sub-agent to perform a comprehensive analysis of the specified file.
The analysis should include:
- File purpose and responsibility
- Structure (functions, classes, exports)
- Dependencies (external and internal)
- Usage analysis (where this file is imported)
- Code quality assessment
- Potential issues and improvements
- Related files (tests, dependencies)
Provide the file path after the command.