一键导入
task-trash
Trash a task and its related UAT files — moves them to archive/ and removes all active-index references
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Trash a task and its related UAT files — moves them to archive/ and removes all active-index references
用 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 | task-trash |
| description | Trash a task and its related UAT files — moves them to archive/ and removes all active-index references |
| category | planning |
| model | claude-haiku-4-5-20251001 |
| argument-hint | <path/to/task-file.md> |
| disable-model-invocation | false |
| user-invocable | true |
Always obey .docs/guides/mcp-tools.md. Read it now if not already in context.
Always obey wiki/work/tasks/lifecycle.md. Read it now if not already in context.
Run /primer first if you have not already this session.
Move a task file (and any related UAT files) to archive/, then remove all active-index references. No files are ever deleted — archiving is the terminal action.
Task File: $ARGUMENTS
Parse $ARGUMENTS to locate the task file:
If a file path is provided (e.g., wiki/work/tasks/3-user-auth.md):
find_file or list_dir)If a number-slug is provided (e.g., 3-user-auth):
wiki/work/tasks/ for <number-slug>.mdwiki/work/tasks/archive/If only a description or number is provided (e.g., user auth or 3):
wiki/work/tasks/ and wiki/work/tasks/archive/ for a matching task fileDetermine which directory the task currently lives in (wiki/work/tasks/ or wiki/work/tasks/archive/)
Extract the task's number-slug identifier (e.g., 3-user-auth from 3-user-auth.md)
Using the task's number-slug identifier, search for matching UAT files:
wiki/work/uat/ for <number>-<slug>.uat.mdwiki/work/uat/archive/ for <number>-<slug>.uat.mdBefore moving anything, use AskUserQuestion to confirm. Show:
$ARGUMENTSIf the user says No, STOP.
Update status: <current> → status: trashed in the task file frontmatter using Edit.
Archive the task file (Bash — git mv only):
git mv wiki/work/tasks/<file>.md wiki/work/tasks/archive/<file>.md
Then append to wiki/work/tasks/archive/index.md:
| [[TASK-NNN]] | <Title> | trashed | YYYY-MM-DD |
For each related UAT file (if any):
status: <current> → status: trashed in UAT frontmatter using Edit.git mv only):
git mv wiki/work/uat/<UAT-file>.md wiki/work/uat/archive/<UAT-file>.md
wiki/work/uat/archive/index.md:
| [[UAT-NNN]] | <Title> | trashed | YYYY-MM-DD |
Remove the task's row from wiki/work/tasks/index.md. If there is a matching UAT row in wiki/work/uat/index.md, remove it too.
Use Read then Edit — never echo >> or sed. If a row is already absent, note it and continue.
Do NOT remove references from roadmaps, decisions, or other files — [[TASK-NNN]] and [[UAT-NNN]] IDs remain valid regardless of file location.
Append one entry to wiki/log.md:
## [YYYY-MM-DD] task-trashed | TASK-NNN <title> — archived to wiki/work/tasks/archive/
Use Read then Edit — never echo >>.
Report what was done:
| Field | Value |
|---|---|
| Task file | wiki/work/tasks/<file>.md → wiki/work/tasks/archive/<file>.md |
| UAT file(s) | wiki/work/uat/<file>.md → wiki/work/uat/archive/<file>.md (or "None") |
| Active index rows removed | task index, UAT index (as applicable) |
| Archive index rows added | task archive index, UAT archive index (as applicable) |
| wiki/log.md entry | yes |