Skip to content
Skill

Total specification

Reference rulebook for spec-driven development with property and mutation testing

Total specification is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
6
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Total specification

Total Specification is a reference methodology for agents working in the FFFlow framework. It lays out ten pillars covering spec-first red/green TDD, characterization of legacy code, dual coverage measured across unit and spec suites, property-based and mutation testing, contract enforcement for mocks, spec liveness, feedback loop speed, and defect-driven specification. Each pillar is a short summary that points to a deeper companion rulebook for the details.

The skill also describes a four-gate quality shape running from structure through correctness and coverage to maintainability, with thresholds taken from the project stack. It sketches a steady-state loop in which spec changes, defect reports and exploratory findings all enter through the specification and exit through an audit, so the spec corpus keeps growing.

It is loaded as context by other FFFlow workflow skills rather than invoked as a tool. It is most useful when starting a project under these conventions, bringing an existing codebase under spec coverage, reviewing a change against the quality gates, or diagnosing missing specs and weak mutation scores.

When your agent uses it

The FFFlow methodology — 10 pillars of spec-driven development with dual coverage, property-based testing, mutation testing, and full RID traceability. L3 reference rulebook.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (4 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the fff plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add zerotechdebt/ffflow
/plugin install fff@ffflow

Or copy only this skill to ~/.claude/skills/total-specification:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zerotechdebt/ffflow.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/total-specification &&
cp -R "$tmp/plugin/skills/total-specification" ~/.claude/skills/total-specification &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/total-specification inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/total-specification to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zerotechdebt/ffflow.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/total-specification &&
cp -R "$tmp/plugin/skills/total-specification" ~/.agents/skills/total-specification &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/total-specification inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/total-specification to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zerotechdebt/ffflow.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/total-specification &&
cp -R "$tmp/plugin/skills/total-specification" ~/.cursor/skills/total-specification &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/total-specification inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/zerotechdebt/ffflow.git --path plugin/skills/total-specification

Or copy the folder to ~/.gemini/skills/total-specification yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/total-specification:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zerotechdebt/ffflow.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/total-specification &&
cp -R "$tmp/plugin/skills/total-specification" ~/.copilot/skills/total-specification &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/total-specification inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/zerotechdebt/ffflow.git

Then copy ffflow/plugin/skills/total-specification into your agent's skills folder as total-specification. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Ten spec-driven pillars
Summarizes the core disciplines, from spec-first TDD to defect-driven specification.
Dual coverage model
Describes measuring unit and spec suites independently against stack thresholds.
Property and mutation testing
Covers universal invariants as property-based scenarios and guards against weak assertions.
Contract-enforced mocks
Anchors mocks to verifiable contracts with ports as the contract boundary.
Four-gate quality model
Orders checks from structure through correctness and coverage to maintainability.
Steady-state development loop
Shows how spec changes, defects and findings feed a red, green, refactor and audit cycle.

Good for

  • Set up a new project following spec-first TDD conventions
  • Bring an existing codebase under specification coverage
  • Review a pull request against the quality gates
  • Diagnose drifting mocks or weak mutation scores
  • Turn a bug report into a specification before fixing it

Total specification FAQ

Does Total specification run any scripts or tools?

No. It is a reference rulebook with no scripts and is loaded as context by other FFFlow workflow skills rather than invoked as a tool.

Where are the detailed rules for each pillar?

Each pillar links to a companion skill, such as writing-specs, quality-gates, contract-enforcement or defect-driven-specification, which hold the depth.

Which AI clients does Total specification work with?

It is a plain SKILL.md folder, so it follows the shared agent skills format and works across the listed clients.

How do I install Total specification in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/total-specification to use it in all your projects, or to .claude/skills/total-specification in one project. Or install the fff plugin, which includes it: /plugin marketplace add zerotechdebt/ffflow, then /plugin install fff@ffflow.

Does Total specification run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Total specification?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Total specification?

The closest alternatives to Total specification are Spec first development, Writing specs, TDD loop, Spec driven development and Spec driven development.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from zerotechdebt/ffflow

  1. Onboards a project onto FFFlow: config, stack setup, then a phased roadmap

    • Open source
    • 6 GitHub stars
    • Developer tools
  2. Runs keep-honest audits on a project and reports drift, stale docs and tech debt

    • Open source
    • 6 GitHub stars
    • Developer tools
  3. Runs another interactive skill unattended, making routine choices from project context

    • Open source
    • 6 GitHub stars
    • Developer tools
  4. Lists and validates the adapter cartridges that FFFlow ports load in a project

    • Open source
    • 6 GitHub stars
    • Developer tools
  5. Extracts a behavioral spec from an unspecified codebase and plans characterization tests

    • Open source
    • 6 GitHub stars
    • Developer tools
  6. Adds GitHub Actions workflows that run FFFlow quality gates on pull requests

    • Open source
    • 6 GitHub stars
    • Developer tools