update-docs

Propagate git-tracked code changes into design docs and OpenAPI specs.

6|2|Updated Apr 5, 2026
One-click install
npx skills add https://github.com/i-standard1/yamasaki --skill update-docs-i-standard1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-docs
Source: https://github.com/i-standard1/yamasaki/tree/main/.claude/skills/update-docs
Command: npx skills add https://github.com/i-standard1/yamasaki --skill update-docs-i-standard1

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill handles updating documentation to reflect code changes when the design-first workflow is briefly bypassed. It ensures alignment between change sets and documentation through a structured collaboration between change-id, spec-writer, and integrity-checker, preserving traceability and reducing drift.

Core Features & Use Cases

  • Change-driven doc updates: coordinates parent agent, spec-writer, and integrity-checker to align documentation with code changes.
  • Spec map-based change tracing: identify modified files and map them to specification IDs; propose new REQ IDs if needed.
  • Partial updates: update only affected sections without rewriting entire docs; maintain traceability.
  • Quality checks: self-check after writing to docs.

Quick Start

Trigger the skill after a code change to propagate updates to the design and requirement documents.

Frequently Asked Questions about update-docs

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

FAQPage Schema
How do I keep design docs in sync with code changes after bypassing a design-first workflow?

To keep design docs in sync with code changes, you propagate modifications from git into requirements, basic design, and OpenAPI specs. This maintains traceability and reduces documentation drift when the design-first workflow is bypassed.

How do I update only the affected sections of an OpenAPI spec without rewriting the entire document?

You can update only affected sections of an OpenAPI spec by performing a two-stage diff analysis on code changes. This partial update approach targets specific modified files mapped via spec-map.yml, maintaining baseline integrity without rewriting entire docs.

What is the best way to trace code modifications back to specific requirement IDs?

Tracing code modifications back to requirement IDs is best handled using a spec-map.yml file. It identifies modified files from git changes, maps them to existing specification IDs, and proposes new REQ IDs if the changes require them.

How does an integrity check validate documentation updates against a unified spec baseline?

An integrity check validates documentation updates by comparing the newly written content against a unified spec baseline. This self-check mechanism occurs after delegated spec writing, ensuring the propagated code changes maintain overall design-doc alignment.

Can I trace git changes to documentation without manually rewriting my requirement specs?

Yes, you can trace git changes to documentation without manual rewrites by mapping modified files to specification IDs. The process delegates the actual writing to a spec-writer while performing automatic integrity checks to ensure alignment.

When should I avoid using automated documentation sync for my design docs?

You should avoid automated documentation sync if your code changes are not tracked by git or lack a spec-map.yml configuration. The process relies on a two-stage diff analysis and mapped specification IDs to perform partial updates and maintain traceability.