refine
Use when the workflow works but needs polish, or as the final step in a diagnose → fix → refine cycle before shipping.
pinned to #00f9115updated 2 weeks ago
Ask your AI client: “install skills/refine”.
Requires the metahub MCP server installed in your client. Set up MCP.
mh install skills/refinemetahub onboarded this repo on the author's behalf.
If you own github.com/sharpdeveye/maestro on GitHub, claim the listing to take over publishing. Your claim preserves the existing eval history and badges; only the curator label is replaced with verified-publisher on your next publish.
Stars
402
Last commit
2 weeks ago
Latest release
published
- #agent-orchestration
- #ai
- #ai-agents
- #ai-workflows
- #claude-code
- #codex
- #copilot
- #cursor
- #developer-tools
- #gemini
- #open-source
- #prompt-engineering
- #skills
Evaluation report
WarningsAutomated checks the publisher passed at publish time — structure, docs, safety, and whether the artifact behaves as claimed.00f9115· 2 weeks ago
Kind-specific
31Skill: SKILL.md present
found at source/skills/refine/SKILL.md · frontmatter source: SKILL.md
Skill: body content present
446 words · 2,685 chars · 5 sections
Skill: triggers declaredwarn
No `trigger` phrases in SKILL.md frontmatter
Add `trigger:` lines so Claude knows when to activate this skill — e.g. `when building MCP servers` or `for diagram creation`.
Skill: allowed-tools scope
no allowed-tools restriction (Claude may use anything)
Release history
1- releasecurrent00f9115warn2 weeks ago
Contents
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
- Every prompt follows the 4-zone pattern (role, context, instructions, output)
- Output schemas are explicit and validated
- Negative instructions clarify what NOT to do
- No contradictory instructions
- Few-shot examples included for ambiguous tasks
- Chain-of-thought used for multi-step reasoning tasks
Tool Descriptions
- Every tool has a multi-line description: what, when to use, when NOT to use, returns
- Input parameters have descriptions and types
- Error responses are documented
- At least one example input/output in the description
Error Messages
- Error messages are specific (not "an error occurred")
- Error messages suggest corrective action
- Errors include context (what was being attempted)
- Errors are structured (code + message + details)
Logging
- Every model call is logged (input tokens, output tokens, latency, cost)
- Tool calls are logged with inputs and outputs
- Errors are logged with full context
- PII is redacted from logs
- Workflow ID traces through all log entries
Configuration
- All magic numbers are named constants
- Environment-specific values are in config, not code
- Defaults are sensible — config is for overrides
- Cost ceilings are set
- Timeout values are set for all external calls
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)
Reviews
No reviews yet. Be the first.
Related
Guizang Ppt Skill
AI-agent Skill for generating polished HTML slide decks: editorial magazine and Swiss layouts, image prompts, social covers, and a WebGL/low-power presentation runtime.
orchestration-patterns
>
migration-patterns
>
mh install skills/refine