speckit-sync-analyze

Compare spec-kit requirements against implementation artifacts and generate Markdown and JSON drift reports.

Updated Mar 16, 2026
One-click install
npx skills add https://github.com/B0yZ4kr14/OrthoPlus-Enterprise --skill speckit-sync-analyze-b0yz4kr14
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-sync-analyze
Source: https://github.com/B0yZ4kr14/OrthoPlus-Enterprise/tree/main/.specify-backups/20260518-141826/_agents/skills/speckit-sync-analyze
Command: npx skills add https://github.com/B0yZ4kr14/OrthoPlus-Enterprise --skill speckit-sync-analyze-b0yz4kr14

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Speckit-sync-analyze helps you identify where your specifications (functional requirements, success criteria, and acceptance scenarios) have drifted from what the codebase actually implements, so gaps and inconsistencies don’t go unnoticed.

Core Features & Use Cases

  • Requirements vs. code comparison: Compares FR/SC/acceptance scenarios found in spec files against corresponding commands, services, entities/models, and tests in the implementation.
  • Unspecced code discovery: Detects features present in the code that don’t have any spec coverage and flags them as candidates for documentation or re-specification.
  • Human- and machine-readable reporting: Produces a structured drift report in both Markdown and JSON for review and automation.

Quick Start

Run speckit-sync-analyze to analyze drift for the current project’s specs and implementation, then review the generated drift report saved under the .specify/sync directory.

Frequently Asked Questions about speckit-sync-analyze

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect spec-to-code drift in my repository?

Spec-to-code drift analysis compares specification requirements against implementation artifacts to identify aligned features, unimplemented items, and unspecced code. It maps functional requirements and acceptance scenarios to corresponding commands, services, models, and tests heuristically.

What is specification drift analysis and when do I need it?

Specification drift analysis identifies where functional requirements and acceptance scenarios diverge from what the codebase implements. You need it when gaps and inconsistencies between specs and code risk going unnoticed during development.

How do I compare spec-kit requirements against implementation code?

You compare spec-kit requirements by validating the spec directory structure and mapping requirements from spec files to commands, services, entities, and tests. This generates deterministic drift outputs showing aligned, drifted, and unimplemented items.

Can I get a JSON report of unimplemented functional requirements?

Yes, analyzing specification drift produces structured reports in both Markdown and JSON formats. These reports detail aligned requirements, drifted behavior, and unimplemented functional or success criteria items for automated processing.

How do I find unspecced code in my repository?

Finding unspecced code involves comparing your implementation against specification files to detect features lacking spec coverage. These features are flagged as candidates for documentation or re-specification.

What format are the drift analysis reports saved in?

Drift analysis reports are saved in both human-readable Markdown and machine-readable JSON formats. The generated reports are stored under the .specify/sync directory for review and automation integration.