From fable-discipline
Use when building a self-contained shippable artifact from scratch or a major rev — an MCP server, a CLI, a library/SDK, a skills pack, a plugin. Establishes design-spec-first, a checkbox TDD implementation plan, modular extraction with per-module tests, a dedicated review-findings pass, live/real validation that overturns spec assumptions, and release packaging.
How this skill is triggered — by the user, by Claude, or both
Slash command
/fable-discipline:artifact-buildThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
For shipping a *thing* — a server, CLI, library, plugin, or skills pack — as
For shipping a thing — a server, CLI, library, plugin, or skills pack — as
opposed to a feature inside an existing app (that's milestone-workflow). The
spine is the same one that produced clean, releasable artifacts: spec → plan →
modular TDD build → review → live validation → package.
Read the repo's CLAUDE.md first for the verify commands, package manager, and
conventions. Use those.
node --check / tsc / whatever the repo uses).A standalone review commit that does nothing but fix review findings — guarded
error paths (don't throw opaque ENOENT on a missing input — name the bad path),
dead-code removal, and honest summaries (report succeeded/total, never claim
all N succeeded when some failed). Reviewer should be a fresh perspective, not the
author's own pass.
Run the artifact against the real thing — the live API, the real client, the actual eval set — not just unit mocks. Expect the spec's assumptions to be wrong and fix what reality exposes (e.g. "the API only accepts jpeg mime", "the eval baseline is too easy"). This phase routinely overturns Phase-A assumptions; that's the point. For a skills/eval artifact, this is the eval-as-failing-test gate: RED (no skill → record what it gets wrong) → GREEN (skill makes evals pass); a too-easy baseline means the eval is too weak.
README (real quick-start + config table + the full surface), LICENSE,
.env.example, package metadata (files, keywords, repo/homepage/bugs,
engines), a capability matrix where there are tiers/variants, forward-compat
env-overrides for anything a vendor rotates, CI matrix, issue/contributor
templates, and any showcase assets (mark one-off generators "not part of the
published package"). Scrub competitor attribution from internal design docs
before going public.
Atomic commits; verify after each step; never push after a failed run until a clean rerun; keep generated artifacts (indexes, manifests) regenerated, not hand-edited; honesty in every summary and capability claim.
See PROVENANCE.md for sources.
npx claudepluginhub petrkindlmann/fable-discipline --plugin fable-disciplineGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.