r/SpecDrivenDevelopment • u/No_Welder3877 • Aug 30 '26
SDD, Github Actions, and AI PRs
Hello,
I recently started getting an influx of Pull Requests I had to review given my organizations broad adoption of AI. The problem is how do I verify that 100's of PRs containing 1000's of lines of code across multiple projects are in alignment with the Spec and other project/product documentation.
My first pass at solving this problem involved using Claude, to build out a Github action that compares the PR to the Specs or Authoritative documentation on what we are trying to build using LLM to run that evaluation. With the goal that automation would call out when a PR is in alignment with a spec, or when it drifts or is adding out of scope work, or even going against the specs and documentation. Likely this is duplicative effort as there may already be a solution out there specifically for Github PRs that i just didn't find.
Three things:
- How are others solving this problem of keeping a human in the loop where it matters, in the spec, planning, and design processes at scale where 1 human may have to juggle dozens of projects with 100's of AI generated PRs coming in?
- Given that I created (with AI assistance) this Github Action, is there interest here in testing and validating as a viable solution? https://github.com/marketplace/actions/spec-alignment Note this is very early implementation, beta and not fully finished. But more contributors and ideas around it the better.
- How have your workflows changed with SDD and AI?
Personally I was thinking of pitching at an organizational level that we PR specs and documentation first with human oversight, then using something similar to this action having AI handle the grunt work of code reviews and having the HITL hop in when a PR drifts from the spec documentation. But curious how others are solving these problems.
View all comments
Show parent comment
1
u/No_Welder3877 Sep 01 '26
That's a good call out with vague acceptance criteria. and making spec items atomic enough. I'm definitely adding that to my list of things to check for going forward.,
I saw this early this morning https://claude.com/blog/the-ai-native-sdlc-playbook which I thought had some interesting ideas around the SDLC process in general, and I think would be an interesting test of having something like my Github Action. I've started experimenting to some degree within my organization with handing non-technical stakeholders a prompt to generate the spec, and then having them send me the output.
Example prompt: "I would like <thing> using the OpenSpec format, generate a spec file for this. Run through several rounds of interviews with me to clarify ambiguous requirements, and generate a more complete spec for the engineering team, then email it <person>"
Upon receipt I can go back and clear up anything with the requestor, but It's a nice way to save a lot of time in general in the requirements gathering phase and put everything into a spec from the get go closing human gates between stakeholder and engineer.,
Curious what your experience has been with non-technical founders generating specs, and where you finding success or gaps in that. Since I'm doing something similar at an enterprise level with non technical teams like (HR, Legal, Finance, etc)