spec-update

Update specifications to reflect current implementation across branches.

7|1|Updated Jun 17, 2021
One-click install
npx skills add https://github.com/duc01226/EasyPlatform --skill spec-update-duc01226
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spec-update
Source: https://github.com/duc01226/EasyPlatform/tree/main/.claude/skills/tasks-spec-update
Command: npx skills add https://github.com/duc01226/EasyPlatform --skill spec-update-duc01226

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Use for updating specifications, comparing branches, or ensuring documentation reflects current implementation.

Core Features & Use Cases

  • Syncing specs with implementation
  • Branch comparison analysis
  • Post-implementation documentation updates

Quick Start

Update specs by comparing a feature branch against main and generating updated documentation.

Frequently Asked Questions about spec-update

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

FAQPage Schema
How do I keep specifications synchronized with code changes in my repository?

Specification updates ensure docs reflect implementation by comparing branches, analyzing diffs, and identifying gaps between code and specs. Use branch comparison to detect changes, then generate updated documentation that aligns specs with current entities, commands, queries, and events in your system.

Can I automate documentation updates when merging feature branches?

Yes. Automate spec updates by comparing feature branches against main, generating diffs that reveal implementation changes, then applying those findings to verify and update specifications. This verifies alignment and catches gaps before merge.

What's the best way to verify specifications match the current implementation?

Verification compares specs against code through diff generation and cross-reference analysis. Run branch analysis to detect what changed, identify gaps between documented and actual behavior, then update specs to reflect current implementation for entities, commands, queries, and events.

How do I analyze differences between branches to update documentation?

Branch comparison generates diffs showing code changes between versions. Analyze those diffs to discover what implementation changed, cross-reference against specifications, identify documentation gaps, then update specs to reflect the current code state.

Do I need version control integration to keep docs aligned with code?

Yes. The process uses git branch analysis and diff generation to compare versions, detect changes, and validate alignment. Branch comparison against main reveals implementation shifts requiring specification updates.

What happens when specifications fall out of sync with implementation?

Misalignment creates gaps between documented and actual behavior. Gap analysis identifies discrepancies through diff comparison and cross-reference validation. Specification updates close those gaps and verify that docs accurately reflect entities, commands, queries, and events in the current codebase.