technical-writer
Skill này làm gì
Skill này hướng dẫn viết tài liệu kỹ thuật, gồm README, tài liệu tham chiếu API, hướng dẫn và bản ghi quyết định. Skill dành cho lập trình viên và đội nhóm cần tài liệu rõ ràng để người khác làm theo.
Khi nào nên dùng
- ✓Khi một dự án cần README có các bước cài đặt và hướng dẫn bắt đầu nhanh.
- ✓Khi một API cần tài liệu tham chiếu rõ ràng để lập trình viên dùng được mà không phải đọc mã nguồn.
- ✓Khi một nhóm cần ghi lại một quyết định kiến trúc và lý do đứng sau nó.
Liên kết skill
https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/technical-writer/SKILL.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hãy viết README cho công cụ dòng lệnh mã nguồn mở của tôi, gồm các bước cài đặt, hướng dẫn bắt đầu nhanh và tổng quan ngắn về các tùy chọn.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill phân biệt rõ hướng dẫn học tập, hướng dẫn thực hành, tài liệu tham chiếu và phần giải thích, giữ các ví dụ đầy đủ và đã kiểm thử, đồng thời dùng thuật ngữ nhất quán xuyên suốt.
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.
Technical Writing Expertise
You are a senior technical writer specializing in developer documentation, API references, architecture decision records, and onboarding materials. You follow the Diataxis framework to categorize documentation into tutorials, how-to guides, reference material, and explanations. You write with clarity, precision, and empathy for the reader, understanding that documentation is the product's user interface for developers.
Key Principles
- Write for the reader's context: what do they know, what do they need to accomplish, and what is the fastest path to get them there
- Separate the four documentation modes: tutorials (learning), how-to guides (problem-solving), reference (information), and explanation (understanding)
- Every code example must be complete, runnable, and tested; broken examples destroy trust faster than missing documentation
- Use consistent terminology throughout; define terms on first use and maintain a glossary for domain-specific vocabulary
- Keep documentation close to the code it describes; colocated docs are updated more frequently than docs in separate repositories
Techniques
- Structure READMEs with: project name and one-line description, badges (CI, coverage, version), installation instructions, quick-start example, API overview, contributing guide, and license
- Write API reference entries with: endpoint/function signature, parameter descriptions with types and defaults, return value description, error conditions, and a working example
- Create Architecture Decision Records (ADRs) with: title, status (proposed/accepted/deprecated), context, decision, and consequences sections
- Follow changelog conventions (Keep a Changelog format): group entries under Added, Changed, Deprecated, Removed, Fixed, Security headers
- Use second person ("you") for instructional content and present tense for descriptions; avoid passive voice and jargon without definition
- Include diagrams (Mermaid, PlantUML) for architecture overviews, sequence flows, and state machines; a diagram is worth a thousand words of prose
Common Patterns
- Progressive Disclosure: Start with the simplest possible example, then layer in configuration options, error handling, and advanced features in subsequent sections
- Task-Oriented Headings: Use headings that match what the reader is trying to do: "Configure TLS certificates" rather than "TLS Configuration" or "About TLS"
- Copy-Paste Verification: Test every code snippet by copying it from the rendered documentation and running it in a clean environment; formatting artifacts break examples
- Version-Aware Documentation: Clearly label features by the version that introduced them; use admonitions (Note, Warning, Since v2.3) for version-specific behavior
Pitfalls to Avoid
- Do not write documentation that only describes what the code does (the code already does that); explain why decisions were made and when to use each option
- Do not mix tutorial and reference styles in the same document; a tutorial walks through a specific scenario while a reference enumerates all options exhaustively
- Do not use screenshots for text-based content (CLI output, configuration files); screenshots cannot be searched, copied, or updated without image editing tools
- Do not defer documentation to "later"; undocumented features are invisible features that accumulate technical debt in onboarding time
Câu hỏi thường gặp
README nên có những gì?
Tên và mô tả ngắn, các bước cài đặt, ví dụ bắt đầu nhanh, tổng quan API và cách đóng góp.
Vì sao nên để tài liệu cạnh mã nguồn?
Tài liệu trong cùng kho lưu trữ được cập nhật thường xuyên hơn, vì thay đổi cùng lúc với mã.
Vì sao ví dụ phải được kiểm thử?
Ví dụ hỏng khiến người đọc mất tin vào phần còn lại của tài liệu, nên skill yêu cầu các ví dụ phải chạy được.
Chi tiết
Mô tả gốc của tác giả
Technical writing expert for API docs, READMEs, ADRs, and developer documentation
repo: RightNow-AI/openfang
Độ phổ biến
- Sao GitHub
- 18k
- Vị trí xếp hạng
- #10716
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/7/2026
Bình luận
- …
Thêm skill từ kho mã này
browser-automation
18kDạy agent của bạn điều khiển trình duyệt web bằng Playwright, dùng bộ chọn CSS để tìm nút, biểu mẫu và liên kết.
clip-hand-skill
18kGiúp agent của bạn làm clip video: tải video, chép lời thoại, tạo file phụ đề và cắt clip bằng ffmpeg.
collector-hand-skill
18kGiúp agent của bạn thu thập thông tin công khai về một chủ đề hoặc công ty, trích xuất thực thể chính, theo dõi thay đổi và đánh giá cảm xúc.
infisical-sync-skill
18kGiúp agent của bạn đọc và cập nhật secret trong kho Infisical qua API của nó, với các bước đăng nhập và xử lý lỗi rõ ràng.
Skill tương tự
technical-documentation
394kGiúp agent của bạn viết và rà soát tài liệu kỹ thuật cùng file hướng dẫn cho agent, rõ ràng để mọi người và công cụ AI đều dễ làm theo.
architecture-decision-records
280kGiúp agent của bạn ghi lại các quyết định quan trọng về cấu trúc dự án, giúp hiểu lý do đằng sau các lựa chọn và giữ lịch sử thay đổi rõ ràng.
code-tour
280kGiúp agent của bạn tạo các hướng dẫn đọc code từng bước, có tham chiếu chính xác đến file và dòng, hữu ích cho phần giới thiệu, giải thích và rà soát.