coord-discard
Skill0 starsChanged 47 days agoApache-2.0View on GitHub
Abandon a coord task you no longer want. Marks it `done` with a discard note; `coord update` archives it in the same call. Use when the user says "/coord-discard", "drop <id>", "kill <id>", or "abandon <id>".
- Commits and pushes
In this repository20 other files it gives its agents.
- coord-archive-indexSkill
- coord-assignSkill
- coord-auditSkill
- coord-checkSkill
- coord-dirtySkill
- coord-helpSkill
- coord-initSkill
- coord-loop-doctorSkill
- coord-promoteSkill
- coord-refineSkill
- coord-requeueSkill
- coord-reviewSkill
- coord-shape-reviewSkill
- coord-shapeSkill
- coord-splitSkill
- coord-statusSkill
- coord-tokensSkill
- coord-unblockerSkill
- merge-to-mainSkill
- rebase-to-mainSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 22
If already done: report and stop.
- Very specific: line 33
If a non-forced close is refused for incomplete subtasks, stop and report.
- Very specific: line 42
Never edit task files directly.
- Very specific: line 43
Never run manual git add, git commit, or git push — coord update auto-commits-and-pushes each mutation.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Cancel a coord task without finishing it. coord update --status=done moves the file to the configured archive directory in the same call.
Project-root preflight:
- Resolve the canonical project checkout before reading, updating, staging, committing, or pushing:
COORD_MAIN=$("${COORD_TOOLS:-$HOME/Projects/coord-wright}/bin/coord-project-root") && cd "$COORD_MAIN" - This is required when the skill is invoked from a sibling task worktree; discard must update the main queue that the launchd worker reads.
Syntax
/coord-discard <task-id> [--reason="..."]
Workflow
- Read current state.
python3 "${COORD_TOOLS:-$HOME/Projects/coord-wright}/bin/coord" show <id>→ confirm task exists and is not alreadydone.- If already
done: report and stop; it is already archived.
- Compose the discard note.
- Reason: from
--reason="..."if supplied, elsediscarded by user. - Note text:
Discarded <ISO-timestamp>: <reason>(usedate +%Y-%m-%dT%H:%M:%S%z, local time with explicit offset).
- Reason: from
- Append the note and mark done in one call (no partial state if the status change is refused).
- From
claude-working,codex-working, orneeds-review:python3 "${COORD_TOOLS:-$HOME/Projects/coord-wright}/bin/coord" update <id> --status=done --add-issues="<note>" - From
shaping,pending, orneeds-brainstorming: the transition table has no edge todone, so the same command needs--force. The/coord-discardinvocation is the user's explicit request to abandon the task; add--forceto the command above. - Quote the note (it contains spaces).
--add-issuesputs it under## Open issues, preserved in the archive. - If a non-forced close is refused for incomplete subtasks, stop and report; use
--forceonly after the user confirms the subtasks are intentionally abandoned. coord updateauto-commits-and-pushes. Do not run any manualgit add,git commit, orgit push.
- From
- Report.
discarded: <id>— already moved to the configured archive directory.- Confirm with
python3 "${COORD_TOOLS:-$HOME/Projects/coord-wright}/bin/coord" show <id>thatstatus: doneis written.
Rules
- Never edit task files directly; always go through
coord update. - Never run manual
git add,git commit, orgit push—coord updateauto-commits-and-pushes each mutation. --forceonly for the no-edge sources above or with explicit user confirmation that incomplete subtasks are intentionally abandoned.- Never use
--no-verify. - Archiving is part of
coord update --status=done; there is no separate archive step.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

