Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

update-epic

БесплатноБез исполняемых скриптовНе проверен

Refresh an epic's overview and master rollup row with the latest progress from its child features. Usage: /update-epic [name]

ArmaOverthrowот ArmaOverthrow★ 95 звёзд на GitHub

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

Arguments on this harness. This harness does not substitute $ARGUMENTS. Read the text that follows /update-epic in the same user message, and use that text wherever this skill writes $ARGUMENTS. When another skill loads this skill, use the arguments that the caller states. When no such text exists, treat $ARGUMENTS as empty.

You have been asked to update an epic's documentation with the most recent changes from its child features.

Epic name (optional): $ARGUMENTS

Harness

This command runs on any agent harness. Read .beast-mode/harness.md first. It maps the neutral terms in this command to the tools of this harness. Terms include: ask the user to choose, delegate to an agent, search the web, and the harness skills directory. Use the mapped tool. Do not use a tool name from another harness.

Epic awareness

This command is epic-aware. Before resolving $ARGUMENTS to a feature path, read .beast-mode/epic-resolution.md and apply its rules: detect epics by epic-overview.md, resolve <epic>/<feature> references, fuzzy-fall-back into epic folders for bare names, and the target is an epic; refresh its epic-overview.md rollup and the epic's single row in the master overview. If no epics exist in docs/features/, behave exactly as before.

.beast-mode/epic-resolution.md is the single source of truth for epic detection and resolution. This command's body is the update-epic workflow; it does not re-specify the detection/resolution rules.

Purpose

epic-overview.md is the source of truth for an epic's aggregate status. It holds the Features table (per-child status + task counts), build order, integration notes, and the Master Overview Rollup that /update-master reads to produce the epic's single row in docs/overview.md. This command keeps all three layers in sync:

  1. Child features — tasks.md + context.md (the source data, never modified here)
  2. epic-overview.md — the epic's internal status document (updated here)
  3. docs/overview.md (and optionally docs/feature-status.md) — the master row for this epic (updated here)

TARGETED EDITS ONLY. Never rewrite epic-overview.md or docs/overview.md whole-file. Use targeted Edit tool calls for every change. A whole-file Write risks clobbering content you have not read (tech-debt findings, integration notes, other features' rows). This discipline is explicit throughout the steps below.


Process

Step 1 — Determine the epic

1a. Named epic ($ARGUMENTS provided)

If $ARGUMENTS is non-empty:

  1. Verify docs/features/$ARGUMENTS/epic-overview.md exists (the marker rule).
    • If not found, check whether $ARGUMENTS uses a slash (editor/base) — that is a feature, not an epic. Report: "Argument $ARGUMENTS is a feature inside an epic, not an epic. To update the epic run /update-epic editor. To update the feature's own docs run /update-feature editor/base."
    • If no epic-overview.md and no slash, report the error and list all epics (dirs with epic-overview.md) so the user can pick the right one.
  2. Use $ARGUMENTS as the epic name. Proceed to Step 2.

1b. No argument — infer from session

If $ARGUMENTS is empty:

  1. Scan the session context for recently touched file paths under docs/features/. Extract the parent directory name from any path of the form docs/features/<dir>/... (whether it is the epic directory itself or a child feature subfolder — both point to the same epic).

  2. Collect every candidate. Then for each candidate, check test -f docs/features/<candidate>/epic-overview.md — the candidate must be an epic (has the marker). Discard plain features.

  3. One inferred epic — confirm with the user before writing anything:

    Inferred epic from this session: "editor"
    About to refresh docs/features/editor/epic-overview.md and the editor row in docs/overview.md.
    Proceed? (yes / choose a different epic)
    

    Ask the user to choose for the confirmation. Only continue to Step 2 after explicit confirmation.

  4. Multiple candidates inferred — list them and ask the user to choose one. Do not guess.

  5. No inference possible — fall through to Step 1c.

1c. Cannot determine epic — ask

If neither a named argument nor session inference yields a clear single epic:

  1. Run the following to list all epics in the project:

    for d in docs/features/*/; do
      [ -f "$d/epic-overview.md" ] && basename "$d"
    done
    
  2. If there are zero epics, report: "No epics found in docs/features/. Use /create-epic or /plan-epic to create one."

  3. If there is exactly one epic, confirm with the user (same prompt as 1b step 3) before proceeding.

  4. If there are multiple epics, list them and ask the user to choose which one to update.


Step 2 — Read the current epic state

Read docs/features/<epic>/epic-overview.md in full. Note:

  • The "Last Updated" timestamp (used in Step 3 for th
Полный SKILL.md на GitHub

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

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

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

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

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

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

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

FAQ

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

Refresh an epic's overview and master rollup row with the latest progress from its child features. Usage: /update-epic [name]

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

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

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

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

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