
Build Skill
- 601 installs
- 1 repo stars
- Updated May 26, 2026
- camacho/ai-skills
build-skill is an agent skill that creates or rewrites one high-quality, workflow-conformant AI-coding skill through deliberate failure analysis and refinement for developers who want a single strong draft instead of mul
About
build-skill is an agent skill from camacho/ai-skills that produces one deliberate SKILL.md draft for capable senior engineers with no local context. The workflow favors invariants, decision boundaries, evidence, and stop rules over shell choreography or ceremony, using failure analysis and review rather than generating multiple competing versions. Args should name the skill, describe what it does, and note modes, commands, or repo context that change design; underspecified requests trigger one clarifying question. Developers reach for build-skill when bootstrapping a new agent capability, rewriting a vague skill, or replacing tournament-style multi-draft generation with a reviewed single version.
- Builds operational briefs written for senior engineers with zero local context
- Emphasizes invariants, decision boundaries, evidence, and stop rules over ceremony
- Performs explicit routing on scope, target SKILL.md path, and rules-encoding before drafting
- Asks one clarifying question when the request is underspecified
- Produces frontmatter optimized for discovery that states exactly when to use the skill
Build Skill by the numbers
- 601 all-time installs (skills.sh)
- Ranked #1,587 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Security screen: MEDIUM risk (skills.sh audit)
- Data as of Jul 28, 2026 (Skillselion catalog sync)
npx skills add https://github.com/camacho/ai-skills --skill build-skillAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 601 |
|---|---|
| repo stars | ★ 1 |
| Security audit | 1 / 3 scanners passed |
| Last updated | May 26, 2026 |
| Repository | camacho/ai-skills ↗ |
How do you write a high-quality agent skill in one pass?
Create or rewrite one high-quality, workflow-conformant AI-coding skill through deliberate failure analysis, review, and refinement instead of multi-draft tournaments.
Who is it for?
Engineers authoring agent skills who want one reviewed operational brief with clear stop rules rather than a multi-draft tournament.
Skip if: Developers building application features or MCP servers who do not need SKILL.md authoring guidance.
When should I use this skill?
A user asks to create, rewrite, or improve an agent skill and wants a single strong workflow-conformant version.
What you get
A workflow-conformant SKILL.md with explicit invariants, decision boundaries, evidence requirements, and documented failure-analysis refinements.
- SKILL.md operational brief
- Failure-analysis refinement notes
- Decision boundaries and stop rules
Files
/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.mddestination 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
/isolatebefore writing files
3. Design
- use
/brainstormingif 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
Related skills
How it compares
Choose build-skill for deliberate single-draft SKILL.md authoring; use template skills when copying an existing scaffold matters more than failure-driven refinement.
FAQ
How does build-skill differ from generating multiple skill drafts?
build-skill intentionally produces one strong SKILL.md through failure analysis, review, and refinement. The camacho/ai-skills workflow rejects multi-draft tournaments in favor of invariants, evidence, and stop rules.
What arguments should you pass to build-skill?
build-skill expects the skill name, what the skill does, and any modes, commands, or repo context that change design. If the request is underspecified, build-skill asks one clarifying question before drafting.
Who is the intended reader of a build-skill output?
build-skill writes for capable senior engineers with no local context. Deliverables emphasize decision boundaries and stop rules instead of shell choreography or ceremonial steps.
Is Build Skill safe to install?
skills.sh reports 1 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.