Skip to content

Final quality pass that audits prompts, tool descriptions, error messages, logging, and configuration against a fixed checklist before shipping.

CCM score
40 of 100
skills.sh installs
377
GitHub stars
602
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers five checklist areas: prompt structure, tool descriptions, error messages, logging, and configuration with cost ceilings and timeouts
  • Requires each failing item to report the finding, its location, a concrete fix, and a critical, important, or nice-to-have priority
  • Enforces a rule that refinement changes polish only and never alters behavior, and that it runs only after the workflow works
  • Designed for teams running a diagnose, fix, refine cycle that hand off to /evaluate once polishing is complete

Install

$ npx -y skills add sharpdeveye/maestro --skill refine -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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

Details

Repository
github.com/sharpdeveye/maestro
Categories
AI Agents & LLM Apps, Code Review & Quality
First seen
Jun 3, 2026

Questions

What does the refine skill do for an agent workflow?

The refine skill is the final quality pass for an agent workflow that already works. It walks a checklist covering prompts, tool descriptions, error messages, logging and configuration, and reports each failing item with its location and a priority.

How do I install the refine skill?

Run npx -y skills add sharpdeveye/maestro --skill refine -y in your project. Once installed, the agent can run the refine checklist against your workflow.

When should I use refine instead of diagnose or fortify?

Use refine once the workflow is functionally correct and needs polish, as the last step of a diagnose, fix and refine cycle before shipping. It is meant for quality, not behavior changes, so it suggests polish rather than redesign.

What does refine need before it can run?

The skill's mandatory preparation requires the agent-workflow skill and its Context Gathering Protocol. If no workflow context exists yet, you must run teach-maestro first.

What is refine's place among AI Agents and LLM Apps skills?

Refine is in the AI Agents and LLM Apps category, alongside skills such as microsoft-foundry, azure-ai and google-agents-cli-adk-code. It differs from them by focusing on a checklist-driven final polish of prompts, tools, logging and configuration.

More from sharpdeveye/maestro

All 22

Similar to Refine

More AI Agents & LLM Apps