| name | refine |
| description | Use when the workflow works but needs polish, or as the final step in a diagnose → fix → refine cycle before shipping. |
| argument-hint | [target area] |
| category | fix |
| version | 2.0.0 |
| user-invocable | true |
MANDATORY PREPARATION
Invoke /agent-workflow — it contains workflow principles, anti-patterns, and the Context Gathering Protocol. Follow the protocol before proceeding — if no workflow context exists yet, you MUST run /teach-maestro first.
This is the final quality pass. The workflow works — now make it excellent.
Refinement Checklist
Prompts
Tool Descriptions
Error Messages
Logging
Configuration
Output
For each checklist item that fails, provide:
- What's wrong (specific finding)
- Where it is (file, line, or component)
- How to fix it (concrete suggestion)
- Priority (critical / important / nice-to-have)
Priority Matrix
| Priority | Criteria | Maestro Action |
|---|
| Critical | Affects correctness or safety | /fortify or /guard before shipping |
| Important | Affects quality or maintainability | /calibrate in current cycle |
| Nice-to-have | Cosmetic or minor inconsistency | Note for next /refine pass |
Recommended Next Step
After refinement is complete, run /evaluate to verify the polished workflow against realistic scenarios.
NEVER:
- Skip the checklist — go through every item
- Mark items as passing without checking
- Suggest changes that alter behavior (this is polish, not redesign)
- Refine before the workflow is functionally correct (fix first, refine last)