derailed-dash/dazbo-agent-skills/maintaining-core-documentation
Claude Code and agent skill by derailed-dash/dazbo-agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Creates, maintains, and synchronises core project documentation (README, TODO, PRD, SPEC, ARCHITECTURE, DESIGN, TESTING, GUIDE, Deployment, and conditional Conductor context) using progressive disclosure, strict single-source-of-truth boundaries, and OKF v0.2 frontmatter. Use when writing, updating, auditing, or reviewing project documentation after codebase, architecture, testing, roadmap, or deployment changes.
Install
npx vskill@latest install derailed-dash/dazbo-agent-skills/maintaining-core-documentationSKILL.md
The same SKILL.md was published earlier as derailed-dash/dazbo-agent-skills/maintaining-core-documentation.
Maintaining Core Documentation
A structured framework for creating and synchronising technical documentation across software repositories without duplicating content or wasting context tokens.
Table of Contents
- Triggers
- Progressive Disclosure & Selective Loading
- Core Principles & Anti-Redundancy
- OKF-Lite Frontmatter Standard (OKF v0.2)
- Document Routing Matrix
- Per-Document Boundaries & Notes
- Formatting & Diagram Rules
- Documentation Review Process
Triggers
Activate this skill whenever:
- The user requests documentation creation, restructuring, or an audit/review.
- Code changes introduce or alter features, public APIs, CLI commands, schemas, or architecture.
- Test suites, static quality gates, or CI workflows change.
- Infrastructure, Terraform variables, secrets, or deployment workflows change.
- Project milestones are completed or re-prioritised.
Progressive Disclosure & Selective Loading
Never read every documentation file, template, or sample upfront. Follow this three-tier loading protocol so routine updates remain fast and token-efficient:
- Tier 1 — Triage Before Reading:
- Inspect
git status --shortandgit diff(or the user request) and match impacted concerns against the Document Routing Matrix before opening documentation files. - Read only the existing repository documents inside the change's blast radius (plus
README.mdordocs/SPEC.mdonly if baseline project context is not yet loaded). - For
docs/*.mdfiles carrying OKF frontmatter, scan the first ~10 lines (type,description,status) to confirm relevance before loading the full body.
- Tier 2 — Templates On-Demand Only:
- Read a
./references/<DOC>.md.templatefile only when creating a missing document from scratch, restructuring a stub/malformed file, or performing a full-repository documentation audit. - Skip reading templates during incremental edits to well-structured documents.
- Tier 3 — Samples Strictly as Greenfield Exemplars:
- Read files under
./references/samples/only when authoring a substantial greenfield document that requires an exemplar for depth, tone, or YAML token schema (e.g. Stitch tokens inDESIGN.mdor ADR tables inARCHITECTURE.md). - Never read sample files during routine documentation synchronisation.
Core Principles & Anti-Redundancy
- Expert Architect Tone: Explain the why behind architectural choices alongside concise, accurate instructions. Ask the user whenever design rationale, scope, or trade-offs are unclear rather than inventing justification.
- Single Source of Truth (Minimal Overlap): Every fact has one canonical owner; cross-link rather than copying version tables, command recipes, or deployment steps across files. Root
README.mdis the sole intentional front-door exception summarising headline stack/commands and linking intodocs/anddeployment/. - Verify Against Ground Truth: Never assume existing docs are current. Verify paths, flags, dependencies, environment variables, and models directly against code,
pyproject.toml,package.json,Makefile,*.tfvars, and.env.template. - Brownfield Path First & Cross-Sync: Default greenfield layout uses
docs/*.md, rootREADME.md/TODO.md, anddeployment/README.md, but always respect existing repository locations first (e.g. rootSPEC.md,SPEC-<module>.md, or rootARCHITECTURE.md) rather than creating duplicates. Propagate shared command, path, and environment variable updates to.env.templateandAGENTS.md/GEMINI.md/CLAUDE.mdwhere present. - Clarity & Scannability: Lead with the reader's goal using active voice, present tense, descriptive headings, bulleted lists or tables for 3+ items, and runnable examples where helpful.
OKF-Lite Frontmatter Standard (OKF v0.2)
All documents under docs/*.md adopt lightweight Open Knowledge Format (OKF v0.2) YAML frontmatter so agents and humans can triage purpose and lifecycle state from the file header alone:
- `docs/DESIGN.md` Compatibility: OKF v0.2 preserves producer extension keys, so merge
type,title,description, andstatuscleanly alongside Google Stitch design token keys (version,name,colors,typography,rounded,spacing,components). - Frontmatter-Free Landing Pages: Keep
README.md,TODO.md, anddeployment/README.mdwithout YAML frontmatter so GitHub renders them cleanly as repository and folder landing pages. - No Unnecessary Bundle Files: Omit
docs/index.mdanddocs/log.mdin standard repositories (rootREADME.mdalready indexes docs and Git tracks history). Defer full Knowledge Catalog OKF bundles (_links.yaml,Attested Computation) tocurate-context.
Document Routing Matrix
Identify impacted documents from your change set before reading or editing:
| Target Path (Default) | Policy | Primary Trigger Signals | Canonical Ownership (What Lives Here) | Template & Sample | |
|---|---|---|---|---|---|
README.md | Core (offer if missing) | New top-level dir, make target, setup step, headline stack shift | Front-door overview, doc index table, folder tree, quick start, headline commands & deploy summary | README.md.template / Sample | |
TODO.md | Optional (if present, or offer) | Milestone completed, new backlog item discussed | High-level roadmap & feature backlog checkboxes ([x], [~], [ ]) | TODO.md.template / Sample | |
docs/PRD.md | Conditional (product/app repos) | Vision, persona, metric, MVP vs future scope, or non-goal change | Product why & who: problem, personas, success metrics, user stories, explicit non-goals (zero tech stack) | PRD.md.template / Sample | |
docs/SPEC.md | Core (SDD) | New feature/contract, SDK/model lock change, boundary or B1–Bn change | Engineering contract: objective, optional capability map, FR/NFRs, pinned locks, Always/Ask/Never, binary rubric | SPEC.md.template / Sample | |
docs/ARCHITECTURE.md | Core (multi-module repos) | New ADR, schema/model change, layer/API boundary, security or cloud topology | Blueprint: ADR table, component/runtime PNG diagrams, data schemas, security/CORS/rate-limit, concise lifecycles | ARCHITECTURE.md.template / Sample | |
docs/DESIGN.md | Conditional (UI or rich CLI) | UI framework, CSS/theme tokens, component library, or CLI rich UX change | Stitch YAML tokens, colours, typography, layout, elevation, UI components, Do's/Don'ts, CLI UX | DESIGN.md.template / Sample (Swiss) | |
docs/TESTING.md | Core (tested repos) | New/changed tests, static gates, CI=true/mock rules, QA recipes | Static gates, local vs CI behaviour, test inventory table, targeted test commands, manual curl/QA checks | TESTING.md.template / Sample | |
docs/GUIDE.md | Optional (complex apps/CLIs) | Complex feature flow, CLI flags/YAML schema, contributor onboarding tour | Hands-on user/feature walkthroughs, CLI pipeline recipes, YAML schemas, contributor codebase tour | GUIDE.md.template / Sample | |
deployment/README.md | Core (deployable repos) | Terraform, APIs, IAM, .tfvars/.env propagation, git-crypt, CI/CD change | Infra directory tree, .tfvars -> runtime flow, secrets handling, Terraform/deploy commands, CI/CD & IAM | DEPLOYMENT-README.md.template / Sample | |
conductor/ (3 files) | Conditional (only if present) | Out-of-Conductor tech stack, branding, or product shift | Sync product.md, product-guidelines.md, tech-stack.md only | (Conductor-managed) |
Per-Document Boundaries & Notes
- `docs/ARCHITECTURE.md` vs `docs/GUIDE.md` (No Monolith): Keep
ARCHITECTURE.mdstrictly structural (ADRs, diagrams, data schemas, security controls, brief component lifecycles). Put step-by-step feature tutorials, CLI flags, sample import YAML schemas, and codebase tours indocs/GUIDE.md. Note that persistentdocs/GUIDE.mdis distinct from Antigravity's ephemeral per-taskwalkthrough.mdsession artefacts. - ADR Alignment: Record high-signal decisions in
ARCHITECTURE.md's ADR table. If the repository already maintains standalone numbered ADR files (docs/adr/ordocs/decisions/), keep the table concise and link each row to its ADR file rather than duplicating full prose. - Conductor Coexistence: If
conductor/is active, do not create duplicate root/docsPRD.mdorSPEC.mdfiles whereconductor/product.mdandconductor/tracks/<track_id>/spec.mdalready own them. Never modifyconductor/workflow.md,conductor/tracks.md,conductor/setup_state.json,conductor/code_styleguides/, orconductor/archive/. - Task Tracking Boundary: Keep high-level feature milestones in
TODO.md; leave fine-grained implementation slices intasks/plan.md,tasks/todo.md, or Conductor track plans. Offer to mark matchingTODO.mdmilestones complete ([x]) when finished. - Rubric Tagging (`[det]` / `[arch]` / `[ui]`): Tag every
B1–Bnrow inSPEC.md([det],[arch], or[ui]/[mech]/[docs]) using clean single-wrapper IDs (e.g. `B1 [det]) so automated loop runners (tiered-rubric-loop`) route checks accurately without ambiguity while preserving human readability.
Formatting & Diagram Rules
- Headings: Every Markdown heading (
#,##,###,####) MUST be followed immediately by a blank line. - Links: Always use clickable relative Markdown paths (e.g.
[docs/SPEC.md](docs/SPEC.md)); never use absolutefilescheme URIs. - Tables & Code Fences: Present structured inventories, configs, commands, and ADRs as Markdown tables; wrap all commands/snippets in language-tagged fenced code blocks.
- Diagrams (`NEVER` Use Mermaid or ASCII Box Diagrams):
- NEVER insert
mermaidcode blocks (`mermaid) or ASCII/Unicode box-and-arrow diagrams in any documentation file. - Standard
`textdirectory trees using├──,│, and└──insideProject Structuresections are permitted and expected. - For architecture, component, sequence, or deployment topology diagrams, generate PNG assets saved inside the repo (e.g.
docs/images/ormedia/) and embed them via relative links ().
Documentation Review Process
Track progress cleanly when updating documentation:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/maintaining-core-documentation/SKILL.md
Popularity
- Repository stars
- 24
- Repository forks
- 2
- 7-day trend score
- 16
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 21 Oct 2026, a month ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/derailed-dash/dazbo-agent-skills/maintaining-core-documentation)