derailed-dash/dazbo-agent-skills/maintaining-core-documentation

Claude Code and agent skill by derailed-dash/dazbo-agent-skills

Trust tier 2
  • community
LLM review pending
Source check pending

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-documentation

SKILL.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

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:

  1. Tier 1 — Triage Before Reading:
  • Inspect git status --short and git 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.md or docs/SPEC.md only if baseline project context is not yet loaded).
  • For docs/*.md files carrying OKF frontmatter, scan the first ~10 lines (type, description, status) to confirm relevance before loading the full body.
  1. Tier 2 — Templates On-Demand Only:
  • Read a ./references/<DOC>.md.template file 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.
  1. 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 in DESIGN.md or ADR tables in ARCHITECTURE.md).
  • Never read sample files during routine documentation synchronisation.

Core Principles & Anti-Redundancy

  1. 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.
  2. 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.md is the sole intentional front-door exception summarising headline stack/commands and linking into docs/ and deployment/.
  3. 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.
  4. Brownfield Path First & Cross-Sync: Default greenfield layout uses docs/*.md, root README.md/TODO.md, and deployment/README.md, but always respect existing repository locations first (e.g. root SPEC.md, SPEC-<module>.md, or root ARCHITECTURE.md) rather than creating duplicates. Propagate shared command, path, and environment variable updates to .env.template and AGENTS.md / GEMINI.md / CLAUDE.md where present.
  5. 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:

yaml
---
type: "Technical Specification" # REQUIRED: Human-readable doc kind
title: "Project — Technical Specification"
description: "One-sentence summary used for triage and indexing."
status: "stable" # draft | stable | deprecated
# Optional provenance & sign-off:
# verified: { by: "human:<id>", at: "YYYY-MM-DDTHH:MM:SSZ" }
# sources:
# - id: prd
# resource: PRD.md
# title: Product Requirements
---
  • `docs/DESIGN.md` Compatibility: OKF v0.2 preserves producer extension keys, so merge type, title, description, and status cleanly alongside Google Stitch design token keys (version, name, colors, typography, rounded, spacing, components).
  • Frontmatter-Free Landing Pages: Keep README.md, TODO.md, and deployment/README.md without YAML frontmatter so GitHub renders them cleanly as repository and folder landing pages.
  • No Unnecessary Bundle Files: Omit docs/index.md and docs/log.md in standard repositories (root README.md already indexes docs and Git tracks history). Defer full Knowledge Catalog OKF bundles (_links.yaml, Attested Computation) to curate-context.

Document Routing Matrix

Identify impacted documents from your change set before reading or editing:

Target Path (Default)PolicyPrimary Trigger SignalsCanonical Ownership (What Lives Here)Template & Sample
README.mdCore (offer if missing)New top-level dir, make target, setup step, headline stack shiftFront-door overview, doc index table, folder tree, quick start, headline commands & deploy summaryREADME.md.template / Sample
TODO.mdOptional (if present, or offer)Milestone completed, new backlog item discussedHigh-level roadmap & feature backlog checkboxes ([x], [~], [ ])TODO.md.template / Sample
docs/PRD.mdConditional (product/app repos)Vision, persona, metric, MVP vs future scope, or non-goal changeProduct why & who: problem, personas, success metrics, user stories, explicit non-goals (zero tech stack)PRD.md.template / Sample
docs/SPEC.mdCore (SDD)New feature/contract, SDK/model lock change, boundary or B1–Bn changeEngineering contract: objective, optional capability map, FR/NFRs, pinned locks, Always/Ask/Never, binary rubricSPEC.md.template / Sample
docs/ARCHITECTURE.mdCore (multi-module repos)New ADR, schema/model change, layer/API boundary, security or cloud topologyBlueprint: ADR table, component/runtime PNG diagrams, data schemas, security/CORS/rate-limit, concise lifecyclesARCHITECTURE.md.template / Sample
docs/DESIGN.mdConditional (UI or rich CLI)UI framework, CSS/theme tokens, component library, or CLI rich UX changeStitch YAML tokens, colours, typography, layout, elevation, UI components, Do's/Don'ts, CLI UXDESIGN.md.template / Sample (Swiss)
docs/TESTING.mdCore (tested repos)New/changed tests, static gates, CI=true/mock rules, QA recipesStatic gates, local vs CI behaviour, test inventory table, targeted test commands, manual curl/QA checksTESTING.md.template / Sample
docs/GUIDE.mdOptional (complex apps/CLIs)Complex feature flow, CLI flags/YAML schema, contributor onboarding tourHands-on user/feature walkthroughs, CLI pipeline recipes, YAML schemas, contributor codebase tourGUIDE.md.template / Sample
deployment/README.mdCore (deployable repos)Terraform, APIs, IAM, .tfvars/.env propagation, git-crypt, CI/CD changeInfra directory tree, .tfvars -> runtime flow, secrets handling, Terraform/deploy commands, CI/CD & IAMDEPLOYMENT-README.md.template / Sample
conductor/ (3 files)Conditional (only if present)Out-of-Conductor tech stack, branding, or product shiftSync 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.md strictly 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 in docs/GUIDE.md. Note that persistent docs/GUIDE.md is distinct from Antigravity's ephemeral per-task walkthrough.md session artefacts.
  • ADR Alignment: Record high-signal decisions in ARCHITECTURE.md's ADR table. If the repository already maintains standalone numbered ADR files (docs/adr/ or docs/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/docs PRD.md or SPEC.md files where conductor/product.md and conductor/tracks/<track_id>/spec.md already own them. Never modify conductor/workflow.md, conductor/tracks.md, conductor/setup_state.json, conductor/code_styleguides/, or conductor/archive/.
  • Task Tracking Boundary: Keep high-level feature milestones in TODO.md; leave fine-grained implementation slices in tasks/plan.md, tasks/todo.md, or Conductor track plans. Offer to mark matching TODO.md milestones complete ([x]) when finished.
  • Rubric Tagging (`[det]` / `[arch]` / `[ui]`): Tag every B1–Bn row in SPEC.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 absolute file scheme 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 mermaid code blocks ( `mermaid ) or ASCII/Unicode box-and-arrow diagrams in any documentation file.
  • Standard `text directory trees using ├──, │, and └── inside Project Structure sections are permitted and expected.
  • For architecture, component, sequence, or deployment topology diagrams, generate PNG assets saved inside the repo (e.g. docs/images/ or media/) and embed them via relative links (![Component Architecture](images/component-architecture.png)).

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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/derailed-dash/dazbo-agent-skills/maintaining-core-documentation/badge)](https://verified-skill.com/skills/derailed-dash/dazbo-agent-skills/maintaining-core-documentation)

Something wrong with this skill or its page? Tell us.