watch-spec

Monitor `specs/` directory changes and regenerate code from Markdown specifications.

21|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/unicorn-plugins/dmap --skill watch-spec
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: watch-spec
Source: https://github.com/unicorn-plugins/dmap/tree/main/spec-driven-team/.claude-plugin/skills/watch-spec
Command: npx skills add https://github.com/unicorn-plugins/dmap --skill watch-spec

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the process of keeping your codebase synchronized with your specification files, reducing manual effort and potential errors.

Core Features & Use Cases

  • Real-time Spec Monitoring: Continuously watches the specs/ directory for changes.
  • Automated Code Regeneration: Automatically regenerates code based on declarative logic in specifications.
  • Intelligent Change Handling: Applies simple changes directly and proposes complex changes for user review.
  • Use Case: As a developer, you can define your API endpoints in specs/api.md. When you update this file, the Skill automatically updates the corresponding server code and generates new test cases, ensuring your code always reflects the latest specifications.

Quick Start

Start the watch-spec skill to monitor the specs directory for changes and automatically regenerate code.

Frequently Asked Questions about watch-spec

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

FAQPage Schema
How do I automatically sync markdown specifications to code?

To automatically sync markdown specifications to code, you can use a tool that monitors your `specs/` directory and regenerates corresponding code whenever a specification file changes. This eliminates manual synchronization and reduces errors.

How does automated code generation handle complex logic changes?

Automated code generation handles complex logic changes by proposing those modifications for user review rather than directly applying them. Simple declarative logic updates are applied immediately, ensuring safe synchronization.

Do I need to manually run regression tests after updating specification files?

You do not need to manually run regression tests after updating specification files. The monitoring process automatically executes regression tests when changes are detected, ensuring your codebase remains stable.

Can I define API endpoints in Markdown and have server code generated automatically?

Yes, you can define API endpoints in a Markdown file like `specs/api.md`. When you update this file, the code generation process automatically updates the corresponding server code and generates new test cases.

What is the best way to keep a codebase synchronized with specification files?

The best way to keep a codebase synchronized with specification files is using real-time spec monitoring. This approach continuously watches your `specs/` directory for changes and automatically regenerates code to match the latest specifications.

How do I get notified when automated code generation requires a manual review?

You receive notifications for manual review through user review prompts generated by the synchronization process. When complex logic changes are detected, the system manages its state and sends prompts to alert you.