/fff:yagnifrom fff
Provides a TODO-with-trigger format for deferring work at code review time. Bridges zero-tech-debt and YAGNI by requiring concrete inflection points instead of vague intentions.
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.
A reference rulebook (all levels). Loaded alongside zero-tech-debt by the same touchpoints. Not invoked as a tool.
The core rule: only build what you need. When zero-tech-debt would have you fix something at review time, but the fix is premature — because the right design depends on a future condition you haven't hit yet — defer with a documented trigger instead. Never "we'll get to it."
yagni provides the format and discipline for the deferral. Together with zero-tech-debt, it collapses the review-time choice to fix now or write the trigger. There is no third option.
Same touchpoints as zero-tech-debt:
/fff:code-review/fff:self-review/fff:work-issue Phase 5/fff:refactor/fff:audit (the tech-debt cartridge enforces the trigger requirement)Two forms, both valid. Pick based on the complexity of the deferral.
# TODO(re-evaluate when 5+ RIDs land): switch to dynamic marker registration
For when the trigger is self-explanatory and the action is obvious. Single line, concrete trigger, one-sentence action.
# TODO(re-evaluate when read-load > 1k req/s): caching layer in front of this query
# Current shape: direct query, ~200ms p99 at expected load
# What changes: introduce Redis cache with 5-min TTL; cache invalidation on writes
For when the trigger needs explanation, the current shape's justification matters, or the proposed change deserves more than a sentence. Use this when a future reader would benefit from knowing why the deferred decision is correct now and what would change later.
A trigger must be a specific inflection point that someone could observe and recognize. Good triggers:
re-evaluate when 5+ RIDs landre-evaluate when read-load > 1k req/sre-evaluate when we add a third workspace memberre-evaluate after the v2 schema migrationre-evaluate when the team is > 4 engineersre-evaluate when this file exceeds 300 LoCBad triggers (forbidden):
eventually — when?when we have time — never.if it becomes a problem — by then it's already a problem.someday — see above.TODO: refactor this — no trigger at all.If you can't name a concrete inflection, the deferral isn't legitimate yagni — either zero-tech-debt says fix it now, or the right move is to file a captured issue (durable in the tracker), not a code TODO.
Deferral is right when:
Deferral is NOT right when:
The opposite failure mode from zero-tech-debt's pedantic perfectionism:
Zero-tech-debt without yagni breeds over-engineering. Yagni without zero-tech-debt breeds drift. The pair holds the line.
# TODO / # FIXME / # XXX comments. No trigger = no plan = won't happen. Forbidden.eventually, someday, when we have time). These are deferral-without-deferral. The audit cartridge flags them.The /fff:audit --type tech-debt cartridge scans for:
TODO/FIXME/XXX/HACK without a trigger condition.eventually, someday, when we have time).Findings convert to refactor tasks via /fff:audit --plan.
zero-tech-debt — tension partner. The "fix it now" side of the binary.defect-driven-specification — for behavioral invariants and bug-derived spec entries (L1+). Different category: that's spec-level annotations; this is code-level sizing decisions. No overlap.audit cartridge tech-debt — enforces the trigger requirement project-wide.Every deferral you record:
If a check fails, the deferral isn't legitimate. Re-classify: fix now (zero-tech-debt), file as a captured issue, or sharpen the trigger.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
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./characterizeFor an unspec'd codebase, walk it module-by-module to extract an evergreen spec (committed immediately) and produce a plan for characterization-test backfill./ci-gatesGitHub Actions workflow templates for FFFlow projects — runs level-appropriate audits and quality gates as PR checks./component-driven-uiView-layer purity — presentational vs. connected components, the atoms→molecules→organisms→layouts ladder, story-as-vignette doctrine, design tokens, and the decompose→story→test→integrate ordering. The frontend sibling of hexagonal-architecture. L1+ reference rulebook.