custom-plan
Create a structured feature plan using PLAN + WORKING_MEMORY + USER_VERIFICATION (tasklist) files
Review code for bugs, improvements, and best practices with actionable feedback
How it fires
How this command gets triggered: by you, by Claude, or both.
/code-reviewContext preview
What this command does when you run it.
Review code for bugs, improvements, and best practices with actionable feedback
description: "Review code for bugs, improvements, and best practices with actionable feedback" id: code-review name: code-review category: coding
<!-- TODO: (355) Move all prompts off absolute path and into relative agent specific paths, referenced using @dexto.agent_dir colocated near their folders. This allows us to keep agent specific prompts --> <!-- https://github.com/truffle-ai/dexto/pull/355#discussion_r2413003414 -->
I'm here to help you review code for bugs, improvements, and best practices. I'll analyze your code and provide actionable feedback with specific suggestions for improvement.
When you share code with me, I'll:
1. **Analyze the code structure** and identify potential issues 2. **Check for common bugs** and edge cases 3. **Suggest performance improvements** and optimizations 4. **Review code style** and adherence to best practices 5. **Provide specific, actionable feedback** with examples 6. **Consider the context** and purpose of your code
# Use natural language - I'll understand what you want!
/code-review function calculateTotal(items) { return items.reduce((sum, item) => sum + item.price, 0); }
/code-review this React component for accessibility issues
/code-review my Python function for error handling
/code-review this SQL query for performance
/code-review my API endpoint for security vulnerabilitiesI analyze code for:
1. **Initial Scan**: Quick overview of structure and purpose 2. **Detailed Analysis**: Line-by-line review for specific issues 3. **Pattern Recognition**: Identify common anti-patterns and improvements 4. **Alternative Solutions**: Suggest better approaches when applicable 5. **Prioritization**: Rank issues by severity and impact
I'll structure my review as:
1. **Summary** - High-level assessment and key findings 2. **Critical Issues** - Bugs, security problems, major performance issues 3. **Improvements** - Code quality, readability, and maintainability 4. **Suggestions** - Alternative approaches and best practices 5. **Questions** - Clarifications needed to provide better feedback 6. **Overall Rating** - Code quality score with justification
I can review code in:
When reviewing for security, I check:
When reviewing for performance, I examine:
Now, share your code and I'll provide a comprehensive review! You can paste it directly or describe what you'd like me to focus on.
Agent harness and tookit for building AI agents and agentic applications. CLI and SDKs included
Create a structured feature plan using PLAN + WORKING_MEMORY + USER_VERIFICATION (tasklist) files
Analyze a file or folder for code slop and quality issues compared to main branch
Start the Dexto development server with optional agent file selection
Update Agent Registry documentation to match agent-registry.json
Update MCP Registry documentation to match server-registry-data.json