publish
Skill này làm gì
Skill tạo các issue GitHub từ một đặc tả đã lưu, gồm một epic và các issue công việc. Skill dành cho nhóm quản lý công việc trên GitHub và muốn chia đặc tả thành các mục có thể theo dõi.
Khi nào nên dùng
- ✓Khi bạn có một đặc tả hoàn chỉnh và muốn theo dõi công việc dưới dạng issue GitHub.
- ✓Khi bạn muốn có một issue epic với danh sách công việc cho từng phần của đặc tả.
- ✓Khi nhóm bạn lập kế hoạch công việc trên GitHub và cần thêm đặc tả vào đó.
Liên kết skill
https://github.com/Q00/ouroboros/blob/main/skills/publish/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Đăng đặc tả đã lưu gần nhất lên GitHub dưới dạng một epic với một issue công việc cho mỗi phần.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill tìm tệp đặc tả đã lưu, đọc mục tiêu, ràng buộc và tiêu chí, rồi dùng công cụ dòng lệnh GitHub để tạo issue mới. Skill không thay đổi các issue đã tồn tại.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
/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
Câu hỏi thường gặp
Bạn cần chuẩn bị gì trước khi dùng?
Bạn cần cài đặt và đăng nhập công cụ dòng lệnh GitHub.
Skill có thay đổi issue đã có không?
Không. Mô tả cho biết skill chỉ tạo issue mới và không bao giờ sửa issue đã có.
Skill tìm đặc tả ở đâu?
Skill tìm trong thư mục seeds của Ouroboros, hoặc dùng đường dẫn đặc tả bạn đưa vào.
Chi tiết
Mô tả gốc của tác giả
Publish Seed specification as GitHub Issues for team-based project management
repo: Q00/ouroboros
Độ phổ biến
- Sao GitHub
- 6.3k
- Vị trí xếp hạng
- #14354
- Giấy phép
- MIT
- Cập nhật
- 1/11/2026
Bình luận
- …
Thêm skill từ kho mã này
auto
6.3kGiúp agent của bạn biến một tác vụ lớn thành đặc tả bằng văn bản, rồi xây dựng và kiểm thử trong nền cho đến khi hoạt động và đạt các kiểm tra.
brownfield
6.3kGiúp agent của bạn giữ danh sách các kho mã hiện có và chọn những kho mặc định dùng làm ngữ cảnh cho các phỏng vấn.
ouroboros-config
6.3kGiúp agent của bạn mở trang cài đặt Ouroboros để chọn mô hình, backend và các tùy chọn theo từng giai đoạn trong trình duyệt.
evaluate
6.3kGiúp agent của bạn kiểm tra xem công việc đã hoàn thành có đáp ứng tiêu chí nghiệm thu hay không, bằng các kiểm tra tự động và đánh giá theo từng tiêu chí.
Skill tương tự
knowledge-capture
394kDạy agent của bạn lưu các quyết định, sở thích và sự kiện quan trọng vào kho Knowledge dưới dạng ghi chú ngắn có ghi nguồn.
knowledge-claim-consolidation
394kGiúp agent của bạn dọn gọn kho Knowledge bằng cách gộp các khẳng định trùng lặp, chuyển chúng đến đúng trang chủ đề và loại bỏ những cái lỗi thời.
knowledge-correct
394kCho phép agent của bạn sửa hoặc rút lại một khẳng định hoặc trang Knowledge cụ thể theo yêu cầu của bạn, và giữ nhật ký những gì đã thay đổi.