Install any skill in seconds. Free to start, no credit card required.
Get Started Free →svgreg/sg-code-review
Perform a cold code review of one rotating area of the skill-guard codebase — hunt for correctness bugs, security issues, and performance/efficiency problems, then fix what fits in one PR.
Passed 14 of 20 test cases with the skill, and 7 of 20 without it.
and 11 more in the full report
11 fixed6 passed either way5 still failing2 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 11 test cases the skill fixed. Same model, same prompt, with and without the skill.
Which package slot in the SurfaceGuard maintenance review rotation comes immediately after `pkg/report` (slot 6)?
| Checked | Without skill | With skill |
|---|---|---|
| Identifies slot 7 as cmd/surfaceguard. | Missed | Passed |
The instructions your model reads when the skill loads.
Goal: review one slice of the codebase with fresh eyes across three lenses — correctness, security, performance/efficiency — and land the fixes that fit in a single focused PR.
All sg-maintain global guardrails apply. If a fix is risky, large, or changes behavior in a way
that needs a decision, don't force it into this cycle — file it to docs/planned-rules.md or a
GitHub issue and move on. Small, correct, reviewable increments only.
Load state from .claude/maintenance/state.json → review_area_cursor. Rotate through the areas:
0 pkg/skill 1 pkg/rules 2 pkg/scan 3 pkg/policy
4 pkg/attest 5 pkg/verify 6 pkg/report 7 cmd/surfaceguard
8 pkg/attest/oms 9 pkg/guard 10 keyless/ 11 hooks/
Advance to the next area each cycle. A caller may name a specific path instead.
Slots 8–11 were added after those areas shipped, and had never been reviewed. Keep this list current: a rotation that silently omits a package means the newest, least-exercised code — which here includes signature parsing, certificate handling and the load-time gate — is the code nobody looks at. When a new top-level package or module appears, add a slot in the same PR.
Two of them need care:
keyless/ is a separate Go module. Build and test it from its own directory
(cd keyless && go vet ./... && go test ./...); go test ./... at the repo root does not
reach it. Never let its dependency graph leak into the core module — CI asserts this, and
breaking it defeats the reason the module exists (keyless/README.md).hooks/ is Python, not Go: review it with python3 -m unittest discover hooks/tests and read
it as a security boundary — it decides whether a skill reaches the model.Read the area's code closely. Then bring in the repo's own reviewers where they help:
test cases passed, vs 7 / 20 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.