spec-sync-check

Detect discrepancies between implementation code and specification documents.

1|Updated Apr 28, 2025
One-click install
npx skills add https://github.com/myoshi2891/Multi-Vendor-E-Commerce --skill spec-sync-check
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spec-sync-check
Source: https://github.com/myoshi2891/Multi-Vendor-E-Commerce/tree/main/.claude/skills/spec-sync-check
Command: npx skills add https://github.com/myoshi2891/Multi-Vendor-E-Commerce --skill spec-sync-check

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automatically checks for discrepancies between your implementation code and your project's specification documents, ensuring that the code accurately reflects the intended design and requirements.

Core Features & Use Cases

  • Automated Discrepancy Detection: Compares code changes (e.g., prisma/schema.prisma, src/queries/) against specification files (e.g., specs/multi-vendor-ecommerce/03-data-model.md, specs/multi-vendor-ecommerce/04-interfaces.md).
  • Targeted Reporting: Identifies specific areas of divergence, such as data model changes, API modifications, or workflow alterations.
  • Use Case: After implementing a new feature, this Skill can be automatically triggered to verify that all new database fields, API endpoints, and user interface flows are correctly documented in the corresponding specification files, flagging any omissions or inconsistencies.

Quick Start

Run the spec sync check to verify code against specifications.

Frequently Asked Questions about spec-sync-check

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

FAQPage Schema
How do I check if my code matches specification documents?

To automate discrepancy detection between code and specifications, run a sync check that compares implementation files against spec documents. This skill flags deviations in database schemas, API interfaces, and user flows by referencing specific spec sections.

Why does my database schema diverge from the data model specification?

Database schema divergences occur when implementation changes outpace documentation. This skill identifies these discrepancies by comparing code files like prisma/schema.prisma against corresponding markdown specification files to flag undocumented changes.

What is specification-driven development compliance?

Specification-driven development compliance ensures implementation code accurately reflects intended design requirements. It involves automated discrepancy detection comparing code changes in data models, API interfaces, and user flows against defined specification files.

Can I verify API interface changes against specification files automatically?

Yes, you can verify API interface changes automatically by running a sync check. This skill compares modifications in server actions and queries against interface specification documents, identifying and reporting specific areas of divergence.

What is the best way to maintain code sync with specification documents?

The best way to maintain code sync is to trigger an automated discrepancy check after implementing new features. This verifies that new database fields, API endpoints, and user flows are correctly documented in corresponding specification files.

Does this specification sync check work with markdown spec files and Prisma schemas?

Yes, this specification sync check works with markdown spec files and Prisma schemas by directly comparing implementation code paths like src/queries/ and prisma/schema.prisma against defined specification documents to ensure adherence.