agentleFS
chatquillchatquill/claude-code-websites/.claude/skills/vertical-slice/SKILL.md

vertical-slice

Skill1 starsChanged 24 days agoMITView on GitHub

Builds the thinnest production-quality end-to-end slice of a risky feature: one screen, one endpoint, one table, deployed to a preview, with tests, to prove the architecture before building the rest. Use at the start of Build, or before a feature with integration or performance risk.

13 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

5 rules. 0 are common, 1 is distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 11 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Write the slice as a story (/create-stories format, Status: ready) and show it.

    line 33
  2. Distinctive:

    Ask "Build this slice?"

    line 34
  3. Very specific:

    Run /dev-story on that story.

    line 38
  4. Very specific:

    Ask devops-lead for the preview deploy steps.

    line 45
  5. Very specific:

    Write production/milestones/vertical-slice-<feature-slug>.md: what was built, what broke and how it was fixed, measured numbers (LCP, API …

    line 52

“Common” is measured: kept by at least 6 in 10 of the 11 edited versions of this file we could read. “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

Vertical Slice

Unlike /prototype, this code is kept: it follows every rule and test standard. It is deliberately narrow: UI → API → DB → preview deploy for a single happy path, so that architecture, tooling and deploy problems surface on day one instead of week six.

Inputs

  • docs/specs/features/<feature-slug>.md (flow, contract, data model)
  • docs/architecture/architecture.md and ADRs
  • project.yaml → stack, .claude/docs/stack-matrix.md
  • CI and deploy config, if /ci-setup and /deploy-setup have run

Phases

Phase 1: Define the slice

With technical-director, pick the one path that exercises the most risk:

  • auth'd page that reads and writes the main entity
  • the integration call (payments sandbox, CMS fetch, LLM stream)
  • the deploy target and its runtime limits

Write the slice as a story (/create-stories format, Status: ready) and show it. Ask "Build this slice?"

Phase 2: Build it

Run /dev-story on that story. Brief in parallel when the contract is fixed:

  • backend specialist: migration + endpoint/action + integration test
  • frontend specialist + ui-engineer: route + component + component test
  • test-engineer: one Playwright test for the slice

Phase 3: Prove it runs where it will run

Ask devops-lead for the preview deploy steps. Print the deploy/preview command for the user to run (e.g. push the branch for a PR preview); do not deploy. Once the user confirms the preview URL, run the Playwright test against it (BASE_URL=<url> npx playwright test tests/e2e/<slice>.spec.ts).

Phase 4: Report

Write production/milestones/vertical-slice-<feature-slug>.md: what was built, what broke and how it was fixed, measured numbers (LCP, API p95, cold start), and the architecture changes needed (each one an ADR or a spec change). Ask before writing.

Next step

/architecture-decision for anything the slice disproved; otherwise /create-stories for the rest of the feature.

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.