agentleFS
allemaarallemaar/open-skills/skills/insight-skill-gap/SKILL.md

insight-skill-gap

Skill14 starsChanged 4 months agoApache-2.0View on GitHub

Scan recent work and identify if new skills should be created or existing ones updated. Trigger when the user runs /skill-gap, asks to "check for skill gaps", "what skills should we add", "did we miss anything worth capturing", or after /retro flags patterns worth codifying. Use insight-retro for a broader post-implementation retrospective.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Check new-skill-creator for template requirements before drafting.

    line 57
  2. Very specific:

    Create approved skills via /new-skill-creator.

    line 61
  3. Distinctive:

    MUST verify no existing skill covers the same domain before proposing a new one.

    line 65
  4. Distinctive:

    MUST follow the domain-prefix naming convention.

    line 66
  5. Distinctive:

    MUST specify which sections are missing or outdated when proposing updates.

    line 67
  6. Very specific:

    MUST check new-skill-creator for template requirements before proposing new skills.

    line 68
  7. Distinctive:

    MUST NOT propose skills for one-off patterns with no reuse potential.

    line 69
  8. Distinctive:

    SHOULD recommend immediate creation (not deferral) when reuse potential is HIGH.

    line 70

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/skill-gap

Identify gaps in the skill library based on recent implementation work — propose new skills or updates to existing ones.

Structured execution spec: protocol.yon. Read it for the canonical rules and step sequence; this file is explanation. The two must stay in sync — if you edit one, update the other and refresh the @STAMP date.

Skill Discovery Protocol — ensures reusable patterns don't stay buried in implementation code.

Phase 1 — Recent Work Scan

  1. Gather recent context — conversation history, changed files, new patterns introduced. Summarize: what was built, which libraries/frameworks were used, what novel patterns emerged.
  2. Load skill index — read the current skill index to know what already exists before analyzing gaps.

Phase 2 — Gap Analysis

Cross-reference patterns from Phase 1 against the skill index. Classify each pattern:

  • (A) Skill exists and covers it — no action
  • (B) Skill exists but is incomplete — propose update; specify which sections are missing or outdated
  • (C) No skill exists — evaluate against new-skill criteria below

Criteria for a new skill:

  • Pattern is reusable (used 2+ times, or clearly will be)
  • Pattern involves non-obvious decisions or gotchas
  • Pattern spans multiple files or concepts

Gate: gap analysis must be documented before proceeding.

Phase 3 — Skill Proposals

For each gap, draft a skill specification:

  • Skill name — domain-prefix convention (e.g., drizzle-*, nextjs16-*)
  • Skill family — domain prefix
  • Prerequisites — what the user needs to know first
  • Complexity estimate — how large/involved the skill content will be
  • Key sections to cover — what the skill should teach

Check new-skill-creator for template requirements before drafting. Present proposals to the user and wait for approval before proceeding.

Phase 4 — Execution (only if approved)

Create approved skills via /new-skill-creator. For updates, apply targeted edits to the relevant sections.

Rules

  • MUST verify no existing skill covers the same domain before proposing a new one.
  • MUST follow the domain-prefix naming convention.
  • MUST specify which sections are missing or outdated when proposing updates.
  • MUST check new-skill-creator for template requirements before proposing new skills.
  • MUST NOT propose skills for one-off patterns with no reuse potential.
  • SHOULD recommend immediate creation (not deferral) when reuse potential is HIGH.

Next Steps

  • /new-skill-creator — to build approved skills

Human output. This skill's handler-facing output obeys the human-output contract (human-output/SKILL.md).

Next skills. On completion, run the Next Skills protocol (next-skills/SKILL.md): surface the next-skills recommendations from front-matter for the caller to pick. Offer only — never auto-invoke.

Self-improvement. On completion, run the Self-Improvement Protocol (self-improve/SKILL.md): if this run surfaced a concrete, blocking-or-recurring weakness in this skill, propose a specific fix for the handler to approve. Conservative — silent otherwise. Never auto-apply.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.