/piflow:piflow-releasefrom piflow
Publishes @piflow/* npm packages using Changesets, pnpm, and npm OIDC Trusted Publishing. Enforces disciplined release flow: versions owned by Changesets, CI publishes from main only.
Ships in piflow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are the operator — you run every command; the user runs nothing (at most: a click to merge the
"Version Packages" PR, or to approve the release environment). The full step-by-step + the pre-release
checklist live in docs/RELEASING.md; the WHY (pnpm · Changesets · OIDC · the gate ladder) lives in
docs/CI.md. Read them — this skill is the contract on top, not a duplicate.
Six PUBLIC packages, all @piflow/*: @piflow/core (SDK), @piflow/cli (bin piflowctl),
@piflow/tool-bridge, @piflow/langgraph, @piflow/e2b, @piflow/daytona. PRIVATE (never published —
Changesets auto-skips them): the root piflow-monorepo, @piflow/tui, gui.
npm publish. Most "I changed
something" turns end at a pnpm changeset, never a publish.version field or a
workspace:*/dependency range. NEVER run npm publish / pnpm publish directly — the bootstrap
pnpm release is the ONE sanctioned publish command, and only for the first publish.main, clean tree, gate-green. NEVER from a feature branch or "to save progress."
Published versions are IMMUTABLE.NPM_TOKEN; never add one.piflowctl — NEVER register the unscoped piflow name (it collides with @arche-sh/piflow).After any consumer-facing change: pnpm changeset → select the bumped packages + semver → commit the generated
.changeset/*.md ALONGSIDE the code. Changesets accumulate; they ARE the queued release. Do not publish.
main, clean, pulled, run the gate sweep:
pnpm install --frozen-lockfile && pnpm lint && pnpm run build && pnpm test && pnpm pack-verify && pnpm smoke:cli
pnpm exec changeset status # MUST list pending bumps — if empty, nothing to release: STOP (run MAINTAIN)
Any gate RED → fix the root cause; NEVER bypass a gate to ship.main. The release.yml workflow's changesets/action opens/updates a "Version
Packages" PR (the bumps + changelogs). Review it, then merge it → CI runs pnpm release and publishes
the changed packages via OIDC with provenance; private packages are auto-skipped. Your job is review → merge →
verify, NOT typing a publish command.npm view @piflow/core version (and the others) match the
Version PR; the npm package page shows the Provenance badge; a scratch-dir smoke:
cd "$(mktemp -d)" && npm i @piflow/cli && npx piflowctl --version.npm has NO "pending publisher", so OIDC cannot be configured for a package that does not exist yet — the first publish is MANUAL + LOCAL, exactly once:
npm login as a member of the piflow npm org (scope @piflow).pnpm release (= pnpm run build && changeset publish) — creates all 6 packages on npm. The one
sanctioned local publish.blueif16, repo PiFlow, workflow release.yml, environment release; tick the
"npm publish" allowed action.pack-verify/smoke:cli to publish.main → STOP.changeset status empty → nothing to release; do MAINTAIN.release environment requires an approval → that's the deliberate human gate; approve only after a
green, VERIFY-able pre-flight.changeset pre, anti-patterns) lives
in docs/RELEASING.md; the pipeline + gate rationale in docs/CI.md. Read them; do not duplicate.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
15 skills in this plugin
/iso-hero-illustrationMethod for authoring the piflow hand-authored 2.5D ISOMETRIC hero SVGs (atom = one node, substrate = the DAG, protein = the self-improve loop, and any new metaphor) so every shape AND decoration is grounded in the canonical design doc and named — never decorative, never illogical. TRIGGER before creating or revising ANY iso hero illustration under site-piflow/components/iso/: the order is DOC → named component spec → CONFIRM with the user → draw. Use when asked to draw/fix the atom, substrate, protein, add a metaphor, or when a render "looks terrible / illogical / decorative". Pairs with piflow-web-design (brand) + premium-saas-stack (bar); the workspace + kit + research live in site-piflow/components/iso/_gen/./memory-slicesPer-node MEMORY slices (Leg A — self/history) — FIND a node's standing lessons + cross-run RECURRENCE before the optimizer edits it, and MAINTAIN the memory.md set so it stays honest, bounded, and never rots. The Leg-A twin of `okf-slices` (Leg B — world/code): a memory lesson `[[links]]` the OKF code slice it concerns, so its freshness gate rides that slice's `--check`. TRIGGER on either intent: (FIND) the out-of-band triage/fixer needs "has this node failed THIS way before, how often, and what did we learn?" — the LAPSE-vs-SKILL signal — before bucketing or editing a node; or (MAINTAIN) someone runs the MEMORIZE step, asks when/how memory.md is updated, what a lesson's scope is, whether a lesson is stale, or WHERE a lesson should live (per-node vs system). Works on any repo with template-scoped `memory.md` (`.piflow/<wf>/template/{memory.md, nodes/<id>/memory.md}`; config in `.agents/okf/okf.config.json`). Memory is OPTIMIZER-FACING reference, NEVER injected into a worker node's runtime prompt — this skill is how the out-of-band optimizer reads and writes it./okf-slicesTHE DEFAULT pathway to understand this codebase — any setting, any logic, any lifecycle, at any level, INCLUDING how much of the codebase is mapped/covered in the first place. Load this FIRST whenever you (or a sub-agent) are about to explain, investigate, or answer any question about how a part of this system works — BEFORE reaching for `ls`/`grep`/`find`, or recalling a CLI invocation from memory instead of loading the skill. Running the right command without loading this skill first is still the ad-hoc re-derivation this skill exists to prevent. If a question feels like "a quick lookup I can just answer" rather than "understanding the system," that feeling is the cue to invoke this skill, not a reason to skip it. TRIGGER on any understanding intent, at any granularity: "understand <area>", "how does <subsystem> work", "where do I change X", "which files own Y", a question about the state/coverage/completeness of the codebase map itself, explaining a config/setting/flow, or an optimizer/fixer about to edit a subsystem; (MAINTAIN) when/how to update the map, blast scope, staleness, the drift gate; (SETUP) a repo has NO `.agents/okf/` yet (FIND errors "not set up") or a stale/older engine. Once loaded it contains every command (CLI and standalone) — no external crib needed. Works on ANY repo — SETUP (MODE S) seeds the substrate from the engine this skill carries under `assets/`, needing nothing but `node`. Slices are OPTIMIZER-FACING reference, NEVER injected into a worker node's runtime prompt — this skill is how the out-of-band fixer reads them on demand./piflow-enhancePi Flow · ENHANCE — improve an existing, running pi-flow workflow the disciplined way: turn a spotted flaw, a recurring finding, or human feedback into ONE atomic, generalizing change via capture→route→edit→verify→ approve→commit, never a one-off hack. Owns the criteria fixture (the per-node quality bar) and Companion-Mode judging. Use to "improve a wave/node", "fix a recurring failure in the pipeline", "the generated output is wrong — fix the system not the case", "edit the skill vs edit the chain", "score / triage / fix a finished run", "run the optimize loop", "auto-improve a node from its trace". Also owns the METHOD-LIBRARY sync (Leg C, ~/Desktop/best-designs-for-agentic-system): consult the matching card before any edit, write the outcome back to its Applications after any land. To CREATE a workflow use piflow-init; to RUN one use piflow-start. The canonical capture→route→edit method is the hermes-skill-system skill; this COMPOSES it and pins the piflow-specific precedence + the autonomous SCORE→TRIAGE→FIX→GATE→LAND loop./piflow-fixerPi Flow · FIXER — the default playbook staged into EVERY substrate fixer spawn, the human-facing fix protocol, and the orchestrator contract for a whole feedback cycle; it turns one assigned issue + an isolated candidate git worktree of its node into a staged, gate-proven repair. LOAD/FOLLOW when: you are the fixer agent handed a `nodes/<node>/issues/<name>.md` dispatch; you are the ONE agent running a full cycle over returned run feedback; or a human repairing one node's defect asks "how do I route this fix", "why did my guidance get ignored", "did the fix actually move anything". The spine is the issue lifecycle open→active→fix-landed→verifying (only `optimize adopt` lands it to `resolved`); per-stage depth lives in references/ (triage · demand-levers · verification · orchestrator · playbook-maintenance). This is the fixer's procedure — NOT the enhance/hermes triad (disabled on this path)./piflow-gatePi Flow · GATE — the base agent that judges whether ONE fixer's candidate edit actually fixed its issue, and decides its fate: STAGE it for a human to adopt, or REJECT it back to a fresh fixer. The third agent of the optimize loop and the last: triage NAMES the defect, the fixer SOLVES it, the GATE judges the fix — the issue file is the boundary object through all three, and the loop always runs them in that order. The CLI spawns this agent over the PROVED candidate via `piflowctl optimize verify --node <id>` (the standalone gate-only re-check — there is NO `optimize gate` verb), or INLINE during `piflowctl optimize fix --node <id>` on the full-tier soft path, equipped with this skill. LOAD / FOLLOW when: you ARE the gate/verify turn over a fixer's candidate; you must decide ACCEPT-and-stage vs REJECT-and-drop-back; you must audit a fix for reward-hacking / a band-aid / teaching-to-the-test; or a human asks "did the fix actually work", "is this a real fix or a hack", "why was the candidate rejected", "what does the retry get told", "who decides a fix is good". The gate JUDGES ONLY — it never fixes (that is piflow-fixer) and never adopts (that is the human's separate, explicit step). It is blind to the fixer's reasoning by construction. This is the JUDGMENT half — the independent verifier that keeps a self-editing loop honest.Generated from the plugin's indexed repository (blueif16/piflow) — no native marketplace selected
npx claudepluginhub p/blueif16-piflowOther plugins' skills for the same job