cognitive-doc-design
できること
このスキルは、人が素早く理解できる文書の書き方をAIに示します。ガイド、README、アーキテクチャのメモ、プルリクエストの説明を書く人向けです。
使う場面
- ✓新しい人のために、READMEやガイド、オンボーディングの文書を書いているとき。
- ✓文書が長く、ぎっしりしていて、読み飛ばしにくいと感じるとき。
- ✓レビュー担当者が素早く理解する必要のあるプルリクエストの説明やアーキテクチャのメモを書いているとき。
スキルのリンク
https://github.com/Gentleman-Programming/gentle-ai/blob/main/internal/assets/skills/cognitive-doc-design/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“新しい開発者がまず手早い手順を見て、その後に詳細を見られるように、このREADMEを書き直してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、AIに答えを先頭に置き、主な手順を最初に見せ、短い節と表を使い、詳細と例外はその後に追加するよう指示します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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
よくある質問
どのような構成を勧めていますか?
明確なタイトル、短い導入の段落、手順を伴う手早い手順、その後に節や表での詳細です。
プルリクエストの説明にも当てはまりますか?
はい。プルリクエストの説明とレビューのメモも、対象の文書に含まれています。
文書が長くなりますか?
いいえ。短い節と明確な見出しに重点を置き、読者が必要なものを早く見つけられるようにします。
詳細
作者による元の説明
Design docs that reduce cognitive load. Trigger: writing guides, READMEs, RFCs, onboarding, architecture, or review-facing docs.
人気
- GitHubのスター
- 8.2k
- ランキング
- #12549
- ライセンス
- MIT
- 更新日
- 2026/11/1
コメント
- …
このリポジトリの他のスキル
branch-pr
8.2k一般的なテンプレートではなく、送り先のプロジェクト自身の貢献のルールに従うブランチとプルリクエストを準備するよう、エージェントを支援します。
chained-pr
8.2k400行を超える大きな変更を、それぞれ単独で成立する、小さくレビューしやすいプルリクエストの連鎖に分割するよう、エージェントを支援します。
comment-writer
8.2kプルリクエスト、レビュー、Issueへの返信、チームのチャットのメッセージのために、短く、温かく、率直なコメントを書くよう、エージェントを支援します。
go-testing
8.2k表駆動のテスト、一時フォルダ、ゴールデンファイル、ターミナルのユーザーインターフェースのテストなど、Goのテストのパターンをエージェントに教えます。
似ているスキル
obsidian-vault-maintainer
394kObsidianと相性のよいメモリボールトを整理して、動くウィキリンク、統一されたプロパティ、安全に生成されるセクションを保つようエージェントを支援します。
wiki-maintainer
394k同じ内容を繰り返し保てるページ、安全な管理ブロック、矛盾や抜けの確認を使って、OpenClawのメモリウィキを維持するようエージェントを支援します。
obsidian
394k公式のObsidianコマンドラインを使って、Obsidianのメモ、タスク、リンク、プロパティを読み、検索し、作成し、編集するようエージェントを支援します。