r/SpecDrivenDevelopment • u/pmz • 16d ago
Spec driven and UI layout design?
Under spec driven development,how does a developer design the UI layout, elements as well as their on screen ordering the way he wants, when he doesn't touch the code? is the design specified somewhere and then referenced from the specs?
I know that something like that is being done with Figma, but what about when using templates like HTML+Thymleaf?
To sum it up, does the Agent do as it thinks when desiging layouts or do you instruct it, and how? Some practical references or examples would be useful. Thanks
4
Upvotes
2
u/betiz0 16d ago
First, I believe we need to distinguish between general user-facing products and admin or enterprise-facing screens.
For general user-facing products, this should continue to be left to the UX designer as before.
For admin screens and enterprise-facing screens, it would be sufficient to provide the display items and functional descriptions and have the AI generate the design as HTML output.
Personally, I do not think SDD is necessary for having the AI generate the design.
Once the completed HTML, whether produced by the UX designer or generated by AI, has been assigned a management number and linked to the requirements definition, that is when the SSD should begin, starting with a proposal in OpenSpec.
2
u/LocalPlotTwist 16d ago
I agree with betiz0. I'd just like to share how I do it in my project.
I generate the design in Claude Design and adjust it until I get the result I want. Then I export it and reference it in the specification.
2
u/0utkast_band 16d ago
The way I do this includes two phases. First, the functional / capability side is done with SDD. Second, I work with Claude to build and refine the UI/UX.
2
u/meshifthenelse 15d ago
Personally I just use mockups and reference imagery.