/fff:work-issuefrom fff
Executes a single captured issue from cold-start to merged PR, including spec updates in the same PR. Level-aware with lint+test gates at L0 and full quality gates at L3.
Ships in fff. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill does NOT invoke Plan Mode. It executes a single chess move; planning is already done.
Take one captured issue (or task file) from cold-start to a PR. The spec change ships in the same PR as the implementation. At every level, the discipline is the same — only the artifacts scale.
/work 42) or path to a task file (markdown backend)..ffflow/config.yaml — read for level, stack, capture backend.Branch: field (typically task/<plan-slug>/task-N-<short-title>)..ffflow/audit.yaml — this skill never writes it, even when it touches an audited file. Stamping is /fff:audit's job; an editor stamping its own commit is self-certification, which is the exact failure the stamp exists to rule out. Editing an audited file legitimately makes it stale — that's for the next /fff:audit to discover, not to be pre-empted here.tdd-loop — the red/green/refactor discipline.self-review — pre-PR checklist.These are non-negotiable.
When ≥ 2 PRs have been created in the current session, pause with a summary:
PRs created this session:
#101 — task-1: ... (status: open, draft=false, checks=pending)
#102 — task-2: ... (status: open, draft=false, checks=pending)
continue? (y/n/disable)
y continues; counter resets.n stops the session.disable turns off PR-checkpointing for the rest of the session. One decision; no further nags.The default is the every-2-PRs cadence. disable is for users who want to let a long fanout run uninterrupted after they've confirmed it's healthy. Counter and disable-state are session-local — they reset on next invocation.
Before pushing a PR that contains anything other than spec-only changes:
just test, pytest, npm test, level-appropriate) and confirm green, orA non-spec-only PR with neither is a protocol violation.
.ffflow/config.yaml for level/stack.gh issue view <id> for body and metadata.git checkout -b <branch>.The task body cites a spec back-link. Open it:
.feature Rule. Read the scenarios in scope.Re-read the task body once more after reading the spec. Confirm the chess move is still well-defined; if you have new questions, stop and ask the user.
tdd-loop)Load tdd-loop as reference context. Walk the loop:
.feature content or scenarios.Stack-specific commands come from the stack skill's cartridge matching .ffflow/config.yaml stack:.
UI work (stack includes typescript-ui): the loop is component-first. Load component-driven-ui as reference context. The ordering is a discipline, and at L2+ a gate: decompose the change into components → build each presentational component in isolation → write its story (a vignette per reasonable state) and component test as the "red" → green → assemble upward → only then write the container that wires it into the app. Do not import a component into app/container code until its story and test are green (the ui audit cartridge enforces this in Phase 4). The story's play() interaction test and the component unit test are the tests you write in step 1.
Update the evergreen spec to reflect the new behavior. This commit goes in the same PR as the implementation.
.feature file./audit --type rid (deferred until Phase 4).Did this change create a new module? If so, it needs a CLAUDE.md, in this PR, for the same reason the spec update ships here: an artifact that lands later usually doesn't land at all.
A "new module" is a directory that meets the claude-md cartridge's significance criteria — a top-level module dir, a new hexagonal layer, or a directory that this change pushed to ≥ 3 non-test files. Use those criteria; don't invent your own.
Never treat adding a module CLAUDE.md as a new precedent to be flagged for the user. Hierarchical CLAUDE.md is an FFFlow invariant (§2.10) and it's stated in the project's own beliefs block. A repo that has only a root CLAUDE.md is behind on the convention, not defining one.
Run level-appropriate gates:
/audit --type claude-md (if any docs changed)./audit --type spec for files in scope + /audit --type char-tests if any characterization tests are pinned to this spec. UI stacks: + /audit --type ui (story presence, dependency rule, token conformance, no-unproven-app-import) + just test-stories.quality-gates: structure / correctness / coverage / maintainability, including mutation testing for the touched scope. UI stacks: /audit --type ui blocking at full strictness (story-coverage threshold, token conformance) + optional visual regression.If any gate fails after honest attempts, mark the PR as draft and surface the failures in the PR body.
Invoke self-review skill. Walk its checklist against this PR's diff. In particular: every minor issue you noticed during implementation should be either fixed in this PR (zero-tech-debt's 15-minute rule) or deferred with a concrete TODO-with-trigger (yagni). No bare TODOs, no vague triggers, no "future work" sections in the PR body.
Honor the local-validation gate (above). Then:
gh pr create \
--title "<short title>" \
--body "<body>"
PR body shape:
Closes #<issue-id>
## Spec changes
- <file>: <one-line description>
## Implementation
- <file>: <one-line description>
## Tests
- <file>: <added / modified>
- Local result: <pass | fail | not-run + reason>
## Audit
- <auditor>: <pass | fail | n/a>
If draft (gates failing): prefix title with [WIP] and add ## Outstanding section listing the open work.
After creating the PR, post a one-line summary in the session per the PR-checkpoint protocol:
created PR #<n> — task-<id>: <title> (draft=<bool>)
autopilot does, with explicit authorization).refactor-driven plan, not in this PR.self-review clean.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub zerotechdebt/ffflow --plugin fffOther plugins' skills for the same job
38 skills in this plugin
/adopt-ffflowEnd-to-end onboarding for a new FFFlow project. Runs init-ffflow, stack-init, then hands off to plan-roadmap to phase out the work (greenfield or brownfield — roadmap figures out the right per-phase entry point). Use `--ui` to adopt FFFlow's view-layer-purity structure (the frontend sibling of hexagonal) on an already-adopted project./auditRun the FFFlow keep-honest auditors against this project. Coordinator with per-type cartridges (CLAUDE.md freshness, spec drift, characterization tests, architecture conformance, complexity/refactor signals, and L3 RID traceability). Use --type to target one; --plan to convert findings into work./autopilotMeta-skill that wraps any interactive skill for unattended execution. Reads project context to stand in for the user on routine decisions, with a decision log.