/fff:upgrade-ffflowfrom fff
Reconciles a project against the current FFFlow version by reading the stamped version, walking the migration ledger, and applying missing changes. Run after updating the plugin.
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.
Updating the plugin changes what FFFlow believes. It does not change what your repo contains. This skill closes that gap.
It answers one question — "what does this repo still need in order to be a current FFFlow project?" — and then does something about it.
This skill does NOT invoke Plan Mode. It presents a findings table and applies confirmed remediations directly. Anything large enough to want a plan gets delegated to a skill that makes its own planning decision (audit --plan, adopt-ffflow --ui).
/plugin update fff — the primary case./fff:audit. It is idempotent and cheap when there's nothing to do.Not for adopting FFFlow on a new project — that's /fff:adopt-ffflow. If there's no .ffflow/config.yaml, this skill stops and says so.
.ffflow/config.yaml — for ffflow_version (may be absent) and for applies_when conditions.${CLAUDE_PLUGIN_ROOT}/docs/migrations.md — the ledger.${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.json — the current version.--dry-run — report only, change nothing, don't stamp.--from <version> — override the inferred starting version. Escape hatch for a wrong duck-type.--only <id>[,<id>] — apply specific ledger entries.autonomous: true.ffflow_version + ffflow_upgraded in .ffflow/config.yaml.Delegates rather than reimplements:
audit (--type claude-md --fix) — CLAUDE.md coverage and generation.stack-init — justfile, hooks, CI.adopt-ffflow --ui — view-layer-purity retrofit.init-ffflow — the canonical beliefs-block text lives there; this skill re-uses it.Target = version from the plugin manifest.
Current = ffflow_version from .ffflow/config.yaml, if present.
No .ffflow/config.yaml at all → stop:
This project isn't on FFFlow — no .ffflow/config.yaml found.
Run /fff:adopt-ffflow to onboard it. upgrade-ffflow reconciles adopted
projects; it doesn't adopt them.
ffflow_version absent → pre-0.4.0, exact version unknown. Expected, supported, and handled in step 2. Say so plainly rather than treating it as a fault:
No version stamp found — this repo predates version stamping (0.4.0).
Inferring its effective version from what's actually in the tree...
Current == target and no --only → report "already current," run the detection sweep anyway (cheap, and catches hand-edits that regressed something), and exit without stamping if nothing is found.
The stamp is a hint, never an authority. Detection is always evidence-based — every ledger detect block reads the repo, not the config. This matters twice: it's what makes unstamped repos work, and it's what catches a stamped repo where someone deleted a file by hand.
For an unstamped repo, run every ledger entry's detection from 0.1.0 forward. Then infer:
adopt-ffflow --ui but never touched their justfile), and it's more useful to say that than to force a single number.Show the inference and its evidence before acting:
Duck-typed effective version: ~0.3.0
✓ 0.1.0 ffflow-config .ffflow/config.yaml present (level: L3)
✓ 0.2.0 l3-unlocked level already L3
✓ 0.2.1 justfile-baseline justfile has all baseline recipes
✓ 0.3.0 ui-view-layer-purity .storybook/ + tokens + stack.yaml lane present
✗ 0.4.0 version-stamp no ffflow_version key
✗ 0.4.0 beliefs-block no ffflow:beliefs markers in CLAUDE.md
✗ 0.4.0 hierarchical-claude-md 1 CLAUDE.md found; 7 significant modules
Proceed on this reading? (y / adjust with --from)
The ledger is short and detection is cheap. Sweeping all of it, always, costs little and removes a whole class of "the stamp lied" failures.
For each entry between current and target:
applies_when against config + repo state. Not applicable → skip silently (don't clutter the report with UI entries on a backend project).detect. Present → skip, note as satisfied.Order by severity (high → low), then by version.
Always show the full table first, even with --only:
FFFlow upgrade: ~0.3.0 → 0.4.0
HIGH beliefs-block Root CLAUDE.md has no managed beliefs block
→ write block (auto)
HIGH hierarchical-claude-md 7 significant modules, 1 CLAUDE.md
→ /fff:audit --type claude-md --fix
HIGH version-stamp No ffflow_version in config
→ stamp 0.4.0 (auto, runs last)
Apply all (a), select (s), dry-run detail (d), abort (x)?
In severity order. Per entry:
autonomous: true → apply, report.autonomous: false → confirm, then apply or record the decline.Only after every selected entry is applied or explicitly declined:
ffflow_version: 0.4.0
ffflow_upgraded: 2026-08-23
Stamp even when entries were declined, and name them in the summary. The stamp means "this repo has been reconciled against 0.4.0" — reconciliation includes an informed "no." A repo that declined an entry and didn't get stamped would re-surface that same prompt on every future run, which trains the user to ignore the tool.
--dry-run never stamps.
✓ Upgraded to 0.4.0
Applied:
beliefs-block wrote managed block to CLAUDE.md (18 lines)
hierarchical-claude-md generated 7 module CLAUDE.md via audit --fix
version-stamp .ffflow/config.yaml → ffflow_version: 0.4.0
Declined:
(none)
Next: review the generated module CLAUDE.md files — they're seeded from
real file content, but a human eye catches what a template can't.
ffflow_version.ffflow_version instead of detecting. The stamp can be stale, hand-edited, or from a repo copied out of another.autonomous: false entries under --only. The flag selects entries; it does not grant consent.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub zerotechdebt/ffflow --plugin fff38 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.