Equip

From drn/dots · View interactive version

Equip is an AI agent skill from the GitHub repository drn/dots. Analyze a spec, PRD, or codebase to identify missing skills and agents, propose them, then write them. Use for skill gap analysis, agent gap analysis, bootstrapping agent capabilities from a spec, or equipping a project with skills.

How to use this skill

Skill file

Skill & Agent Gap Analysis

Analyze a specification document, PRD, RFC, codebase, or set of requirements against the existing skill and agent inventory. Identify gaps, propose new skills or agents to fill them, then write the approved ones.

Arguments

If no arguments are provided, ask the user what to analyze.

Context

Instructions

Step 1: Load the Source

Determine the input source from $ARGUMENTS:

If the source cannot be loaded, report the error and stop.

Step 2: Extract Capabilities

Parse the source material and extract a structured list of capabilities — the distinct things the product needs to do. For each capability, note:

  1. Name — short label (e.g., "user onboarding flow", "webhook retry logic")
  2. Type — one of: workflow, integration, automation, analysis, content generation, data pipeline, monitoring, deployment
  3. Actors — who or what performs it (human, agent, system, CI)
  4. Triggers — what initiates it (user command, schedule, event, manual)
  5. Complexity — low / medium / high (based on number of steps, external dependencies, error handling needed)

Present the capability list to the user in a table before proceeding.

Step 3: Map Against Existing Inventory

For each extracted capability, check whether an existing skill or agent already covers it:

Use the skill descriptions from the Context section above. Read the full SKILL.md for any skill that seems like a partial match to confirm coverage.

Present a coverage matrix:

| Capability | Coverage | Existing Skill/Agent | Gap |
|------------|----------|---------------------|-----|
| ... | Full / Partial / None | skill-name or -- | description of what is missing |

Step 4: Propose New Skills and Agents

For each gap (Partial or None coverage), determine the right solution:

Create a SKILL when:

Create a CUSTOM AGENT when:

Extend an existing skill when:

For each proposal, present:

## Proposal {N}: {skill or agent name}

- **Type:** New skill / New agent / Extend existing {name}
- **Covers capabilities:** {list from Step 2}
- **Description:** {1-2 sentences — what it does and when to use it}
- **Key steps:** {numbered list of what the skill/agent would do}
- **Dynamic context needed:** {what live data it would inject}
- **Dependencies:** {other skills/agents it would invoke or coordinate with}
- **Priority:** High / Medium / Low — {rationale}

Sort proposals by priority (high first).

Step 5: User Approval

Present all proposals and ask the user which ones to create. Options:

  1. All — create everything proposed
  2. Select — user picks specific proposals by number
  3. Modify — user wants changes to a proposal before creation
  4. None — skip creation, keep the analysis as a reference

Wait for the user to choose before proceeding.

Step 6: Write Approved Skills and Agents

For each approved proposal:

For new skills:

  1. Create agents/skills/{name}/SKILL.md
  2. Follow the skill authoring rules from CLAUDE.md:
  1. If the skill references supporting material, create references/ files alongside the SKILL.md

For new custom agents:

  1. Create agents/custom/{name}.md
  2. Follow the existing agent format (YAML frontmatter with name and description, role definition, approach, output format, principles)

For extending existing skills:

  1. Read the existing SKILL.md
  2. Apply the minimal changes needed to cover the gap
  3. Present the diff to the user before applying

Step 7: Validate

After writing, validate each created file:

For skills:

For agents:

Report validation results for each file.

Step 8: Update Documentation

After all files are created:

  1. Check if the skill routing table in CLAUDE.md needs new entries for auto-activation
  2. Check if README.md needs updates (skill counts, tables, etc.)
  3. Present any documentation updates needed — apply after user approval

Step 9: Summary

Present a final report:

## Equip Summary

### Source Analyzed
{title, file path, URL, or description of what was analyzed}

### Capabilities Identified
{count} total — {covered} fully covered, {partial} partially covered, {gaps} gaps

### Created
| Type | Name | Covers |
|------|------|--------|
| Skill | /name | capability-1, capability-2 |
| Agent | name | capability-3 |

### Extended
| Skill/Agent | Change | Covers |
|-------------|--------|--------|
| /existing | added step for X | capability-4 |

### Skipped
{list of proposals not created, with reason}

### Next Steps
{any follow-up work identified — testing, integration, dependencies to resolve}

Guidelines

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.