Reviewed by 20X · No signed release verified
- Works with (as stated by the author)
- Claude Code, Cursor
Review details
- Human review
- Review recorded for these files
- Limited checks
- Limited checks recorded (v2.1.0)
- Source
- Source not verified
A verified signature checks published file bytes against a trusted publisher’s signed manifest. It does not verify safety, authorship, rights or assistant use.
Declarations and limited checks do not guarantee safety or sharing rights. Review the files before use. Access that the author has not stated is unknown.
How to use it
- 1Save the file under ~/.claude/rules/ (all projects) or .claude/rules/ inside a project.
- 2Remove any sections that don't apply to your work.
- 3Start a new Claude Code session so the rule is loaded.
Community results
0 reportsNo one has shared a result yet.
1 file. Filenames and raw files are in Technical details.
Code Review Standards
Purpose
Code review ensures quality, security, and maintainability before code is merged. This rule defines when and how to conduct code reviews.
When to Review
MANDATORY review triggers:
- After writing or modifying code
- Before any commit to shared branches
- When security-sensitive code is changed (auth, payments, user data)
- When architectural changes are made
- Before merging pull requests
Pre-Review Requirements:
Before requesting review, ensure:
- All automated checks (CI/CD) are passing
- Merge conflicts are resolved
- Branch is up to date with target branch
Review Checklist
Before marking code complete:
- Code is readable and well-named
- Functions are focused (<50 lines)
- Source files are cohesive (under the 800-line soft maintainability ceiling, or include a reason for a deliberate exception)
- No deep nesting (>4 levels)
- Errors are handled explicitly
- No hardcoded secrets or credentials
- No console.log or debug statements
- Tests exist for new functionality
- Test coverage meets 80% minimum
Security Review Triggers
STOP and use security-reviewer agent when:
- Authentication or authorization code
- User input handling
- Database queries
- File system operations
- External API calls
- Cryptographic operations
- Payment or financial code
Review Severity Levels
| Level | Meaning | Action |
|---|---|---|
| CRITICAL | Security vulnerability or data loss risk | BLOCK - Must fix before merge |
| HIGH | Bug or significant quality issue | WARN - Should fix before merge |
| MEDIUM | Maintainability concern, including an unexplained source file over the soft 800-line ceiling | INFO - Consider fixing |
| LOW | Style or minor suggestion | NOTE - Optional |
Agent Usage
Use these agents for code review:
| Agent | Purpose |
|---|---|
| code-reviewer | General code quality, patterns, best practices |
| security-reviewer | Security vulnerabilities, OWASP Top 10 |
| typescript-reviewer | TypeScript/JavaScript specific issues |
| python-reviewer | Python specific issues |
| go-reviewer | Go specific issues |
| rust-reviewer | Rust specific issues |
Review Workflow
1. Run git diff to understand changes
2. Check security checklist first
3. Review code quality checklist
4. Run relevant tests
5. Verify coverage >= 80%
6. Use appropriate agent for detailed review
Common Issues to Catch
Security
- Hardcoded credentials (API keys, passwords, tokens)
- SQL injection (string concatenation in queries)
- XSS vulnerabilities (unescaped user input)
- Path traversal (unsanitized file paths)
- CSRF protection missing
- Authentication bypasses
Code Quality
- Large functions (>50 lines) - split into smaller
- Large files (>800 lines) - extract modules
- Deep nesting (>4 levels) - use early returns
- Missing error handling - handle explicitly
- Mutation patterns - prefer immutable operations
- Missing tests - add test coverage
Performance
- N+1 queries - use JOINs or batching
- Missing pagination - add LIMIT to queries
- Unbounded queries - add constraints
- Missing caching - cache expensive operations
Approval Criteria
- Approve: No CRITICAL or HIGH issues
- Warning: Only HIGH issues (merge with caution)
- Block: CRITICAL issues found
Integration with Other Rules
This rule works with:
- testing.md - Test coverage requirements
- security.md - Security checklist
- git-workflow.md - Commit standards
- agents.md - Agent delegation
Latest changes
Initial reviewed release.
Version history
v1.0.0
Initial reviewed release.
File access pausedFile verification
- File integrity
No signed release verified for this version.
This checks published bytes, not safety, authorship, rights or assistant use.
Full compatibility
As stated by the author: Claude Code, Cursor
Included files
1 filecode-review.md
markdownPublic file access is temporarily paused.
Use in your own tool
Save this resource and connect your assistant in the Use with flow before copying a test request.
Related resources
Security Guidelines (ECC)
Mandatory pre-commit security checks: secrets, input validation, injection, XSS, CSRF, auth, and rate limits.
Claude Code, Cursor
- Rating
- Not rated
- Recorded downloads in the past 90 days
- 0
- Updated
- Nov 11
Git Workflow Rules (ECC)
Commit message format, PR workflow, and branch practices.
Claude Code, Cursor
- Rating
- Not rated
- Recorded downloads in the past 90 days
- 0
- Updated
- Nov 11
Todoist AI MCP
Official Todoist tools and MCP server for managing tasks, projects, sections, and comments.
Claude Desktop, Claude Code +2
- Rating
- Not rated
- Recorded downloads in the past 90 days
- 0
- Updated
- Nov 11