18 lines
531 B
Markdown
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.
|