Automated summary
Invoked as /verify-subtask, this skill reads a subtask specification, collects the corresponding git diff, and delegates to the subtask-verifier agent to produce a spec-compliance matrix with a PASS, PARTIAL, or FAIL verdict.
Strengths
- Automates the comparison between a roadmap spec and the code that was actually changed
- Resolves the spec path sensibly (explicit .md or expansion under docs/roadmap/) and returns an error message with a concrete example
- Handles a clean working tree by falling back to the most recent commit (HEAD~1)
- Emits a normalized output: verbatim matrix, verdict, and a 'Next step' line pointing to /test-gap, a fix, or /pr-review
Limitations
- Assumes a docs/roadmap/<...>.md spec layout and a pre-existing subtask-verifier agent
- Only covers uncommitted changes or the last commit; wider commit ranges are not handled
- Fixes nothing and runs no tests: it is a read-only compliance check, not functional validation
Use it right after implementing a subtask, before running /test-gap and /pr-review, to confirm the code matches its specification.
Skip it if the project does not keep subtask specs under docs/roadmap/ or if the subtask-verifier agent is not installed.
Security analysis
SafeThe skill is a read-and-report workflow: it resolves a markdown spec path under docs/roadmap, runs read-only git diff commands, and delegates a compliance report to a named sub-agent. There are no network calls, no deletion, no credential handling, no obfuscated payloads, and no attempts to weaken agent safety behavior. The only notable residual risk is that diff and spec text are passed into a sub-agent as context, which is a mild prompt-injection surface inherent to any code-review skill.
- •Declares Bash but the instructions restrict usage to read-only git plumbing (`git diff --name-only`, `git diff`), which is appropriate
- •Spawns a sub-agent (`Agent`) and passes it spec-file contents plus raw diff output, which is untrusted text; a hostile diff/spec could carry injected instructions to the verifier (low, indirect prompt-injection exposure)
- •Contains explicit error handling instead of failing silently, so no destructive fallback behavior
Examples
/verify-subtask 0001-working-implementation/01.0-hello-world-endpoint/01-config-model/verify-subtask docs/roadmap/0002-auth/02.1-login-flow.md/verify-subtask 0002-auth/02.1-login-flow — I addressed the PARTIAL deviations, please re-run the compliance check against the current diff.name: verify-subtask description: User-invoked as /verify-subtask <path>. Reads the subtask spec, gathers the implementation diff, and spawns subtask-verifier to produce a spec-compliance report. Run after implementation, before /pr-review and /test-gap. allowed-tools: Read, Grep, Glob, Bash, Agent invocation: /verify-subtask <subtask-path>
Verify Subtask (spec-compliance check)
Check that the implementation of a subtask matches its specification document.
Steps
-
Resolve the spec path from
$ARGUMENTS.- If the argument ends with
.md, use it as-is relative to repo root. - Otherwise, expand to
docs/roadmap/$ARGUMENTS.md. - If the file does not exist, error: "Spec not found: <path>. Pass the path relative to
docs/roadmap/ without the .md extension, e.g.
0001-working-implementation/01.0-hello-world-endpoint/01-config-model."
- If the argument ends with
-
Gather the diff scope. Run
git diff --name-only HEADto get changed files. If the working tree is clean (no staged or unstaged changes), trygit diff --name-only HEAD~1to capture the most recent commit. -
Spawn
subtask-verifierwith:- The resolved spec path
- The diff (changed file list +
git diff HEADorgit diff HEAD~1output) Ask it to produce a full compliance matrix and verdict.
-
Return the agent's compliance report verbatim.
- PASS → confirm to the caller that review/testing can proceed.
- PARTIAL → list deviations; recommend fixing before merge but do not block.
- FAIL → list blocking gaps; instruct caller to return to
cpp-expertwith the list.
Output
The verbatim compliance matrix from subtask-verifier, plus one line:
→ Next step: [proceed to /test-gap | fix gaps then re-run /verify-subtask | proceed with caution]
Completion checklist
- [ ] Spec file found and readable
- [ ] Diff scope captured (changed files list non-empty or commit diff used)
- [ ]
subtask-verifierreturned a verdict (not null / timed out) - [ ] On FAIL: blocking gaps listed and next step is "return to cpp-expert"
- [ ] On PARTIAL: deviations listed and next step is "fix before merge"
- [ ] On PASS: confirmation that /test-gap and /pr-review can proceed
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/verify-subtask-spec-compliance-mtfbwl1l/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/verify-subtask-spec-compliance-mtfbwl1l' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/verify-subtask-spec-compliance-mtfbwl1l/download' --output '.skill-downloads/verify-subtask-spec-compliance-mtfbwl1l/SKILL.md.part' && mv '.skill-downloads/verify-subtask-spec-compliance-mtfbwl1l/SKILL.md.part' '.skill-downloads/verify-subtask-spec-compliance-mtfbwl1l/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Tools declared by the author (check availability in your agent): Read, Grep, Glob, Bash, Agent
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/verify-subtask-spec-compliance-mtfbwl1l/SKILL.md' && test -s '.skill-downloads/verify-subtask-spec-compliance-mtfbwl1l/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/verify-subtask' && cp -R '.skill-downloads/verify-subtask-spec-compliance-mtfbwl1l' '.claude/skills/verify-subtask'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/verify-subtask-spec-compliance-mtfbwl1l'openskills read 'verify-subtask-spec-compliance-mtfbwl1l'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/verify-subtask-spec-compliance-mtfbwl1l/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.