Skillpedia
الكتابة8.2k · #12549

cognitive-doc-design

ما الذي تفعله

تُظهر هذه المهارة لذكائك كيف يكتب مستندات يفهمها الناس بسرعة. وهي لكل من يكتب أدلة أو ملفات README أو ملاحظات معمارية أو أوصاف طلبات سحب.

متى تستخدمها

  • ✓عندما تكتب ملف README أو دليلًا أو مادة تعريف لأشخاص جدد.
  • ✓عندما يبدو المستند طويلًا أو مكتظًا أو صعب التصفح.
  • ✓عندما تكتب وصف طلب سحب أو ملاحظة معمارية يجب أن يفهمها المراجعون بسرعة.

رابط المهارة

https://github.com/Gentleman-Programming/gentle-ai/blob/main/internal/assets/skills/cognitive-doc-design/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/Gentleman-Programming/gentle-ai/blob/main/internal/assets/skills/cognitive-doc-design/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“أعد كتابة ملف README هذا، بحيث يرى المطور الجديد المسار السريع أولًا، ثم التفاصيل.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تطلب المهارة من الذكاء أن يبدأ بالجواب، وأن يعرض المسار الرئيسي أولًا، وأن يستخدم أقسامًا قصيرة وجداول، ثم يضيف التفاصيل والحالات الحدّية بعد ذلك.

المحتوى التقني (ملف 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.

repo: Gentleman-Programming/gentle-ai

الشعبية

نجوم GitHub
8.2k
الترتيب
#12549
الترخيص
MIT
آخر تحديث
1‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة