publish
できること
保存された仕様から、1つのエピックと、そのタスクのイシューを作成します。GitHubで作業を管理し、仕様を追跡可能な項目に分けたいチーム向けです。
使う場面
- ✓完成した仕様があり、作業をGitHubのイシューとして追跡したいとき。
- ✓仕様の各部分について、タスクの一覧を持つエピックのイシューがほしいとき。
- ✓チームがGitHubで作業を計画していて、仕様をそこに追加する必要があるとき。
スキルのリンク
https://github.com/Q00/ouroboros/blob/main/skills/publish/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“最新の保存された仕様を、各部分のタスクイシュー付きのエピックとしてGitHubに公開してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、保存された仕様のファイルを見つけ、その目標、制約、基準を読みます。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のseedsフォルダーを見るか、ユーザーが与えた仕様のパスを使います。
詳細
作者による元の説明
Publish Seed specification as GitHub Issues for team-based project management
repo: Q00/ouroboros
人気
- GitHubのスター
- 6.3k
- ランキング
- #14354
- ライセンス
- MIT
- 更新日
- 2026/11/1
コメント
- …
このリポジトリの他のスキル
auto
6.3k大きな作業を書面の仕様に変え、仕様が完成して検証に通るまでバックグラウンドで構築とテストを行うのを支援します。
brownfield
6.3k既存のコードリポジトリの一覧を管理し、インタビューの文脈として使う既定のリポジトリを選ぶのを支援します。
ouroboros-config
6.3kOuroborosの設定画面をブラウザーで開き、モデル、バックエンド、ステージごとのオプションを選べるようにするのを支援します。
evaluate
6.3k完成した作業が受け入れ基準を満たしているか、自動チェックと基準ごとのレビューで確認するのを支援します。