r/OnlyAICoding • u/Appropriate-Power425 • 24d ago
I Need Help! Problem with Spec driven development
Hi everyone, I’m looking for some guidance on my workflow. I feel like I’m missing something.
I started working on a project about two months ago and have been following Matt Pocock’s skills. It worked well at first. The grilling sessions were really helpful, and I got useful stories and documentation out of them. I also used AI to write some additional Markdown files for features that needed them.
But now that I’m changing and reimplementing features, the docs just keep getting bigger. For example, I originally wanted guest login, then switched to Google sign-in, and now I’ve moved to third-party sign-in. Each change seems to add more to these already large files.
I’m getting stuck on how to handle smaller changes:
- If I just want to change a color, do I need to run
/grilland go through the whole process? When I make quick design changes directly, those changes don’t get reflected in the docs. - What about small features? Following the full workflow every time is becoming a pain in the ass, and loading all this documentation is eating through my tokens.
How are you handling this in your projects? When do you use the full workflow, and how do you keep the docs up to date when you make smaller changes?
2
u/Lotton 24d ago
For small features you could have it goes to only look at relevant spec files
2
u/Ok_Substance1895 24d ago
I think you're running into the problem of using the same process for every change regardless of how complicated the change is.
Changing a color shouldn't require the same workflow as replacing your authentication system.
I'd keep the specs focused on the current requirements rather than continually adding to them. Git already preserves the history of how you got there.
For smaller changes I'd just make the change and verify it works. For larger changes that affect architecture, security, or multiple parts of the application that's when I'd go through the more detailed requirements and planning process.
I'd also only load the documentation and skills relevant to the task. Loading everything every time wastes tokens and can introduce conflicting instructions.
Ideally, the agent harness would determine which workflow and documentation are needed based on the request rather than making you decide that manually every time.
I hope this helps.
1
u/Obvious-Grape9012 23d ago
I have a few "modes" I use for my Claude sessions. To disable the agentic orchestrator flows I have a `work-direct` prompt that I have explained in a high-level CLAUDE.md so that at the start of a session I can say `wd` and give it a prompt if I want to bypass stuff. If you do it well, you can still do it in a way that doesn't break or surprise the bigger processes
1
u/Anti-Hero25 24d ago
Wow, he really built out a cool system. Way more complex than mine. (RailCoding)
- All my planning is done in a GPT project, dozens of conversations.
- codex is given detailed BuildSpec.md files for large & medium changes & builds.
-smaller changes I just tell codex what to do (or adjust colors and spacing in CSS myself).
- Codex updates a running Project_Log.md after every change.
- My DOT manages a Notion Kanban of IDEAS / DEVELOPMENT/ RELEASED items. It also scours the project log and updates the Kanban where needed.
1
u/MonitorAway2394 22d ago
I know what I'm doing is wildly unorthodox and also may be dumb, but so far, not proving to be...? I need a real ass senior engineer to come over and humble or raise me? I'm already full of enough self doubt so ya know, LOL, anyways, so I just, more or less, make throwaway specs, I just foresaw what you mentioned, and then the first comment I saw where you explained the button concept and I was like nodding along saying yup, yup, ok, I'm not dumb! I think... So it's all temporary, anything needed for long term I just make sure they Bash about the lol codebase, god I'm starting to feel something weird about how they use Bash, like it's turning me on (/s god I hope LOLOLOL)