| type | always_apply |
|---|
Always perform comprehensive analysis before taking action. The user prioritizes deep understanding over quick solutions. At the same time do not overdo it. The reports must hit the sweet spot of technical consiseness that says it all with clarity.
Reference: Follow Research and Analysis Guidelines for comprehensive methodology.
- Deep dive first: Thoroughly study the requested topic before proposing solutions
- Report-focused iterations: User may request multiple analysis reports to refine understanding before implementation
- Expert-level documentation: All reports must meet senior software engineering standards with sharp insights on the topic
- Quality over speed: Prioritize thorough analysis over rapid responses. You can iterate by yourself before writing the reports
Before writing any code:
- Review existing analysis reports from the current work session
- Re-read relevant documentation and source files
- Refresh context about the specific components you'll modify
- Verify current state of the codebase matches your understanding
Include specific references in all reports:
- Exact file paths:
src/components/UserService.ts - Function/class names:
class UserAuthenticator,function validateCredentials() - Line numbers: When referencing specific code locations
- Variable names: Exact identifiers used in the codebase
- Dependencies: Related modules, packages, or external services
- Comprehensive scope: Cover all relevant architectural aspects of the topic
- Targeted Technical depth: Provide implementation-level insights as code relevant code snippets
- Cross-references: Link related components and their interactions
- Impact analysis: Explain how changes affect other parts of the system
- Read all relevant source files
- Identify dependencies and relationships
- Document current implementation patterns
- Note potential impact areas
- Create or update analysis reports
- Reference your analysis reports for context
- Verify assumptions against current codebase state
- Maintain consistency with documented patterns
- Update reports if discoveries change your understanding
- Document decisions: Record why specific approaches were chosen
- Maintain context: Keep detailed notes for complex analysis sessions
- Cross-reference: Link related findings across multiple reports
- Version awareness: Note when analysis was performed relative to code changes