agentleFS
CodyAMaughanCodyAMaughan/agent-first-engineering/.claude/skills/create-mvp/SKILL.md

create-mvp

Skill3 starsChanged 4 months agoMITView on GitHub

Drive a greenfield project from an idea or a spec to its first fully-functional MVP. Refine the spec into a scope-cut vertical slice with a definition-of-done and a test oracle, scaffold (or confirm) a green test harness, decompose the MVP into small always-functional slices, then build each slice test-first on one stacking branch until the oracle is green. Run it autonomously via the create-mvp workflow, or step through it by hand. Trigger with "create the MVP", "take this greenfield idea to a working first version", "/create-mvp".

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    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:

    Autonomously (the loop): run the workflow create-mvp with args = { idea: "..." } or { specPath: "docs/SPEC.md", stack: "..." }.

    line 49
  2. Distinctive:

    Spec: Write the vertical slice + what's OUT + a checkable Definition of Done + the exact test command that proves it.

    line 55
  3. Distinctive:

    Integrate: Check every DoD bullet end-to-end, then hand to a human for the PR.

    line 62
  4. Very specific:

    Ensure a code-reviewer subagent exists in .claude/agents/ (the scaffolder emits one).

    line 72
  5. Very specific:

    Run create-mvp with your idea or spec.

    line 73

≈ “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

Create MVP

Take a greenfield project idea → first fully-functional version, the agent-first way. The trap with a new project is building breadth before the core loop works. This flips it: define the smallest slice that genuinely works, stand up an oracle that can prove it, then grow the slice test-first until the Definition of Done is met. It is "write loops, not prompts" applied to a blank repo.

Operating principle: an MVP is the smallest thing that is actually functional, defended by an oracle (a test command that proves it). Scaffold the oracle FIRST, decompose into slices that each leave the project runnable, and build each slice test-first. The oracle decides when a slice — and the MVP — is done. No oracle ⇒ you can't tell "looks done" from "is done."

The pipeline

idea / SPEC
   → [SPEC]      refine to a vertical slice + scope-cut + Definition of Done + the test oracle   (reviewer gate)
   → [SCAFFOLD]  agent-first layer + a GREEN test harness so the oracle is live from commit 1     (oracle green)
   → [DECOMPOSE] break the MVP into ordered, always-functional slices
   → [BUILD]     one stacking branch; each slice test-first → oracle → review                     (oracle + reviewer)
   → [INTEGRATE] full Definition-of-Done gate end-to-end                                          (DoD gate)
   → ⏸ human → PR
StageProducesGate (oracle)Loops untilConfig
Speca tight MVP spec: slice · scope-cut · DoD · test commandreviewer: minimal-yet-functional, scoped, checkable, verifiablepass or MAX_SPEC_ROUNDS—
Scaffoldagent-first layer + a green test harnessthe oracle (TEST_CMD) exits 0greenscaffold-agent-project
Decomposean ordered list of always-functional slices—oncemaxSlices
Buildeach slice's tests + code on one mvp/<slug> branchTEST_CMD exits 0 and the slice's tests assert; then a code-reviewer passgreen or the cap, per slicelifecycle.conf
Integrate(no new code)a fresh agent checks every DoD bullet end-to-endonce—

Everything stack-specific lives in .agent/lifecycle.conf (TEST_CMD = the oracle, branch naming, per-stage caps) — the same as the feature pipeline, so the two share one config.

Why one stacking branch (not a branch per slice)

Slices depend on each other (slice 3 needs slice 1's code). So all slices build on a single mvp/<slug> branch and stack — unlike the feature pipeline, which branches per feature off main. That's the one structural difference; everything else is the same soft-procedure + hard-gates + loop.

How to run it

Autonomously (the loop): run the workflow create-mvp with args = { idea: "..." } or { specPath: "docs/SPEC.md", stack: "..." }. It refines the spec, confirms/scaffolds the harness, decomposes, builds each slice test-first, runs the DoD gate, and stops before the PR. Watch with /workflows.

By hand (drive it yourself):

  1. Spec. Write the vertical slice + what's OUT + a checkable Definition of Done + the exact test command that proves it. Red-team it for "is this really the smallest functional thing?"
  2. Scaffold. Get a green test harness first (the oracle live from commit 1). Reuse scaffold-agent-project for a new repo.
  3. Decompose. List ordered slices, each leaving the project runnable.
  4. Build. Branch mvp/<slug>. For each slice: write tests first, confirm RED, code to green, run the oracle, review. Stack slices on the one branch.
  5. Integrate. Check every DoD bullet end-to-end, then hand to a human for the PR.

Stop conditions (don't let a loop spin)

Per-slice implement cap and per-stage review caps come from .agent/lifecycle.conf. If a slice can't go green within its cap, the workflow stops and surfaces it to a human with the failing gate — it never ships a half-built slice. No oracle for the MVP ⇒ define it first (write the test command).

Adapting to a new repo

  1. Set TEST_CMD in .agent/lifecycle.conf to the project's real oracle (a deterministic/headless test is ideal).
  2. Ensure a code-reviewer subagent exists in .claude/agents/ (the scaffolder emits one).
  3. Run create-mvp with your idea or spec.

Portability

Follows the Agent Skills (SKILL.md) standard. Canonical copy in .agents/skills/create-mvp/; mirrored byte-identical to .claude/skills/create-mvp/. The orchestrator is .claude/workflows/create-mvp.js. Pairs with feature-lifecycle (single features, post-MVP).

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.