branch-pr
Trigger: preparing branches or PRs for Gentleman-Programming/gentle-ai. Apply this repository's issue-first contribution policy.
Design docs that reduce cognitive load. Trigger: writing guides, READMEs, RFCs, onboarding, architecture, or review-facing docs.
Claude Code
$ npx -y skills add Gentleman-Programming/gentle-ai --skill cognitive-doc-design --agent claude-code
Codex
$ npx skills add Gentleman-Programming/gentle-ai --skill cognitive-doc-design -a codex -y
Cursor
$ npx skills add Gentleman-Programming/gentle-ai --skill cognitive-doc-design -a cursor -y
Gemini CLI
$ npx skills add Gentleman-Programming/gentle-ai --skill cognitive-doc-design -a gemini-cli -y
GitHub Copilot
$ npx skills add Gentleman-Programming/gentle-ai --skill cognitive-doc-design -a github-copilot -y
OpenCode
$ npx skills add Gentleman-Programming/gentle-ai --skill cognitive-doc-design -a opencode -y
Windsurf
$ npx skills add Gentleman-Programming/gentle-ai --skill cognitive-doc-design -a windsurf -y
name: cognitive-doc-design description: "Design docs that reduce cognitive load. Trigger: writing guides, READMEs, RFCs, onboarding, architecture, or review-facing docs." license: Apache-2.0 metadata: author: gentleman-programming version: "1.0"
Load this skill when creating or editing documentation that people need to understand quickly, retain, or use during review.
Use it especially for:
| 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. |
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.>
When documenting a PR, reduce reviewer burnout by making the review path explicit:
# 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
Gentle-AI configures the AI coding agents you already use: Claude Code, Cursor, OpenCode, Codex, Pi, and more. Choose persistent memory, Organic-Driven Development, curated skills, MCP servers, personas, and optional bounded review. Open source, no agent lock-in.
Trigger: preparing branches or PRs for Gentleman-Programming/gentle-ai. Apply this repository's issue-first contribution policy.
Trigger: PRs over 400 lines, stacked PRs, review slices. Split oversized changes into chained PRs that protect review focus.
Write warm, direct collaboration comments. Trigger: PR feedback, issue replies, reviews, Slack messages, or GitHub comments.
Trigger: bench, journey, journeys, driven mode, gentle-ai-bench, journey corpus, j-numbers, bench axis. Author and verify…
Trigger: Go tests, go test coverage, Bubbletea teatest, golden files. Apply focused Go testing patterns.
Trigger: a mapping need, parallel units, context backstop, high-risk verify, fresh review, or multi-step debug. Delegate via…
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
Converts books and documents (PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI/AZW with Calibre) into structured agent…
Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…