pi-order-extension
v0.1.1
Published
Pi extension for managing reusable prompt templates with the /order command.
Maintainers
Readme
pi-order-extension
A Pi extension for managing reusable prompt templates with the /order command.
Features
- Create, edit, send, remove, and list local templates.
- Store an optional description for each template.
- Insert template content into the current Pi input box without auto-sending.
- Autocomplete
/ordersubcommands and existing template names. - Clear template body from the edit flow without deleting the template name or description.
Commands
/order create <name> Create a template
/order edit <name> Edit description and body, or clear body from the edit flow
/order send <name> Insert template body into the input box
/order remove <name> Delete a template
/order list List templatesTemplate names may contain letters, numbers, _, and -.
Install
From npm after publishing:
pi install npm:pi-order-extensionFrom GitHub tag:
pi install git:[email protected]:LinMingjing007/[email protected]Reload Pi after installing:
/reloadDevelopment
npm install
npm test