Home Information - Your home, your data, organized.
Python
allowed-tools: Bash, Read, TodoWrite, Task description: Prepare code for review with quality checks and analysis argument-hint:
Prepare current code for review following our quality standards:
Code Review Preparation Process
Execute comprehensive review preparation:
Use TodoWrite to plan review preparation - Track all quality checks
- Read
docs/CLAUDE.mdfor AI behavior patterns and quality standards - Use sub-agent coordination for expert analysis
- Read
Run mandatory quality checks - Both must pass:
# Run full test suite (must pass) make test# Run code quality check (must pass with no output) make lintCRITICAL: Address any failures before proceeding
Generate change summary - Document what was modified:
# Show recent commits on current branch git log --oneline --graph -10 # Show diff against staging branch git diff staging...HEAD # Show changed files git diff --name-only staging...HEADUse specialized review agents - Get expert analysis:
- Use Task tool with test-engineer agent: Review test coverage and quality
- Use Task tool with domain-expert agent: Analyze business logic changes
- Use Task tool with backend-dev agent: Review Django patterns (if applicable)
- Use Task tool with frontend-dev agent: Review template/UI changes (if applicable)
Identify potential issues - Look for:
- Code quality concerns
- Security vulnerabilities
- Performance implications
- Breaking changes
- Missing tests
- Documentation gaps
Create review checklist - Generate actionable items:
- Code quality improvements needed
- Test coverage gaps to address
- Documentation updates required
- Security considerations
- Performance optimizations
- Breaking change documentation
Generate review summary - Provide comprehensive overview:
- Summary of changes made
- Key components modified
- Business impact assessment
- Quality metrics (tests passing, lint clean)
- Potential risks or concerns
- Reviewer guidance and focus areas
Review preparation goals:
- Ensure code meets our quality standards
- Identify potential issues before PR creation
- Provide comprehensive change documentation
- Generate reviewer guidance
Current branch: [Will be determined from git status]
Begin review preparation now.