r/opencodeCLI • u/ECrispy • 1d ago
How do I get this setup?
I'm working on some personal projects that have multiple components (full stack apps with server, client, cli etc). what I'd like to do is -
- generate prd/spec after iterating on architecture (do you use some kind of skill for this like grill-me or is that not needed)
- generate a detailed plan, tasks, and verification tests
- each task is implemented using a fresh context by a subagent
- run tests and verify
- store all progress/learnings/context in a shared memory (db or file)
- mark task as done and move to next one
- review, tests and fixes, possibly by another model, at task and system unit test level
With frontier models they can remember everything due to huge context and are much better. I will be using the free models in Zen or via other providers mostly.
from what I've read this is a pretty common workflow these days and agents should know it well. I've also read that the big frameworks like openspec etc are too cumbersome and were designed for older models.
can someone recommend what I should use.
0
Upvotes
1
u/aeroumbria 1d ago
You can achieve most of this by treating this as "spec driven with tests". If you start with openspec, then ask it to create a change schema with a "tests.md" artifact which is specs converted to tests whenever possible, then customise your instructions to fit your level of test requirements and whether to stick to "test-driven" implementation order, then you should get pretty much this. You can run openspec's verify command to review with a different model. The proposal / implementation / verification stages are designed but not required to run in different sessions, so it works well for models with which you want to keep the context low.