56 lines
2.6 KiB
Markdown
56 lines
2.6 KiB
Markdown
---
|
|
allowed-tools: mcp__serena__list_dir, mcp__serena__find_file, mcp__serena__search_for_pattern, mcp__serena__get_symbols_overview, mcp__serena__find_symbol, mcp__serena__find_referencing_symbols, mcp__serena__replace_symbol_body, mcp__serena__insert_after_symbol, mcp__serena__insert_before_symbol, mcp__context7__resolve-library-id, mcp__context7__get-library-docs, mcp__sequential-thinking__process_thought, mcp__sequential-thinking__generate_summary, Read
|
|
description: Advanced code analysis and development using semantic tools, documentation, and structured decision making
|
|
argument-hint: [task description or development requirement]
|
|
model: claude-sonnet-4-5-20250929
|
|
---
|
|
|
|
# Go
|
|
|
|
Advanced code analysis, development, and decision-making command that uses `USER_TASK` to analyze requirements through semantic code tools, up-to-date documentation, and structured thinking processes.
|
|
|
|
## Variables:
|
|
|
|
USER_TASK: $1
|
|
PROJECT_ROOT: .
|
|
CLAUDE_CONFIG: CLAUDE.md
|
|
|
|
## Instructions:
|
|
|
|
- Read `CLAUDE_CONFIG` to understand project context and requirements
|
|
- Use `USER_TASK` to determine specific analysis or development needs
|
|
- Apply serena tools for semantic code retrieval and precise editing operations
|
|
- Leverage context7 for current third-party library documentation and examples
|
|
- Use sequential thinking for all decision-making processes and complex analysis
|
|
- Maintain structured approach with clear reasoning for all actions taken
|
|
|
|
## Workflow:
|
|
|
|
1. Read `CLAUDE_CONFIG` file to understand project structure and context
|
|
2. Use sequential thinking to process and break down `USER_TASK` requirements
|
|
3. Use serena semantic tools to explore relevant codebase sections and symbols
|
|
4. Retrieve up-to-date documentation using context7 for any third-party dependencies
|
|
5. Apply structured decision-making through sequential thinking for implementation approach
|
|
6. Execute precise code analysis or modifications using serena's semantic editing tools
|
|
7. Document reasoning and decisions made throughout the process
|
|
8. Generate summary of actions taken and results achieved
|
|
9. Provide clear recommendations for next steps or follow-up actions
|
|
|
|
## Report:
|
|
|
|
Advanced Analysis Complete
|
|
|
|
Task: `USER_TASK` processed using semantic tools and structured thinking
|
|
Key Components:
|
|
|
|
- Project context analysis from `CLAUDE_CONFIG`
|
|
- Semantic code exploration and analysis using serena tools
|
|
- Third-party documentation retrieval via context7
|
|
- Structured decision-making through sequential thinking process
|
|
- Precise code modifications or analysis results
|
|
- Clear reasoning documentation and next step recommendations
|
|
|
|
## Relevant Files:
|
|
|
|
- [@CLAUDE.md]
|