sync-specs

Compare code changes against project documentation to surface inconsistencies.

3.2k|259|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/nexu-io/nexu --skill sync-specs-nexu-io
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sync-specs
Source: https://github.com/nexu-io/nexu/tree/main/skills/localdev/sync-specs
Command: npx skills add https://github.com/nexu-io/nexu --skill sync-specs-nexu-io

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Review code changes and ensure documentation stays up-to-date across the project.

Core Features & Use Cases

  • Delta-based doc audits by comparing modified code against docs to surface drift.
  • Full audits to align all documentation with the current codebase.
  • Scope-targeted checks using Mode and Scope keywords to focus on specific areas (e.g., API docs, ARCHITECTURE, product specs).

Quick Start

Run the sync-specs skill to audit and align docs with the latest code changes.

Frequently Asked Questions about sync-specs

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

FAQPage Schema
How do I detect documentation drift after recent code changes?

You can keep docs aligned with code changes by running a delta audit that compares modified code against project documentation. This surfaces inconsistencies and guides targeted updates across affected files and specs without reviewing the entire project.

What is the difference between a delta audit and a full documentation audit?

A delta audit focuses on comparing recently modified code against existing docs to surface drift, while a full audit aligns all project documentation with the current codebase. Delta is faster for targeted updates; full is comprehensive across files, packages, and specs.

How do I scope documentation checks to specific areas like API docs or architecture specs?

Scope documentation checks by configuring Mode and Scope keywords to target specific areas like API docs or architecture specs. This focuses the audit on relevant files and packages, guiding precise documentation updates without scanning the entire project.

Can I align product specs and architecture docs with the latest codebase updates?

Yes, a full audit aligns all project documentation, including product specs and architecture docs, with the latest codebase updates. It comprehensively reviews files and packages to ensure every spec reflects current code changes.

What is the best way to automate documentation reviews for code changes?

The best way to review documentation for code changes is running a delta audit by default, which compares modified code against project docs and surfaces inconsistencies. This guides targeted updates across files, packages, and specs to keep documentation aligned.

Does sync-specs work without external dependencies or plugins?

Yes, sync-specs runs with no external dependencies or plugins. It uses an internal change-mapping workflow to compare code changes against documentation and surface inconsistencies across files, packages, and specs.