/fff:stackfrom fff
Reference for FFFlow stack toolchain dimensions and cartridges for Python, TypeScript, Java, Rust, and polyglot projects. Defines defaults for package manager, formatter, linter, test runner, coverage, and mutation testing per language and maturity level.
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 "stack" is the language-specific toolchain a project uses. FFFlow declares stack defaults via a dimension model: each tool category (package manager, formatter, linter, etc.) has a canonical choice per language, with level-aware additions (pytest-bdd at L2+, mutmut at L3, etc.).
This skill is the reference for that model. Other skills (stack-init, stack-assess, work-issue, etc.) consult it. The language-specific specifics live in cartridges under cartridges/.
.ffflow/config.yaml stack: | Cartridge | Templates |
|---|---|---|
python | cartridges/python.md | cartridges/python-templates/ |
typescript | cartridges/typescript.md | cartridges/typescript-templates/ |
typescript-ui | cartridges/typescript-ui.md (extends typescript) | cartridges/typescript-ui-templates/ |
java | cartridges/java.md | cartridges/java-templates/ |
rust | cartridges/rust.md | cartridges/rust-templates/ |
polyglot | cartridges/polyglot.md | cartridges/polyglot-templates/ |
Each cartridge declares its dimensions in a YAML block at the top, plus directory conventions, justfile recipe additions per level, and references to its config templates. Load the cartridge whose name matches .ffflow/config.yaml stack:.
Every cartridge declares the same dimensions (with stack-specific values):
dimensions:
package_manager: { tool: <name>, version: ">=X.Y" }
formatter: { tool: <name>, command: "<command>" }
linter: { tool: <name>, command: "<command>" }
type_checker: { tool: <name>, mode: strict }
test_runner: { tool: <name> }
coverage_tool: { tool: <name> }
coverage_threshold_line: <int>
coverage_threshold_branch: <int>
complexity_limit: <int>
# L2+
bdd_runner: { tool: <name>, when: "level >= L2" }
property_runner: { tool: <name>, when: "level >= L2" }
# L3
mutation_tool: { tool: <name>, when: "level == L3" }
mutation_threshold: <int>
spec_audit_cli: { tool: <name>, when: "level == L3" }
.ffflow/stack.yaml can override any single dimension. This is how a project keeps the language stack but swaps (say) vitest for jest.
Cartridges default to language-native workspace introspection for determining where source files live (cargo metadata for Rust, pnpm m ls --json for TS, [tool.uv.workspace] members for Python, mvn help:evaluate -Dexpression=project.modules for Java). Used by the empty-workspace guards in each justfile.
For projects with non-standard layouts that the native introspection can't reach, override via .ffflow/stack.yaml:
source_globs:
- "subprojects/*/src/**"
- "vendored/*/lib/**"
The justfile's _member_paths recipe respects this override when present. Use sparingly — the native path covers the vast majority of cases. If you find yourself reaching for this often, that's a signal the project's layout is fighting the package manager and worth straightening out at that level instead.
| Level | What activates |
|---|---|
| L0 | Package manager + formatter + linter + type checker + test runner + coverage. |
| L1 | Above + project assumed hexagonal-ish (rulebook loaded, not enforced). |
| L2 | + BDD runner + property-based testing. |
| L3 | + mutation testing + RID/spec audit CLI. |
Each cartridge details which tools cover which dimension at each level.
When quality-gates (or any other skill) needs to know a project's coverage threshold or mutation threshold, it reads the cartridge's dimensions: block — not its own restated value. The dimension YAML is the canonical record; it's documentation-for-humans (not machine-parsed), but skills grep it consistently.
extends: cartridge like typescript-ui, which is loaded on top of its base (typescript) — the base's dimensions and recipes still apply, and the UI cartridge only adds.cartridges/java-templates/pom.xml.L0 (opens in a new tab)cartridges/java.md (opens in a new tab)cartridges/polyglot-templates/root-justfile (opens in a new tab)cartridges/polyglot.md (opens in a new tab)cartridges/python-templates/pyproject.toml.L0 (opens in a new tab)cartridges/python-templates/pyproject.toml.L2-additions.toml (opens in a new tab)cartridges/python-templates/pyproject.toml.L3-additions.toml (opens in a new tab)cartridges/python.md (opens in a new tab)cartridges/rust-templates/Cargo.toml.L2-additions.toml (opens in a new tab)cartridges/rust-templates/Cargo.toml.L3-additions.toml (opens in a new tab)cartridges/rust-templates/Cargo.toml.crate.L0 (opens in a new tab)cartridges/rust-templates/Cargo.toml.workspace.L0 (opens in a new tab)cartridges/rust-templates/clippy.toml (opens in a new tab)cartridges/rust-templates/deny.toml.L2 (opens in a new tab)cartridges/rust-templates/nextest.toml (opens in a new tab)cartridges/rust-templates/rustfmt.toml (opens in a new tab)cartridges/rust.md (opens in a new tab)cartridges/typescript-templates/package.devDeps.L0.json (opens in a new tab)cartridges/typescript-templates/stryker.config.mjs (opens in a new tab)cartridges/typescript-templates/tsconfig.json (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Python, TypeScript, Java, Rust
ffflow, stack, toolchain, cartridges, dimensions, language-defaults
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.