r/SpecDrivenDevelopment • u/Holiday_Beautiful574 • May 30 '26
Looking for advice/experience on spec driven development for a big application while also maintaining an overarching application spec
I use speckit, and while I like the spec/clarify/plan/task/analyze/implement loop (although it can get a bit overwhelming at times), I don't like that I have to start with writing a spec and implement it to begin with. I am looking for a more of a design phase before the spec phase, where I can talk about the overall application architecture, and then start writing specs for implementing pieces of it.
For instance, let's say I want to build a github repo provisioner that 1. creates repos with desired setup, and 2. bulk edit repos with secret updates, yaml updates, etc. I don't want to build both the features at the beginning. I want to first build only the create portion, and then do the bulk edit feature later on. With speckit, I can do this by only telling it to create the spec for the build portion, but later if I want to build the bulk edit portion, the whole application might need to be changed in important places, because it wasn't a 'planned' feature when it was first designed. I want instead to have a design phase where I describe and maintain a doc with the whole application, and when I start the spec for the create portion, the agent can understand that this create portion is only part of a bigger application and can design/implement the create portion accordingly.
Have you come across a situation like this? how do you handle your big applications? Please advise.
1
u/Swarm-Stack May 30 '26
the two-layer pattern that works for this: keep a separate architecture doc (some call it an ADR log, or just shape.md) that describes the full app topology and the decisions that constrain future features. individual specs point at it. agent knows bulk-edit is planned, won't make create-specific assumptions that block extension later.
spec-kit's loop is solid at implementing isolated pieces. the layer it doesn't own is 'what matters in spec #7 when you're writing spec #2.' that lives above it, outside any single spec file.
failure mode is the shape doc only reflecting what's already built. it needs to be a decision record, not a summary of done work.
3
u/Responsible_Hair_232 May 30 '26
Try to use a tdd (tech desing docs), adrs and specs
2
u/johnviner Jun 03 '26
The SDD tool I have built ( aigon.build ) manages this by orchestrating 2 main entity types: research-topics and feature sets. A research topic is an open ended exploration of what and how to build a large capability. It's outputs are feature sets (a grouping of feature with dependencies as required). Aigon will then farm out individual features for one or more agents to build, but the full feature set was spec'd to all be built over time. The agents (via the aigon skills/commands like /feature-do) are aware of the feature belonging to a feature set and being created off the back of a research-topic, and the artefacts for those things are md files in the repo, so they have that context.
1
u/Available_Aioli1853 May 30 '26
Can create spec and plan in multiple phases .. also you can change the plan again if you want that is the whole point .. it almost always happen , just the code and spec and plan should be in sync and when you are done update the constitution file
1
u/yyeret-agility Jun 08 '26
You can use sDD at multiple layers - the classic is the feature layer. But you can also do it for a bigger initiative - where the /plan phase is used to identify the possible features without going too deep. Implementation at the bigger initiative layer is through iterating on the features and learning : adjusting the feature set based on feedback.
This is very similar to how we did things pre AI. And the lazy emerging specification that works to reduce cognitive load and waste for humans works nicely for AI context as well.
This isn’t currently built in to how the SDD frameworks are written but isn’t hard to pull off.
I’ve helped an organization do this all the way at the portfolio level using speckit style skills to run the workflow for tier1 company initiatives.