用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/kofj/rdd --skill rdd-stages-archive命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | rdd-stages-archive |
| description | Archive old RDD stage documents to keep the working directory clean and focused |
Archive old stage documents to keep the working directory clean and focused on current work.
The stages:archive skill archives old stage-N.md files from docs/stages/ to docs/stages/archived/. It keeps the 5 most recently completed stages (by stage number) plus any incomplete stages, ensuring your working directory stays focused on current work.
Command: task stages:archive
Triggers:
docs/stages/docs/stages/ has accumulated too many stage filesOnly stage-N.md files (pure numeric pattern, e.g. stage-1.md, stage-15.md) are considered for archiving. All other files in docs/stages/ remain untouched, including:
stage-N-design.md — design documentsstage-N-review-log.md — review logsstage-roadmap.md — roadmapstage-template.md — templatedocs/stages/archived/Completion status is determined from the roadmap table in docs/stages/stage-roadmap.md.
| Option | Description | Default |
|---|---|---|
--dry-run | Preview changes without making them | off |
--keep N | Number of recent completed stages to keep | 5 |
--help, -h | Show help message | — |
# Preview what would be archived
task stages:archive -- --dry-run
# Archive, keeping only 3 recent completed stages
task stages:archive -- --keep 3
# Done — archive normally
task stages:archive
When invoked:
docs/stages/stage-roadmap.md to determine completed stagesdocs/stages/ for stage-N.md files (pure numeric only)docs/stages/archived/.rdd/scripts/stages-archive.sh — core archive logic, usable standalone or via task.
| Task | Description |
|---|---|
stages:archive | Archive old stages |
stages:archive:dry-run | Preview without moving files |