adapt-workflow
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. Additionally gather: what the workflow is being adapted to.
Adapt a working workflow for a different context.
Adaptation Assessment
| Dimension | Current | Target | Impact |
|---|---|---|---|
| Model provider | ? | ? | Prompt format, capabilities, pricing |
| Model tier | ? | ? | Context window, reasoning ability |
| Deployment env | ? | ? | Latency, availability, compliance |
| Team structure | ? | ? | Monitoring, escalation, ownership |
| Data sensitivity | ? | ? | Guardrails, logging, access controls |
Provider Adaptation
- Prompt format: Adjust for provider-specific features
- Context limits: Resize context budget for different window sizes
- Capability gaps: Identify features available in one provider but not another
- Pricing model: Recalculate cost estimates
- API differences: Update tool calling interfaces, error handling, retry logic
Environment Adaptation
- Latency requirements: Adjust timeout values, caching strategy
- Compliance: Add or adjust guardrails, logging, and data handling
- Scale: Adjust concurrency limits, batch sizes
- Monitoring: Adapt alerting thresholds
Adaptation Checklist
- All provider-specific APIs updated
- Context budget recalculated for target model
- Cost estimates updated with target pricing
- Guardrails adjusted for target compliance requirements
- Tests updated and passing in target environment
- Documentation updated for target team
Recommended Next Step
After adaptation, run /evaluate to verify the workflow performs correctly in the target environment, then /diagnose for a full health check.
NEVER:
- Assume prompts work identically across providers
- Copy production config to development without adjusting guardrails
- Adapt without updating the evaluation suite
- Skip cost re-estimation
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.
130calibrate
Use when workflow components are inconsistent, naming conventions vary, or a new team member's work needs alignment to project standards.
125fortify
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.
125