MCPInstall

build-skill

Use when creating or rewriting a skill and you want one strong, workflow-conformant version built through failure analysis, review, and refinement instead of a multi-draft tournament.

Installs
600
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/camacho/ai-skills --skill build-skill
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads build-skill automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

/build-skill

Build one strong skill draft on purpose.

This skill writes skills as operational briefs for capable senior engineers with no local context. Favor invariants, decision boundaries, evidence, and stop rules over shell choreography or ceremony.

Args

The args string should include:

  • the skill name
  • what the skill does
  • any modes, commands, or repo context that materially change the design

If the request is underspecified, ask one clarifying question before proceeding.

Core principles

  • Write for a capable senior engineer, not a shell automaton.
  • Frontmatter descriptions are for discovery. They should say when to use the skill, not summarize the whole workflow.
  • Use the smallest amount of process that still preserves quality.
  • Review feedback should protect invariants or sharpen decision boundaries, not automatically reintroduce procedural clutter.
  • Token efficiency matters. If detail is rarely needed, keep it out of the main body or load it on demand.

Routing decisions

Before drafting, classify:

  • Scope: user-level or project-level
  • Target path: the exact SKILL.md destination implied by that scope
  • Rules encoding: whether the skill primarily preserves governance, policy, or decision algebra rather than a normal workflow

If any of those remain ambiguous after one clarifying question, stop and escalate.

RED phase

Establish the failing baseline before writing the skill.

The baseline-failure exercise is mandatory when:

  • editing an existing skill
  • writing a skill that enforces rules, discipline, or decision boundaries
  • the request is motivated by observed agent failure, drift, or rationalization

For a brand-new workflow skill with a clear spec and no observed failure history, a lighter RED phase is acceptable: identify at least one plausible failure mode before drafting.

Capture:

  • what goes wrong without the skill
  • what a weak version of the skill would fail to prevent
  • what rationalizations or shortcuts the skill needs to resist

Build flow

  1. Orient

    • extract the skill name and purpose
    • classify scope, target path, and rules encoding
  2. Isolate

    • if already in a worktree, continue
    • otherwise use /isolate before writing files
  3. Design

    • use /brainstorming if the skill shape is still unclear after the initial clarification
    • keep it short; the goal is clarity, not a long discovery phase
  4. Write a plan

    • write ai-workspace/plans/build-skill-<name>.md
    • include the skill spec, the RED baseline, target path, and what “good” means for this skill
  5. Review the plan

    • run /plan-review
    • teach reviewers how to evaluate a good skill:
      • clear objective
      • clear invariants
      • evidence to gather
      • safe automatic paths
      • explicit stop boundaries
      • no penalty for avoiding shell choreography
  6. Draft one skill

    • write one deliberate draft in the target style
    • do not run a default three-draft tournament
  7. Review the draft

    • review against the RED baseline, invariants, and rationalizations
    • accept feedback that protects an invariant or clarifies a decision boundary
    • discuss feedback that mainly adds procedure without improving safety or clarity
  8. Refine or escalate

    • revise until the skill is concise, discoverable, and safe
    • escalate instead of polishing forever when:
      • the request remains underspecified after one clarifying question
      • review finds an unresolved invariant failure
      • review disagreement is really a policy choice that repo context cannot settle
      • repeated revisions add process without improving safety or clarity
  9. Verify

    • if project-level, confirm the skill is discoverable in the repo’s skill surface
    • run the repo validation needed for the touched files
  10. Archive and ship

  • archive the plan when the work is done
  • ship through the normal repo workflow

Policy algebra

Use policy algebra only when the skill primarily encodes governance rules, policy invariants, or decision algebra that must survive later editing.

Do not invoke policy algebra for ordinary workflow or technique skills just because they contain a few guardrails.

If policy algebra applies:

  • generate the frozen rule block before drafting
  • ensure the draft carries it exactly where required
  • verify the final skill against that block before shipping

What good looks like

A good skill:

  • is easy to discover
  • tells the agent when to use it
  • defines the objective quickly
  • preserves the important invariants
  • gathers the minimum evidence needed to act safely
  • defines what can happen automatically
  • defines when the agent must stop
  • avoids ceremony that does not improve outcomes

Keep / avoid

Keep:

  • trigger-first descriptions
  • failure-mode-first thinking
  • concise operational language
  • explicit invariants and stop rules

Avoid:

  • workflow-summary descriptions
  • shell-macro choreography unless exact syntax is the point
  • default multi-draft tournaments
  • review loops that confuse verbosity with quality

FAQ

What does the build-skill skill do?

Use when creating or rewriting a skill and you want one strong, workflow-conformant version built through failure analysis, review, and refinement instead of a multi-draft tournament.

How do I install build-skill?

Run npx skills add https://github.com/camacho/ai-skills --skill build-skill in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/build-skill/ (personal) or .claude/skills/build-skill/ (project).

Which AI agents can use build-skill?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is build-skill safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains build-skill?

It is published by camacho in camacho/ai-skills. It has 600 recorded installs.

More from camacho/ai-skills

View all →

archive

camacho/ai-skills

Fills Outcomes & Learnings in a plan file and renames it to .done.md.

bail

camacho/ai-skills

Reflects, updates GitHub Issue, closes PR if open, cleans up worktree/branch.

capture

camacho/ai-skills

Creates a draft GitHub Issue with triage label from natural language description.

669 installs

plan-review

camacho/ai-skills

Auto-assembles review panel using deterministic rules, dispatches agents against plan file, collects verdicts.

orient

camacho/ai-skills

Fetches issue context, auto-detects task type, maps to branch prefix, presents brief.

reflect

camacho/ai-skills

Use after merging a branch or completing a task to consolidate learnings into memory layers, close out issues, and verify the phase gate.

Popular code quality & workflow skills

View category →

grill-me

mattpocock/skills

A relentless interview to sharpen a plan or design.

Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

handoff

mattpocock/skills

Compact the current conversation into a handoff document for another agent to pick up.

domain-modeling

mattpocock/skills

Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.

codebase-design

mattpocock/skills

Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.

diagnosing-bugs

mattpocock/skills

Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.