agentleFS
magnus919magnus919/agent-skills/bmad/SKILL.md

bmad

Skill109 starsChanged 4 months agoMITView on GitHub

Use this skill to run BMad (Breakthrough Method of Agile AI-Driven Development) as a harness-agnostic control-plane protocol that turns human intent into bounded, inspectable, resumable agent work. Compress intent into a five-field contract (Why, Capabilities, Constraints, Non-goals, Success signal); classify work as direct/bounded/initiative and route to the smallest safe path; carry decisions in durable artifacts; review as triage; route failure to the layer where ambiguity entered; and gate autonomy on observable acceptance with machine-readable status (draft/ready-for-dev/in-progress/in-review/done/blocked). Use when a change request, feature, delegated build, or multi-agent epic needs intent capture, bounded implementation, review, and resumability in any agent harness. Do not use for validating whether a problem is real (product-discovery), shaping bets before planning (product-shaping), formal spec/gate pipelines (spec-driven-development), or the issue-to-PR delivery flow (neckbeard).

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If a field is materially ambiguous, ask one high-leverage question, propose a recommended answer, and wait for the decision.

    line 68
  2. Distinctive:

    When something is wrong, diagnose the layer where the failure entered:

    line 106
  3. Distinctive:

    Do not keep patching code when the specification is the real problem.

    line 118

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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

BMad: Intent-to-Delivery Control-Plane Protocol

BMad is a software-delivery method built on one idea: human intent should be progressively clarified, recorded, reviewed, and handed to agents as durable context rather than improvised in chat. This skill turns that method into a protocol any agent harness can follow — no official BMad installer required.

The loop: classify the request → compress intent into a contract → route to the smallest safe path → implement one bounded unit → review as triage → route failure to the layer where ambiguity entered → gate autonomy on observable acceptance → learn from completed work.

When to use this skill

Load when a change request, feature, bug report, delegated build, or multi-agent epic needs:

  • intent capture before implementation — a contract, not a vibe;
  • a decision about how much ceremony the work deserves;
  • durable artifacts so work is resumable across sessions or agents;
  • review that triages findings instead of enumerating noise;
  • autonomy that stops safely when the boundary is unsafe.

Work classification (smallest safe path)

ClassShapeProcess
Directclear goal, local change, established patterns, small blast radiusimplement immediately after minimal clarification
Boundedcoherent change needing a short contract and planintent contract → plan → implement → review
Initiativecross-component, multi-story, high-risk, or strategically uncertainanalysis → planning → solutioning → implementation → learning

Load references/classification.md for the decision table, the one-question rule, and stop conditions.

The intent contract (five fields)

For bounded or initiative work, establish a contract before implementation:

  1. Why — the outcome and why it matters.
  2. Capabilities — what the system must be able to do.
  3. Constraints — technical, operational, legal, security, privacy, time, cost, organizational boundaries.
  4. Non-goals — what is explicitly out of scope.
  5. Success signal — how we will know the result works and is acceptable.

If a field is materially ambiguous, ask one high-leverage question, propose a recommended answer, and wait for the decision. For trivial changes the contract can be five bullets in conversation; for larger work it becomes a versioned spec file.

Load references/spec.md for SPEC authoring and the status vocabulary. Templates: templates/SPEC.md and templates/INTENT.md.

The canonical loop

  1. Inspect the repository and available context before asking anything.
  2. Classify the work; state the proposed route.
  3. Establish or resume the intent contract; ask at most one material question.
  4. Present a plan for non-trivial work; wait at the approval checkpoint.
  5. Implement the smallest coherent change; run focused tests first, then broader checks.
  6. Review for correctness, scope, security, regressions, maintainability.
  7. Repair findings that belong to this change; defer unrelated findings explicitly.
  8. Report intent, behavior, files, risk, verification, findings disposition, and an accept / rework / investigate choice.

Spec status vocabulary

Machine-readable status for resumable work:

StatusMeaning
draftSpec exists but is not ready
ready-for-devPassed readiness; ready to implement
in-progressImplementation underway
in-reviewReview or triage underway
doneWorkflow completed successfully
blockedCannot safely continue unattended

blocked is a routing signal, not failure: a higher-level orchestrator, another workflow, or a human takes over. Validate a spec deterministically with scripts/check-spec.py.

Failure routing

When something is wrong, diagnose the layer where the failure entered:

FailureRoute
Wrong outcome or wrong problemintent / analysis
Missing or contradictory requirementcontract / planning
Conflicting technical approacharchitecture
Incorrect local codeimplementation
Insufficient test or evaluationverification
Unrelated pre-existing issuedefer explicitly
Unsafe ambiguityblock and ask

Do not keep patching code when the specification is the real problem.

Autonomy gate

Autonomous execution is allowed only when all of these hold: intent contract coherent, acceptance observable, boundary explicit, repository safe to modify, tests or evaluations runnable, durable status writable, escalation defined. During autonomous work: one coherent change at a time; never expand scope on unrelated improvements; never merge, deploy, or change external systems without authorization; stop on intent gaps, missing capability, destructive ambiguity, failed verification, or non-convergent repair.

Reference files

ReferenceLoad when
references/protocol.mdYou need the full paste-ready operating protocol for an agent
references/classification.mdClassifying a request or choosing ceremony depth
references/spec.mdWriting or resuming a SPEC / intent contract
references/lifecycle.mdRunning an initiative through all four phases
references/project-context.mdSetting up or auditing repository rules (AGENTS.md)
references/review-and-failure-routing.mdRunning a review or diagnosing a failure
references/autonomy.mdConfiguring or running autonomous (Build Auto) work
references/party-mode.mdDeliberation, trade-offs, design debates, post-mortems
references/adoption.mdAdopting the protocol incrementally or mapping to a dark factory

Templates

TemplatePurpose
templates/SPEC.mdVersioned machine contract for bounded/initiative work
templates/INTENT.mdLightweight five-field contract for bounded work
templates/STORY.mdOne bounded, dispatchable work unit
templates/REVIEW.mdFinal human checkpoint: intent → behavior → risk → verification

Scripts

ScriptWhen to run
scripts/check-spec.pyAfter writing or editing a spec: validate five fields + status vocabulary (stdlib only, --json output)

Routing to adjacent skills

  • Upstream (before BMad): product-discovery validates whether a problem is real; product-shaping sets an appetite and produces a pitch; product-strategy and product-roadmapping-and-portfolio frame strategic context.
  • Downstream (during BMad): spec-driven-development for formal spec/gate pipelines; implementation-planning for a dependency-aware delivery plan; adr-authoring for architecture decisions; software-architecture-analysis for reverse-engineering an existing codebase.
  • Execution and gates: neckbeard for the issue-to-PR delivery flow; verification-methodology for acceptance evidence; qa-methodology for test strategy; agent-evals-and-observability for independent evaluators; agent-council for Party-Mode-style multi-agent deliberation; release-engineering for deployment gates; kanban-guru for backlog and dispatch policy.

When not to use

  • The problem itself is unvalidated → product-discovery. BMad compresses intent; it does not establish whether the problem is real.
  • No decision yet on how much the work is worth → product-shaping first (appetite, pitch, bet). BMad starts from a placed intent.
  • You need a formal spec format plus phase gates as the factory pipeline → spec-driven-development owns SPEC format and gate mechanics; BMad provides the control-plane protocol around them.
  • You are executing an issue-to-PR delivery flow with its own gates → neckbeard. BMad complements it; do not run two competing delivery lifecycles.
  • You need independent review → role-play is not independence. Use agent-council, separate evaluators, or agent-evals-and-observability; never claim persona separation as independent review.
  • Operating the official BMad installer/tooling → this skill emulates the method; it does not install or operate bmad-method npm packages.

Version drift and attribution

BMad is actively evolving (official repository: bmadcode/bmad-method; BMAD™ and BMAD-METHOD™ are trademarks of BMad Code, LLC). Older articles differ on name expansion, agents, file names, and commands. When installing the official tooling, treat the official docs and installed source as authoritative. This skill is an original distillation of the method as a harness-agnostic protocol; it does not reproduce official installer content.

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.