Reading these comments suggests that specs are being misunderstood or implemented incorrectly. A spec isn't documentation, it's a statement of intent - "this is what we're planning to do". It shouldn't be a simple plan of what files are going to change and how, it should sit one level of abstraction higher: what decisions have been made about the approach and why, what risks can we see and how will we mitigate them, etc. These are things that aren't expressed by code, unless in comments, which are unstructured and hard to track down. With the right harness a spec keeps the agent on track during development, ensuring it's holding to what the engineer agreed. The spec should be updated with any deviations during or after implementation, and it becomes the source of truth for why something was done the way it was.
In large-scale systems it's a God-send to have that information catalogued over time. Also, AI is able to quickly and easily read past specs to stay consistent with architecture or root-cause bugs.
Specs are not a new thing, but they were an absolute drag to try to maintain pre-AI, and they would inevitably get out of sync with the implementation. LLMs can maintain them way better than us, so we get a lot of the hard work practically for free.
Did you read those Claudish specs? I can't understand the output of those large walls of texts.
Well-written PRs were also documenting code changes. In my opinion:
- spec is statement of intents - PR description is audit log of what was possible to do - code and tests (mostly) are truth
You have to be familiar with all 3 to be able to quickly debug. People who do spec driven development and don't even look at the code or the PRs are going to be worthless when it's 2am and app goes down.
View all comments
Show parent comment
5
u/joonty Sep 17 '26
Reading these comments suggests that specs are being misunderstood or implemented incorrectly. A spec isn't documentation, it's a statement of intent - "this is what we're planning to do". It shouldn't be a simple plan of what files are going to change and how, it should sit one level of abstraction higher: what decisions have been made about the approach and why, what risks can we see and how will we mitigate them, etc. These are things that aren't expressed by code, unless in comments, which are unstructured and hard to track down. With the right harness a spec keeps the agent on track during development, ensuring it's holding to what the engineer agreed. The spec should be updated with any deviations during or after implementation, and it becomes the source of truth for why something was done the way it was.
In large-scale systems it's a God-send to have that information catalogued over time. Also, AI is able to quickly and easily read past specs to stay consistent with architecture or root-cause bugs.
Specs are not a new thing, but they were an absolute drag to try to maintain pre-AI, and they would inevitably get out of sync with the implementation. LLMs can maintain them way better than us, so we get a lot of the hard work practically for free.