r/PiCodingAgent • • 2d ago

Plugin pi-spec-mode 1.0.0 release : write, agree on, verify and implement specs in pi

Last week I released pi-spec-mode, a pi extension to write, manage and maintain specifications. Since then I've used it a lot on my own projects. That turned up plenty of things to fix and improve.

Today I'm releasing 1.0.0

What's new

  • Obsolete specs: /spec obsolete <spec> [replacement] retires an implemented spec that no longer holds and links it to the spec that replaces it. Verify and the agent skip it from then on. /spec purge deletes obsolete specs, and their numbers are never reused.
  • Project-aware template: /spec template now looks at your project (stack, domain) and rewrites the spec template to fit it, instead of copying a generic one. You can then modify it at will. You can still choose to copy the generic template and create your own manually.
  • Better verify flow: after /spec verify, any agreed spec that had to change is offered back for agreement, one question per spec. You no longer edit the Status line by hand.
  • /spec agree <spec> agrees any existing draft, including an implemented spec you extended.
  • Interactive settings: /spec settings opens a menu, and you choose whether to save to the project or global file.
  • Optional session renaming: Pi sessions is automatically renamed "spec xxxx creation" or "spec xxxx planning"
  • Stricter guardrails: the agent can no longer mark a spec Implemented on its own. Symlinked spec files are ignored, and a few edge-case bugs are fixed.
  • Many other fixes

Install

pi install npm:pi-spec-mode

Repo and full changelog: https://github.com/psychobarge/pi-spec-mode

Feedback and bug reports welcome. Tell me how you use it!

3 Upvotes

0 comments sorted by