cognitive-doc-design
यह क्या करती है
यह स्किल आपके AI को ऐसे दस्तावेज़ लिखना सिखाती है जिन्हें लोग जल्दी समझ सकें। यह उन सभी के लिए है जो गाइड, README, आर्किटेक्चर नोट या pull request विवरण लिखते हैं।
कब इस्तेमाल करें
- ✓जब आप नए लोगों के लिए README, गाइड या ऑनबोर्डिंग दस्तावेज़ लिख रहे हों।
- ✓जब कोई दस्तावेज़ लंबा, घना या पढ़ने में कठिन लगे।
- ✓जब आप pull request विवरण या आर्किटेक्चर नोट लिख रहे हों, जिसे समीक्षक जल्दी समझें।
Skill का लिंक
https://github.com/Gentleman-Programming/gentle-ai/blob/main/internal/assets/skills/cognitive-doc-design/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इस README को ऐसे फिर से लिखिए कि नया डेवलपर पहले त्वरित रास्ता देखे, और फिर विवरण।”
हर हफ़्ते 5 नई skills, 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
अक्सर पूछे जाने वाले सवाल
यह कौन सी संरचना सुझाती है?
एक साफ़ शीर्षक, छोटी शुरुआती पंक्ति, चरणों वाला त्वरित रास्ता, फिर सेक्शन या टेबल में विवरण।
क्या यह pull request विवरण पर लागू होता है?
हाँ। यह PR विवरण और समीक्षा नोट्स को उन दस्तावेज़ों में गिनती है जिन्हें यह कवर करती है।
क्या यह दस्तावेज़ लंबे कर देती है?
नहीं। यह छोटे सेक्शन और साफ़ शीर्षकों पर ध्यान देती है, ताकि पाठक जल्दी वह ढूँढ सकें जो उन्हें चाहिए।
जानकारी
लेखक का मूल विवरण
Design docs that reduce cognitive load. Trigger: writing guides, READMEs, RFCs, onboarding, architecture, or review-facing docs.
लोकप्रियता
- GitHub स्टार
- 8.2k
- रैंकिंग में स्थान
- #12549
- लाइसेंस
- MIT
- अपडेट की गई
- 1/11/2026
कमेंट
- …
इस repository की और skills
branch-pr
8.2kयह आपके एजेंट को ब्रांच और pull request ऐसे तैयार करने में मदद करती है जो गंतव्य प्रोजेक्ट के अपने योगदान नियमों का पालन करें, किसी सामान्य टेम्पलेट का नहीं।
chained-pr
8.2kयह आपके एजेंट को 400 लाइनों से बड़े बदलाव को छोटी, समीक्षा योग्य pull requests की श्रृंखला में बाँटने में मदद करती है, जिनमें से हर एक अपने आप में ठीक हो।
comment-writer
8.2kयह आपके एजेंट को pull requests, समीक्षाओं, issue जवाबों और टीम चैट संदेशों के लिए छोटी, गर्मजोशी भरी और सीधी टिप्पणियाँ लिखने में मदद करती है।
go-testing
8.2kयह आपके एजेंट को Go टेस्टिंग पैटर्न सिखाती है, जिनमें table-driven टेस्ट, टेम्पररी फ़ोल्डर, golden फ़ाइलें और टर्मिनल यूज़र इंटरफ़ेस के टेस्ट शामिल हैं।
मिलती-जुलती skills
obsidian-vault-maintainer
394kयह आपके एजेंट को Obsidian के अनुकूल मेमोरी vault व्यवस्थित रखने देती है, जिसमें काम करने वाले wiki लिंक, एक जैसी properties और सुरक्षित जेनरेटेड सेक्शन हों।
wiki-maintainer
394kयह आपके एजेंट को OpenClaw मेमोरी wiki दोहराए जा सकने वाले पेजों, सुरक्षित मैनेज्ड ब्लॉक्स और विरोधाभास या कमियों की जांच के साथ संभालने देती है।
obsidian
394kयह आपके एजेंट को आधिकारिक Obsidian कमांड-लाइन से Obsidian नोट्स, टास्क, लिंक और properties पढ़ने, खोजने, बनाने और बदलने देती है।