/fff:plan-chatfrom fff
Guides interactive design of a behavior change, producing a plan with decisions.md and plan.md. Resolves all open questions before sealing. Useful for structured change planning in FFFlow projects.
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. Claude Code's Plan Mode and FFFlow plans are different things — this skill creates an FFFlow plan on disk by writing files and confirming with the user, not by entering Plan Mode.
Stand up a working plan directory for one change. By the end of the session there is a sealed <plan-dir>/plan.md describing the path from current to target spec, plus a decisions.md capturing every choice made — with zero open ? markers.
.ffflow/config.yaml — read for level, stack, capture backend.Where <plan-dir> = /tmp/ffflow-plans/<project-hash>/<slug>/ (project-hash from sha256(pwd) | head -c 16, same convention as notetoself).
<plan-dir>/plan.md — the plan itself.<plan-dir>/decisions.md — every decision made + rejected alternatives. Zero open ? markers when sealed.<plan-dir>/chat-log.md — optional running transcript for archaeology.<plan-dir>/metadata.json — slug, phase, created date, level.<plan-dir>/spec-delta.md) showing the proposed spec change.hexagonal-architecture, defect-driven-specification.writing-specs, spec-first-development, contract-enforcement.rid-traceability, total-specification, quality-gates..ffflow/config.yaml. If absent, prompt the user to run /init-ffflow first and stop.auth-token-refresh).<plan-dir>/. If one already exists for this slug, offer to resume rather than overwrite.plan.md with the three phase headings and the slug + level recorded at the top.metadata.json with phase: chat-incomplete.Clarify scope. Ask sharp questions early.
Do not move on until the user confirms the problem statement. Write the confirmed problem statement into plan.md Phase 1.
Design the path through the code.
@property-based candidates. Identify spec types per layer.@RID-XXX placeholders), mutation-testing scope, contract enforcement plan.Surface decisions as you go. Open ones use ? markers in decisions.md:
? Should token refresh happen on every request or only when expiring < 5 min?
Write decisions to decisions.md continuously as conversation proceeds. Don't batch them at the end.
Describe the change as a sequence of steps that will become tasks. This is not the same as plan-breakdown (which decomposes into independent chess moves), but it does the rough cut.
Write to Phase 3 of plan.md.
This skill does not seal until every ? marker in decisions.md is resolved. No exceptions.
For each open ?:
Restate the question in plain language. Don't dump the ? block back; rephrase.
Present 2–3 alternatives, each with:
/tmp/ffflow-plans/<project-hash>/.Name a recommendation. Don't be neutral. The user can override; abstaining wastes their time.
Ask for confirmation. Either "go with X" or "different — tell me which."
Record the answer in decisions.md with rejected alternatives:
✓ Token refresh strategy
Chose: threshold-based (refresh when < 5min remaining)
Rationale: balances network overhead against the auth-failure cliff for users on slow networks.
Rejected alternatives:
- every request: too much network traffic
- on 401 retry: too much latency for unhappy paths
If the decision changes content in Phase 2 or Phase 3 of plan.md, update those sections — don't strand stale text.
If the user wants to defer a decision, write ? (deferred): <reason> and continue. The skill will still refuse to seal — plan-breakdown requires zero opens.
Plan is sealed when:
? markers in decisions.md (deferred markers count as open).Update metadata.json:
{
"phase": "chat-complete",
"ready_for_breakdown": true
}
Print:
✓ <plan-dir>/ sealed (chat-complete)
Next: /plan-breakdown
Re-running plan-chat against an existing plan directory:
metadata.json. If phase: chat-complete and user is starting a new direction, refuse — they should start a new plan slug, or revert the metadata explicitly.plan.md and decisions.md. If any ? markers exist, jump to step 4 (resolve every open decision). Otherwise, pick up at the latest unfinished phase./clear. Plan files persist.plan-breakdown's job.?s. The discipline is what makes breakdown clean.plan.md Phase 1, confirmed by user.decisions.md has zero open ? markers (including deferred).metadata.json shows chat-complete.What SKILL.md sets; muted values are Claude Code's defaults
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.