# Vibe spec sync

> Vibe spec sync is an open-source agent skill for developer tools. Keeps a spec document and its code in agreement, with user-approved updates. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/ash1794/vibe-engineering/tree/master/plugins/vibe-engineering/skills/vibe-spec-sync
- **Repository:** https://github.com/ash1794/vibe-engineering
- **GitHub stars:** 163
- **License:** MIT
- **Skill name:** vibe-spec-sync
- **Collection:** https://github.com/ash1794/vibe-engineering
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill audits an implementation against its specification document and reports every divergence as a gap, classified by type and severity with file and line evidence. Its default sync mode reads staged git changes, sorts each change as aligned, extending, modifying or contradicting the spec, and proposes spec edits that the user must approve, reject or defer before anything is written.

After approved updates are applied, the skill re-reads the spec for coherence, checks that approved decisions from a decision journal are reflected in it, and looks for requirement traceability markers in tests to flag requirements that now lack coverage. Audit mode is read-only, and large gap sets are handed to a separate gap-closure workflow.

It expects a markdown spec in the project and the implementation code it describes. Test traceability markers are optional. Decision-log integration assumes a companion decision journal skill.

## When your agent uses it

> Keeps specification documents and code in agreement. Audit mode finds every divergence when an implementation is claimed complete; sync mode detects spec drift in staged changes and updates the spec after user approval, so each commit is a reconciled snapshot of spec, tests, and code. Use when an implementation is claimed complete against a spec, before committing changes that may drift from the spec, or after approving decisions that must flow back into it.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ash1794/vibe-engineering/tree/HEAD/plugins/vibe-engineering/skills/vibe-spec-sync)
- [License: MIT](https://github.com/ash1794/vibe-engineering/tree/HEAD/plugins/vibe-engineering/skills/vibe-spec-sync)

## Features

- **Audit mode gap report:** Compares each spec section against code and records missing, incorrect and extra behavior with IDs and severity.
- **Staged change drift detection:** Reads git staged changes and classifies each one against what the spec currently says.
- **User-approved spec updates:** Presents proposed spec edits for approval, editing, rejection or deferral before changing any text.
- **Minimal in-place edits:** Replaces only affected passages and leaves unrelated sections and formatting untouched.
- **Requirement test coverage check:** Scans tests for requirement ID markers and reports updated requirements that have no tests.
- **Decision linkage:** Ties spec changes to recorded decision IDs when a change follows an approved decision.

## Good for

- Check whether a finished feature actually matches its design document
- Review staged changes for drift from the project spec before committing
- Update the spec after approving a behavior change made in code
- Find places where the implementation departs from the spec after a refactor
- Identify spec requirements that no test currently covers

## Install

### Claude Code

This skill ships in the `vibe-engineering` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ash1794/vibe-engineering
/plugin install vibe-engineering@vibe-plugins
```

Or copy only this skill to `~/.claude/skills/vibe-spec-sync`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/vibe-spec-sync &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-spec-sync" ~/.claude/skills/vibe-spec-sync &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/vibe-spec-sync` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/vibe-spec-sync` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/vibe-spec-sync &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-spec-sync" ~/.agents/skills/vibe-spec-sync &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/vibe-spec-sync` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/vibe-spec-sync` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/vibe-spec-sync &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-spec-sync" ~/.cursor/skills/vibe-spec-sync &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/vibe-spec-sync` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ash1794/vibe-engineering.git --path plugins/vibe-engineering/skills/vibe-spec-sync
```

Or copy the folder to `~/.gemini/skills/vibe-spec-sync` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/vibe-spec-sync`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/vibe-spec-sync &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-spec-sync" ~/.copilot/skills/vibe-spec-sync &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/vibe-spec-sync` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git
```

Then copy `vibe-engineering/plugins/vibe-engineering/skills/vibe-spec-sync` into your agent's skills folder as `vibe-spec-sync`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does Vibe spec sync change my spec without asking?

No. Every proposed spec change must be explicitly approved by the user, and rejected code divergences are flagged for fixing rather than applied to the spec.

### What does audit mode do differently?

Audit mode is read-only. It compares the full spec against the implementation and reports gaps without editing any files.

### What input does Vibe spec sync need?

A markdown specification document and the code it describes. Tests with requirement markers are optional and improve the coverage check.

### When is Vibe spec sync meant to run?

When an implementation is claimed complete, before committing changes that may drift from the spec, or after approving decisions that must flow back into the spec.

### How do I install Vibe spec sync in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/vibe-spec-sync to use it in all your projects, or to .claude/skills/vibe-spec-sync in one project. Or install the vibe-engineering plugin, which includes it: /plugin marketplace add ash1794/vibe-engineering, then /plugin install vibe-engineering@vibe-plugins.

### Does Vibe spec sync 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 Vibe spec sync?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Vibe spec sync?

The closest alternatives to Vibe spec sync are Vibe gap analysis, Vibecheck, Vibe pre commit audit, Vibe decision journal and Vibe coverage enforcer.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Vibe gap analysis](https://ai-powered.com/skills/vibe-gap-analysis): Vibe gap analysis is an open-source agent skill for developer tools.
- [Vibecheck](https://ai-powered.com/skills/vibecheck): Vibecheck is an open-source agent skill for developer tools.
- [Vibe pre commit audit](https://ai-powered.com/skills/vibe-pre-commit-audit): Vibe pre commit audit is an open-source agent skill for security.
- [Vibe decision journal](https://ai-powered.com/skills/vibe-decision-journal): Vibe decision journal is an open-source agent skill for developer tools.
- [Vibe coverage enforcer](https://ai-powered.com/skills/vibe-coverage-enforcer): Vibe coverage enforcer is an open-source agent skill for developer tools.
- [Docs sync audit](https://ai-powered.com/skills/docs-sync-audit): Docs sync audit is an open-source agent skill for developer tools.
- [Analyze](https://ai-powered.com/skills/analyze-ramboz): Analyze is an open-source agent skill for developer tools.
- [Vibe scope guard](https://ai-powered.com/skills/vibe-scope-guard): Vibe scope guard is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/vibe-spec-sync
