{"_id":"@codella/pi-prompt-plan","name":"@codella/pi-prompt-plan","dist-tags":{"latest":"0.2.2"},"versions":{"0.2.2":{"name":"@codella/pi-prompt-plan","version":"0.2.2","description":"Prompt-template plan command for Pi.","type":"module","license":"MIT","keywords":["pi-package","pi","pi-coding-agent","prompt","prompt-template","plan"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/codella/pi-packages.git","directory":"packages/pi-prompt-plan"},"bugs":{"url":"https://github.com/codella/pi-packages/issues"},"homepage":"https://github.com/codella/pi-packages/tree/main/packages/pi-prompt-plan","pi":{"prompts":["./prompts"]},"gitHead":"7a1d55d22352f26104187f81f938f5706b8ec3f4","_id":"@codella/pi-prompt-plan@0.2.2","_nodeVersion":"26.1.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-+WvI5l2aLoRt1kkWMAzUs/r7KDZP7nSmlydJW6nS4O62R4jl88lWxHcQL4FbKBjOxzwKjmsYAPNyhPYbUHeTGw==","shasum":"1b118ef14808f2866a0b876c9cbf43907f998fa4","tarball":"https://registry.npmjs.org/@codella/pi-prompt-plan/-/pi-prompt-plan-0.2.2.tgz","fileCount":4,"unpackedSize":4236,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC/48xMuMbh8rpoQXhzldP86Vks5riA9fUWINVTbYmgVgIhANPhW4Cj6iRuVeh71le+90tw7sxmKmWWPxV8jv5qG3Mk"}]},"_npmUser":{"name":"codella","email":"mauro.codella@pm.me"},"directories":{},"maintainers":[{"name":"codella","email":"mauro.codella@pm.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pi-prompt-plan_0.2.2_1779828275654_0.6346311686342172"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-26T20:44:35.530Z","0.2.2":"2026-05-26T20:44:35.805Z","modified":"2026-05-26T20:44:35.976Z"},"maintainers":[{"name":"codella","email":"mauro.codella@pm.me"}],"description":"Prompt-template plan command for Pi.","homepage":"https://github.com/codella/pi-packages/tree/main/packages/pi-prompt-plan","keywords":["pi-package","pi","pi-coding-agent","prompt","prompt-template","plan"],"repository":{"type":"git","url":"git+https://github.com/codella/pi-packages.git","directory":"packages/pi-prompt-plan"},"bugs":{"url":"https://github.com/codella/pi-packages/issues"},"license":"MIT","readme":"# @codella/pi-prompt-plan\n\nPlan prompt template for [Pi](https://pi.dev).\n\nThis package adds a `/plan` prompt command. It does not gate tools or modify Pi runtime behavior; it expands to a planning prompt that asks the agent to inspect first, propose a numbered plan, and wait for approval before editing.\n\n## Install\n\n```bash\npi install npm:@codella/pi-prompt-plan\n```\n\n## Command\n\n```text\n/plan [task]\n```\n\nExample:\n\n```text\n/plan refactor auth handling and update tests\n```\n\nThe expanded prompt tells the agent to:\n\n1. Summarize the goal.\n2. Inspect relevant files and project guidance.\n3. Propose a short numbered plan.\n4. List expected files to edit and validation commands to run.\n5. End with exactly one final non-heading approval line: `👉 **Proceed?**`.\n\nBefore approval, the agent should do absolutely nothing with side effects: only read-only inspection is allowed. It must not edit files, run mutating commands, install dependencies, commit, push, write files, update state, or otherwise change the system until approval.\n\nAfter approval, the agent should execute only the approved plan, ask before expanding scope, run validation, and summarize what changed.\n\n## Why prompt-only?\n\nA prompt template keeps plan workflows lightweight and explicit. Use it when you want planning discipline without an extension that blocks tools or manages approval state.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-ded7fc77b116848b7a202c491e7fca6d"}