๐ Quick Start โ
Goal: Get the protocol running in your project in under 3 minutes.
Does this sound familiar? โ
You opened a chat with your AI assistant to fix a bug. An hour later, it rewrote half your codebase. You're not sure if it's better or worse. You merge it anyway.
That's the problem this protocol solves.

Step 1 โ Install (30 seconds) โ
Run this in your project root. No setup, no config files to create manually:
npx github:wangjiajiajohn/The-Architect-ProtocolYou'll see:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ The Architect's Protocol v2.0
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ .cursor/rules/100-core-instructions.mdc โ
โ .cursor/rules/200-research-gate.mdc โ
โ .cursor/rules/300-planning-gate.mdc โ
โ .cursor/rules/400-execution-iron-lock.mdc โ
โ .cursor/rules/500-verification-gate.mdc โ
โ templates/research_summary_template.md โ
โ PROMPTS.md โ
14 files installed ยท All OK โ
TIP
Manually copy .mdc files? That works too โ copy everything in .cursor/rules/ to your project.
Step 2 โ Your First Task (2 minutes) โ
Open Cursor. Pick any feature you were about to start. Instead of typing your request directly, type:
/r I need to add user login with JWT tokensWatch what happens:
- The AI asks clarifying questions instead of immediately generating code
- It produces a
research_summary.mdโ a scoped analysis of your existing codebase - It identifies risks before writing a single line
When it finishes, you'll see output like:
## Research Summary โ JWT Login
### Existing auth patterns found:
- middleware/auth.js (line 23): session-based, needs replacement
- models/User.js (line 45): no password hash field yet
### Risks flagged:
1. Token expiry not handled in frontend interceptor
2. Refresh token storage: localStorage vs httpOnly cookie (decision needed)
### Recommended approach: [...]
Awaiting your review. Reply `1` to proceed to planning.This is the key moment. You just saw a research-first AI โ not a code-first one.
Step 3 โ The Audit Loop (45 seconds to understand) โ
After you reply 1, type /p to plan, then /e to execute. The pattern is:
/r โ read & confirm โ 1
/p โ review plan โ 1
/e โ review diff โ 1
/v โ verify build โ doneEach 1 is a physical gate. The AI cannot proceed without it.
IMPORTANT
The first time you reply 1 and the AI executes exactly what was planned โ no more, no less โ is when it clicks. Most users describe it as: "I finally feel like I'm in control."
What you now have โ
your-project/
โโโ .cursor/
โ โโโ rules/
โ โโโ 100-core-instructions.mdc โ AI identity & rules
โ โโโ 200-research-gate.mdc โ /r gate (research lock)
โ โโโ 300-planning-gate.mdc โ /p gate (plan lock)
โ โโโ 400-execution-iron-lock.mdc โ /e gate (atomic execution)
โ โโโ 500-verification-gate.mdc โ /v gate (quality check)
โโโ templates/
โ โโโ research_summary_template.md
โ โโโ implementation_plan_template.md
โ โโโ adr_template.md
โโโ PROMPTS.md โ For Claude / ChatGPT / CopilotNot using Cursor? โ
If you use Claude, ChatGPT, or GitHub Copilot, open PROMPTS.md โ it has the complete system prompt for each tool. Paste it as your system instructions and you get the same gate behavior.
[!SUCCESS] That's it. You've transformed your AI from an impulsive code generator into a precision engineering tool. Next: read the Full SOP to understand why each gate exists, or jump into Real-World Cases to see it in action.
