# Gap analysis

> Gap analysis is an open-source agent skill for productivity. Produces structured HTML gap analysis reports and a master gap register for bids. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/kevinlin/skills/tree/main/gap-analysis
- **Repository:** https://github.com/kevinlin/skills
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** gap-analysis
- **Collection:** https://github.com/kevinlin/skills
- **Categories:** [productivity](https://ai-powered.com/categories/productivity)
- **Listing updated:** 2026-12-01

## About

This skill guides an AI coding agent through producing self-contained, theme-switching HTML gap analysis reports that compare requirement documents, BPMN models and RFP text. It covers two deliverables: individual reports for a single workflow or component, and a master register that rolls up every gap across reports, grouped by category with a scorecard and filter bar.

The workflow centres on shared conventions for severity ratings, gap-ID prefixes, status and owner pills, and a rule that each register row is mirrored into architecture summary boxes. The agent is directed to ask for the output folder and the glossary file before reading any sources, and to flag terminology variants conservatively when no glossary is supplied. Existing reports are updated surgically rather than regenerated, so historical gap IDs are kept.

The skill ships HTML templates and reference documents in its folder and is intended for teams that need a shareable HTML deliverable rather than Markdown prose. It expects the user to supply source documents such as BPMN files, requirement docs or RFPs, and to specify where reports should be saved.

## When your agent uses it

> Use when producing or updating a gap-analysis HTML report. Triggers on "gap analysis", "gap register", "gap index", "analyse the requirement docs", "find gaps between BPMN and requirements", or when the user references requirement / BPMN / FeatureSpec / RFP docs and asks for a structured comparison. Also triggers when the user points at a folder of existing gap-analysis reports and asks to refresh, re-roll up, or rebuild the master register/index. Produces a self-contained, theme-switching HTML report in the gap-analysis house style. Use this skill instead of free-form Markdown when the user wants a sharable HTML deliverable; do not use for prose summaries or open-question lists.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/kevinlin/skills/tree/HEAD/gap-analysis)
- [No network calls found in its scripts](https://github.com/kevinlin/skills/tree/HEAD/gap-analysis)
- [License: MIT](https://github.com/kevinlin/skills/tree/HEAD/gap-analysis)

## Features

- **Individual gap reports:** Builds a single-topic HTML report comparing a BPMN or requirement set against the RFP.
- **Master gap register:** Rolls up gaps from all reports into one grouped index with a severity scorecard.
- **Severity and ID conventions:** Applies a shared severity rubric and prefix scheme for gap identifiers.
- **Surgical report updates:** Adds, re-ranks or resolves gaps in existing reports while preserving the historical record.
- **Glossary discipline:** Flags terminology mismatches between documents rather than silently picking one term.
- **Theme-switching templates:** Provides self-contained HTML templates with light and dark theme support.

## Good for

- Compare a BPMN workflow against detailed requirements and produce a gap report
- Add a high-severity finding to an existing gap analysis report
- Mark a previously open gap as resolved and update its architecture box
- Refresh the master gap register after new reports are added
- Turn requirement documents into a shareable HTML gap deliverable

## Install

### Claude Code

This skill ships in the `ai-sdlc-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add kevinlin/skills
/plugin install ai-sdlc-skills@ai-sdlc
```

Or copy only this skill to `~/.claude/skills/gap-analysis`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/kevinlin/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/gap-analysis &&
cp -R "$tmp/gap-analysis" ~/.claude/skills/gap-analysis &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/gap-analysis` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/gap-analysis` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/kevinlin/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/gap-analysis &&
cp -R "$tmp/gap-analysis" ~/.agents/skills/gap-analysis &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/gap-analysis` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/gap-analysis` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/kevinlin/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/gap-analysis &&
cp -R "$tmp/gap-analysis" ~/.cursor/skills/gap-analysis &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/gap-analysis` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/kevinlin/skills.git --path gap-analysis
```

Or copy the folder to `~/.gemini/skills/gap-analysis` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/gap-analysis`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/kevinlin/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/gap-analysis &&
cp -R "$tmp/gap-analysis" ~/.copilot/skills/gap-analysis &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/gap-analysis` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/kevinlin/skills.git
```

Then copy `skills/gap-analysis` into your agent's skills folder as `gap-analysis`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need before Gap analysis starts?

It asks for the gap-analysis output folder and the glossary or ubiquitous-language file, and waits for the answers before reading sources or writing files.

### When does Gap analysis trigger?

It triggers on phrases such as gap analysis, gap register, gap index, or when the user references requirement, BPMN, FeatureSpec or RFP documents and asks for a structured comparison.

### Does Gap analysis replace Markdown summaries?

No. It is meant for sharable HTML deliverables; the description says not to use it for prose summaries or open-question lists.

### Will Gap analysis rewrite existing reports?

For updates it changes only the relevant rows, severity classes and architecture bullets, and leaves unrelated sections untouched.

### How do I install Gap analysis in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/gap-analysis to use it in all your projects, or to .claude/skills/gap-analysis in one project. Or install the ai-sdlc-skills plugin, which includes it: /plugin marketplace add kevinlin/skills, then /plugin install ai-sdlc-skills@ai-sdlc.

### Does Gap analysis run scripts?

Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Gap analysis?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Gap analysis?

The closest alternatives to Gap analysis are Gen specs as issues, Competitive report structure, Harness progress, Document and Harness plan brief.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Gen specs as issues](https://ai-powered.com/skills/gen-specs-as-issues): Gen specs as issues is an open-source agent skill for developer tools.
- [Competitive report structure](https://ai-powered.com/skills/competitive-report-structure): Competitive report structure is an open-source agent skill for productivity.
- [Harness progress](https://ai-powered.com/skills/harness-progress-chachamaru127): Harness progress is an open-source agent skill for productivity.
- [Document](https://ai-powered.com/skills/document-octavehq): Document is an open-source agent skill for productivity.
- [Harness plan brief](https://ai-powered.com/skills/harness-plan-brief-chachamaru127): Harness plan brief is an open-source agent skill for productivity.
- [Prd v02 competitive landscape mapping](https://ai-powered.com/skills/prd-v02-competitive-landscape-mapping): Prd v02 competitive landscape mapping is an open-source agent skill for productivity.
- [Prd vXX skill name](https://ai-powered.com/skills/prd-vxx-skill-name): Prd vXX skill name is an open-source agent skill for developer tools.
- [Field to product](https://ai-powered.com/skills/field-to-product): Field to product is an open-source agent skill for productivity.

---
Source: https://ai-powered.com/skills/gap-analysis-kevinlin
