Review Skills
A review skill is a Claude Code SKILL.md that says what to audit. Reviewflow runs it in the MR worktree; the skill rules its findings through the record_verdict MCP tool and prints the marker it returns.
How a verdict is computed
| Rule | Value |
|---|---|
| Severity → grade | blocking D · important C · suggestion B · note A |
| Retained findings | maintained and boy-scout only |
| Dimension grade | Worst retained finding of the dimension; sante also takes health, the only source of E |
| Overall grade | Worst dimension grade |
| Verdict | changes when a blocking or important finding is retained, otherwise ready |
Change the findings below; the result comes from the same recordVerdict function the server runs.
Quality gate: with qualityThreshold set in the project config, approval needs a verdict, no open blocker, ready, and a grade within the threshold.
Minimal skill
.claude/skills/my-review/SKILL.md:
---
name: my-review
description: My project's code review skill
---
# Code Review
1. Read the changed files
2. Check for bugs, security issues and code smells
3. Rule every finding, then call the `record_verdict` MCP tool once
4. Write the report, ending with the `marker` returned by `record_verdict`
## Output Format
# Review Report
## Summary
## Blocking Issues
## Suggestions
[REVIEW_STATS:...] ← the marker returned by record_verdict, printed as is| Frontmatter | Required | Description |
|---|---|---|
name | Yes | Unique identifier, kebab-case |
description | Yes | Shown in the Claude Code skill list |
Point the project at it
.claude/reviews/config.json:
{
"github": true,
"gitlab": false,
"provider": "anthropic",
"model": "sonnet-4",
"reviewSkill": "my-review"
}| Field | Type | Description |
|---|---|---|
github / gitlab | boolean | Platforms to enable |
provider | string | anthropic (default) runs reviews; openai, gemini and ollama are selectable but cannot run reviews yet |
model | string | Model from the provider catalog, e.g. sonnet-4 |
reviewSkill | string | Skill for first reviews |
reviewFollowupSkill | string | Optional skill for follow-ups |
Full schema: Project Configuration.
Progress agents
Declare agents in config.json, then emit matching markers from the skill; the dashboard tracks each one.
{
"agents": [
{ "name": "architecture", "displayName": "Architecture" },
{ "name": "security", "displayName": "Security" },
{ "name": "testing", "displayName": "Testing" }
]
}[PROGRESS:architecture:started]
... analysis ...
[PROGRESS:architecture:completed]Thread actions and errors
Markers and MCP actions become glab / gh calls; see the Markers Reference for every command and thread ID format. A failed thread action is logged and never blocks the next one; an invalid thread ID logs a 404.
Test locally
cd /path/to/your/repo
claude -p "/my-review 123"Check the report structure, the [REVIEW_STATS:...] line and the thread IDs.
See also: Markers · MCP Tools · Configuration · Example skills · Troubleshooting