# Total specification

> Total specification is an open-source agent skill for developer tools. Reference rulebook for spec-driven development with property and mutation testing. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/zerotechdebt/ffflow/tree/main/plugin/skills/total-specification
- **Repository:** https://github.com/zerotechdebt/ffflow
- **GitHub stars:** 6
- **License:** Apache-2.0
- **Skill name:** total-specification
- **Collection:** https://github.com/zerotechdebt/ffflow
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/zerotechdebt/ffflow/tree/HEAD/plugin/skills/total-specification)
- [License: Apache-2.0](https://github.com/zerotechdebt/ffflow/tree/HEAD/plugin/skills/total-specification)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

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

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

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Spec first development](https://ai-powered.com/skills/spec-first-development): Spec first development is an open-source agent skill for developer tools.
- [Writing specs](https://ai-powered.com/skills/writing-specs-zerotechdebt): Writing specs is an open-source agent skill for developer tools.
- [TDD loop](https://ai-powered.com/skills/tdd-loop-zerotechdebt): TDD loop is an open-source agent skill for developer tools.
- [Spec driven development](https://ai-powered.com/skills/spec-driven-development-addyosmani): Spec driven development is an open-source agent skill for developer tools.
- [Spec driven development](https://ai-powered.com/skills/spec-driven-development-ajyadav013-2): Spec driven development is an open-source agent skill for developer tools.
- [TDD](https://ai-powered.com/skills/tdd): TDD is an open-source agent skill for developer tools.
- [Mt spec](https://ai-powered.com/skills/mt-spec): Mt spec is an open-source agent skill for developer tools.
- [Quality gates](https://ai-powered.com/skills/quality-gates): Quality gates is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/total-specification
