r/PiCodingAgent • • 13d ago

Plugin Sharing pi-spec-mode, an extension for drafting, validating and maintaining specifications

Post image

Ever since plan modes came along and became standard practice, I've used a

"planning agent" → "coding agent" workflow, pretty much, i assume, like everybody.

It has always worked well, and it cut the tokens I spend per feature by a lot. (Thanks @narumitw/pi-plan-mode)

My project has been growing, so recently I split the work up further and started writing specifications using custom skills :

"specification agent" → "planning agent" → "coding agent".

I am quite happy with the results. Code is even more reliable, and my token usage hasn't gone up. If anything, it has gone down.

I turned all of this specification agent part into an extension that bundles my skills and the full workflow.

Here it is if this is something you'd care to try :

- github, https://github.com/psychobarge/pi-spec-mode

- npm, https://www.npmjs.com/package/pi-spec-mod

- Pi package, https://pi.dev/packages/pi-spec-mode

32 Upvotes

6 comments sorted by

4

u/cezar 13d ago

How does it differ from https://openspec.dev/ ?

2

u/psychobarge 13d ago

Well apparently it does not :) but i will read into it to know more. Thk you !

2

u/tontide1 13d ago

cool ! i will try

1

u/psychobarge 13d ago

Thanks ! don't forget to create your spec template

2

u/Impressive_Rip9417 13d ago

It looks like what ThinkRail is doing.

1

u/psychobarge 13d ago

I looked at the spec part of thinkrail and there is some similitude but my extension is focused only on the spec part. I'll check it though, i dit not know of it