Chuyển đến nội dung
Skillpedia
Viết lách8.2k · #12549

cognitive-doc-design

Skill này làm gì

Skill này cho AI của bạn cách viết tài liệu mà mọi người có thể hiểu nhanh. Dành cho bất kỳ ai viết hướng dẫn, README, ghi chú kiến trúc hoặc mô tả pull request.

Khi nào nên dùng

  • ✓Khi bạn viết README, hướng dẫn hoặc tài liệu onboarding cho người mới.
  • ✓Khi một tài liệu dài, dày đặc hoặc khó quét.
  • ✓Khi bạn viết mô tả pull request hoặc ghi chú kiến trúc mà người xem xét phải hiểu nhanh.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/Gentleman-Programming/gentle-ai/blob/main/internal/assets/skills/cognitive-doc-design/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Viết lại README này để một lập trình viên mới thấy đường đi nhanh trước, rồi mới đến các chi tiết.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill yêu cầu AI nêu câu trả lời trước, trình bày đường đi chính trước, dùng các phần ngắn và bảng, rồi thêm chi tiết và các trường hợp biên sau đó.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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
Câu hỏi thường gặp

Cấu trúc nào được khuyến nghị?

Một tiêu đề rõ ràng, đoạn mở đầu ngắn, đường đi nhanh với các bước, rồi chi tiết trong các phần hoặc bảng.

Nó có áp dụng cho mô tả pull request không?

Có. Nó liệt kê mô tả PR và ghi chú đánh giá trong các tài liệu nó bao phủ.

Nó có làm tài liệu dài hơn không?

Không. Nó tập trung vào các phần ngắn và tiêu đề rõ ràng để người đọc tìm được thông tin nhanh hơn.

Chi tiết

Mô tả gốc của tác giả

Design docs that reduce cognitive load. Trigger: writing guides, READMEs, RFCs, onboarding, architecture, or review-facing docs.

repo: Gentleman-Programming/gentle-ai

Độ phổ biến

Sao GitHub
8.2k
Vị trí xếp hạng
#12549
Giấy phép
MIT
Cập nhật
1/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự