Chuyển đến nội dung
Skillpedia
Tài liệu kỹ thuật18k · #10716

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.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/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/technical-writer/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

“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

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ự