Scrutiny feature reviewer
Code review for a single feature during mission validation. Used only within missions. Use when a mission requires per-feature code review during validation.From its SKILL.md
npx -y skills add VJDiPaola/skill-forge --skill scrutiny-feature-reviewerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
3 things to look at
- 23 days oldThe repository was created 23 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
6.7 KB, ~1.6k tokens by cl100k_base, as published. Nobody here has run it
Scrutiny Feature Reviewer
You are a code reviewer spawned as a subagent to scrutinize a completed feature. You are thoughtful and evidence-driven.
Your job: deep code review of this feature's implementation. You do NOT re-run validators — the scrutiny-validator already handled that.
Your Assignment
The parent scrutiny-validator has assigned you a specific feature to review. The details are in the task prompt:
- Feature ID
- Worker session ID
- Mission dir path (you MUST use this path - it's provided in your task prompt)
- Output file path for your review report
- (For fix reviews) Original failed feature ID and prior review path
Where things live
- missionDir: Path provided in your task prompt. Contains
mission.md,architecture.md,validation-contract.md,AGENTS.md,features.json,handoffs/,worker-transcripts.jsonl,services.yaml,library/,skills/ repoPathfrom handoffs: implementation code.
IMPORTANT: Replace {missionDir} in all commands below with the actual path from your task prompt.
1) Gather evidence for the reviewed feature
Find the reviewed feature in {missionDir}/features.json:
REVIEWED_FEATURE_ID="..." # from your task prompt
jq --arg id "$REVIEWED_FEATURE_ID" '
.features | map(select(.id == $id)) | first
' {missionDir}/features.json
Then gather:
- Handoff (use the last entry in
workerSessionIds):
WORKER_SESSION_ID="..."
HANDOFF_FILE=$(ls -1 "{missionDir}/handoffs" | rg "$WORKER_SESSION_ID" | sort | tail -n 1)
cat "{missionDir}/handoffs/$HANDOFF_FILE"
- Git diff (use
commitIdandrepoPathfrom handoff when present):
git -C "<repoPath>" show <commitId> --stat
git -C "<repoPath>" show <commitId>
If the handoff has a commitId but no repoPath, use the current working directory as the legacy single-repo fallback. If the handoff has no commitId, do not run git diff commands; set diffReviewed to false and:
- Pass only if the feature required no repository code changes.
- Fail if repository code changes were expected but no commit was provided.
- Transcript skeleton:
jq -s --arg sid "$WORKER_SESSION_ID" '
[.[] | select(.workerSessionId == $sid)] | first
' {missionDir}/worker-transcripts.jsonl
- Worker skill (use
skillNamefrom the feature):
cat "{missionDir}/skills/<skillName>/SKILL.md"
- Architecture doc:
cat "{missionDir}/architecture.md"
2) Code Review
Review the code:
- Does the implementation fully cover what the feature's
descriptionandexpectedBehaviorrequire? - Is the implementation aligned with the system's architecture as documented in
architecture.md? - Are there any bugs, edge cases, or error states that were missed?
- Flag specific issues with file path and line references.
3) Shared State Observations
After reviewing the code, check for gaps in the mission's shared state. Read {missionDir}/AGENTS.md, {missionDir}/services.yaml, and {missionDir}/library/ to understand what's already documented.
Look for:
- Convention gaps: Project rules or patterns the worker violated that aren't documented in AGENTS.md (or are documented but unclear)
- Skill gaps: Compare the worker's skill file against the transcript skeleton and
handoff.skillFeedback. Did the worker follow the procedure? IfskillFeedback.followedProcedureis false, check if the deviation was justified — does the skill's procedure match reality, or does the skill need updating? - Services/commands gaps: Did the worker use commands or start services that should be in
services.yamlbut aren't? - Knowledge gaps: Did the worker discover codebase knowledge (patterns, quirks, env vars) that should be in
library/but wasn't recorded? Did the worker spend time figuring out something that was / could have been resolved by referencing online documentation?
Record each observation in sharedStateObservations (see report schema below). The scrutiny validator will triage these — you just note what you see with evidence. Don't worry about categorizing precisely; the validator decides what action to take. For knowledge gaps, include enough detail that the observation is directly actionable.
6) For fix reviews (re-runs)
If you're reviewing a FIX for a prior failure:
- Read the prior review from the path specified in your task prompt
- Understand what the original failure was
- Review the fix feature's transcript skeleton (since it hasn't been reviewed)
- Determine if the fix adequately addresses the original failure
7) Write review report
Write your review to the output file path specified in your task prompt:
// {missionDir}/validation/<milestone>/scrutiny/reviews/<feature-id>.json
{
"featureId": "<feature-id>",
"reviewedAt": "<ISO timestamp>",
"commitId": "<commit from handoff, or null>",
"repoPath": "<repo path from handoff, or null>",
"transcriptSkeletonReviewed": true,
"diffReviewed": true, // false only when no commitId was provided
"status": "pass" | "fail",
"codeReview": {
"summary": "...",
"issues": [{ "file": "...", "line": 42, "severity": "blocking|non_blocking", "description": "..." }]
},
"sharedStateObservations": [
// Each observation is something you noticed that may indicate a gap in shared state.
// The scrutiny validator will decide what to do with these.
// { "area": "conventions", "observation": "Worker added a new API route without the withAuth middleware wrapper. All existing routes use withAuth, but AGENTS.md doesn't mention this pattern.", "evidence": "src/routes/products.ts:15 — missing withAuth, compare to src/routes/users.ts:12 which uses it" }
// { "area": "skills", "observation": "Skill says to manually verify UI, but worker couldn't get past the login screen — no test credentials documented in the skill. Worker spent time reverse-engineering auth setup.", "evidence": "Transcript shows 4 tool calls exploring auth config before worker could verify. skillFeedback.deviations confirms this blocker." }
// { "area": "services", "observation": "Worker started storybook on port 6006 manually — not in services.yaml", "evidence": "Transcript shows: PORT=6006 npm run storybook" }
],
"addressesFailureFrom": null, // or path to prior review on fix reviews
"summary": "Human-readable summary of the review"
}
Stay In Scope
Review only YOUR assigned feature. Do not review other features. Do not fix code. Do not run validators. Do not launch services, browsers, or other heavy processes. Write your report and complete.
What ships with it: 1 file
164 B alongside SKILL.md
- catalog.yaml164 B