Command Palette

Search for a command to run...

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

retier

One-shot per-repo migration that tiers existing stories and re-bootstraps plans that can still be reordered. Use after merging the framework tiering change…

БесплатноБез исполняемых скриптов
rakovi4от rakovi4★ 54 звезды на GitHub

Установить retier в Claude Code и Claude Desktop

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

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

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

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

/retier — One-Shot Tiering Migration

A scenario's tier lives in its Tier: marker inside the story's tests/*.md (.claude/templates/spec/tier-ladder.md). /retier writes those markers for stories drafted before tiering existed whose implementation has not started — why that needs a migration at all, and why a story already under way is left alone, is in .claude/guidelines/workflow-detail.md, "Bootstrapping".

Run it once, after the merge. /framework-sync's Next Steps routes here when the merge brings tiering in; the frontmatter description above repeats the run-once instruction for a hand-merge that never invoked that skill. Afterwards /test-spec Phase 5 tiers every new story and nothing calls this skill again.

Run it inline in the main agent. It fans out one tiering-agent per story, and those must not nest inside a wrapper agent. It is never a progress.md checkbox, so /continue has no dispatch row for it. Stories only — a task has no scenario set and is never tiered.

Scope by story state

Classify every folder under ProductSpecification/stories/ first, then act. Never descend into ProductSpecification/stories/done/, and never classify done/ itself as a story folder. This is the one deliberate exception to resolving both locations (.claude/rules/workflow.md, "Resolving a story folder"): everything in the archive is complete, which is already the Skip row below — reaching it by walking the archive would only re-derive that answer, while treating done/ as a story would put a non-story on the classification path at all. Test the rows in order; the first match wins — a Done story's tests/ exist and its checkboxes are [x], so it matches the last two rows too, and only row order keeps it out of them.

State Detected by Action
Not specced no tests/ directory Nothing. /test-spec tiers it when it runs.
Done row in the Done table of ProductSpecification/stories.md Skip, and say so in the report.
Already tier-major progress.md has a ## Tier N — section Nothing — specced after the merge, or migrated by an earlier run.
Convertible tests/ exist, no checkbox below the ## Spec section is [x] Tier the set, then re-bootstrap progress.md tier-major.
In flight tests/ exist, at least one checkbox below ## Spec is [x] Nothing. Left untiered permanently.

An existing extended/ directory is never touched — on any row, in any branch. It is never renamed to tier3/ and never re-tiered: it already behaves like Tier 3 and its scenarios are already outside the plan.

Convertible is decided by [x], not by the % column. Reordering a plan in which nothing has been built strands nothing; one [x] and the reorder moves already-committed work to a new position and churns the audit trail, which is the reason in-flight plans are frozen at all. The % column is the wrong test twice over: it is derived from progress.md, and it counts an all-[S] scenario as done, so a story whose only "progress" is a skip decision would misclassify as in flight.

A Done story is skipped because nothing reads its markers again. Its progress.md is complete and /continue never re-derives it, so tiering it produces a diff over settled files and a report no one can act on. If a bugfix task later reopens the story, the reopened plan is untiered and takes the in-flight branch below, which loses nothing. Tag one only if the user asks for corpus uniformity.

Convertible: tier, then re-bootstrap

  1. Dispatch tiering-agent for the story — its whole test set, any existing tier3/, and the story spec (.claude/agents/tiering-agent.md, "Input"). One per story, dispatched concurrently across stories: each writes only inside its own folder.
  2. No consolidation. The pass that merges scenarios sharing one execution (.claude/templates/spec/consolidation-rules.md) rewrites scenario bodies and retires headings — authoring, not migration — and every ### N.M Title it retires is a string journey summaries, decision records and plan-integrity-check.md key on. The user invoked this skill to order a set, not to redraft it. A Convertible story can be consolidated deliberately afterwards if the user asks; nothing here does it on their behalf, and an in-flight story is never consolidated at all.
  3. A stop is per-story. On any tiering-agent stop condition, report it and leave that story exactly as it was — one story stopping never stops the others.
  4. Resolve tests/tiering-report.md before re-bootstrapping. If the pass reported precondition inversions, bootstrapping refuses while any pair is unresolved (.claude/templates/workflow/bootstrapping.md, "Precondition inversions") and the resolution is a human call in the test files. Report the pairs and stop on that story: it is left with markers written a
Полный SKILL.md на GitHub

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

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

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

FAQ

Что делает скилл retier?

One-shot per-repo migration that tiers existing stories and re-bootstraps plans that can still be reordered. Use after merging the framework tiering change, when the user says /retier, or after tier-ladder.md is introduced.

Как установить скилл retier?

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

Скилл retier запускает скрипты?

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

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

Сравнить retier с