Asd Ste100
danyuchn/asd-ste100-skill
A skill your agent uses when English text must be parsed without a human to resolve ambiguity — tool descriptions, error messages, inter-agent instructions, system prompts, status reports — and…
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.
$ npx skills add testdouble/han --skill gap-analysis -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install testdouble/han gap-analysis --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/testdouble/han.git skills-src && mkdir -p .claude/skills && cp -r skills-src/han-research/skills/gap-analysis .claude/skills/gap-analysis && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "gap-analysis" agent skill from https://github.com/testdouble/han/tree/main/han-research/skills/gap-analysis into .claude/skills/gap-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gap-analysis", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/testdouble/han/tree/main/han-research/skills/gap-analysisType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add testdouble/han --skill gap-analysis -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install testdouble/han gap-analysis --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/testdouble/han.git skills-src && mkdir -p .agents/skills && cp -r skills-src/han-research/skills/gap-analysis .agents/skills/gap-analysis && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "gap-analysis" agent skill from https://github.com/testdouble/han/tree/main/han-research/skills/gap-analysis into .agents/skills/gap-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gap-analysis", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add testdouble/han --skill gap-analysis -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install testdouble/han gap-analysis --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/testdouble/han.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/han-research/skills/gap-analysis .cursor/skills/gap-analysis && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "gap-analysis" agent skill from https://github.com/testdouble/han/tree/main/han-research/skills/gap-analysis into .cursor/skills/gap-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gap-analysis", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/testdouble/han.git --path han-research/skills/gap-analysis--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add testdouble/han --skill gap-analysis -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install testdouble/han gap-analysis --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/testdouble/han.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/han-research/skills/gap-analysis .gemini/skills/gap-analysis && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "gap-analysis" agent skill from https://github.com/testdouble/han/tree/main/han-research/skills/gap-analysis into .gemini/skills/gap-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gap-analysis", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install testdouble/han gap-analysisInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add testdouble/han --skill gap-analysis -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/testdouble/han.git skills-src && mkdir -p .github/skills && cp -r skills-src/han-research/skills/gap-analysis .github/skills/gap-analysis && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "gap-analysis" agent skill from https://github.com/testdouble/han/tree/main/han-research/skills/gap-analysis into .github/skills/gap-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gap-analysis", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add testdouble/han --skill gap-analysis -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install testdouble/han gap-analysis --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/testdouble/han.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/han-research/skills/gap-analysis .opencode/skills/gap-analysis && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "gap-analysis" agent skill from https://github.com/testdouble/han/tree/main/han-research/skills/gap-analysis into .opencode/skills/gap-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gap-analysis", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
gap-analysisPerforms 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.
Gap Analysis is an agent skill from testdouble/han. 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. Use when the user wants to compare, evaluate, audit, or reconcile one artifact against another. Does not investigate runtime bugs — use investigate. Does not assess module-level architecture — use architectural-analysis. Does not research open-ended options with no second artifact to compare against — use research.
Its SKILL.md is about 8.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/gap-analysis-report-template.md`).
It sits in Writing & Content, covering Plain language and style rules. The repository describes itself as: Han: AI skills and agents for "Solo" product engineers and small teams. The licence is MIT.
10 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit abba73a. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadWriteGlobGrepAgentBash(find *)Bash(git *)Bash(bash "${CLAUDE_PLUGIN_ROOT}/scripts/han-config-dir.sh")From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
bashFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Gap Analysis loads about 8.1k tokens when it runs, and up to ~11k if it reads all its reference files. Until then it costs about 125 tokens; SKILL.md has 4,434 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from testdouble/han at commit abba73a, republished under its MIT licence (© testdouble). 4,434 words, ~8,125 tokens.
.claude/skills/gap-analysis/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.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 state
addresses or implies, and to surface gaps the analyzer missed because it only considered one actor type.han-core:plan-synthesizer coordinates Section 4 synthesis at medium and large only. When the swarm reaches four
or more agents, the synthesizer consolidates the swarm's confirmations, contradictions, augmentations, and per-gap confidence
values for the skill to render. At small swarm size (two or three agents), the skill consolidates deterministically
without the synthesizer.han-core:gap-analyzer
produces a neutral, unprioritized gap list and must stay that way. When the user states why they are running the
comparison (e.g., "before a redesign pass," "to scope the next sprint"), the skill may add one explicitly-labeled
"Where to start" pointer view that names the few gaps most blocking that stated purpose. This is the skill's own
synthesis judgment — the same kind it already makes when it clusters gaps into themes and derives confidence — layered
on top of the neutral list, never replacing it, and omitted entirely when no purpose was given.GAP-NNN from the han-core:gap-analyzer output to G-NNN in
the report, preserving order. Cross-references in Sections 3 and 4 use the same G-NNN IDs.han-core:information-architect agent. The skill renders the template by filling placeholders and
removing the optional sections that were not requested or generated.han-communication:readability-guidance and applies it as it writes the report, holding the default audience frame: a
capable reader who did not do this work and lacks the author's context. The stable gap IDs (G-NNN) are citation
identifiers and survive any rewrite or self-check unchanged.Read the user's argument and conversation context to identify two artifacts:
Inputs may be file paths, directory paths, URLs, or inline text. If the user named only one artifact and a comparison
target is implied (e.g., "compare the auth module to the auth spec"), search the project for the implied second artifact
using Glob and Grep against docs/, specs/, requirements/, or directories surfaced via CLAUDE.md /
project-discovery.md. If the implied artifact cannot be located, ask the user for the path before proceeding.
State the resolved comparison direction to the user in one line: "Comparing {current} against {desired}." If the user wants the direction reversed, accept the override.
Capture the purpose, if one was stated. Note why the user is running this comparison when they said so (e.g., "before a redesign pass," "to scope the next sprint," "to decide whether to ship"). If no purpose is evident, you may offer to capture one in the same one-line confirmation — for example, "If you tell me what this comparison is for, I'll flag which gaps block that goal." Do not block on it: a purpose is optional and only drives the optional "Where to start" view in Step 6. Record the purpose verbatim if given.
Resolve project config: read CLAUDE.md's ## Project Discovery section if present; fall back to project-discovery.md;
fall back to the working directory's docs/ tree. The output report will be written to the project's documentation root
if one exists (docs/, documentation/, or a folder surfaced by project config), otherwise to the current working
directory. Default report filename: gap-analysis-report.md. If a same-named file already exists, append a short
timestamp suffix to avoid overwriting.
han-core:gap-analyzer AgentLaunch han-core:gap-analyzer with a single Agent tool call. Provide:
{report-dir}/gap-analysis-source.md) so the skill can read the structured findings and translate them.Read the observed-actor list from the analyzer's output once it returns; it seeds the han-core:junior-developer actor
sweep in Step 5.
Wait for the agent's return. The summary it returns names the file path and gap counts by category. Read the full
analysis file from disk before proceeding — the per-gap entries (GAP-001, GAP-002, ...) are in the file, not the
returned summary.
Default to small. Start the classification at small and only escalate to medium or large when the signals below
clearly require it. When a signal is borderline, stay at the smaller band. Use these signals from the
han-core:gap-analyzer output:
Always required, at every size:
han-core:adversarial-validator — attacks the han-core:gap-analyzer's findings with counter-evidence to surface
invalid gaps and produce per-gap confidence verdicts.han-core:junior-developer — runs the actor-perspective sweep. For every gap, enumerates every actor the desired
state addresses or implies (human end users and sub-roles, API callers, AI agents, integration partners, batch
processes, internal services) and checks whether the gap holds for every actor type. Surfaces gaps the analyzer missed
because it only considered one actor type.Required when the current state is concrete (codebase, document on disk, fetchable URL — not inline-text-only comparison):
han-core:evidence-based-investigator — verifies each gap against the actual current state with file-level or
document-level evidence. Effectively always required at medium and large; the inline-text-only path is the rare
exception.Required at medium and large:
han-core:plan-synthesizer — consolidates swarm output into Section 4 of the report during synthesis (Step 5.6). Not
called per-round.Add domain specialists up to the size cap based on what the gaps actually touch. Read the gap entries to decide. Draw from:
han-core:adversarial-security-analyst — gaps touching auth, authorization, PII, secrets, untrusted input, supply
chain.han-core:user-experience-designer — gaps touching user-facing flows, UI, interaction, accessibility.han-core:data-engineer — gaps touching schemas, migrations, data movement, analytics.han-core:devops-engineer — gaps touching deployment, observability, rollout, scale, SLO impact, cost.han-core:on-call-engineer — gaps where the current application source is missing the named code-level resilience
patterns the desired state implies: timeouts, retry safety, idempotency, backpressure, kill switches, correlation-id
propagation, observability of failure paths. Application source only — defer infrastructure and pipeline gaps to
han-core:devops-engineer.han-core:system-architect — gaps crossing service or bounded-context boundaries, integration patterns, data
ownership.han-core:software-architect — gaps inside a single codebase touching module boundaries, abstractions, SOLID
concerns.han-core:content-auditor — gaps where the desired state is documentation and content preservation is in question.han-core:codebase-explorer — gaps where the current state is unfamiliar code that needs deeper discovery before the
validators can act.Extra agents named in the project config's ## Extra Agents list join this domain-specialist pool and compete under
the same gap-driven selection and size caps, per
../../references/config-rule.md: add one only when a gap touches its stated
specialty, count it against the size cap, and skip an entry that does not resolve to a dispatchable agent with a
one-line note.
State the size, the chosen swarm composition, and the per-specialist justification to the user in a short message — for example:
Size: medium. Detected 7 gaps across the auth surface and the user-profile data contract. Swarm (5 agents):
han-core:adversarial-validator— required at every size.han-core:junior-developer— required at every size; actor sweep across the auth surface (human users, API callers, internal service callers).han-core:evidence-based-investigator— required; verifies the auth-surface gaps againstsrc/auth/.han-core:adversarial-security-analyst— three gaps touch session-token handling.han-core:plan-synthesizer— required at medium; consolidates swarm output into Section 4.
Size override. If $size is non-empty (the user passed small, medium, large, or dynamic as the first
argument), use it: a band value is the size and skips the signal-based classification above, while dynamic forces the
signal-based classification even when the project config sets a default band. If $size is empty and the project
config supplies a band via default-swarm-size (per the config rule in
../../references/config-rule.md), use that band, skip the signal-based
classification, and announce the config as the source. The swarm composition still scales to the chosen size. If the
user named specific specialists, honor those. If the user requested a different size in conversation rather than via
$size, accept the override.
Surface both decisions to the user in one combined message:
Swarm: running by default with [team above]. Reply
no swarmto skip the swarm entirely,lightweightto drop to the minimum two (validator + han-core:junior-developer), or name specialists to add or remove.Technical details: not included by default. Reply
include technical detailsto add Section 3 with file-level fidelity, orplain language onlyto omit it.
If the user already specified either mode in their original request (e.g., "run a gap analysis with technical details" or "skip the swarm"), honor that and skip this confirmation.
Default behavior when the user does not respond or says "proceed": swarm runs as recommended, plain language only. Record the chosen modes — they determine which sections appear in the final report.
If the user passed no swarm, skip to Step 6.
Launch every selected swarm agent in parallel — a single Agent-tool message with one tool call per agent so they run
concurrently — except han-core:plan-synthesizer, which is held for synthesis after the other agents return (see Step
5.6). Use domain-scoped briefs:
han-core:gap-analyzer's full analysis file plus the gap entries relevant to its
domain inline. For han-core:adversarial-validator, han-core:evidence-based-investigator, and
han-core:junior-developer, pass the entire gap list — they are generalist by design for this use case.han-core:adversarial-validator) — "For each gap below, attempt to disprove it. Cite
counter-evidence. Return a per-gap verdict: confirmed, contradicted, or inconclusive, with reasoning. Apply
full provenance scrutiny to the inputs. When a provenance concern applies uniformly to the desired-state artifact
as a whole (for example, the desired state is a provided, uncommitted, same-session source), return it once as
a single artifact-level analysis_caveat — not as a per-gap verdict repeated across every gap that rests on that
artifact. Keep provenance concerns specific to an individual gap's evidence inside that gap's verdict."han-core:evidence-based-investigator) — "For each gap below, verify whether the current state
actually shows what the analyzer claimed. Cite file paths and line numbers in your reasoning, but return a per-gap
verdict: confirmed, contradicted, or unverifiable."none observed if the analyzer reported none]. Treat that list as a floor, not a ceiling — expand it with every
actor type the desired state addresses or implies: human end users (and sub-roles like customer / admin / auditor /
support agent), API callers, AI agents, integration partners, batch processes, internal services. For each gap,
check whether it holds for every actor type or only the one the analyzer compared against. Surface as
proposed_new_gap any case where the analyzer's gap is correct for one actor but a different gap exists for
another actor that the analyzer missed. Apply Protocol 8 plain-language reframing to each gap from the most-affected
actor's vantage point and flag any gap that would not be recognizable as a gap to that actor."proposed_new_gap with evidence."GAP-NNN (the analyzer's IDs) so the skill can map them back to G-NNN in the
report.Collect every agent's verbatim output. If an agent returned a proposed_new_gap with evidence, append it to the
analyzer's findings as a new GAP-NNN entry before report rendering — do not silently drop it. Mark it in the report
with a footnote noting it was surfaced by the swarm and by which agent (han-core:junior-developer (actor sweep),
han-core:adversarial-security-analyst, etc.).
Inspect the first-round swarm output for signals that the analyzer's correspondence map systematically excluded an actor type or behavior class:
proposed_new_gap entries.If neither trigger fires, skip to Step 5.6.
A fired trigger is a proxy for the same underlying signal — the first pass systematically under-covered an actor type or behavior class. The proposed gaps the swarm already surfaced are a symptom of that under-covered class, not the whole of it. So the round's job is to re-scan that class for additional gaps and to catch recategorizations and withdrawals — not to re-confirm the gaps the swarm already corroborated.
If a trigger fires, run one additional pass — bounded to one extra round, never more:
han-core:gap-analyzer with the new findings and the actor types han-core:junior-developer surfaced.
Brief: "Your first pass produced N gaps. The validator-augmenter swarm surfaced [new gaps / contradictions], which
point to the actor or behavior classes [list] being under-covered in your first pass. Do not re-confirm gaps the
swarm has already corroborated. Re-scan both artifacts focused on those classes and return only the delta: (a)
additional new gaps in those classes that neither your first pass nor the swarm has surfaced, (b) gaps that need
recategorization, and (c) gaps that should be withdrawn."GAP-NNN IDs in append order. Record
recategorizations and withdrawals.Record in the in-channel summary that a second round ran and why (which trigger, what changed).
If han-core:plan-synthesizer is not on the team, skip to Step 6.
Launch han-core:plan-synthesizer with:
han-core:gap-analyzer source file (including any second-round delta).Ask the han-core:plan-synthesizer to produce only Section 4 content — Confirmations, Contradictions, Augmentations, any artifact-level Analysis caveats the validator returned, and the Confidence summary table — plus per-gap confidence values for the skill to fold into Section 2. Direct the synthesizer to keep analysis caveats out of the per-gap confidence values (they apply to the whole report, not to any one gap). The synthesizer does not write the report file directly; it returns the consolidated Section 4 content and confidence values to the skill, which renders them into the template in Step 6.
Read gap-analysis-report-template.md. Render the report by filling placeholders and removing optional sections that do not apply.
Render rules:
GAP-NNN from the analyzer (and any proposed_new_gap from the swarm, plus any second-round
delta), produce a corresponding G-NNN entry in the report. Preserve order. Do not skip IDs.Expected, Current, and Why it matters
fields in plain language a non-technical stakeholder can read. Strip every file path, line number, function name,
class name, schema field name, library name, and language primitive. Replace technology terms with capability or
behavior descriptions ("the part of the system that authenticates users" rather than auth/middleware.ts:42).High when ≥ 2 swarm agents
confirmed the gap with evidence; Medium when one agent confirmed or augmenters added context without contradiction;
Low when at least one agent contradicted it. If the synthesizer was on the team, use the per-gap confidence values it returned
in Step 5.6. If no swarm ran (no swarm path), mark every gap Medium — confidence rests on the analyzer alone —
and state this in the executive summary.Additional context (swarm): line to that gap's Section 2 entry in plain language. The same augmentation is
preserved verbatim in Section 4's Augmentations list for audit trail. Augmentations enrich understanding; they do not
change the gap's category or confidence.Locations,
Relevant identifiers, Specifics of the divergence, Remediation direction, Effort signal, and
Risks / dependencies. Pull Locations and Relevant identifiers directly from the analyzer's evidence pairs. The
skill itself produces the Effort signal only when the analyzer or the swarm provided enough information; otherwise
mark it Unknown with a one-sentence basis. If a gap is Implicit and has no concrete location, omit its Section 3
entry and note it in the section-3 preface as expected.no swarm. Group
entries into Confirmations, Contradictions, and Augmentations using the swarm agents' verbatim verdicts. Build the
Confidence summary table from the per-gap confidence values set in step 3. If the synthesizer was on the team, use the
consolidated Section 4 content it returned in Step 5.6.analysis_caveat the validator returned (Step 5) into
Section 4's Analysis caveats subsection, rendered once as a plain reminder that applies to the whole report —
explicitly not a gap finding. Do not let any caveat feed the per-gap confidence values set in step 3. If no
analysis_caveat was returned, omit the subsection. (On the no swarm path there is no validator, so there are no
analysis caveats.)G-NNN — one-line plain-language reason it blocks {purpose}, under the explicit label "Where
to start (skill judgment for your stated purpose: {purpose})." This is the skill's labeled synthesis judgment from
the Operating Principles — it adds no new gaps, changes no categories or confidence, and cites only existing G-NNN
IDs. If no purpose was captured, omit the block entirely; never invent a purpose to justify it.- technical_details from sections_included. If Section 4 was not rendered (because the user passed no swarm),
remove - swarm_findings. Update the "How to Read This Report" frame so it does not promise sections that are not
present — replace each promise with a single line stating the section was not included for this report. The "Where
to start" block and the "Analysis caveats" subsection are conditional content inside existing sections, not
top-level sections, so they do not get their own sections_included entries.Readability. Invoke han-communication:readability-guidance to surface the shared readability standard into your
context, then draft every prose region to that standard: lead with the main point, give sections descriptive headings
that name their content, keep one idea per paragraph with the first sentence carrying it, number sequential steps and
bullet non-sequential items, and reveal detail in layers (Section 1 before 2, 2 before 3). Do not duplicate the rule's
text; apply it. The rule governs prose only — leave code fences, any diagram bodies, and the G-NNN gap IDs untouched,
since those IDs are citation identifiers that must survive every rewrite and the self-check unchanged.
Write the rendered report to the path resolved in Step 1.
Readability editor (consolidated reports only). When the run produced a consolidated report — the medium and large
sizes where han-core:plan-synthesizer consolidated Section 4 — dispatch the han-communication:readability-editor
agent in a single Agent call to audit and rewrite the report against the standard. Pass it the report file path and the
default audience frame (a capable reader who did not do this work and lacks the author's context); the editor reads
han-communication's own canonical rule, so pass no rule path. Direct it to preserve every fact and to rewrite prose
regions only — never inside code fences, diagram bodies, or the G-NNN gap-ID citation identifiers. Apply its rewrite
to the report file. At small size and on the no swarm path this is the lightweight gap-analyzer-only pass, so skip
this dispatch; the template above and the self-check below still apply.
Self-check (all sizes, after any rewrite, before presenting). Run the standardized readability self-check (the
shared standard is in your context from han-communication:readability-guidance) over the report's prose regions only —
never inside code fences, diagram bodies, or the G-NNN gap-ID citation identifiers. Confirm each criterion and fix any
failure before presenting:
Run the readability rule's standardized self-check, which is already in your context from the readability-guidance
invocation above. Correct every failure before presenting. Its fidelity criterion is not optional: the standard governs
how the content is said, and drops a required fact only when the reader asked for less and losing it would not change
what they do next.
Tell the user, in a short summary:
han-core:gap-analyzer's underlying source file (so they can verify the technical evidence).proposed_new_gap was surfaced and added, if an artifact-level analysis caveat was raised (e.g., the desired state is
an uncommitted same-session source), or if the synthesizer flagged anything specific in the Section 4 consolidation.Ask whether the user wants to add technical details (if Section 3 was omitted) or refine the scope and re-run.
© testdouble, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (references) in han-research/skills/gap-analysis of testdouble/han.
Open the folder on GitHubat commit abba73a
Gap Analysis next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Gap Analysis this skilltestdouble/han | 279 | — | ~8.1k | Automated safety check: Pass | MIT | |
| Asd Ste100danyuchn/asd-ste100-skill | 3.9k | — | ~4.1k | Automated safety check: Pass | MIT | |
| Natural Japanese Business Writingcoji/natural-japanese | 1.9k | — | ~2.1k | Automated safety check: Pass | MIT | |
| Technical Writing Standardcursor/plugins | 10k | 10 repos | ~2.4k | Automated safety check: Pass | None | |
| PgjevrealZachi/pg-jev | 1k | — | ~2.9k | Automated safety check: Pass | Custom licence | |
| Defensive Writing Editorlennney/stop-that-shit | 2.5k | 1 repos | ~902 | Automated safety check: Pass | MIT |
danyuchn/asd-ste100-skill
A skill your agent uses when English text must be parsed without a human to resolve ambiguity — tool descriptions, error messages, inter-agent instructions, system prompts, status reports — and…
coji/natural-japanese
Writes and edits Japanese business documents so they read clearly and naturally, removes AI-sounding phrasing and can score how AI-like a text reads.
cursor/plugins
Applies four layers of technical-writing rules to docs, RFCs, readmes, PR descriptions and commit messages so a tired engineer follows them on the first read.
realZachi/pg-jev
Install, configure, query and explain pgjev (the jev PostgreSQL extension that filters, ranks and classifies rows with plain-language conditions via TypeSafe's Jev model).
lennney/stop-that-shit
Cuts defensive disclaimers, stacked hedging and self-protective narration from proposals and summaries, keeping only limits that affect the reader's decision.
MaJerle/c-code-style
Write, edit, or review C (and C-compatible header) code according to C coding style rules, then check and run clang-format to enforce formatting.
testdouble/han
Convert a stakeholder summary markdown file into a single self-contained HTML executive report — bottom line and decision asks up front, supporting detail later — styled with a Test Double-derived…
testdouble/han
Update Han plugin documentation so every skill, agent, guidance doc, index, and cross-reference is current and accurate.
testdouble/han
Authoritative guidance for building Claude Code skills, agents, and plugins, plus init and update steps that install and refresh the plugin-building skills in the current repository.
testdouble/han
Cut a Han release: update CHANGELOG.md with the changes since the last release, bump and tag every plugin that changed as {plugin-name}--v{version} so a version-constrained dependency can resolve…
testdouble/han
Builds a feature implementation plan from an existing feature specification (or equivalent context) through a facilitated team conversation.
testdouble/han
Restructure existing code without changing its behavior, through a test-gated refactoring loop: a named target, a green suite over that target before any edit, a planned sequence of small named…
Categories
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. Gap Analysis is an agent skill from testdouble/han. 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.
Gap Analysis fits situations like: the user wants to compare; reconcile one artifact against another.
Run `npx skills add testdouble/han --skill gap-analysis -a claude-code`. Or copy the skill folder (han-research/skills/gap-analysis in testdouble/han) into .claude/skills/gap-analysis in your project. Claude Code loads it when a task matches its description.
Run `npx skills add testdouble/han --skill gap-analysis -a codex`. Or copy the skill folder (han-research/skills/gap-analysis in testdouble/han) into .agents/skills/gap-analysis in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add testdouble/han --skill gap-analysis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gap-analysis, .gemini/skills/gap-analysis, .github/skills/gap-analysis and .opencode/skills/gap-analysis in your project.
Going by SKILL.md and its folder, Gap Analysis needs the command-line tools its instructions call (bash). Its frontmatter pre-approves these tools: Read, Write, Glob, Grep, Agent, Bash(find *), Bash(git *), Bash(bash "${CLAUDE_PLUGIN_ROOT}/scripts/han-config-dir.sh").
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Gap Analysis is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 8.1k tokens (SKILL.md is roughly 33k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.7k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Gap Analysis: Asd Ste100 (danyuchn/asd-ste100-skill, 3.9k stars), Natural Japanese Business Writing (coji/natural-japanese, 1.9k stars), Technical Writing Standard (cursor/plugins, 10k stars) and Pgjev (realZachi/pg-jev, 1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
testdouble (a GitHub organization) maintains it in testdouble/han, which has 279 GitHub stars. The repository holds 54 skills in this directory. The repository was last updated on October 1, 2026.
Source: testdouble/han on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.