GStack + GSD + Superpowers Workflow Is Insane! — Transcript

Explore how to combine Superpower, GStack, and GSD frameworks into a powerful spec-driven AI development workflow with autonomous iteration using Ralph Loop.

Key Takeaways

  • Combining Superpower, GStack, and GSD leverages their unique strengths to improve spec-driven AI development.
  • Breaking down specs into phases using GSD helps avoid context rot and maintains high accuracy.
  • Ralph Loop enables autonomous iteration and orchestration of the build process.
  • This workflow is ideal for large greenfield projects requiring high accuracy and detailed planning.
  • Test-driven development with Superpower ensures quality implementation in each phase.

Summary

  • The video explains spec-driven development and how it helps AI plan before implementation.
  • It reviews popular spec-driven frameworks: Superpower, GStack, and GSD.
  • Each framework has unique strengths: Superpower focuses on test-driven development, GStack on role-based brainstorming, and GSD on avoiding context rot.
  • The presenter demonstrates how to combine these frameworks into a single workflow for building highly accurate applications.
  • The workflow uses GStack for brainstorming and clarifying intent, GSD to break specs into manageable phases to avoid context rot, and Superpower for test-driven execution.
  • The Ralph Loop approach is introduced to automate the iterative build process autonomously.
  • Claude headless is used to run multiple iterations and orchestrate calls to the frameworks and MCP servers.
  • This combined approach is recommended for greenfield projects due to its complexity and accuracy benefits.
  • The video also promotes a community offering AI agent mastery, templates, workflows, and live calls.
  • The workflow aims to maximize accuracy and efficiency by leveraging the best features of each framework.

Full Transcript — Download SRT & Markdown

00:00
Speaker A
Spec driven development here helps AI here to plan things before doing implementation.
00:03
Speaker A
And on this channel, we have reviewed tons of spec driven frameworks.
00:07
Speaker A
So, that's why in this video, we're going to take a look at the most popular spec driven frameworks that we have like Superpower, GStack, GSD, and we're going to take a look at how we can piece them all together into a single workflow that we're going to use to building applications with the highest accuracy.
00:20
Speaker A
And most importantly, we're going to take this one step further, we're going to introducing the Ralph Loop here to see how we can be able to build this applications completely autonomous, or we're going to have Claude here to using Claude headless, where we can spin up different iterations, and each iteration here can be able to call like Superpower, GStack, GSD, and all the skills, all the MCP servers that we have, and try to having it orchestrator here to loop through until we have the project is fully built.
00:46
Speaker A
So, we can do this completely autonomous using the Ralph Loop approach, and also achieve the highest accuracy extract by extracting all the best skills from each frameworks and piece it all together into our own workflows.
00:56
Speaker A
So, pretty much that's what we're going to cover in this video.
00:58
Speaker A
And if you're interested, let's get into the video.
01:00
Speaker A
Now, before we continue, I recently launched our school community.
01:02
Speaker A
Where I help you to master AI agents, automations, and so much more.
01:06
Speaker A
And that's all coming from someone who used to work as a senior AI software engineer.
01:11
Speaker A
At companies like Amazon and Microsoft.
01:14
Speaker A
And in this community, you're going to get over 100 plus video materials like templates and workflows that I personally built and sold over 100 plus times.
01:21
Speaker A
On top of that, you also going to get access to our weekly live calls.
01:24
Speaker A
And just to give you an idea, this week, we're actually running a Claude Code masterclass, where we're going to dive into how to improve Claude Code's accuracy.
01:32
Speaker A
We're going to use it to build the applications.
01:35
Speaker A
Plus, you're also going to get full community supports, where you're going to get a chance to ask questions and get direct answers back.
01:40
Speaker A
So, if you're ready to level up, make sure you drop right in.
01:43
Speaker A
And I'll see you in the community.
01:46
Speaker A
All right, so in order to understand how we can be able to piece all those workflows together, let's understand what spec driven development does, right?
01:50
Speaker A
So, for spec driven development here, it basically help you to or help AI here to plan things before doing executions, and we all know that.
01:55
Speaker A
But essentially, this is the workflow that most spec driven here follows, it doesn't matter if it's spec kit, the B map method, or, you know, any other XYZ framework.
02:02
Speaker A
It always goes with something like brainstorming, right, helping you to clarify what you're trying to build.
02:06
Speaker A
Then it's go down to like planning, right, how exactly we're going to execute this?
02:10
Speaker A
Maybe a task list, or maybe breaking this task into different phases.
02:14
Speaker A
And each phase has its own task list.
02:16
Speaker A
And then eventually it's get down to executions, and eventually here has review, has verifications.
02:23
Speaker A
Maybe having using Playwright here to spin up another browser agent here to verify everything, right?
02:27
Speaker A
So, you can see that this is the entire spec driven workflows that pretty much most frameworks here follows.
02:33
Speaker A
And essentially, how each framework here different is that for Superpower here, like you can see for each one.
02:37
Speaker A
What's special about each one is that for Superpower, it's really good at focusing on test driven developments.
02:40
Speaker A
Which is something that other workflow doesn't have.
02:42
Speaker A
It focusing on writing test first before it do the implementation.
02:45
Speaker A
And then for GStack, it's a little different.
02:48
Speaker A
It also follow that framework.
02:50
Speaker A
But the selling point here for GStack is that it focusing on role-based, which has like different CEO, designers, engineer managers, or maybe security manager here.
02:56
Speaker A
Try to iterate with different personalities here, try to help you to decide a best decision for your product.
03:02
Speaker A
Right, maybe you're still in the planning phase, or maybe brainstorming phase, it's going to help you to dive deep and try to help you to identify that, right?
03:07
Speaker A
And furthermore, we also have GSD.
03:09
Speaker A
Which will help us to avoid context rot.
03:11
Speaker A
And just to give you a quick TLDR what the context rot means.
03:15
Speaker A
If you ever interact with large language model, usually it will start to become pretty accurate at before 50% of the context window.
03:20
Speaker A
Right, maybe after you surpass like 50% of the context, it will start to become lower for the accuracy, right?
03:24
Speaker A
That's exactly what context rot means, is that the more you talk to the AI in the same context, the lower the accuracy it start to become.
03:31
Speaker A
And that's exactly what GSD is trying to solve, is that to make sure that each time when you interact with Claude Code or any other coding agents.
03:37
Speaker A
It's going to make sure that you stay under 50% for the context window.
03:40
Speaker A
And that's exactly what GSD does.
03:42
Speaker A
And you can see that with all the special power listed from each frameworks, we can now be able to take the best out of each frameworks and try to piece it all together into our own spec driven framework that will help you to build applications here much more accurate, right?
03:50
Speaker A
So, that's exactly how I would do it to take the best out of all three.
03:54
Speaker A
And try to place it into the right workflow, right?
03:57
Speaker A
So, you can see that this is the exact workflow that I use, I use GStack here to do better brainstorming for clarify my intent on exactly what I'm trying to build.
04:03
Speaker A
Because that's what GStack is really good for.
04:05
Speaker A
And I'll basically put this for the spec planning phase.
04:08
Speaker A
And then once we have our spec down, once we're using GStack here to clarify our intent, create our spec, then we're using GStack, sorry, GSD here.
04:14
Speaker A
To basically taking that spec and break it down into different phases.
04:18
Speaker A
And the reason why we do this is like I said, the context rot issue, right?
04:20
Speaker A
We don't want to put the entire spec into Claude Code and have it to execute everything.
04:24
Speaker A
We want to break it down into different phases.
04:27
Speaker A
And each phase will guarantee Claude here is going to stay under 50%.
04:30
Speaker A
And that's it.
04:31
Speaker A
And this will give us the highest accuracy when we delegate each phase to the Claude headless or Claude session to do the executions, right?
04:38
Speaker A
And eventually here you can see after we break it down different phases, we're going to using Superpower here to follow test driven developments here.
04:42
Speaker A
To doing the execution for each phase.
04:44
Speaker A
And that's exactly how I would do it if we were to, you know, want to have achieved the highest accuracy.
04:49
Speaker A
When building applications using this approach, right?
04:52
Speaker A
And that's exactly how I would do it.
04:54
Speaker A
Now, maybe for some of you guys, this will be like a really overkill, because this is huge, right?
04:58
Speaker A
You're, let's say if you're going to, you know, building something from scratch, it's a large applications.
05:03
Speaker A
I would definitely highly recommend you go with this approach.
05:07
Speaker A
Especially for a greenfield project, not a brownfield project.
05:10
Speaker A
If it is a brownfield project, I would highly recommend you to go with this approach.
05:15
Speaker A
And you can see here that because this is going to break it down different phases.
05:20
Speaker A
And let's say if there's like eight or seven phases, then you have to pass the prompts continuously.
05:26
Speaker A
Starting a new sessions to do it all over again, right?
05:30
Speaker A
That's going to be really time-taking.
05:31
Speaker A
And that's why I built a skill called build loop using the power of Ralph Loop here to basically do this autonomously.
05:37
Speaker A
Which means that if I were to, you know, breaking all the phases, like breaking the spec in different phases.
05:43
Speaker A
And each phase has its own prompt.
05:46
Speaker A
And we can be able to use that and store all those prompts into a single state or single file.
05:50
Speaker A
So, for example, we have our build loop here, which will basically triggered, and it's going to look look through our states on exactly what are the phases that have completed.
05:56
Speaker A
Then it's going to complete the one that's not completed, and basically by delegating that phase into a headless session.
06:01
Speaker A
So, basically, the way how it works here is that we if we were to do Claude hyphen P.
06:05
Speaker A
It's going to do this in a Claude headless way.
06:07
Speaker A
Which, for example, if I were to interact with Claude Code, I usually do something like this, right?
06:12
Speaker A
This will start a Claude session.
06:14
Speaker A
And I can be able to start interacting with this approach, right?
06:18
Speaker A
Interacting with Claude with this approach.
06:20
Speaker A
But if I don't want to do this, I want to have like Claude here to run in a terminal, for example.
06:25
Speaker A
I can do the Claude hyphen P.
06:27
Speaker A
So, if I were to do the hyphen P.
06:30
Speaker A
And I give the exact prompt.
06:32
Speaker A
I can still use, for example, if I were to do like one plus one, what is one plus one?
06:37
Speaker A
It will basically run in the background.
06:40
Speaker A
And it will basically try to execute that prompt, and that's it.
06:44
Speaker A
And the good thing about this is that I can still run the main Claude session as this is like the orchestrator.
06:50
Speaker A
And the orchestrator here can still running this command, right, inside of the orchestration.
06:57
Speaker A
To basically have it to be like this is going to be the running the phase one.
07:00
Speaker A
So, if I were to do like Claude hyphen P and just the prompt say like, hey, execute the phase one, it's going to do that.
07:05
Speaker A
After it's done, it's going to, you know, respond it just like how we responded for the answer for one plus one.
07:09
Speaker A
It's going to give us the answer here, once it will give us the answer here, it's going to do the next command, which is the Claude hyphen P for phase two.
07:15
Speaker A
It's going to do this for iteration after iterations.
07:18
Speaker A
Until everything's are all complete.
07:20
Speaker A
And like I said, the benefits of doing this is that we can have our orchestrator here to basically doing the phase by phase, right, for example, the orchestrator here is going to delegate the task to a background job, try to process phase one, and it's not going to take any context in the main orchestrator.
07:30
Speaker A
The only thing that it takes is the headless session.
07:33
Speaker A
It's going to run in the background, after it has completed the job in the background, it's going to exit, it's going to give you the outputs for the results for the summary.
07:40
Speaker A
And then it's going to split it back into phase two and try to pass it to a new Claude session here in this case in the background session and try to execute, right?
07:45
Speaker A
So, you can see that this way approach is going to give us the most highest accuracy because the Claude orchestrator here doesn't take any context for the exact work.
07:53
Speaker A
The only thing that it does is to delegate it into sub background job here to do so.
07:58
Speaker A
And for each background job here, or each background Claude session here.
08:02
Speaker A
It's basically going to, you know, using like Superpower or GStack, try to execute those one by one.
08:06
Speaker A
And if you want to take a step deeper on exactly, hey, how is each background session is going to work?
08:10
Speaker A
You can see that we have our Superpower here, right?
08:12
Speaker A
So, basically, we're using Superpower here for executions, and usually what it does here is that it may go through like planning, dispatching agents.
08:18
Speaker A
Following test driven development here and eventually going to do review and verifications, right?
08:21
Speaker A
And you can see that for Superpower here, if there's any times where there's like decision being made, what we can do here is that usually it will basically try to trigger back the orchestrator and try to ask those questions.
08:27
Speaker A
And what we can do is we can be able to actually delegate this task, right, for let's say if there's any design questions, we can we can delegate this to GStack.
08:34
Speaker A
And have GStack here to trigger like different personality here to answer the questions.
08:39
Speaker A
For example, if it delegate design patterns, we can trigger the GStack here to basically pass this questions to like different roles.
08:43
Speaker A
Like CEO, engineer manager, or designers.
08:46
Speaker A
And try to have them to vote on exactly what option they want.
08:49
Speaker A
And at the end of it, it's just going to take the most popular votes.
08:52
Speaker A
And coming back to the main flow and try to continue on going forward, right?
08:56
Speaker A
So, this way, you can see that we're not going to have any manual involvement.
09:00
Speaker A
We're just going to have each Claude headless session here to basically try to do the executions.
09:05
Speaker A
And have it to make its own decisions along the way.
09:08
Speaker A
And that's basically how it works.
09:10
Speaker A
So, you can see that for a deeper level, at the bottom level here, GStack is there for making decision if there's any questions.
09:16
Speaker A
Superpower here is the backbone for the execution.
09:20
Speaker A
And then for the upper level here, you can see we have our orchestrator here that delegate the task to each headless session, right?
09:26
Speaker A
And each headless session here has its own fresh context window.
09:29
Speaker A
And we're using Ralph Loop here to basically do this iteration after iterations.
09:32
Speaker A
And the way how we have these phases here is we use GSD to breaking them into different phases.
09:39
Speaker A
And each phase has its own prompt.
09:42
Speaker A
It has its own workflow here to basically do the executions.
09:45
Speaker A
And eventually here you can see, we're also using GStack here to basically create the spec.
09:50
Speaker A
And that's where the these phases here are coming from, which is from the spec, right?
09:54
Speaker A
That we have using the GStack here to clarify our intent.
09:57
Speaker A
And breaking our requirement here into different phases.
09:59
Speaker A
So, that's exactly how this works using the most popular spec driven frameworks.
10:03
Speaker A
Taking the best out of all three, and try to piece it all together into our own workflow inside of our app developments with the highest accuracy.
10:10
Speaker A
And also try to make this completely autonomous so that it can be able to build it by itself overnight.
10:16
Speaker A
And using the power of Ralph Loop to do this completely autonomous.
10:19
Speaker A
And finally, just to show you a live demo, here you can see that we have the entire build queue is all completed.
10:23
Speaker A
So, I basically spent up a Claude session in this terminal and have it to run build loop overnight.
10:30
Speaker A
And you can see that we have one session, which is, you know, the current session that we're in, which is the orchestrator.
10:36
Speaker A
And it has complete over 100 sessions in the background.
10:40
Speaker A
So, spin up Claude headless and try to complete phase by phase over in the background and try to get everything completed.
10:45
Speaker A
And you can see that the overall project here is 16 phases out of 16 is all completed.
10:49
Speaker A
And you can see we have the entire build queue here is all empty.
10:53
Speaker A
The entire spec is now codified.
10:55
Speaker A
And if we were to scroll all the way down.
10:57
Speaker A
I asked a simple question, you can see.
11:00
Speaker A
But if we scroll all the way down for the context, so for the context window, we only have spent 10% of it.
11:05
Speaker A
And that's why we delegate all the tasks into different headless sessions to basically complete the job for us.
11:10
Speaker A
And we're keeping all the things that we have in the current session here clean and simple.
11:13
Speaker A
And that's exactly how it work.
11:15
Speaker A
We take the specials from all the frameworks that we have like test driven developments, different roles for making better decisions, avoiding context rot here from GSD.
11:23
Speaker A
And eventually, piece them all all together into a single workflow that we can follow to have a highest accuracy for building applications following spec driven developments.
11:30
Speaker A
And eventually, we can be able to make this completely autonomous so that they can be able to build it by itself overnight.
11:37
Speaker A
And using the power of Ralph Loop to do this completely autonomous.
Topics:spec driven developmentSuperpower frameworkGStackGSDRalph LoopClaude headlessAI development workflowtest driven developmentcontext rotautonomous AI build

Frequently Asked Questions

What is the main advantage of combining Superpower, GStack, and GSD?

Combining these frameworks allows developers to leverage their unique strengths—test-driven development, role-based brainstorming, and context rot avoidance—resulting in a more accurate and efficient spec-driven AI development workflow.

How does GSD help improve AI development accuracy?

GSD helps avoid context rot by breaking down the spec into smaller phases, ensuring that each interaction stays under 50% of the AI's context window, which maintains higher accuracy throughout the development process.

What role does the Ralph Loop play in this workflow?

The Ralph Loop automates the iterative build process by orchestrating multiple phases and iterations autonomously, managing state and ensuring that all phases are completed efficiently without manual intervention.

Get More with the Söz AI App

Transcribe recordings, audio files, and YouTube videos — with AI summaries, speaker detection, and unlimited transcriptions.

Or transcribe another YouTube video here →