pmx
Skill578 starsChanged 6 days agoApache-2.0View on GitHub
Materialize a /pm-brainstorm proposal onto a .pm workstream, ship the filing, then drain that workstream with /loopx. Use when the user invokes /pmx with a target workstream (e.g. `/pmx them all to w3`, `/pmx 1,3 to w5`) or says "/pm them all to wN and then /loopx wN".
In this repository34 other files it gives its agents.
- AGENTS.mdAGENTS.md
- dashboard/AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- lego/AGENTS.mdAGENTS.md
- mobile/AGENTS.mdAGENTS.md
- .pm/AGENTS.mdAGENTS.md
- deploy-app-from-localSkill
- deploy-appSkill
- dont-code-but-answerSkill
- loopxSkill
- mermaidSkill
- mock-clusterSkill
- pm-brainstormSkill
- pmSkill
- qa-find-bugs-cliSkill
- qa-find-bugsSkill
- releaseSkill
- rt-fix-logic-bugsSkill
- rt-fix-prod-crashesSkill
- rt-flatten-abstractionsSkill
- rt-normalize-abstractionsSkill
- rt-prune-useless-testsSkill
- rt-remove-dead-codeSkill
- rt-simplify-logicSkill
- rt-unify-duplicatesSkill
- security-auditSkill
- shipSkill
- simplifySkill
- stripe-best-practicesSkill
- stripe-directorySkill
- stripe-docsSkill
- stripe-projectsSkill
- unblockSkill
- upgrade-stripeSkill
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 21
Use the most recent /pm-brainstorm proposal in this conversation: its detail sections (task tables, definition of done, source, goal …
- Very specific: line 22
If the conversation has none, run /pm-brainstorm for <wN> first and use what it proposes.
- Very specific: line 33
Run npx prettier@3.4.2 --write "/*.md", then verify task ids match paths, README lines and (N tasks) counts, links and depends_on.
- Very specific: line 39
If /ship stops on something it cannot resolve, stop here and report: a filing that cannot land is a hard stop, as in /loopx.
≈ “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
Task: File a proposal, ship it, drain the workstream
/pmx [<selection>] to <wN> [--no-listen] runs three steps back to back, without pausing between them: /pm <selection> to <wN> → /ship the filing → /loopx <wN>.
Arguments
Parse from $ARGUMENTS:
<wN>(required) — the lastwNtoken. If there is none, STOP and ask which workstream; never guess.--no-listen(optional, after<wN>) — passed through to/loopxin step 4, so the run ends when the queue is drained instead of listening for more.<selection>—them all,allor empty selects every numbered item in the proposal's Summary (priority order) plus the existing-item actions in its/pmhand-off (e.g./pm unblock …of items whose gate cleared). Item numbers (1,3,2-4) select only those items; a hand-off action is included only when named.
1. Find the proposal
- Use the most recent
/pm-brainstormproposal in this conversation: its detail sections (task tables, definition of done, source, goal linkage, expected outcome, why now, Render-parity flag), its Summary and its/pmhand-off commands. - If the conversation has none, run
/pm-brainstorm for <wN>first and use what it proposes. <wN>from the arguments wins over the workstream the proposal named.
2. Materialize with /pm
.claude/skills/pm/SKILL.md is canonical — read it and .pm/DO_NOT_DO.md, and apply their rules exactly; do not restate or diverge from them here.
- Sync first. On
main,git fetch origin mainandgit pull --ff-only origin main. If the fast-forward is refused, keep the local tree and let step 3's/shiprebase. Then rescan numbering (next freemNacross.pm, next freeNNNin<wN>): the proposal's numbers are provisional. - Re-check each selected item at write time. Another session may have filed or shipped it since the proposal, or it may now conflict with
DO_NOT_DO.md. Skip such an item and report why; never file it twice. - Run the matching
/pmsubcommand per item, in priority order:new milestone(the proposal's implementation tasks with their titles, estimates anddepends_on; task files filled from the proposal's evidence — concrete paths, steps, acceptance criteria; then the standing closing tasks, with Render parity included or omitted as the proposal flagged),addfor inbox notes,promotefor an existing note,unblockfor a recorded gate-cleared finding. - Record decision state honestly. Selecting an item is approval to schedule it, not sign-off on a divergence. Write the proposal's recommendation for an open decision as the proposal's recommendation and the rule it rests on (e.g. ADR008 Render parity first), never as a user decision. Where the repository rules make that recommendation the default (parity work is never parked on an optional decision), the tasks implement it and name the still-open sign-off in the milestone's
## Source + Goal linkage. - Run
npx prettier@3.4.2 --write "**/*.md", then verify task ids match paths, README lines and(N tasks)counts, links anddepends_on.
3. Ship the filing
Invoke /ship for this board-only change, staging only the files step 2 wrote: one docs(pm): file <ids> (from /pm-brainstorm for <wN>) commit. Invoking /pmx is the user's explicit request to ship this filing and the items /loopx lands. Shipping before the drain puts the items on origin/main where other sessions see them, and keeps /loopx's per-item commits free of filing noise.
If /ship stops on something it cannot resolve, stop here and report: a filing that cannot land is a hard stop, as in /loopx.
4. Drain
Post a short checkpoint (what was filed, what was skipped and why), then invoke /loopx <wN> (with --no-listen if it was given) in the same turn and follow it to its own Exit: arm the guard, dispatch each item to a fresh-context worker, verify its outcome. Its queue is every open item in <wN>, not only the ones just filed — that is intended.
Draining is not the end. Unless --no-listen was given, /loopx writes a drained report, then runs the workstream's due routines (if it lists any) and listens for new items on origin/main for up to 24 idle hours, so its final Exit can arrive a day later. The drained report already carries the filed items' outcomes.
Report
Head /loopx's first drained report with the filing (or its Exit report, if the run exits before it ever drains, e.g. with --no-listen or a hard stop): the new ids with their titles, the skipped items with their reasons, and every recommendation recorded in place of an open user decision. Later drained and exit reports in the same run need no header.
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.

