Skip to content

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 ​

Findings are ruled, each dimension takes its worst retained finding, the overall grade takes the worst dimension

RuleValue
Severity → gradeblocking D · important C · suggestion B · note A
Retained findingsmaintained and boy-scout only
Dimension gradeWorst retained finding of the dimension; sante also takes health, the only source of E
Overall gradeWorst dimension grade
Verdictchanges 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:

markdown
---
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
FrontmatterRequiredDescription
nameYesUnique identifier, kebab-case
descriptionYesShown in the Claude Code skill list

Point the project at it ​

.claude/reviews/config.json:

json
{
  "github": true,
  "gitlab": false,
  "provider": "anthropic",
  "model": "sonnet-4",
  "reviewSkill": "my-review"
}
FieldTypeDescription
github / gitlabbooleanPlatforms to enable
providerstringanthropic (default) runs reviews; openai, gemini and ollama are selectable but cannot run reviews yet
modelstringModel from the provider catalog, e.g. sonnet-4
reviewSkillstringSkill for first reviews
reviewFollowupSkillstringOptional 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.

json
{
  "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 ​

bash
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

Released under the MIT License.