Skillpedia
الكتابة9.8k · #12206

prose

ما الذي تفعله

هذا دليل أسلوب كتابة لتعليقات الشيفرة ورسائل الإيداع وطلبات الدمج والوثائق. يطلب كلمات بسيطة وصيغة الفاعل ونبرة صادقة وإنسانية. وهو مخصص لكل من يكتب نصوصًا سيقرؤها مهندسون آخرون.

متى تستخدمها

  • ✓عندما يكتب وكيلك رسالة إيداع أو تعليقًا في الشيفرة.
  • ✓عندما يُطلب منه كتابة ملف README أو وثائق أخرى أو تحديثها.
  • ✓عندما يصيغ وصفًا لطلب دمج يقرؤه آخرون.

رابط المهارة

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

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/cloudflare/computer/blob/main/.agents/skills/prose/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“اكتب رسالة إيداع لهذه التغييرات، واجعل الصياغة بسيطة.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تضع المهارة قواعد الكتابة: لغة إنجليزية بسيطة، دون مصطلحات أو اختصارات إلا المعروفة منها، واستخدام التهجئة الأمريكية، وعدم الإشارة إلى سجل المحادثة أو خيوط المراجعة. يتبع الوكيل هذه القواعد كلما كتب نصًا يقرؤه الآخرون.

المحتوى التقني (ملف 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
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة