In Chapter 2: Orchestrators (Commands), we introduced the Orchestrator—the Project Manager who coordinates the workflow.
But a Project Manager doesn't pour concrete or wire electricity. If you ask a single generic AI to "Plan, Code, and Test" a complex feature all in one breath, it gets overwhelmed. It forgets details, writes buggy code, or skips testing entirely.
This is where Specialized Agents come in.
Imagine hiring one person to build a house. You expect them to be an expert Architect, a Master Carpenter, a Licensed Electrician, and a Safety Inspector all at once.
In AI terms, when you use a generic chat interface, you are asking for this "Jack-of-all-trades." The result is usually mediocre code and zero documentation.
Get-Shit-Done (GSD) solves this by splitting the AI into distinct personalities. Each agent has:
We treat the AI not as a chatbot, but as a Crew.
Here are the four core specialists you will encounter in GSD:
gsd-project-researcher)gsd-planner)PLAN.md).gsd-executor)gsd-verifier)You rarely talk to these agents directly. The Orchestrator (from Chapter 2) manages them for you.
Here is the workflow for a typical task, like "Add a Login Screen":
PLAN.md) using that library.PLAN.md and writes the code files.How do we create these personalities? We use System Prompts.
In GSD, agents are defined in Markdown files with a specific header. Let's look at the Planner's definition (simplified).
---
name: gsd-planner
description: Creates executable phase plans.
tools: Read, Write, Bash
color: green
---
Explanation: This header tells the system "This is the Planner." It is allowed to Read files and Write plans, but it generally isn't given the tools to modify your main codebase directly—that's the Executor's job.
Let's look "under the hood." When an Orchestrator spawns an agent, it creates a new chat session with a massive System Prompt. This prompt acts as the agent's "training."
Here is how the system switches hats during a workflow:
The magic is in the prompt text. Here is a simplified snippet of what makes the Planner behave like an architect.
<role>
You are a GSD planner.
Your job: Produce PLAN.md files that Executors can implement.
Plans are prompts, not documents.
</role>
<task_breakdown>
Every task must have:
1. <files>: Exact paths to create.
2. <action>: Specific implementation instructions.
3. <verify>: How to prove it works.
</task_breakdown>
Explanation:
<role>: Tells the AI it is NOT a chatbot. It is a Planner.<task_breakdown>: Forces the AI to be specific. It can't just say "Make it work." It has to define the file path and verification step.Now look at the Executor. Its instructions are totally different. It focuses on Git commits and strict adherence to the plan.
<role>
You are a GSD plan executor.
Your job: Execute the PLAN.md completely.
Do NOT deviate from the plan unless necessary for syntax errors.
</role>
<commit_protocol>
After each task:
1. Check modified files.
2. Create an atomic git commit.
3. Update the progress log.
</commit_protocol>
Explanation:
<role>: Tells the AI "Don't get creative." Just follow the instructions.<commit_protocol>: Ensures that every single task is saved to Git history immediately. If the AI crashes later, you don't lose your work.Finally, the Verifier. Its job is to be skeptical.
<role>
You are a GSD phase verifier.
Your job: Goal-backward verification.
Start from the GOAL. Verify it exists in the code.
</role>
<core_principle>
Task completion ≠ Goal achievement.
Just because a file was created doesn't mean it works.
Check imports, check logic, check wiring.
</core_principle>
Explanation:
If you try to make one AI prompt do everything, you will fail on complex projects. The Context Window (short-term memory) fills up, and the AI gets confused.
By using Specialized Agents:
It separates concerns, just like a professional software team.
In this chapter, we learned:
Now that we have our team, the first step in any project isn't coding—it's understanding the landscape. Let's look at the first agent in the chain.
Next Chapter: Research & Discovery
Generated by Code IQ