@aefree/pi-workflow

Canonical prompt-owned Pi planning, implementation, review, and changelog workflows.

Packages

Package details

prompt

Install @aefree/pi-workflow from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@aefree/pi-workflow
Package
@aefree/pi-workflow
Version
0.3.0
Published
Sep 30, 2026
Downloads
432/mo · 78/wk
Author
aefree
License
MIT
Types
prompt
Size
41.2 KB
Dependencies
0 dependencies · 0 peers
Pi manifest JSON
{
  "prompts": [
    "./prompts/core",
    "./prompts/special"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

@aefree/pi-workflow

Canonical prompt-owned Pi planning, implementation, review, and changelog workflows.

Installation

pi install npm:@aefree/pi-workflow

Requirements

Use the latest stable Pi release (currently validated with Pi 0.99.1) and Node.js >=22.19.0. This is a prompt-only package: it installs no agents, tools, credentials, or external integrations.

The core workflows report missing callable capabilities as gaps rather than supplying them. Special workflows are conditional:

  • /closeout-card requires separately installed Codecks and Plastic SCM tools, authorized Codecks access, and a configured Plastic workspace. Its optional using-codecks and using-plastic skills are not included here. Review-only use still requires Codecks tooling; merging additionally requires Plastic tooling and owning-tool safety checks.
  • /gpt-delegate-implement requires a callable delegation runtime with Terra implementation agents and Sol review agents already configured. Those named agents are not packaged, and the prompt provides no substitute agent or CLI fallback.

Do not invoke a special workflow expecting this package to provision its prerequisites or authorize unrelated external actions.

Commands

Command Purpose
/plan <goal> Research and write an evidence-backed implementation plan.
/work <task-or-plan> Implement a scoped change with bounded validation.
/review [scope] Review a bounded change with attributable findings.
/changelog [window-and-sources] Draft a source-attributed changelog for a concrete window.
/closeout-card <instructions> Update Codecks review threads and safely merge a Plastic branch when requested.
/continue Resume interrupted or incomplete agent work.
/gpt-delegate-implement <target> Run a bounded Terra implementation and Sol review delegation loop.

What it does

Pi natively expands the canonical /plan, /work, /review, /changelog, /closeout-card, /continue, and /gpt-delegate-implement prompt templates. Direct slash commands are the sole packaged workflow entry boundary; ordinary prose does not receive package-owned activation or normalization.

The prompts resolve relevant targets, inspect applicable project instructions and source context, select ordinary skills and owning tools where appropriate, preserve explicit authority boundaries, and report validation honestly. Owning tools remain responsible for exact-target, credential, workspace, lifecycle, and external-action validation.

Direct /work invocation authorizes suitable local task branches and atomic local commits or equivalent check-ins in resolved implementation repositories unless the user opts out or project guidance is stricter. Pushes, pull requests or reviews, merges or integration, force operations, tracker changes, publication, releases, deployment, and unrelated-repository mutations remain separately explicit. /closeout-card is the explicit exception for its bounded Codecks review/update and Plastic merge workflow, subject to the request block and owning-tool safety checks.

Each prompt owns its complete operating contract. The package registers no extension, tools, services, public references, or implicit activation behavior.

Development

npm test
npm pack --dry-run

npm run eval:plan and npm run eval:work are opt-in provider-backed behavioral trials. They require an intentionally selected model and credentials and are not normal package validation.