origin-doc-update

Maintain repository documentation, workstreams, issues, and ADRs aligned with implementation changes.

Updated Dec 9, 2025
One-click install
npx skills add https://github.com/Aki2022/skills --skill origin-doc-update-aki2022
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: origin-doc-update
Source: https://github.com/Aki2022/skills/tree/main/origin-doc-update
Command: npx skills add https://github.com/Aki2022/skills --skill origin-doc-update-aki2022

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Development work drifts out of sync with documentation: decisions lose their rationale, guides describe stale behavior, and autonomous agents resume work without context. This Skill treats docs/ as persistent AI context, keeping specs, guides, workstreams, issues, and ADRs aligned with the code as it changes. ## Core Features & Use Cases - Layered documentation governance: Routes every fact to exactly one layer — specs for intent, guides for current behavior, ADRs for decision rationale, workstreams/issues for active work — with templates and a validator enforcing the contracts. - Human-bounded autonomous work: Creates workstreams only after an interview confirms the authorization envelope, merge policy, runnability, and acceptance verification, so autonomous runs stop only at gates a human actually set. - Deterministic tooling: Scripts create issues, workstreams, and ADRs, archive completed work transactionally with index updates and rollback, and validate the whole docs tree including relative link resolution. - Use Case: When starting a feature, the agent reads docs/00_index.md, interviews you for scope and gates, creates a workstream, records design decisions as ADRs during implementation, updates the affected guide in the same slice, and archives everything after validation passes. ## Quick Start Ask the agent to create a workstream for your next feature so it interviews you about scope and gates, then keeps specs, guides, and ADRs updated as the code changes.

Frequently Asked Questions about origin-doc-update

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

FAQPage Schema
How do I keep documentation in sync with code changes?

Treat docs/ as persistent context with one layer per fact type: specs for intent, guides for current behavior, ADRs for decisions. Update the affected guide in the same slice as the code change, and run validate_repo_docs.py before archiving completed work.

How do I create an architecture decision record (ADR)?

Run create_adr.py with a slug, a scope of spec or development, and a status of proposed, accepted, or rejected. The script generates an ADR-YYYYMMDD-slug.md file from the template; link it from the related spec, workstream, or guide.

What is the difference between a workstream and a standalone issue?

A workstream groups multiple vertical-slice issues under one authorization envelope until a shared human gate. A standalone issue in docs/issues/ covers one bounded change, an unrelated blocker, or work with an independent lifecycle.

Why does validate_repo_docs.py reject my new issue file?

Issues require schema_version 2, a status of pending, in_progress, blocked, or complete, a guide_impact classification, and a verify line under Acceptance stating machine or human-review verification. Files created without these fields fail validation.

When should I not update a guide during development?

Skip guide updates for pure internal refactors with identical observable behavior, and record guide_impact: none with a concrete reason. Guides must change whenever commands, configuration, APIs, defaults, or operational behavior visible to users or agents change.