本文へスキップ
Skillpedia
ライティング9.8k · #12206

prose

できること

これは、コードのコメント、コミット、プルリクエスト、ドキュメントの文章スタイルのガイドです。簡単な言葉、能動態、誠実で人間らしい口調を求めます。対象は、他のエンジニアが読む文章を書く人すべてです。

使う場面

  • ✓エージェントがコミットメッセージやコードのコメントを書くとき。
  • ✓READMEや他のドキュメントを書いたり、更新したりするよう頼まれたとき。
  • ✓他の人が読むプルリクエストの説明を下書きするとき。

スキルのリンク

https://github.com/cloudflare/computer/blob/main/.agents/skills/prose/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/cloudflare/computer/blob/main/.agents/skills/prose/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“これらの変更のコミットメッセージを書いてください。言葉は簡単にしてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

このスキルは、文章のルールを定めます。平易な英語、一般的なもの以外は専門用語や頭字語を使わないこと、アメリカ英語のつづり、チャット履歴やレビューのスレッドへの言及をしないことです。エージェントは、他の人が読む文章を書くときは常にこれに従います。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Prose

  1. IMPORTANT! Keep language simple. Use plain English.
  2. IMPORTANT! Avoid technical terms or jargon when a plain word will do.
  3. 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".
  4. IMPORTANT! Never insert marker comments in code or decorative characters in prose.
  5. IMPORTANT! Use American English at all times.
  6. 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 code formatting for filenames, commands, classes, function names, and identifiers. e.g. "the .gitignore file", "call req.fetch()", "look at MyClass".
  • 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"). Never 10/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

  1. 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:.

  2. Blank line between subject and body. The body is wrapped at 72 characters per line.

  3. The body explains what and why, not how. The diff already shows how. Reference code identifi

よくある質問

アメリカ英語とイギリス英語のどちらを使いますか?

アメリカ英語です。ガイドは常にそれを使うよう求めています。

頭字語はどう扱いますか?

AIやAPIのような一般的なものを除き、正式な名称で書きます。

ドキュメントに、私たちのチャットやレビューのスレッドを書きますか?

いいえ。ガイドは、書かれた作業が、会話やセッションに触れずに単独で読めるべきだとしています。

詳細

作者による元の説明

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

人気

GitHubのスター
9.8k
ランキング
#12206
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル