Completed clean root directory structure: - Root now contains only: .git, .env, docs/, orig/ - Moved all remaining files and directories to orig/: - Config files (.claude, .dockerignore, .drone.yml, etc.) - All .env variants (except active .env) - Git config (.gitconfig, .github, .gitignore, etc.) - Tool configs (.golangci.yml, .revive.toml, etc.) - Documentation (*.md files, @prompts) - Build files (Dockerfiles, Makefile, go.mod, go.sum) - Docker compose files - All source directories (scripts, tests, tools, etc.) - Runtime directories (logs, monitoring, reports) - Dependency files (node_modules, lib, cache) - Special files (--delete) - Removed empty runtime directories (bin/, data/) V2 structure is now clean: - docs/planning/ - V2 planning documents - orig/ - Complete V1 codebase preserved - .env - Active environment config (not in git) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
2.5 KiB
2.5 KiB
Perform Code Review
Perform a comprehensive code review for the following changes: $ARGUMENTS
Code Review Framework:
- Functional Review: Verify code correctness and requirements implementation
- Quality Review: Assess code quality, readability, and maintainability
- Security Review: Identify potential security vulnerabilities
- Performance Review: Evaluate performance implications
- Testing Review: Check test coverage and quality
Review Standards:
Go Code Review
- Error Handling: Proper error wrapping and handling
- Concurrency: Correct use of goroutines, channels, and mutexes
- Interfaces: Appropriate interface design and usage
- Documentation: Clear comments and godoc compliance
- Testing: Adequate test coverage and quality
Solidity Code Review
- Security: Reentrancy, overflow/underflow, access controls
- Gas Optimization: Efficient use of gas and state variables
- Best Practices: Follow Solidity and DeFi security best practices
- Documentation: Proper NatSpec comments
- Testing: Comprehensive test coverage
JavaScript Code Review
- Vue Patterns: Proper use of Composition API and reactivity
- State Management: Correct Pinia usage and state handling
- Web3 Integration: Secure and efficient web3 interactions
- Performance: Optimal component rendering and data fetching
- Testing: Adequate Vue component and unit tests
Review Checklist:
General
- Code follows project style guidelines
- Naming conventions are consistent and meaningful
- Code is well-documented with comments
- No dead or commented-out code
- Dependencies are properly managed
Security
- Input validation is implemented
- Sensitive data is handled securely
- No hardcoded secrets or credentials
- Proper access controls are in place
- Security best practices are followed
Performance
- No obvious performance bottlenecks
- Memory usage is optimized
- Database queries are efficient
- Caching strategies are appropriate
- Concurrency patterns are efficient
Testing
- Adequate test coverage
- Tests are well-structured and readable
- Edge cases are covered
- Mocks and stubs are used appropriately
- Performance tests are included for critical paths
Output Requirements:
- Detailed feedback with specific line references
- Priority levels for issues (Critical/High/Medium/Low)
- Suggestions for improvements
- Approval or rejection recommendation
- Follow-up actions if needed