Use when writing technical documentation that needs to be readable by both humans and AI models, converting existing docs to HADS format, validating a HADS document, or optimizing documentation for token-efficient AI consumption.
How this skill is triggered — by the user, by Claude, or both
Slash command
/documentation-systems:agent-readable-docsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
---
This skill teaches the agent how to read, generate, and validate HADS documents.
Read all [SPEC] blocks before responding to any HADS-related request.
Read [NOTE] blocks if you need context on intent or edge cases.
[SPEC]
**[SPEC]**, **[NOTE]**, **[BUG]**, **[?]**.md — standard Markdown, no tooling required[SPEC]
**[SPEC]** Authoritative fact. Terse. Bullet lists, tables, code. AI reads always.
**[NOTE]** Human context, history, examples. AI may skip.
**[BUG]** Verified failure + fix. Required fields: symptom, cause, fix. Always read.
**[?]** Unverified / inferred. Lower confidence. Always flagged.
Block tag rules:
**[SPEC]****[BUG] Short description**[SPEC]
# Document Title
**Version X.Y.Z** · Author · Date · [metadata]
---
## AI READING INSTRUCTION
Read `[SPEC]` and `[BUG]` blocks for authoritative facts.
Read `[NOTE]` only if additional context is needed.
`[?]` blocks are unverified — treat with lower confidence.
---
## 1. First Section
**[SPEC]**
...
Required elements in order:
[SPEC] When encountering a HADS document:
[SPEC] blocks — these are ground truth[BUG] blocks — always, before generating any code or config[NOTE] blocks only if [SPEC] is insufficient to answer the query[?] content as hypothesis — note uncertainty in responseToken optimization: for large documents, scan section headings first, then read only [SPEC] and [BUG] blocks in relevant sections.
[SPEC] When asked to write documentation in HADS format:
[SPEC] — terse, bullet or table or code[NOTE][BUG][?]Content rules for [SPEC]:
[NOTE]Content rules for [BUG]:
**[BUG] Short description**[NOTE]
When converting existing documentation to HADS: extract facts into [SPEC], move narrative and history to [NOTE], surface all known issues as [BUG]. Do not duplicate content between block types.
[SPEC] A valid HADS document must have:
[BUG] blocks contain at minimum symptom + fix[NOTE] HADS exists because AI models increasingly read documentation before humans do. The format optimizes for this reality without sacrificing human readability.
Key insight: the AI manifest is the core innovation. It lets the model know what to read and what to skip — without requiring it to reason about document structure. Explicit is better than implicit for model consumption.
npx claudepluginhub yeaight7/agent-powerups --plugin documentation-systemsProvides CDSS development patterns for drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), and alert classification integrated into EMR workflows.