Feature tracking

From laurigates/claude-plugins · View interactive version

Feature tracking is an AI agent skill from the GitHub repository laurigates/claude-plugins. Track feature implementation against requirements with hierarchical FR codes and TODO.md sync. Use when linking features to PRDs or recalculating completion stats.

How to use this skill

Skill file

Feature Tracking Skill

Track feature implementation status against requirements documents using hierarchical FR codes.

When to Use This Skill

| Use this skill when... | Use blueprint-feature-tracker-sync instead when... |

|---|---|

| You need to read or update feature implementation status by FR code | You want to reconcile TODO.md checkboxes with the tracker |

| You're recalculating completion percentages mid-development | You want to drain WO entries from a taskwarrior sidecar |

| You manage hierarchical FR codes (FR1, FR1.2, FR1.2.1) | You want a markdown progress summary via --summary |

| You add features or phases to feature-tracker.json | Use blueprint-feature-tracker-status to view stats without modifying |

Overview

The feature tracker maintains a JSON file that maps requirements from a source document (e.g., REQUIREMENTS.md) to implementation status. It supports:

When to Run

Run feature tracking operations when:

Core Concepts

Feature Status

Each feature has one of five statuses:

Hierarchical Structure

Features are organized hierarchically:

FR1 (Game Setup & Configuration)
├── FR1.1 (Window Configuration)
├── FR1.2 (Game Mode Selection)
│   ├── FR1.2.1 (Versus Mode)
│   └── FR1.2.2 (Cooperative Mode)
└── FR1.3 (Scenario Setup)

Phase Organization

Features are grouped by development phase:

File Structure

docs/blueprint/
├── feature-tracker.json       # Main tracker file (source of truth)
└── schemas/                   # Optional: local schema copy
    └── feature-tracker.schema.json

The project's TODO.md is a sync target for checkbox states.

Note: As of v1.1.0, feature-tracker.json includes a tasks section that tracks in-progress and pending tasks, replacing the separate work-overview.md file.

Quick Commands

View completion stats

jq '.statistics' docs/blueprint/feature-tracker.json

List incomplete features

jq -r '.. | objects | select(.status == "not_started") | .name' docs/blueprint/feature-tracker.json

Show PRD completion

jq '.prds | to_entries | .[] | "\(.key): \(.value.status)"' docs/blueprint/feature-tracker.json

List features by phase

jq -r '.. | objects | select(.phase == "phase-1") | .name' docs/blueprint/feature-tracker.json

Count features by status

jq '[.. | objects | select(.status?) | .status] | group_by(.) | map({(.[0]): length}) | add' docs/blueprint/feature-tracker.json

Schema

The feature tracker uses a JSON Schema for validation. The schema is bundled with the blueprint-plugin at:

schemas/feature-tracker.schema.json

Key schema features:

Validate tracker

scripts/check-schema.py is the bundled validator — the same engine the

ADR/PRD/PRP hooks use. It needs no globally-installed ajv, resolves its own

dependencies through uv, and emits the STATUS=/ISSUE_COUNT= contract from

.claude/rules/structured-script-output.md:

uv run --quiet --script "${CLAUDE_PLUGIN_ROOT}/scripts/check-schema.py" --schema "${CLAUDE_PLUGIN_ROOT}/schemas/feature-tracker.schema.json" --json-file docs/blueprint/feature-tracker.json

Exit 0 on OK/WARN, 1 on ERROR. A missing tracker is STATUS=OK — most repos

have none, and a validator that errors on an absent optional file gets

disabled. blueprint-tracker-check.sh covers the invariants a schema cannot

express (the statistics cache agreeing with the features collection,

tasks.*[] membership, FR ids cited in docs but never minted).

Integration Points

Manifest Integration

The manifest.json references the feature tracker:

{
  "structure": {
    "has_feature_tracker": true
  },
  "feature_tracker": {
    "file": "feature-tracker.json",
    "source_document": "REQUIREMENTS.md",
    "sync_targets": ["TODO.md"]
  }
}

PRD Mapping

Features link to PRDs via the prd field:

{
  "name": "Terrain Visual Enhancement",
  "status": "complete",
  "prd": "PRD_TERRAIN_VISUAL_ENHANCEMENT"
}

PRDs track which features they implement:

{
  "PRD_TERRAIN_VISUAL_ENHANCEMENT": {
    "name": "Terrain Visual Enhancement",
    "status": "complete",
    "features_implemented": ["FR2.8.1", "FR2.8.2", "FR2.8.3"],
    "tests_passing": 107
  }
}

Work Order Integration

Work orders can reference specific FR codes. When a work order is completed, update the corresponding feature status in the tracker.

Sync Process

The sync process ensures consistency between:

  1. feature-tracker.json (source of truth for features AND tasks)
  2. TODO.md (checkbox-based task list)

Sync Steps

  1. Load current state from feature-tracker.json (features and tasks)
  2. Compare with TODO.md checkbox states
  3. Verify implementation status for each feature
  4. Recalculate statistics
  5. Update TODO.md with changes
  6. Report what was synchronized

Human-Readable Summary

Use --summary flag to generate a markdown overview:

/blueprint:feature-tracker-sync --summary

Status Verification

For each feature, verify:

Commands

Related blueprint commands:

Example: Updating Feature Status

When completing a feature:

  1. Update feature status in feature-tracker.json:

```json

{

"name": "Unit Selection",

"status": "complete",

"phase": "phase-2",

"implementation": {

"files": ["src/systems/selection.rs"],

"notes": "Box selection and click selection",

"tests": ["tests/selection_tests.rs"]

}

}

```

  1. Run /blueprint:feature-tracker-sync to update:
  1. Commit all changes together for consistency

Statistics

The tracker maintains aggregate statistics:

{
  "statistics": {
    "total_features": 42,
    "complete": 22,
    "partial": 4,
    "in_progress": 2,
    "not_started": 14,
    "blocked": 0,
    "completion_percentage": 52.4
  }
}

These are recalculated during sync operations.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.