F.O.R.G.E. - the default operating mode. Foundation, Outline, Rock'n'Roll, Guard, Evolve.
<!-- ═══════════════════════════════════════════════════ --> <!-- USER OVERVIEW --> <!-- ═══════════════════════════════════════════════════ -->🤖 You don't need to do any of this manually. The agent handles setup and usage automatically. If it ever needs you to do something, it will tell you exactly what and when.
F.O.R.G.E. is the step-by-step process your AI agent follows for every task - from understanding what you want, to planning, building, protecting, and learning. Think of it as a master builder's workflow: measure twice, cut once, inspect the result.
Without a structured approach, AI agents jump straight to coding and skip planning, security, and verification. The result? Fragile code, missed requirements, and expensive rewrites. F.O.R.G.E. prevents this by enforcing discipline at every step.
You never need to say "use FORGE" - the agent follows it automatically. Every feature gets planned before it's built, verified as it's built, and secured before it ships.
Understand the project context, tech stack, and existing code before anything else.
Actions:
Do NOT proceed until: You understand what you're building and why.
Create a plan. No code until the user approves it.
Actions:
Do NOT proceed until: The user says "approved," "go ahead," "looks good," or equivalent.
Execute the plan, brick by brick, with verification at each step.
Actions:
Rule: Never batch multiple unverified changes. One brick, test, next brick.
Security, validation, and error handling - automatic, not optional.
Actions (applied to every code change):
security-guardian skill)error-handling skill).gitignore covers sensitive filesRule: Guard is not a separate phase you "get to" - it runs continuously during Rock'n'Roll.
Learn from what happened. Persist knowledge for next session.
Actions:
bd sync to persist contextAll other skills reference this checklist - it is defined here ONCE.
Before marking any task complete:
.gitignore covers all sensitive files| Anti-Pattern | Why It's Bad |
|---|---|
| Skip the Outline | Leads to rework, missed requirements, wasted time |
| Batch 5 changes without testing | One failure cascades, impossible to isolate the bug |
| Ignore Guard phase | Security vulnerabilities, unhandled errors, data leaks |
| Hardcode quick fixes | Technical debt accumulates, code becomes unmaintainable |
| Skip Evolve | Same mistakes repeated across sessions |