prose
ما الذي تفعله
هذا دليل أسلوب كتابة لتعليقات الشيفرة ورسائل الإيداع وطلبات الدمج والوثائق. يطلب كلمات بسيطة وصيغة الفاعل ونبرة صادقة وإنسانية. وهو مخصص لكل من يكتب نصوصًا سيقرؤها مهندسون آخرون.
متى تستخدمها
- ✓عندما يكتب وكيلك رسالة إيداع أو تعليقًا في الشيفرة.
- ✓عندما يُطلب منه كتابة ملف README أو وثائق أخرى أو تحديثها.
- ✓عندما يصيغ وصفًا لطلب دمج يقرؤه آخرون.
رابط المهارة
https://github.com/cloudflare/computer/blob/main/.agents/skills/prose/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“اكتب رسالة إيداع لهذه التغييرات، واجعل الصياغة بسيطة.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تضع المهارة قواعد الكتابة: لغة إنجليزية بسيطة، دون مصطلحات أو اختصارات إلا المعروفة منها، واستخدام التهجئة الأمريكية، وعدم الإشارة إلى سجل المحادثة أو خيوط المراجعة. يتبع الوكيل هذه القواعد كلما كتب نصًا يقرؤه الآخرون.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
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
الأسئلة الشائعة
هل تستخدم التهجئة الأمريكية أم البريطانية؟
التهجئة الأمريكية، وهي ما يطلبه الدليل في كل الأوقات.
كيف تتعامل مع الاختصارات؟
تُكتب كاملة، إلا الشائعة مثل 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
التعليقات
- …
المزيد من المهارات من هذا المستودع
cloudflare
9.8kيوجّه وكيلك إلى دليل Cloudflare المناسب لـ Workers وDurable Objects وwrangler والخدمات الأخرى قبل أن يبدأ العمل.
pull-requests
9.8kيعلّم وكيلك كتابة أوصاف واضحة لطلبات الدمج، تروي قصة التغيير والمشكلة التي يحلّها وكيفية التحقق منه.
test-driven-development
9.8kيعلّم وكيلك كتابة اختبار يفشل قبل تغيير الشيفرة، وإعادة إنتاج الخطأ باختبار أولًا. يساعد على إثبات أن التغييرات تعمل فعلًا.
gardener-tasks
9.8kيشرح كيف تكتب ملفات مهام Gardener وتتحقق منها، وهي مهام صيانة آلية بالذكاء الاصطناعي تعمل من GitHub Actions، مع حدود لما يمكن أن تغيّره كل مهمة.
مهارات مشابهة
obsidian-vault-maintainer
394kيساعد وكيلك على الحفاظ على خزنة ذاكرة متوافقة مع Obsidian، بروابط ويكي تعمل وخصائص متسقة وأقسام آلية آمنة.
wiki-maintainer
394kيساعد وكيلك على صيانة ويكي ذاكرة OpenClaw بصفحات قابلة للتكرار وكتل مُدارة آمنة، مع فحص التناقضات والثغرات.
obsidian
394kيتيح لوكيلك قراءة ملاحظات Obsidian ومهامها وروابطها وخصائصها والبحث فيها وإنشاؤها وتعديلها، عبر سطر أوامر Obsidian الرسمي.