Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Discover and apply organization coding standards from .forge-review/ configuration
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | 586% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 28% | 0% |
| case-09 | ✗→✓ | ▲ Improved | -34% | 0% |
| case-20 | ✗→✓ | ▲ Improved | 28% | 0% |
| case-21 | ✗→✓ | ▲ Improved | 24% | 0% |
Teaches the agent to discover and apply organization-specific coding standards stored in a .forge-review/ directory in the target repository. This skill provides configuration templates and standard rule files that teams can customize.
The .forge-review/ directory is a convention for storing code review configuration alongside the codebase. When present, the code-review skill automatically loads these standards and applies them during reviews.
This skill:
.forge-review/ directory structure and file formats.forge-review/
├── config.yaml # Review configuration
├── .forge-review-ignore # Files/patterns to skip during review
└── standards/ # Coding standards (one file per topic)
├── general.md # General coding rules
├── security.md # Security rules
├── go.md # Go-specific rules
├── python.md # Python-specific rules
├── typescript.md # TypeScript rules
└── testing.md # Testing rulesInitialize a .forge-review/ directory in the current repository with default templates.
This is a binary-backed tool that uses filesystem operations (mkdir, write) to scaffold the standards directory. The agent reads templates bundled with this skill and writes them to the target repository.
Input:
| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | target_dir | string | no | Target directory (default: current working directory) | | languages | array | no | Language-specific standards to include: go, python, typescript. Default: all | | overwrite | boolean | no | Overwrite existing files. Default: false |
Output: List of created files and a summary of the initialized configuration.
The agent selects this tool when it detects:
.forge-review/ directory structureCheck whether the current repository has a .forge-review/ configuration and report its status.
Input:
| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | target_dir | string | no | Directory to check (default: current working directory) |
Output: JSON object with configuration status, found files, and any validation issues.
The agent selects this tool when it detects:
yaml# .forge-review/config.yaml version: "1" # Default review settings review: # Focus areas to always include (bugs, security, style, performance, maintainability) default_focus: - bugs - security # Severity threshold: only report findings at or above this level # Options: nitpick, info, warning, error min_severity: info # Maximum findings to report per review max_findings: 50 # Language-specific settings languages: go: standards_file: standards/go.md enabled: true python: standards_file: standards/python.md enabled: true typescript: standards_file: standards/typescript.md enabled: true # File patterns to always skip (supplements .forge-review-ignore) skip_patterns: - "vendor/**" - "node_modules/**" - "*.generated.go" - "*.min.js" - "**/*.pb.go"
Gitignore-style patterns for files that should be skipped during review:
# Dependencies
vendor/
node_modules/
# Generated code
*.generated.go
*.pb.go
*_gen.go
# Build artifacts
dist/
build/
*.min.js
*.min.css
# Test fixtures
testdata/
**/fixtures/**
# Documentation
*.md
LICENSEStandards files are markdown documents with rules organized by category. Each rule should be clear and actionable. The code-review skill injects these into the LLM prompt during review.
Format:
markdown# Category Name ## Rule Title Description of the rule and why it matters. **Good:** \`\`\`go // example of correct code \`\`\` **Bad:** \`\`\`go // example of incorrect code \`\`\`
This skill bundles template files in the templates/ directory. Use review_standards_init to copy them into a target repository, or browse them directly for reference.
Available templates:
templates/.forge-review/config.yaml — Default configurationtemplates/.forge-review/.forge-review-ignore — Default ignore patternstemplates/.forge-review/standards/general.md — General coding standardstemplates/.forge-review/standards/security.md — Security review rulestemplates/.forge-review/standards/go.md — Go-specific standardstemplates/.forge-review/standards/python.md — Python-specific standardstemplates/.forge-review/standards/typescript.md — TypeScript standardstemplates/.forge-review/standards/testing.md — Testing standards.forge-review/overwrite: false)Other measured skills in the registry, with their headline benchmark lift.