/fff:justfilefrom fff
Defines a justfile interface and maturity model for FFFlow projects with baseline recipes (test, lint, format, check-all) and tier cartridges for quality, security, advanced, and polyglot orchestration.
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.
Read when SKILL.md points to them.
The shared build interface every FFFlow project implements, plus the maturity model for adding tier-specific patterns over time.
Two concerns combined into one skill:
cartridges/ carry the recipes for each tier..ffflow/config.yaml). Affects spec discipline.A project at FFFlow L1 might be at justfile Tier 0 (just bootstrapped) or Tier 3 (production). Pick each independently.
set shell := ["bash", "-uc"]
# Show all available commands
default:
@just --list
# Install dependencies and setup development environment
dev-install:
<install deps, create venvs, download tools>
# Format code (auto-fix)
format:
<auto-fix whitespace/style>
# Lint code (auto-fix, complexity threshold=10)
lint:
<auto-fix linting, complexity=10>
# Type check code
typecheck:
<static type checking>
# Run unit tests
test:
<unit tests only, fast>
# Run unit tests with coverage threshold
coverage:
<unit tests, 95% threshold, blocks if below>
# Run all quality checks (format, lint, typecheck, coverage - fastest first)
check-all: format lint typecheck coverage
@echo "All checks passed"
# Remove generated files and artifacts
clean:
<remove build artifacts, caches>
Stub what you can't implement: @echo "not implemented". Stubs signal intent and pass the interface check.
These engage based on FFFlow level (not justfile tier):
L2+ recipes:
# Run BDD spec tests
spec-test:
<run Gherkin scenarios only>
# Run spec tests with coverage threshold (80%)
spec-coverage:
<spec tests, 80% threshold>
When present, check-all extends:
check-all: format lint typecheck coverage spec-coverage
L3 recipes:
# Run spec traceability audit (RID/specdrive).
# specdrive is a language-agnostic CLI on npm — same invocation on every stack.
# TypeScript projects may use `pnpm specdrive audit`; all others use `npx specdrive audit`.
spec-audit:
<npx specdrive audit (or `pnpm specdrive audit` on TypeScript)>
# Run mutation testing
mutate:
<stryker / mutmut / PIT>
At L3, check-all includes spec-audit (but NOT mutate — slow gates kill the loop):
check-all: format lint typecheck coverage spec-coverage spec-audit
check-all order: format, lint, typecheck, coverage, spec-coverage, spec-audit. Fastest first.test vs spec-test. test runs unit tests. spec-test runs BDD scenarios. They do not overlap. coverage measures unit coverage. spec-coverage measures spec coverage.mutate is NOT in check-all. Mutation testing is slow. Run it explicitly or on a schedule (e.g., weekly via CI cron). This rule is the single source of truth — other skills reference it rather than restating.Five tiers. Start at 0. Add tiers when needed. YAGNI applies at every step.
| Tier | Theme | Cartridge | When |
|---|---|---|---|
| 0 | Baseline (above) | — | All projects, no exceptions |
| 1 | Quality patterns: test-watch, integration-test, complexity, loc, duplicates, slowtests | cartridges/tier-1-quality.md | Setting up CI/CD; multi-developer; fast feedback wanted |
| 2 | Security: vulns, lic, sbom, doctor | cartridges/tier-2-security.md | Deploying to production; compliance |
| 3 | Production: test-smart, deploy, migrate, logs, status | cartridges/tier-3-advanced.md | Production deployment; database-backed |
| 4 | Polyglot: multi-language orchestration | cartridges/tier-4-polyglot.md | Monorepo / multiple languages |
Cartridges are markdown files under cartridges/. Load only the cartridge(s) for tiers you're activating.
Typical paths:
Non-linear allowed. Add specific recipes without completing a full tier:
/stack-init upgrade vulns # Add vulns from Tier 2, skip rest
When to stop. Do not add a tier you will not use. No CI? Skip Tier 1. No deployment? Skip Tier 3. Single language? Skip Tier 4.
stack-assess runs the interface check:
| Level | Required recipes (Tier 0 baseline) |
|---|---|
| L0/L1 | default, dev-install, format, lint, typecheck, test, coverage, check-all, clean |
| L2 | above + spec-test, spec-coverage |
| L3 | above + spec-audit, mutate |
Missing required recipes are a finding. Stubs satisfy the requirement.
Plus tier-appropriate recipes per the ladder.
See the stack skill's cartridges (python.md, typescript.md, java.md, polyglot.md) for the per-stack recipe content (which tool implements each recipe).
format → fmt, test → t). Tooling expects exact names.test. Use a separate recipe (integration-test, from Tier 1).mutate to check-all. Slow gates kill the loop.spec-audit failures in local dev. CI-only gate.cartridges/tier-1-quality.md (opens in a new tab)cartridges/tier-1-quality/java.md (opens in a new tab)cartridges/tier-1-quality/python.md (opens in a new tab)cartridges/tier-1-quality/rust.md (opens in a new tab)cartridges/tier-1-quality/typescript.md (opens in a new tab)cartridges/tier-2-security.md (opens in a new tab)cartridges/tier-2-security/java.md (opens in a new tab)cartridges/tier-2-security/python.md (opens in a new tab)cartridges/tier-2-security/rust.md (opens in a new tab)cartridges/tier-2-security/typescript.md (opens in a new tab)cartridges/tier-3-advanced.md (opens in a new tab)cartridges/tier-3-advanced/java.md (opens in a new tab)cartridges/tier-3-advanced/python.md (opens in a new tab)cartridges/tier-3-advanced/typescript.md (opens in a new tab)cartridges/tier-4-polyglot.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
justfile, ffflow, build-interface, maturity-model, task-runner, project-tooling
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./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.Other plugins' skills for the same job
npx claudepluginhub zerotechdebt/ffflow --plugin fff