cognitive-doc-design
What it does
This skill shows your AI how to write documents that people can understand quickly. It is for anyone writing guides, READMEs, architecture notes or pull request descriptions.
When to use it
- ✓When you are writing a README, guide or onboarding document for new people.
- ✓When a document feels long, dense or hard to scan.
- ✓When you are writing a pull request description or architecture note that reviewers must understand quickly.
Skill link
https://github.com/Gentleman-Programming/gentle-ai/blob/main/internal/assets/skills/cognitive-doc-design/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Rewrite this README so a new developer sees the quick path first, then the details.”
5 new skills a week. 1 minute to read.
How it works
The skill tells the AI to lead with the answer, show the main path first, use short sections and tables, and add details and edge cases afterward.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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
FAQ
What structure does it recommend?
A clear title, a short opening paragraph, a quick path with steps, then details in sections or tables.
Does it apply to pull request descriptions?
Yes. It lists PR descriptions and review notes among the documents it covers.
Does it make documents longer?
No. It focuses on short sections and clear headings so readers find what they need faster.
Details
Original description by the author
Design docs that reduce cognitive load. Trigger: writing guides, READMEs, RFCs, onboarding, architecture, or review-facing docs.
Popularity
- GitHub stars
- 8.2k
- Ranking position
- #12549
- License
- MIT
- Updated
- 11/1/2026
Comments
- …
More skills from this repository
branch-pr
8.2kHelps your agent prepare branches and pull requests that follow the destination project's own contribution rules, not a generic template.
chained-pr
8.2kHelps your agent split a large change of over 400 lines into a chain of smaller, reviewable pull requests that each stand on their own.
comment-writer
8.2kHelps your agent write short, warm and direct comments for pull requests, reviews, issue replies and team chat messages.
go-testing
8.2kTeaches your agent Go testing patterns, including table-driven tests, temporary folders, golden files and tests for terminal user interfaces.
Similar skills
obsidian-vault-maintainer
394kHelps your agent keep an Obsidian-friendly memory vault tidy, with working wiki links, consistent properties, and safe generated sections.
wiki-maintainer
394kHelps your agent maintain an OpenClaw memory wiki with repeatable pages, safe managed blocks, and checks for contradictions or gaps.
obsidian
394kLets your agent read, search, create, and edit Obsidian notes, tasks, links, and properties using the official Obsidian command line.