calibrate
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. Consult the prompt-engineering reference in the agent-workflow skill for naming and style consistency patterns.
Ensure consistency across all workflow components. Inconsistency creates confusion — for the model, for developers, and for users.
Calibration Dimensions
Naming Conventions
- Tool names follow consistent pattern (verb_noun, noun.verb, or camelCase — pick one)
- Agent names follow consistent pattern
- Configuration keys follow consistent pattern
- File names follow consistent pattern
Prompt Style
- All prompts use the same structural pattern (4-zone)
- Consistent delimiter style (XML tags, markdown headers, triple-dash)
- Consistent output schema format (JSON schema, markdown template)
- Consistent instruction style (imperative, numbered steps)
Error Handling
- All tools return errors in the same format
- Error codes follow consistent scheme
- Error messages follow consistent tone
- Retry logic uses consistent strategy
Logging
- All logs use the same format (JSON structured, text, etc.)
- Consistent field names across all log entries
- Consistent log levels (debug, info, warn, error)
- Consistent PII redaction approach
Calibration Process
- Identify the standard: What's the most common pattern in the existing codebase? That's the standard.
- List deviations: Find all components that deviate from the standard.
- Prioritize: Fix the most impactful deviations first (user-facing > internal).
- Apply: Make the changes, ensuring tests still pass.
- Document: Update
.maestro.mdwith the established conventions.
Consistency Audit Table
| Dimension | Standard | Deviations Found | Priority |
|---|---|---|---|
| Tool naming | ? | ? of ? tools | High/Med/Low |
| Prompt structure | ? | ? of ? prompts | High/Med/Low |
| Error format | ? | ? of ? tools | High/Med/Low |
| Log format | ? | ? of ? entries | High/Med/Low |
Calibration Checklist
- Convention standard identified for each dimension
- All deviations listed with location
- Highest impact deviations fixed first
- Tests pass after each calibration change
- Updated
.maestro.mdwith established conventions
Recommended Next Step
After calibration, run /refine for a final polish pass, or /evaluate to verify consistency improvements.
NEVER:
- Invent new conventions when existing ones work
- Calibrate in a way that changes behavior (this is standardization, not refactoring)
- Skip test verification after calibration
- Change naming conventions without updating all references
More from sharpdeveye/maestro
agent-workflow
Use when any Maestro command is invoked — provides foundational workflow design principles across prompt engineering, context management, tool orchestration, agent architecture, feedback loops, knowledge systems, and guardrails.
133diagnose
Use when the user wants to find problems, audit workflow quality, or get a comprehensive health check on their AI workflow.
131evaluate
Use when the user wants a quality review, interaction audit, or to test the workflow against realistic scenarios.
130fortify
Use when the workflow lacks error handling, has been failing in production, or needs retry logic, fallback strategies, and circuit breakers.
125streamline
Use when the workflow feels too complex, has accumulated cruft, or has redundant steps and overlapping tools that need consolidation.
125teach-maestro
Use when starting a new project with Maestro or when no .maestro.md context file exists yet. Run once per project.
125