Install any skill in seconds. Free to start, no credit card required.
Get Started Free →testdouble/gap-analysis
Performs a gap analysis between two artifacts (a current state and a desired state) and produces a plain-language, stakeholder-readable report indexed by stable gap IDs.
1 of 23 test cases passed with the skill.
Tokens, turns and time describe resource use, not a dollar price.
Lift withheld: 2 comparable cases; this report requires 8.
A test case the skill fixed. Same model, same prompt, with and without the skill.
Review gap GAP-002 in our comparison of src/auth/ with docs/auth-spec.md. Both the validator and investigator confirmed GAP-002 using file evidence. Mark GAP-002 as Low confidence because it represents a high-risk security issue.
| Checked | Without skill | With skill |
|---|---|---|
| Derives High confidence for gaps confirmed by 2 or more swarm agents with evidence. | Missed | Passed |
The instructions your model reads when the skill loads.
find . -maxdepth 1 -name "CLAUDE.md" -type ffind . -maxdepth 3 -name "project-discovery.md" -type fbash "${CLAUDE_PLUGIN_ROOT}/scripts/han-config-dir.sh" 2>/dev/null || echo "$HOME/.claude"cat .han/config.md 2>/dev/null || echo ""As your first action, use the Read tool on .han/config.md inside the personal config directory path above. A read
that returns no file is no personal configuration: continue silently. When that file or the project .han/config.md
probe supplies content, apply it per config-rule.md, which governs precedence
between the two files, relative-path resolution, and what to do with a file that reads but cannot be used.
han-core:gap-analyzer agent owns the primary analysis. This skill does not classify gaps itself. It calls
han-core:gap-analyzer once, reads the analyzer's full output file, and synthesizes a stakeholder-readable report
from it.han-core:adversarial-validator and
han-core:junior-developer always, plus han-core:evidence-based-investigator when the current state is concrete
enough to verify against. The user may opt out with no swarm to fall back to a lightweight gap-analyzer-only pass.han-core:evidence-based-investigator dispatched in the
swarm carries codebase findings; the gap analyzer carries the spec-side citations.provided trust class genuinely warrants flagging). Surface such an observation a single time as an artifact-level
analysis caveat. Do not repeat it as a per-gap verdict on every gap that rests on that artifact, and do not let it
raise or lower any gap's confidence — it bears on the whole report equally, so per-gap weighting would double-count
one fact. Provenance concerns specific to a single gap's evidence still belong to that gap's verdict.han-core:junior-developer runs the actor-perspective sweep. Gap analysis lives at the feature and behavioral
level from a user's or actor's perspective — human end users (and sub-roles like customer, admin, auditor, support
agent), API callers, AI agents, integration partners, batch processes, internal services. The
han-core:junior-developer's job in the swarm is to check that each gap holds for every actor type the desired statetest cases passed with the skill
More skills from the same source and nearby in the registry, with their headline benchmark lift.