Command Palette

Search for a command to run...

Назад к скиллам
скилл № 37566

create-epic

Create a GitHub Epic issue for a priority group and wire existing leaf issues as its sub-issues. Uses the GitHub Epic issue type (via GraphQL) and the GraphQL…

БесплатноЗапускает вложенные скрипты
CERTCCот CERTCC★ 22 звезды на GitHub

Установить create-epic в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Skill: Create Epic

Create a GitHub Epic issue for a thematic group and link leaf issues as sub-issues. This skill is the canonical way to create Epics to ensure consistent use of the Epic issue type and sub-issue wiring.

Inputs

  • EPIC_TITLE: a done-state claim, a present-tense sentence in domain terms that is false when the Epic opens and true when it closes (PAD-02-030), e.g. Core, wire and adapters depend on each other only in the allowed directions. Name the audience as its subject when one is natural (PAD-02-031). Never a feature name, an activity, a name: outcome form or an Epic: label, and no ADR number or spec ID (PAD-02-032). See notes/epic-themes.md § "Epic Titles and Bodies".

  • EPIC_BODY: multi-line body text. It opens with two lines, each with its own job, and no other line or section restates either one or the title (PAD-02-034):

    • a Theme: <label> — <outcome> line naming the theme (PAD-02-018), whose outcome is the consequence of the title's claim that a reader of the theme notices, not the claim again (PAD-02-033);
    • a Design idea: <approach> line stating the approach tying the children together, with any mechanism, ADR numbers and spec IDs (PAD-02-038), e.g. Design idea: each trigger records an outcome the caller can poll.

    An Epic that create-issue calves with no user present also carries the line <!-- auto-calved -->.

  • LEAF_ISSUES: space-separated issue numbers to link as sub-issues, e.g. 428 439 429

  • SCHEDULE: initial Schedule value for Project #24 — one of Focus, Now, Next, Later, Someday

  • THEME: the Epic's theme: label, an active theme in the catalog in notes/epic-themes.md. Pass a second only when EPIC_BODY has one line naming both (PAD-02-015).

  • REPO: CERTCC/Vultron (default)

Workflow

Step 1 — Verify no existing open Epic for this theme

Search for open Epics with similar titles to avoid duplicates:

# `--limit 1000` is required: with no limit `gh` returns only 30 issues, and a
# truncated list is indistinguishable from a genuine no-match — which this step
# reads as "no Epic exists" and acts on by creating a duplicate (#3319).
gh issue list --repo CERTCC/Vultron \
  --state open \
  --limit 1000 \
  --json number,title,issueType \
  | python3 -c "
import json, sys
issues = json.load(sys.stdin)
epics = [i for i in issues if (i.get('issueType') or {}).get('name') == 'Epic']
for e in epics:
    print(f'  #{e[\"number\"]}: {e[\"title\"]}')
"

If a matching Epic already exists, skip Step 2 and proceed to Step 3.

Step 2 — Create the Epic issue via GraphQL

Use the bash helper script in this skill's directory. It runs the theme gate first and creates nothing if the theme or the Theme: line is wrong, if the title holds an ADR number or spec ID or starts with Epic:, or if the body has no Design idea: line or one that restates the title or the Theme: outcome. The gate checks form only; whether the title states the right claim is the reviewer's call (calve-epics proposes it to the user). It then creates the Epic with the correct Epic issue type and its theme label in one call, and adds it to Project #24 with its Schedule via the shared add-to-project.sh helper — so board IDs live in exactly one place:

EPIC_NUMBER=$(.agents/skills/create-epic/create_epic.sh \
  "${EPIC_TITLE}" "${EPIC_BODY}" "${SCHEDULE}" "${THEME}")
echo "Created Epic #${EPIC_NUMBER}"

Each leaf wired in Step 3 must carry a theme the Epic carries (PAD-02-017).

Step 3 — Link leaf issues as sub-issues

Use the manage-github-issue skill to wire each leaf issue as a sub-issue of the Epic. All wiring is idempotent — already-linked issues are skipped.

.agents/skills/manage-github-issue/manage_github_issue.sh \
  --issue-number "${EPIC_NUMBER}" \
  --sub-issue <LEAF_1> \
  --sub-issue <LEAF_2> \
  --sub-issue <LEAF_3>

Step 4 — Leave the planning label to the workflow

Do not label the Epic. The epic-needs-planning workflow adds needs-planning to an Epic with no sub-issues, or with an open, unblocked Concern or Idea child, and removes it otherwise (hourly and on issue events). A label set by hand is overwritten.

Step 5 — Return Epic number

echo "${EPIC_NUMBER}"

Constraints

  • Always check for an existing open Epic before creating a new one.
  • Every Epic carries one theme, a Theme: line and a Design idea: line, and a title free of IDs; the script refuses one without them. Epics take no parent: they are never nested.
  • Board IDs are never hardcoded here — they rotate and are resolved by name at runtime via .agents/skills/shared/board-id.sh (see .agents/skills/shared/README.md). create_epic.sh resolves the repo node ID and the Epic issue-type ID through it, and delegates scheduling to .agents/skills/shared/add-to-project.sh.
    • Epic issue-type ID: `bash .agents/skills/shared/board-id.sh issue-type E
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • create_epic.sh

FAQ

Что делает скилл create-epic?

Create a GitHub Epic issue for a priority group and wire existing leaf issues as its sub-issues. Uses the GitHub Epic issue type (via GraphQL) and the GraphQL addSubIssue mutation. Invoke this skill whenever a thematic group needs an Epic created or updated.

Как установить скилл create-epic?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл create-epic запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить create-epic с