ワンクリックで
req-retire
Retire a requirement — set status to retired in frontmatter, document the reason, move to archive/, append a log entry.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Retire a requirement — set status to retired in frontmatter, document the reason, move to archive/, append a log entry.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
File a new bug report in wiki/work/bugs/ with required-on-report fields and append it to the bug index
Audit all project functionality at a high level and produce a 2-3 minute demo run book plus a Marp slideshow
Orchestrator for parallel agent teams. When invoked with a roadmap file path, drives every item through the full tackle → uat-generate → uat-auto pipeline until complete. When invoked with a task file path, runs that pipeline once and stops.
Refresh codebase context via Serena memories
Append a new item (task link or inline) to an existing roadmap in wiki/work/roadmaps/, optionally under a named phase
Create a structured execution-plan roadmap in wiki/work/roadmaps/ via short Socratic Q&A — captures goal, phases, and the initial hybrid (task-link OR inline) checklist
| name | req-retire |
| description | Retire a requirement — set status to retired in frontmatter, document the reason, move to archive/, append a log entry. |
| category | planning |
| model | claude-haiku-4-5-20251001 |
| argument-hint | <wiki/work/requirements/REQ-NNN-slug.md, NNN-slug, or NNN> [reason] |
| disable-model-invocation | false |
| user-invocable | true |
Always obey .docs/guides/mcp-tools.md. Read it now if not already in context.
Run /primer first if you have not already this session.
Read wiki/work/requirements/lifecycle.md first — it defines the requirement lifecycle, terminal states, and the archive rule.
Set a requirement's status to retired, document why, then move the file to wiki/work/requirements/archive/. After archiving, cross-references using [[REQ-NNN]] remain valid — the ID is stable regardless of file location.
This skill is a focused shortcut for the retirement flow. For amendments that don't touch status, use /req-update. For supersession (a new requirement replaces this one), use /req-update with supersession intent or pass status: superseded instructions here.
Requirement: $ARGUMENTS
Parse $ARGUMENTS:
<path>, <NNN-slug>, or <NNN>| Input form | Resolution |
|---|---|
<path> (e.g. wiki/work/requirements/REQ-003-search.md) | Use as-is; verify exists via mcp__serena__find_file |
<NNN-slug> (e.g. 003-search) | mcp__serena__find_file with mask 003-search.md under wiki/work/requirements/ |
<NNN> (e.g. 3 or 003) | Pad to 3 digits; mcp__serena__find_file with mask NNN-*.md under wiki/work/requirements/ |
| Empty / missing | List every requirement in wiki/work/requirements/ and ask the user via AskUserQuestion to pick |
If the file cannot be located, stop and report.
Read the requirement file with Read.
Check status: in frontmatter:
| Current status | Action |
|---|---|
draft | Continue — may be retired before approval |
approved | Continue — most common case |
retired | STOP. Tell the user: "REQ-NNN is already retired. No action needed." |
superseded | STOP. Tell the user: "REQ-NNN is already superseded. No action needed." |
Check for downstream artifacts in ## Linked Decisions and ## Linked Tasks:
Use AskUserQuestion to confirm. Show:
| Artifact | Type | Current status | Suggested action |
|---|---|---|---|
[[0007-auth|DEC-0007#D2]] | linked decision | accepted | Review independently — accepted decisions are immutable; if no longer needed, write a deprecating successor |
[[004-billing|TASK-004]] | linked task | todo | Run /task-trash wiki/work/tasks/TASK-004-billing.md if the task is also cancelled |
Ask the user:
$ARGUMENTS — required, one line or more)If the user says No, STOP. Do not proceed.
Do NOT ask whether to retire linked decisions or tasks — they are surfaced as suggestions only. This skill never auto-cascades.
Use Edit for all changes — never sed, awk, echo >>, cat <<EOF, or Write for a full-file rewrite.
Apply in this order:
status: <current> → status: retired in frontmatter.updated: YYYY-MM-DD in frontmatter to today's date.## Notes:
## Notes already has content, append a new paragraph.## Notes is empty or has only a placeholder, replace the placeholder with the retirement entry:
**Retired [YYYY-MM-DD]**: <reason provided by user>
## Notes section does not exist, add it at the end of the file.retired is a terminal status — delete the requirement's row from wiki/work/requirements/index.md (the family index lists active items only).
Use Read then Edit — never echo >> or sed. If the row is already absent, note it and continue.
Move the file to archive/ (Bash — git mv only):
git mv wiki/work/requirements/<file>.md wiki/work/requirements/archive/<file>.md
Then append to wiki/work/requirements/archive/index.md:
| [[REQ-NNN]] | <Title> | retired | YYYY-MM-DD |
Use Read then Edit for the archive index append — never echo >>.
Append one entry to wiki/log.md:
## [YYYY-MM-DD] req-retired | REQ-NNN <title> — reason: <one-line summary of reason>
Use Read then Edit — never echo >> or sed.
Print the downstream artifacts table from Step 3 again, with suggested next-action commands:
Linked decisions and tasks surfaced for independent review:
To act on linked tasks (each independently):
/task-trash wiki/work/tasks/TASK-004-billing.md # if task is also cancelled
To act on linked decisions (each independently):
# Accepted decisions are immutable — write a deprecating successor:
/decision-create deprecate <topic> (supersedes DEC-0007#D2)
# Proposed decisions may be left, finalized, or abandoned
Print a tabular summary:
| Field | Value |
|---|---|
| Requirement | REQ-NNN <title> |
| File path | wiki/work/requirements/REQ-NNN-slug.md → wiki/work/requirements/archive/REQ-NNN-slug.md |
| Old status | draft or approved |
| New status | retired |
| Reason | |
| Family index updated | yes (row removed — terminal status) |
| Archive index updated | yes (row appended) |
| wiki/log.md entry | yes |
| Linked decisions surfaced | count |
| Linked tasks surfaced | count |
Edit call per change — never bulk rewrites.[[REQ-NNN]] remain valid — the ID is stable regardless of file location.## Notes is permanent — it is the audit trail for why this requirement was retired.status: retired in frontmatter AND move the file to wiki/work/requirements/archive/ via git mv.AskUserQuestion is mandatory in Step 3.sed / awk / echo >> / cat <<EOF — always Edit. Bash is permitted only for git mv. See .docs/guides/mcp-tools.md.