publish
ما الذي تفعله
تنشئ هذه المهارة قضايا GitHub من مواصفات محفوظة، بقضية ملحمية واحدة وقضايا مهام لها. وهي للفرق التي تدير عملها على GitHub وتريد تقسيم المواصفات إلى بنود قابلة للمتابعة.
متى تستخدمها
- ✓عندما تملك مواصفات منتهية وتريد تتبع العمل كقضايا على GitHub.
- ✓عندما تريد قضية ملحمية واحدة بقائمة مهام لكل جزء من المواصفات.
- ✓عندما يدير فريقك عمله على GitHub ويحتاج إلى إضافة المواصفات هناك.
رابط المهارة
https://github.com/Q00/ouroboros/blob/main/skills/publish/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“انشر أحدث مواصفات محفوظة على GitHub كقضية ملحمية، مع قضية مهمة لكل جزء.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تجد هذه المهارة ملف المواصفات المحفوظ، وتقرأ هدفه وقيوده ومعاييره، ثم تستخدم أداة سطر أوامر GitHub لإنشاء قضايا جديدة. ولا تغيّر القضايا الموجودة.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
/ouroboros:publish
Convert a Seed into a GitHub Epic issue plus Task issues. Works entirely through the gh CLI (no MCP), creates new issues only, and never modifies existing ones.
ooo publish [seed_path]
/ouroboros:publish [seed_path]
Instructions
Run commands with the active runtime's run_shell capability and ask every question with the active runtime's ask_user capability.
Step 1: Prerequisites
Run command -v gh. If missing, tell the user to install it from https://cli.github.com/ and stop. Run gh auth status; if not authenticated, tell the user to run gh auth login and stop.
Step 2: Locate the Seed
Seeds live in ~/.ouroboros/seeds/: interview Seeds as {seed_id}.yaml, PM Seeds as pm_seed_{id}.json. In priority order:
- An explicit
.yamlor.jsonpath argument. - The most recent files from
ls -t ~/.ouroboros/seeds/*.yaml ~/.ouroboros/seeds/*.json 2>/dev/null | head -5; if several exist, ask the user to choose. - A Seed path reported by
ooo seedorooo pmearlier in this conversation.
If none is found, tell the user to run ooo seed or ooo pm first, and stop.
Step 3: Parse the Seed
Detect the format by extension. Omit any section whose field is missing or empty rather than failing.
YAML Seed (ooo interview + ooo seed):
| Field | Use |
|---|---|
goal |
Epic title and Goal section |
constraints |
Constraints section |
acceptance_criteria |
Epic checklist, distributed to Task issues |
ontology_schema |
Ontology table (field, type, description) |
evaluation_principles |
Evaluation Principles table (name, weight, description) |
exit_conditions |
Exit Conditions (Definition of Done) |
metadata.ambiguity_score |
Confidence indicator |
metadata.seed_id |
Duplicate detection |
JSON PM Seed (ooo pm, PMSeed schema):
| Field | Use |
|---|---|
pm_id |
Duplicate detection |
product_name |
Epic title prefix |
goal |
Goal section |
constraints |
Constraints section |
success_criteria |
Acceptance Criteria checklist |
user_stories |
User Stories, each as "As a {persona}, I want to {action}, so that {benefit}." |
deferred_items |
Deferred Items section |
decide_later_items |
Open Questions section |
assumptions |
Assumptions section |
Step 4: Target repository
Run gh repo view --json nameWithOwner -q '.nameWithOwner' 2>/dev/null. If it returns a repo, ask whether to publish there or to another owner/repo; otherwise ask for owner/repo. Store the answer as TARGET_REPO. Every later gh command MUST include -R <TARGET_REPO>.
Step 5: Duplicate check
gh issue list -R <TARGET_REPO> --label "ouroboros" --state all --search "<seed_id or pm_id>" --limit 5 --json number,title,state
This finds earlier publishes because the Epic body records the Seed ID (Step 7). If matches exist, list them and ask whether to create anyway or cancel; on cancel, stop.
Step 6: Plan the issues
Group the acceptance criteria into logical implementation units (by feature area, layer, or dependency order); each unit becomes one Task. Show the plan (Epic goal summary, then each Task title and brief scope) and ask whether to create the issues or modify the plan. On modify, ask what to change, adjust, and show it again.
Step 7: Create the issues
gh issue create prints the issue URL; take the number from its trailing digits (grep -o '[0-9]*$'). Pass bodies through a quoted heredoc (--body "$(cat <<'BODY' ... BODY)").
- Create labels, ignoring "already exists":
gh label create "ouroboros" -R <TARGET_REPO> --description "Created by Ouroboros publish" --color "6f42c1" 2>/dev/null || true gh label create "epic" -R <TARGET_REPO> --description "Epic / parent issue" --color "0075ca" 2>/dev/null || true gh label create "task" -R <TARGET_REPO> --description "Implementation task" --color "008672" 2>/dev/null || true - Epic: title
[Epic] <goal summary>, labelsouroboros,epic. Body: the Step 3 sections in order (Goal, Constraints, Acceptance Criteria as- [ ]items, Ontology, Evaluation Principles, Exit Conditions, plus the PM-only sections), then this footer:--- **Seed ID**: `<seed_id or pm_id>` | **Ambiguity Score**: <score> | **Seed**: `<seed_file_path>` *Generated by [Ouroboros](https://github.com/Q00/ouroboros) via `ooo publish`* - Each Task: title
[Task] <task title>, labels `ouroboros,tas
الأسئلة الشائعة
ما الذي أحتاج إليه قبل الاستخدام؟
تحتاج إلى تثبيت أداة سطر أوامر GitHub وتسجيل الدخول إليها.
هل تغيّر القضايا الموجودة؟
لا، يذكر الوصف أنها تنشئ قضايا جديدة فقط ولا تعدّل القضايا الموجودة أبدًا.
أين تجد المهارة المواصفات؟
تبحث في مجلد بذور Ouroboros، أو تستخدم مسار مواصفات تعطيه لها.
التفاصيل
الوصف الأصلي من المؤلف
Publish Seed specification as GitHub Issues for team-based project management
repo: Q00/ouroboros
الشعبية
- نجوم GitHub
- 6.3k
- الترتيب
- #14354
- الترخيص
- MIT
- آخر تحديث
- 1/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
auto
6.3kيساعد وكيلك على تحويل مهمة كبيرة إلى مواصفات مكتوبة، ثم بنائها واختبارها في الخلفية حتى تعمل وتجتاز الفحوصات.
brownfield
6.3kيساعد وكيلك على حفظ قائمة بمستودعات الكود الموجودة لديك، واختيار المستودعات الافتراضية التي تُستخدم سياقًا للمقابلات.
ouroboros-config
6.3kيساعد وكيلك على فتح صفحة إعدادات Ouroboros لتختار النماذج والخلفيات والخيارات لكل مرحلة من متصفحك.
evaluate
6.3kيساعد وكيلك على التحقق من أن العمل المنتهي يحقق معايير قبوله، باستخدام فحوصات آلية ومراجعة لكل معيار.
مهارات مشابهة
knowledge-capture
394kتعلّم وكيلك حفظ القرارات والتفضيلات والحقائق المهمة في خزنة Knowledge كملاحظات قصيرة مع ذكر المصدر.
knowledge-claim-consolidation
394kيساعد وكيلك على تنظيم خزنة Knowledge بدمج الإفادات المكررة ونقلها إلى صفحات موضوعاتها الصحيحة، وإلغاء ما أصبح قديماً.
knowledge-correct
394kيتيح لوكيلك تصحيح إفادة أو صفحة محفوظة محددة في Knowledge أو سحبها بناءً على طلبك، مع الاحتفاظ بسجل لما تغيّر.