Skip to content
Skill

Rid traceability

Gives agents the rules for Requirement IDs that link specs, tests and code

Rid traceability 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 Rid traceability

This skill is a reference rulebook for assigning and checking Requirement IDs (RIDs) in projects that use the FFFlow workflow. It defines the RID format, requires one RID per Gherkin scenario, and explains how RIDs stay unique across feature files and test sources, how sub-RIDs extend a parent requirement, and how retired requirements are marked deprecated rather than deleted.

The skill describes the traceability chain that RIDs form: a scenario tag flows into the test runner's output and then into coverage data, so gaps can be reported. It also lists the checks the specdrive audit performs, including directory matching for bounded contexts and duplicate detection. It is meant to be loaded as context by other FFFlow commands rather than invoked on its own.

The skill assumes a project that uses FFFlow and the specdrive tooling, with Gherkin .feature specs and JUnit XML test output. It is a single markdown file with no bundled scripts.

When your agent uses it

Requirement ID format, assignment, uniqueness, and audit enforcement — the traceability backbone of FFFlow. 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 (5 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/rid-traceability:

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

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

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/rid-traceability 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/rid-traceability &&
cp -R "$tmp/plugin/skills/rid-traceability" ~/.agents/skills/rid-traceability &&
rm -rf "$tmp"

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

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/rid-traceability 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/rid-traceability &&
cp -R "$tmp/plugin/skills/rid-traceability" ~/.cursor/skills/rid-traceability &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/rid-traceability 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/rid-traceability

Or copy the folder to ~/.gemini/skills/rid-traceability yourself.

Gemini CLI docs on skills

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

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

For one project only, put the folder in .github/skills/rid-traceability 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/rid-traceability into your agent's skills folder as rid-traceability. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

RID format and rules
Defines the tag pattern, naming segments and the four rules on uniqueness, immutability and non-reuse.
Context-to-directory matching
Requires the RID context segment to match the first directory under the specs folder.
Sub-RID suffixes
Covers lowercase suffixes for several test cases that trace back to one requirement.
Deprecation handling
Explains marking retired scenarios with a deprecated tag while keeping their RIDs reserved.
Traceability chain
Describes how spec tags, test runner output and coverage data link requirements to code.
Audit checks
Lists the checks specdrive audit runs, intended to be run in continuous integration.

Good for

  • Assign the next free requirement ID to a new login scenario
  • Check a spec folder for duplicate or malformed RID tags
  • Add a sub-RID for a second test case covering an existing requirement
  • Mark a retired scenario as deprecated without breaking traceability
  • Explain how requirement IDs link specs to test results and coverage

Rid traceability FAQ

Does Rid traceability run any scripts or tools itself?

No. It is a reference document loaded as context by other FFFlow commands and is not invoked as a tool. It mentions specdrive audit, which is a separate tool.

Where must RIDs be placed?

On Gherkin scenarios, not on features or rules. Test files may also carry RIDs in comments or test names, and each RID must be unique across all of them.

What happens when a requirement is retired?

The scenario is kept and tagged with @deprecated alongside its RID. The audit warns rather than fails, and the RID stays reserved.

What format do RIDs follow?

They use the form @RID-CONTEXT-NAME-NNN, with an optional lowercase letter suffix for sub-RIDs. The context must match the first directory under specs.

How do I install Rid traceability in Claude Code?

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

Does Rid traceability 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 Rid traceability?

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 Rid traceability?

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

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