omh-commit-pr-authoring
ما الذي تفعله
يصوغ رسالة إيداع (commit) أو نص طلب سحب بأسلوب المستودع الخاص بك. ويسرد فقط الاختبارات التي شُغلت فعلا على أنها مُختبرة، وكل ما عداها على أنه غير مُختبر. وهي مخصصة للمطورين الذين يريدون نصا واضحا للإيداعات وطلبات السحب.
متى تستخدمها
- ✓عندما تحتاج إلى رسالة إيداع لتغيير منتهٍ.
- ✓عندما تحتاج إلى وصف لطلب سحب مكتوب لتغيير ما.
- ✓عندما تريد أن تُذكر حالة الاختبار بصدق في الإيداع أو طلب السحب.
رابط المهارة
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-commit-pr-authoring/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“اكتب رسالة الإيداع لهذا التغيير. شغّلت اختبارات الوحدة، لكنني لم أشغّل مجموعة الطرف إلى الطرف.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يقرأ وكيلك أعراف المستودع وسجله الأخير، ويسرد كل أمر على أنه شُغّل أو لم يُشغَّل، ثم يصوغ الرسالة. ولا يُعلَّم بأنه مُختبر إلا الاختبار الذي رُصد تشغيله.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Commit Pr Authoring
This is an OMH commit-pr-authoring workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
Why This Exists
commit-pr-authoring exists because nothing in the catalog authored the commit or the PR body. code-review reads a commit message as a thing to review and github-event-ops routes PR events, so the text an engineer writes several times a day had no owner, and nothing applied the observed-versus-prepared split to it.
First Steps
- Read the PR template and the recent log, and record the convention before drafting.
- Build the evidence ledger: each command, observed with its exit status or not_observed.
Do Not Use When
- The request is to find defects in the diff or judge whether the change is ready; use
omh-code-review. - The request routes an incoming pull-request, issue, or CI webhook event; use
omh-github-event-ops. - The request turns a chat report into a GitHub issue; use
omh-github-issue-intake. - The request is release notes or product copy for readers outside the repository; use
omh-content-operator.
Examples
Good example:
- Prompt: write the commit message for this change, the unit tests ran but I did not run the e2e suite
- Expected behavior: Read the log's subject shape and trailers, record the unit test command as observed and the e2e suite as not_observed, and draft the message with the unit tests under
Tested:and the e2e suite underNot-tested:. - Why: The ledger decides which line each command lands on, not the wording of the request.
Bad example:
- Prompt: say the integration tests pass, they will once CI runs
- Expected behavior: Keep the integration tests under
Not-tested:until an observed run exists, and say CI has not been observed. - Why: A prediction worded as a result is exactly what
Tested:must not carry.
Completion Checklist
- The convention read names the template and log sample it drew from.
- Every
Tested:entry maps to an observed ledger row with its exit status. - Every prepared, skipped, or unobserved command is under
Not-tested:with its reason. - The draft lists the paths to stage, and any state-claiming subject prefix maps to an observed ledger row.
- Nothing was committed, pushed, or opened by OMH.
Recovery Notes
- If no run records exist, draft with an empty
Tested:and every command underNot-tested:, and ask for the observed output. - If the repository has no template or visible convention, say so and use a plain subject and body rather than importing one.
When to Use
Use when a change is ready to record and the user wants its commit message or pull-request body written: the repository's template and recent log read first, the subject and body in that convention, the trailers the repo requires, and a Tested: line that lists only commands observed to run, with everything prepared but not run under Not-tested:. OMH prepares the text; the commit, the push, and the PR are the user's or the executor's.
Strong routing signals: `commit-pr-authoring`, `commit message`, `commit messages`, `write the commit message`, `draft the commit message`, `commit body`, `squash message`, `pr body`, `pr description`, `pull request body`, `pull request description`, `draft the pr`, `write the pr`, `pr template`, `tested trailer`, `not-tested trailer`, `lore trailers`, `напиши коммит`, `сообщение коммита`, `описание пул реквеста`, `текст коммита`
Catalog Metadata
Category: verification
Phase: commit-pr-authoring
Quality tier: evidence-ledger-gated
Reasoning demand: standard
Quality bar:
- Read the template and at least the last few commits before writing a word, and record what was found.
- Build the evidence ledger first; the
Tested:and validation sections are projections of it, not prose. - Write the subject in the repository's shape and the body as why the change exists, not a restated diff.
- Load
references/commit-and-pr-conventions.mdfor trailer, sign-off, and template-section mapping instead of improvising them. - Put
Closes #Non its own line only when every success criterion of that issue is met.
Required inputs:
- the change: the diff, the staged files, or the branch compared with its base
- the repository's PR template and a sample of its recent commit log
- the commands that ran for this change, each with its observed exit status
- the commands that were prepared, planned, or skipped, and why
- the issue or goal th
الأسئلة الشائعة
هل سيدّعي أن الاختبارات نجحت إذا لم أشغلها؟
لا. الاختبارات التي لم تُشغل تُذكر تحت بند غير مُختبر.
هل يتبع تنسيق مشروعي؟
نعم. يقرأ السجل الأخير وقالب طلب السحب قبل الصياغة.
هل يراجع كودي بحثا عن الأخطاء؟
لا. مراجعة الأخطاء سير عمل مراجعة كود منفصل.
التفاصيل
الوصف الأصلي من المؤلف
[omh] Commit message or pull-request body to write for a change: draft it in the repository's own convention, with `Tested:` listing only commands observed to run and everything prepared but not run under `Not-tested:`. Use when the user says: commit-pr-authoring, commit message, commit messages, write the commit message, draft the commit message, commit body, squash message, pr body.
repo: rlaope/oh-my-hermes
الشعبية
- نجوم GitHub
- 5.1k
- الترتيب
- #15088
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
omh-accessibility-audit
5.1kيساعد وكيلك على فحص شاشة أو تدفق بحثا عن ثغرات إمكانية الوصول، مثل استخدام لوحة المفاتيح وتسميات قارئ الشاشة والتباين وحجم منطقة اللمس.
omh-adversarial-consensus
5.1kيساعد وكيلك على مهاجمة مقترح تقني من عدة زوايا مستقلة قبل أن تلتزم به، ثم يلخص ما يصمد أمام النقد.
omh-agent-debug
5.1kيساعد وكيلك على معرفة سبب تعثر وكيل ذكاء اصطناعي آخر أو دورانه في حلقة أو انحرافه عن المهمة، ويقترح أصغر طريقة آمنة للتعافي.
omh-agent-instructions
5.1kيساعد وكيلك على كتابة ملف التعليمات، مثل AGENTS.md أو CLAUDE.md، أو تحديثه. وهذا الملف يخبر أدوات الذكاء الاصطناعي كيف تعمل في المشروع.
مهارات مشابهة
diffs
394kيتيح لوكيلك إنتاج فرق تعديلات حقيقي يمكن مشاركته، كرابط عرض أو ملف صورة، بدلاً من ملخص مكتوب يدوياً.
coding-agent
394kيساعد وكيلك على تسليم مهمة برمجة كبيرة إلى Codex أو Claude Code أو OpenCode كعامل في الخلفية، ثم متابعة تقدمها.
gh-issues
394kيساعد وكيلك على إيجاد مشكلات GitHub واختيار ما ستعمل عليه، وفتح طلبات سحب بالإصلاحات، ومتابعة تعليقات المراجعة.