prose
Skill này làm gì
Đây là hướng dẫn phong cách viết cho chú thích code, commit, pull request và tài liệu. Hướng dẫn yêu cầu từ ngữ đơn giản, câu chủ động và giọng văn chân thực, dễ hiểu. Dành cho bất kỳ ai viết văn bản mà các kỹ sư khác sẽ đọc.
Khi nào nên dùng
- ✓Khi agent của bạn viết một commit message hoặc chú thích code.
- ✓Khi ai đó yêu cầu viết hoặc cập nhật README hoặc tài liệu khác.
- ✓Khi nó soạn mô tả pull request để người khác đọc.
Liên kết skill
https://github.com/cloudflare/computer/blob/main/.agents/skills/prose/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
“Viết commit message cho các thay đổi này và giữ cách diễn đạt đơn giản.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill đặt các quy tắc viết: tiếng Anh đơn giản, không biệt ngữ hay từ viết tắt trừ khi đã phổ biến, chính tả kiểu Mỹ, và không nhắc đến lịch sử trò chuyện hay luồng review. Agent tuân theo các quy tắc này bất cứ khi nào nó viết văn bản mà người khác sẽ đọc.
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.
Prose
- IMPORTANT! Keep language simple. Use plain English.
- IMPORTANT! Avoid technical terms or jargon when a plain word will do.
- IMPORTANT! Avoid acronyms. Use the full word, e.g. "durable object" instead of "DO". Exceptions: established acronyms more common than their expansion, like "AI" or "API".
- IMPORTANT! Never insert marker comments in code or decorative characters in prose.
- IMPORTANT! Use American English at all times.
- IMPORTANT! Never refer to conversations, chat history, review threads, agents, or development sessions when writing plans, documentation, commits, or pull requests. Stand-alone artifacts only.
Voice
- Talk like a human. Avoid corporate or startup speak. Write like an engineer talking to another engineer.
- Don't assume specialist knowledge. Engineers are sophisticated, but don't assume domain context they may not share.
- Be honest. Don't hide reality. If you're doing something for a reason, say so.
- Be clear. Do the hard work to help readers understand complex ideas.
- Be funny when it fits. Not exclusionary "you had to be there" humor — Simpsons humor, where the joke doesn't get in the way for readers who don't catch it.
- Use active voice. "We will listen to your complaint", not "Your complaint will be listened to". Passive voice is fine when it reads more naturally, e.g. "Starting today, the per-second price is cut in half."
- Talk directly to "you", the reader.
- Don't overuse exclamation points. They lose their force when every other line ends in one.
Word choice
- Prefer simple verbs.
- "improve" not "revolutionize"
- "use" not "leverage" or "utilize"
- "help" not "assist"
- "let" not "enable"
- "make sure" not "ensure"
- "turn off" or "shut down" not "sunset"
- Prefer verbs to nouns. "We help users", not "We provide help to users".
- Drop adverbs that don't add information. "thousands of models", not "thousands of incredible models".
- Avoid words like "easy", "simply", "just". They imply the reader is slow when they get stuck.
- Avoid ableist and exclusionary terms like "crazy" or "lame".
Formatting
- Sentence case for headings, not Title Case.
- Keep heading hierarchies flat. One level deep is usually enough.
- Use
codeformatting for filenames, commands, classes, function names, and identifiers. e.g. "the.gitignorefile", "callreq.fetch()", "look atMyClass". - Use code blocks for commands the reader is supposed to run, and for examples longer than a line.
- ISO 8601 dates (
2024-10-24) or human-readable ("October 24, 2024"). Never10/24/2024. - American English spelling (color, behavior, organize, defense).
- Don't overuse bold. If you need bold to give a block of text structure, the text probably needs to be restructured.
- Spell out email addresses instead of hiding them behind
mailto:links.
Markdown
- Use GitHub-flavored markdown unless instructed otherwise.
- Use code braces for variable names, classes, identifiers.
- Do not use hard line breaks inside paragraphs.
Commit messages
Commit messages are read out of context, years later, by people who have no memory of the change. Write them for that reader.
The canonical reference is Tim Pope's note on git commit messages (https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html). The rules below are the project's interpretation of it.
Structure
A commit message has a subject line, a blank line, and an optional body.
scope: short summary in the imperative
Optional body, wrapped at 72 characters, explaining what changed and
why. Multiple paragraphs are fine. Reference code identifiers like
`functionName` or `ClassName` in prose when needed.
Signed-off-by: Name <email@example.com>
Rules
Subject line. Imperative mood. Capitalize the first letter of the summary part. No trailing period. Target ≤ 50 characters; 72 is the hard maximum.
The capitalization rule applies to the part after the scope prefix colon. Lowercase scope prefixes are preserved when they match the project convention:
computerd:,rpc:,examples/think:,computerd, rpc:,docs:.Blank line between subject and body. The body is wrapped at 72 characters per line.
The body explains what and why, not how. The diff already shows how. Reference code identifi
Câu hỏi thường gặp
Hướng dẫn dùng chính tả Anh Mỹ hay Anh Anh?
Tiếng Anh Mỹ, và hướng dẫn yêu cầu dùng như vậy mọi lúc.
Nó xử lý từ viết tắt thế nào?
Nó viết đầy đủ các từ viết tắt, trừ những từ phổ biến như AI hoặc API.
Tài liệu có nhắc đến cuộc trò chuyện hoặc luồng review của chúng tôi không?
Không. Hướng dẫn nói rằng văn bản phải tự đứng được, không nhắc đến các cuộc trò chuyện hay phiên làm việc.
Chi tiết
Mô tả gốc của tác giả
Style guidance for the written word. Use when asked to write code comments, commit messages, pull requests, READMEs, or documentation. Triggers might be phrases like "write a commit", "document this", or "add a README".
repo: cloudflare/computer
Độ phổ biến
- Sao GitHub
- 9.8k
- Vị trí xếp hạng
- #12206
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
cloudflare
9.8kHướng agent của bạn đến đúng hướng dẫn nền tảng Cloudflare cho Workers, Durable Objects, wrangler và các dịch vụ khác trước khi bắt đầu làm việc.
pull-requests
9.8kDạy agent của bạn viết mô tả pull request rõ ràng, kể câu chuyện về thay đổi, vấn đề nó sửa và cách kiểm tra.
test-driven-development
9.8kDạy agent của bạn viết một bài kiểm thử thất bại trước khi sửa code, và tái hiện lỗi bằng kiểm thử trước. Giúp chứng minh các thay đổi thật sự hoạt động.
gardener-tasks
9.8kGiải thích cách viết và kiểm tra file tác vụ Gardener, là các job bảo trì AI chạy từ GitHub Actions, với giới hạn về những gì mỗi job được thay đổi.
Skill tương tự
obsidian-vault-maintainer
394kGiúp agent của bạn giữ gọn kho ghi nhớ kiểu Obsidian, với liên kết wiki hoạt động tốt, thuộc tính nhất quán và các phần tự tạo an toàn.
wiki-maintainer
394kGiúp agent của bạn duy trì wiki bộ nhớ OpenClaw với các trang có thể lặp lại, khối được quản lý an toàn và kiểm tra mâu thuẫn hoặc thiếu sót.
obsidian
394kCho phép agent của bạn đọc, tìm, tạo và sửa ghi chú, công việc, liên kết và thuộc tính trong Obsidian bằng dòng lệnh Obsidian chính thức.