When to Use
Load this skill when creating or editing documentation that people need to understand quickly, retain, or use during review.
Use it especially for:
- PR descriptions and review notes.
- Contributor or maintainer guides.
- Architecture, workflow, or onboarding docs.
- Any doc that currently feels long, dense, or hard to scan.
Critical Patterns
| Pattern |
Rule |
| Lead with the answer |
Put the decision, action, or outcome first. Context comes after. |
| Progressive disclosure |
Start with the happy path, then add details, edge cases, and references. |
| Chunking |
Group related information into small sections. Keep flat lists short. |
| Signposting |
Use headings, labels, callouts, and summaries so readers know where they are. |
| Recognition over recall |
Prefer tables, checklists, examples, and templates over prose that must be remembered. |
| Review empathy |
Design docs so reviewers can verify intent without reconstructing the whole story. |
Documentation Shape
Use this default structure unless the repo already provides a stronger template:
# <Outcome-oriented title>
<One paragraph: what changed, who it helps, and why it matters.>
## Quick path
1. <First action>
2. <Second action>
3. <Verification or expected result>
## Details
| Topic | Decision |
|-------|----------|
| <area> | <concise explanation> |
## Checklist
- [ ] <Reader can confirm this>
- [ ] <Reader can confirm that>
## Next step
<Link or action that continues the workflow.>
PR and Review Docs
When documenting a PR, reduce reviewer burnout by making the review path explicit:
- State what to review first.
- State what is intentionally out of scope.
- Link the previous and next PR when work is chained.
- Keep each section focused on one decision or unit of work.
- Use checklists for acceptance criteria and verification.
Commands
# Check markdown files changed in the current branch
git diff --name-only -- '*.md'
# Inspect PR changed-line count for cognitive load
gh pr view <PR_NUMBER> --json additions,deletions,changedFiles
1---2name: cognitive-doc-design3description: 'Design docs that reduce cognitive load. Trigger: writing guides, READMEs,4 RFCs, onboarding, architecture, or review-facing docs.'5license: Apache-2.06metadata:7 source: https://skillmd.com/skills/jantoniofc/cognitive-doc-design8 author: gentleman-programming9 version: '1.0'10---1112## When to Use1314Load this skill when creating or editing documentation that people need to understand quickly, retain, or use during review.1516Use it especially for:1718- PR descriptions and review notes.19- Contributor or maintainer guides.20- Architecture, workflow, or onboarding docs.21- Any doc that currently feels long, dense, or hard to scan.2223## Critical Patterns2425| Pattern | Rule |26|---------|------|27| Lead with the answer | Put the decision, action, or outcome first. Context comes after. |28| Progressive disclosure | Start with the happy path, then add details, edge cases, and references. |29| Chunking | Group related information into small sections. Keep flat lists short. |30| Signposting | Use headings, labels, callouts, and summaries so readers know where they are. |31| Recognition over recall | Prefer tables, checklists, examples, and templates over prose that must be remembered. |32| Review empathy | Design docs so reviewers can verify intent without reconstructing the whole story. |3334## Documentation Shape3536Use this default structure unless the repo already provides a stronger template:3738```markdown39# <Outcome-oriented title>4041<One paragraph: what changed, who it helps, and why it matters.>4243## Quick path44451. <First action>462. <Second action>473. <Verification or expected result>4849## Details5051| Topic | Decision |52|-------|----------|53| <area> | <concise explanation> |5455## Checklist5657- [ ] <Reader can confirm this>58- [ ] <Reader can confirm that>5960## Next step6162<Link or action that continues the workflow.>63```6465## PR and Review Docs6667When documenting a PR, reduce reviewer burnout by making the review path explicit:6869- State what to review first.70- State what is intentionally out of scope.71- Link the previous and next PR when work is chained.72- Keep each section focused on one decision or unit of work.73- Use checklists for acceptance criteria and verification.7475## Commands7677```bash78# Check markdown files changed in the current branch79git diff --name-only -- '*.md'8081# Inspect PR changed-line count for cognitive load82gh pr view <PR_NUMBER> --json additions,deletions,changedFiles83```