coord-promote
Skill0 starsChanged 47 days agoApache-2.0View on GitHub
Promote one or more shaped coord tasks to pending, then commit and push. Zero args promotes every task in status:shaping. Use when the user says "/coord-promote", "promote <id>", or "promote all shaping tasks".
- Commits and pushes
In this repository20 other files it gives its agents.
- coord-archive-indexSkill
- coord-assignSkill
- coord-auditSkill
- coord-checkSkill
- coord-dirtySkill
- coord-discardSkill
- coord-helpSkill
- coord-initSkill
- coord-loop-doctorSkill
- 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
8 rules. About 0 are common, 3 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
If $ARGUMENTS is non-empty: split on whitespace/commas to get the id list.
- Very specific: line 18
If $ARGUMENTS is empty: run python3 "${COORD_TOOLS:-$HOME/Projects/coord-wright}/bin/coord" list --status=shaping --format=ids and use the …
- Very specific: line 21
Run python3 "${COORD_TOOLS:-$HOME/Projects/coord-wright}/bin/coord" paths --json to get tasks_dir, then git status --porcelain "$tasks_dir" …
- Distinctive: line 22
If any exist, print a warning listing each filename, then continue — do not abort.
- Distinctive: line 28
If any invocation exits non-zero: print the failing id and its stderr, then stop immediately.
- Very specific: line 36
Never use --no-verify or --force.
- Very specific: line 37
If coord promote rejects an id (shaping warning, missing plan, etc.), surface the error as-is — the task is not ready.
- Distinctive: line 38
Keep output terse; no extra commentary beyond the per-id lines and the commit/push result.
≈ “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
Flip shaped tasks to pending and publish atomically. The launchd coord loop reads local files, so promote → commit → push must run as a tight sequence with no pauses.
Project-root preflight:
- Resolve the canonical project checkout before listing tasks, promoting, 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; promotion must update the main queue that the launchd worker reads.
Workflow
- Resolve target ids.
- If
$ARGUMENTSis non-empty: split on whitespace/commas to get the id list. - If
$ARGUMENTSis empty: runpython3 "${COORD_TOOLS:-$HOME/Projects/coord-wright}/bin/coord" list --status=shaping --format=idsand use the output as the list. If output is empty, report "no shaping tasks found" and stop — do not commit.
- If
- Pre-check for unrelated dirty coord files.
- Run
python3 "${COORD_TOOLS:-$HOME/Projects/coord-wright}/bin/coord" paths --jsonto gettasks_dir, thengit status --porcelain "$tasks_dir"and collect any modified coord task files whose base name (without.md) is NOT in the promote set. - If any exist, print a warning listing each filename, then continue — do not abort.
- Run
- Promote each id.
- For each id in the list, run:
python3 "${COORD_TOOLS:-$HOME/Projects/coord-wright}/bin/coord" promote <id> coord promoteauto-commits-and-pushes each task individually. Do not run manualgit add,git commit, orgit push.- If any invocation exits non-zero: print the failing id and its stderr, then stop immediately. Do not retry or look for a bypass.
- For each id in the list, run:
- Report.
- One line per promoted id:
promoted: <id>. - Note: each promotion is its own commit; multi-id batching into a single commit requires a CLI-level change that does not yet exist.
- One line per promoted id:
Rules
- Never use
--no-verifyor--force. - If
coord promoterejects an id (shaping warning, missing plan, etc.), surface the error as-is — the task is not ready. - Keep output terse; no extra commentary beyond the per-id lines and the commit/push result.
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.

