ワンクリックで
ts-idea-archive
Move an idea from docs/developers/ideas/open/ to archived/ and commit
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Move an idea from docs/developers/ideas/open/ to archived/ and commit
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Write Bash commands that don't trigger unnecessary permission prompts. Use Read/Edit/Grep instead of head/tail/sed/awk/cat/echo; split chained commands (&&, ;, ||) into separate Bash calls; drop diagnostic suffixes like `; echo "EXIT=$?"`. The allowlist matches whole command strings — every mismatch costs the user attention.
Commit user-named files atomically via scripts/commit-pathspec.sh (which wraps `git commit -m "..." -- <files>` and writes the provenance token the pre-commit hook validates). Applies the CLAUDE.md "Pre-commit hook failures on unrelated changes" protocol when the hook fails. Never adds --no-verify silently — explicit user approval is required.
Scaffold a new epic file in docs/developers/tasks/open/ and run housekeep
Scaffold a new idea file in docs/developers/ideas/open/ and regenerate the ideas OVERVIEW.md
Set a task to active — updates status, moves to active/, runs housekeep. Also resumes paused tasks (paused/ → active/ or active/ with closed prerequisites).
Mark a task as closed — writes effort_actual, moves the file to closed/, runs housekeep, and commits
| name | ts-idea-archive |
| description | Move an idea from docs/developers/ideas/open/ to archived/ and commit |
The user invokes this as /ts-idea-archive IDEA-NNN (or with a partial
ID like 26).
Steps:
Run /check-branch to verify the current branch is not main.
Find the matching file in docs/developers/ideas/open/ whose
filename contains the given ID (case-insensitive, e.g. idea-026).
If no file is found, report the error and stop.
Ask the user for a one-line archive reason (e.g. "Converted to TASK-123", "Superseded by IDEA-042", "No longer relevant"). If the user declines with an empty answer, skip step 3.
Prepend a ## Archive Reason section to the body (immediately after
the frontmatter --- closing line) containing today's date
(YYYY-MM-DD) and the reason on one line, e.g.:
## Archive Reason
2026-04-23 — Converted to TASK-123.
Move the file to docs/developers/ideas/archived/ using git mv.
Run python scripts/update_idea_overview.py to regenerate
docs/developers/ideas/OVERVIEW.md.
Stage the moved file and the regenerated OVERVIEW.md, then create a
commit with the message:
archive IDEA-NNN: <idea title from frontmatter>
Do NOT push.
Report: "IDEA-NNN archived, OVERVIEW.md updated, and committed."