| name | dialog-engineering |
| description | CSAR Loop and structured conversation patterns for effective AI dialog -- Clarify, Summarize, Act, Reflect |
| tier | core |
| applyTo | **/*dialog*,**/*conversation*,**/*csar*,**/*prompt* |
Dialog Engineering
Single prompts fail at complex problems. Structured dialog succeeds.
The CSAR Loop
Every effective AI conversation follows four phases in a loop:
| Phase | Purpose | Signal |
|---|
| Clarify | Provide context, constraints, scope, and domain specifics | "I'm building X with Y for Z" |
| Summarize | State the goal in one sentence so both sides align | "Show me the service layer for..." |
| Act | AI generates output: code, docs, analysis, plan | Output is produced |
| Reflect | Evaluate, iterate, go deeper, or pivot | "Go deeper on...", "What did I miss?" |
Clarify ──→ Summarize ──→ Act ──→ Reflect
↑ │
└──────────────────────────────────┘
The loop is not one-shot. Complex tasks cycle 3-5 times. Each cycle narrows the solution space.