gap-analysis
Analyze gaps by comparing a defined current state with a justified target state, characterizing causes and uncertainty, prioritizing actionable interventions, and producing traceable matrices, roadmaps, and decision records. Use for capability, process, compliance, readiness, mat
Install
npx skills add https://github.com/magnus919/agent-skills/tree/main/gap-analysis
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install magnus919-agent-skills@llmmart
git clone https://github.com/magnus919/agent-skills.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole magnus919/agent-skills collection as a plugin from our marketplace. Git is the plain clone.
README
gap-analysis
Evidence-based comparison of a current state with a justified target state, producing actionable and reviewable decisions.
Why Install This Skill
A gap analysis is easy to make look rigorous: add a current column, a target column, and a red/amber/green score. This skill teaches the harder part: defining a target that is actually warranted, collecting evidence that matches the question, separating observations from causes, and making trade-offs and uncertainty visible.
After installing it, an agent can produce gap registers, capability and maturity assessments, process and operating-model reviews, compliance/readiness assessments, and research-evidence gap analyses. The included templates are designed to be adapted, not treated as a universal scoring system.
What You Get
| Path | What it provides |
|---|---|
SKILL.md |
Method, routing, quality gates, and completion boundary |
references/ |
Research-grounded methodology, variants, prioritization, examples, and source index |
templates/ |
Gap register plus capability, process, compliance/readiness, and research variants |
scripts/validate-register.py |
Dependency-free checker for a JSON gap register |
evals/evals.json |
Output-quality cases for evidence, ambiguity, prioritization, and variants |
Quick Start
No installation or API key is required. Read SKILL.md, choose a context template, and keep current evidence, target authority, confidence, owner, and closure test visible for every material gap.
For a machine-checkable register:
python3 gap-analysis/scripts/validate-register.py path/to/register.json
Triggers
Load this skill when you need to compare current and desired states for a capability, process, control, readiness decision, maturity question, operating model, or research evidence base.
Requirements
- No external dependencies for the methodology or templates.
- Python 3 for the optional validator script.
- A defined decision, outcome, requirement, benchmark, or stakeholder target. Without one, the first deliverable is scoping, not a completed gap analysis.
Skill manifest
Gap Analysis
Overview
A gap analysis is a decision method, not a scorecard: define a bounded question, establish an observable current state, justify a desired state, compare them, explain why the difference exists, and decide what to do. A credible result makes evidence, assumptions, uncertainty, ownership, and trade-offs visible.
When to use
Load this skill when the work compares current and desired performance, capability, controls, process behavior, readiness, maturity, operating model, or research evidence and must produce an actionable artifact. Choose the variant from references/variants.md.
When not to use
Do not use this as a substitute for root-cause analysis, a risk assessment, SWOT, benchmarking, a requirements specification, a regulatory/legal opinion, or an audit/certification conclusion. Route technical capacity questions to capacity-and-cost-engineering, governance questions to ai-governance, and causal diagnosis to systematic-debugging or the relevant domain owner. A gap analysis may expose a need for those disciplines; it does not replace them.
Core method
- Frame the decision. State the decision or outcome, sponsor, population/system, time horizon, boundary, exclusions, and who will use the result.
- Define the criterion. Make the target observable and source it to a requirement, outcome, benchmark, risk appetite, strategy, or explicitly labeled stakeholder preference. Do not invent a maturity scale or imply that a framework tier is a universal goal.
- Specify evidence. For each dimension, define measure, unit, period, source, sampling, confidence, and acceptance rule before collecting data. Separate observed facts, reported perceptions, inferred causes, and assumptions.
- Describe the current state. Use multiple relevant evidence types: records/metrics, direct observation, interviews, artifacts, tests, or research synthesis. Record missing and contradictory evidence instead of filling it with confidence.
- Compare like with like. For every dimension, show current, target, difference, evidence, confidence, and consequence. A gap is a bounded difference, not merely a bad feeling or an absence of a preferred practice.
- Characterize the gap. Distinguish outcome gap, capability/control gap, process gap, resource gap, knowledge/evidence gap, and decision/ownership gap. Keep root causes and proposed remedies separate from the observed gap.
- Prioritize transparently. Use criteria appropriate to the decision, such as impact, urgency/exposure, reach, feasibility, dependency, cost, confidence, and reversibility. Show the rationale and do not hide value judgments inside a score.
- Plan closure. Convert selected gaps into actions with a measurable closure condition, owner, dependencies, resources, date or review trigger, and residual risk. Assign an accountable decision-maker, not “the team.”
- Validate and revisit. Review findings with affected stakeholders, test high-consequence claims, resolve material contradictions, and schedule a follow-up measurement. Closure means evidence that the target condition is met, not that an action was started.
Required output shape
Use templates/gap-register.md as the canonical row schema, then add only the context artifact needed:
| Context | Add |
|---|---|
| Capability or maturity | templates/capability-assessment.md |
| Process or operating model | templates/process-gap-analysis.md |
| Compliance or readiness | templates/compliance-readiness-assessment.md |
| Research or evidence | templates/research-evidence-gap.md |
A useful report normally contains: executive decision, scope and method, target/criteria register, current-state evidence, gap register, prioritization logic, action roadmap, assumptions/unknowns, stakeholder review, and follow-up measure. Label hypothetical examples as hypothetical.
Quality gates
Before delivery, verify that each material gap has (a) a defined target and source, (b) current evidence or an explicit evidence gap, (c) a stated comparison and consequence, (d) a cause hypothesis distinguished from fact, (e) an owner and closure test, and (f) a priority rationale. Check that the report does not claim compliance, readiness, causation, or improvement without the evidence needed to support that claim.
Reference routing
| Load this file when... | Reference |
|---|---|
| You need the research-grounded method, evidence taxonomy, or source limits | references/methodology.md |
| You need to choose among capability, process, compliance, readiness, maturity, or research variants | references/variants.md |
| You need prioritization, scoring, sequencing, or closure controls | references/prioritization-and-roadmaps.md |
| You need examples, anti-patterns, or review questions | references/examples-and-anti-patterns.md |
| You need source provenance and claims behind this skill | references/source-index.md |
| You need a structured checker for a completed JSON register | scripts/validate-register.py |
Completion
Stop when the decision question is answered by a reviewed, traceable artifact, or report the bounded unresolved evidence and the next collection action. Do not convert missing data into a green score or keep researching after the decision-relevant uncertainty is explicit.
Files (agent-skills)
-
evals
-
evals.json 5.5 KB
Loading…
-
-
references
-
examples-and-anti-patterns.md 3.3 KB
Loading… -
methodology.md 4.3 KB
Loading… -
prioritization-and-roadmaps.md 2.7 KB
Loading… -
source-index.md 2.6 KB
Loading… -
variants.md 3.1 KB
Loading…
-
-
scripts
-
validate-register.py 1.8 KB
Loading…
-
-
templates
-
capability-assessment.md 510 B
Loading… -
compliance-readiness-assessment.md 944 B
Loading… -
gap-register.md 1.1 KB
Loading… -
process-gap-analysis.md 507 B
Loading… -
research-evidence-gap.md 732 B
Loading…
-
-
README.md 2.1 KB
# gap-analysis Evidence-based comparison of a current state with a justified target state, producing actionable and reviewable decisions. ## Why Install This Skill A gap analysis is easy to make look rigorous: add a current column, a target column, and a red/amber/green score. This skill teaches the harder part: defining a target that is actually warranted, collecting evidence that matches the question, separating observations from causes, and making trade-offs and uncertainty visible. After installing it, an agent can produce gap registers, capability and maturity assessments, process and operating-model reviews, compliance/readiness assessments, and research-evidence gap analyses. The included templates are designed to be adapted, not treated as a universal scoring system. ## What You Get | Path | What it provides | |---|---| | `SKILL.md` | Method, routing, quality gates, and completion boundary | | `references/` | Research-grounded methodology, variants, prioritization, examples, and source index | | `templates/` | Gap register plus capability, process, compliance/readiness, and research variants | | `scripts/validate-register.py` | Dependency-free checker for a JSON gap register | | `evals/evals.json` | Output-quality cases for evidence, ambiguity, prioritization, and variants | ## Quick Start No installation or API key is required. Read `SKILL.md`, choose a context template, and keep current evidence, target authority, confidence, owner, and closure test visible for every material gap. For a machine-checkable register: ```sh python3 gap-analysis/scripts/validate-register.py path/to/register.json ``` ## Triggers Load this skill when you need to compare current and desired states for a capability, process, control, readiness decision, maturity question, operating model, or research evidence base. ## Requirements - No external dependencies for the methodology or templates. - Python 3 for the optional validator script. - A defined decision, outcome, requirement, benchmark, or stakeholder target. Without one, the first deliverable is scoping, not a completed gap analysis. -
SKILL.md 6.1 KB
--- name: gap-analysis description: >- Analyze gaps by comparing a defined current state with a justified target state, characterizing causes and uncertainty, prioritizing actionable interventions, and producing traceable matrices, roadmaps, and decision records. Use for capability, process, compliance, readiness, maturity, operating-model, or research-evidence gaps. Do not use for a vague list of problems, a standalone root-cause analysis, a generic SWOT, or legal or audit certification advice without a governing standard and qualified owner. license: MIT compatibility: Platform-agnostic methodology. No runtime dependency; optional Python 3 script uses only the standard library. metadata: tags: gap-analysis, current-state, target-state, capability, maturity, readiness, compliance, evidence, prioritization --- # Gap Analysis ## Overview A gap analysis is a decision method, not a scorecard: define a bounded question, establish an observable current state, justify a desired state, compare them, explain why the difference exists, and decide what to do. A credible result makes evidence, assumptions, uncertainty, ownership, and trade-offs visible. ## When to use Load this skill when the work compares current and desired performance, capability, controls, process behavior, readiness, maturity, operating model, or research evidence and must produce an actionable artifact. Choose the variant from `references/variants.md`. ### When not to use Do not use this as a substitute for root-cause analysis, a risk assessment, SWOT, benchmarking, a requirements specification, a regulatory/legal opinion, or an audit/certification conclusion. Route technical capacity questions to `capacity-and-cost-engineering`, governance questions to `ai-governance`, and causal diagnosis to `systematic-debugging` or the relevant domain owner. A gap analysis may expose a need for those disciplines; it does not replace them. ## Core method 1. **Frame the decision.** State the decision or outcome, sponsor, population/system, time horizon, boundary, exclusions, and who will use the result. 2. **Define the criterion.** Make the target observable and source it to a requirement, outcome, benchmark, risk appetite, strategy, or explicitly labeled stakeholder preference. Do not invent a maturity scale or imply that a framework tier is a universal goal. 3. **Specify evidence.** For each dimension, define measure, unit, period, source, sampling, confidence, and acceptance rule before collecting data. Separate observed facts, reported perceptions, inferred causes, and assumptions. 4. **Describe the current state.** Use multiple relevant evidence types: records/metrics, direct observation, interviews, artifacts, tests, or research synthesis. Record missing and contradictory evidence instead of filling it with confidence. 5. **Compare like with like.** For every dimension, show current, target, difference, evidence, confidence, and consequence. A gap is a bounded difference, not merely a bad feeling or an absence of a preferred practice. 6. **Characterize the gap.** Distinguish outcome gap, capability/control gap, process gap, resource gap, knowledge/evidence gap, and decision/ownership gap. Keep root causes and proposed remedies separate from the observed gap. 7. **Prioritize transparently.** Use criteria appropriate to the decision, such as impact, urgency/exposure, reach, feasibility, dependency, cost, confidence, and reversibility. Show the rationale and do not hide value judgments inside a score. 8. **Plan closure.** Convert selected gaps into actions with a measurable closure condition, owner, dependencies, resources, date or review trigger, and residual risk. Assign an accountable decision-maker, not “the team.” 9. **Validate and revisit.** Review findings with affected stakeholders, test high-consequence claims, resolve material contradictions, and schedule a follow-up measurement. Closure means evidence that the target condition is met, not that an action was started. ## Required output shape Use `templates/gap-register.md` as the canonical row schema, then add only the context artifact needed: | Context | Add | |---|---| | Capability or maturity | `templates/capability-assessment.md` | | Process or operating model | `templates/process-gap-analysis.md` | | Compliance or readiness | `templates/compliance-readiness-assessment.md` | | Research or evidence | `templates/research-evidence-gap.md` | A useful report normally contains: executive decision, scope and method, target/criteria register, current-state evidence, gap register, prioritization logic, action roadmap, assumptions/unknowns, stakeholder review, and follow-up measure. Label hypothetical examples as hypothetical. ## Quality gates Before delivery, verify that each material gap has (a) a defined target and source, (b) current evidence or an explicit evidence gap, (c) a stated comparison and consequence, (d) a cause hypothesis distinguished from fact, (e) an owner and closure test, and (f) a priority rationale. Check that the report does not claim compliance, readiness, causation, or improvement without the evidence needed to support that claim. ## Reference routing | Load this file when... | Reference | |---|---| | You need the research-grounded method, evidence taxonomy, or source limits | `references/methodology.md` | | You need to choose among capability, process, compliance, readiness, maturity, or research variants | `references/variants.md` | | You need prioritization, scoring, sequencing, or closure controls | `references/prioritization-and-roadmaps.md` | | You need examples, anti-patterns, or review questions | `references/examples-and-anti-patterns.md` | | You need source provenance and claims behind this skill | `references/source-index.md` | | You need a structured checker for a completed JSON register | `scripts/validate-register.py` | ## Completion Stop when the decision question is answered by a reviewed, traceable artifact, or report the bounded unresolved evidence and the next collection action. Do not convert missing data into a green score or keep researching after the decision-relevant uncertainty is explicit.
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.