Chuyển đến nội dung
Skillpedia
Viết lách15k · #11001

technical-writing

Skill này làm gì

Skill đặt ra tiêu chuẩn viết rõ ràng cho nội dung kỹ thuật. Dành cho kỹ sư và người viết muốn tài liệu, ghi chú pull request và commit message dễ đọc.

Khi nào nên dùng

  • ✓Khi bạn viết hoặc review tài liệu, readme hoặc RFC.
  • ✓Khi bạn viết mô tả pull request hoặc commit message.
  • ✓Khi nội dung kỹ thuật của bạn dài, mơ hồ hoặc đầy thuật ngữ.

Liên kết skill

https://github.com/cursor/plugins/blob/main/harness/pstack/claude-code/skills/technical-writing/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/cursor/plugins/blob/main/harness/pstack/claude-code/skills/technical-writing/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 review readme này và làm cho nó ngắn gọn, rõ ràng cho một lập trình viên mới trong nhóm.”

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

Cách hoạt động

Agent áp dụng các quy tắc viết: sắp xếp tài liệu quanh những gì người đọc cần, dùng câu đơn giản, cắt những từ không có tác dụng, và dùng đúng tên thật của file và lệnh.

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

In Claude Code, read the Claude Code adapter once per session before you follow this skill. It maps the Cursor names in pstack skills to Claude Code.

Write so a tired engineer understands on the first read. Apply all four layers.

Three rules sit above the layers:

  • Cut every word that does no work. If the sentence survives without a word, the word goes. "In order to" is "to". "It is important to note that" is nothing.
  • Use the short, everyday word. "Use", not "utilize". "Help", not "facilitate". "Do", not "perform". A long word has to buy its length with precision.
  • When a rule makes a sentence worse, fix the sentence another way or leave it alone. A sentence that follows every rule and sounds like a machine wrote it has failed.

The codebase is the word list. Write the real symbol, file, flag, or command name, not a synonym or a description of it.

Don't invent jargon. Use the words a developer would say out loud: "move", "delete", "a budget that only decreases", not "evacuate", "ratchet", or "endgame". A named pattern is fine when the doc says what it means the first time. Propose a new offender and its replacement as an addition to unslop's abstract-metaphor rule in your reply, with the diff. Don't edit that skill.

Vary the rhythm

A doc can obey every layer and still read machine-written: every sentence clipped short, no view anywhere, nothing specific.

  • Mix sentence lengths on purpose. Short sentences land a point. Longer ones carry a fact with its condition or consequence.
  • One thought per sentence does not mean one length per sentence. Split the sentence that carries two thoughts. Keep the long sentence that carries one.
  • Have a view where the mode allows it. Explanation weighs trade-offs, so say what you make of them instead of listing pros and cons. Reference stays dry.
  • Be specific over sterile. Not "schema changes can cause issues" but "a column rename fails the build".

Pick the mode first (Diátaxis)

One document, one mode. Two questions pick it: does the content inform action (doing) or understanding (thinking), and does it serve learning or work?

  • Action + learning: tutorial.
  • Action + work: how-to.
  • Understanding + work: reference.
  • Understanding + learning: explanation.

Use the compass on a whole document or on one sentence.

Tutorial: learning by doing. The learner's success is your job, not theirs. Open by saying what the learner will build, not what they will "learn". Every step produces a visible result, early and often. Tell them what they should see: the expected output, the prompt change, the log line. Cut explanation to one clause and a link. Stay concrete. Write as "we", in commands: "First, do x. Now, do y."

How-to: steps to a goal. Solve a problem a person has, not an operation the machine can perform. Assume competence and skip teaching. Action only: no digressions, no background, no completeness for its own sake. Link those instead. Allow forks and judgment: "If you want x, do y." Name the guide by the task: "How to calibrate the radar array", not "Radar array calibration".

Reference: facts for lookup. Only describe. No instruction, no persuasion, no opinion. Be dry, complete, and sure. State facts, options, limits, and errors with no hedging. Mirror the structure of the thing described, so code and docs can be navigated together. Put material where readers expect it. Generate from code where possible.

Explanation: understanding and why. One bounded topic, readable away from the product. Each title should tolerate an implicit "About..." in front. Anchor on a real why question. Give context: design decisions, history, constraints, alternatives. Opinion is allowed here and nowhere else.

Don't mix modes: no reference tables inside a tutorial, no tutorial hand-holding inside reference, no arguing inside a how-to. Split and link instead.

Write sentences to the reader (Google developer style)

  • Talk to the reader as "you", in the present tense. "Will" only for things that genuinely happen later.
  • Say who does what: "the compiler checks", not "is checked". Passive is fine only when the actor is unknown or beside the point.
  • Write instructions as commands: "Click Submit." State facts plainly. Never "should be done".
  • Put the condition before the instruction: "To delete the document, click Delete."
  • Put the common case first. Exceptions after.
  • Sound like a
Câu hỏi thường gặp

Skill có theo một bộ hướng dẫn phong cách duy nhất không?

Không. Nó kết hợp nhiều tiêu chuẩn, chẳng hạn một mô hình cấu trúc tài liệu và phong cách viết của Google developer.

Nó có thay thuật ngữ lập trình bằng từ đơn giản không?

Nó ưu tiên những từ mà lập trình viên hay dùng khi nói và giữ đúng tên thật của file, cờ và lệnh.

Nó có bao gồm commit message không?

Có. Skill dành cho tài liệu, RFC, readme, mô tả pull request và commit message.

Chi tiết

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

Layered technical-writing standard: Diátaxis structure, Google developer style sentences, STE instruction rules, Global English syntax. Use for /technical-writing or when writing or reviewing docs, RFCs, readmes, PR descriptions, or commit messages.

repo: cursor/plugins

Độ phổ biến

Sao GitHub
15k
Vị trí xếp hạng
#11001
Giấy phép
—
Cập nhật
31/10/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ự