Перейти к содержанию
Skillpedia
Задачи и проекты6.3k · #14354

publish

Что он делает

Этот скилл создаёт задачи GitHub из сохранённой спецификации: один эпик и его задачи. Он нужен командам, которые ведут работу в GitHub и хотят разбить спецификацию на отслеживаемые пункты.

Когда использовать

  • ✓Когда есть готовая спецификация и нужно отслеживать работу как задачи GitHub.
  • ✓Когда нужен один эпик со списком задач для каждой части спецификации.
  • ✓Когда команда планирует работу в GitHub и нужно добавить туда спецификацию.

Ссылка на скилл

https://github.com/Q00/ouroboros/blob/main/skills/publish/SKILL.md

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/Q00/ouroboros/blob/main/skills/publish/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Опубликуй последнюю сохранённую спецификацию в 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:

  1. An explicit .yaml or .json path argument.
  2. 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.
  3. A Seed path reported by ooo seed or ooo pm earlier 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)").

  1. 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
    
  2. Epic: title [Epic] <goal summary>, labels ouroboros,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`*
    
  3. Each Task: title [Task] <task title>, labels `ouroboros,tas
Частые вопросы

Что нужно перед использованием?

Нужно установить инструмент командной строки GitHub и выполнить вход в него.

Меняет ли он существующие задачи?

Нет, в описании сказано, что он создаёт только новые задачи и никогда не изменяет существующие.

Где он ищет спецификацию?

Он смотрит в папке seeds Ouroboros или использует путь к спецификации, который вы укажете.

Подробности

Оригинальное описание автора

Publish Seed specification as GitHub Issues for team-based project management

repo: Q00/ouroboros

Популярность

Звёзды на GitHub
6.3k
Место в рейтинге
#14354
Лицензия
MIT
Обновлён
01.11.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы