跳到正文
cccskills
免费在 GitHub 公开

iterate

Use when the workflow needs to self-correct, improve over time, or establish feedback loops and evaluation cycles.

中文简介正在准备中。当前显示原文说明。

sharpdeveye/maestro星标 591(GitHub 591 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md3.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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 feedback-loops reference in the agent-workflow skill for evaluation patterns and self-correction strategies.


Set up feedback loops that make workflows self-correcting and continuously improving. Iteration transforms one-shot gambles into convergent, reliable systems.

Feedback Loop Design

Step 1: Define Quality Criteria

What does "good output" look like? Score dimensions:

DimensionWeightThresholdMeasurement
Accuracy0.4≥ 0.8Factual correctness check
Completeness0.3≥ 0.7Required fields present
Format0.2≥ 0.9Schema compliance
Tone0.1≥ 0.6Appropriate for audience

Step 2: Choose Evaluator Type

Match evaluator to requirements:

  • Rule-based: Schema validation, field presence, value ranges (fast, free)
  • Self-check: Same model evaluates own output (fast, cheap, less reliable)
  • Cross-model: Different model evaluates (slower, more reliable)
  • Human-in-the-loop: Human review (slowest, most reliable, doesn't scale)
  • Hybrid: Rules first, then model check for what rules can't catch

Step 3: Design the Correction Loop

generate(input) → evaluate(output) → score
  if score ≥ threshold → return output
  if score < threshold AND attempts < max →
    enrich input with evaluator feedback
    generate again (with feedback)
  if attempts ≥ max → fallback or escalate

Critical: The retry input MUST be different from the original. Include:

  • The evaluator's specific feedback
  • What was wrong and why
  • A suggestion for how to fix it

Step 4: Set Up Regression Detection

When changing prompts, models, or tools:

  1. Run golden test set with OLD config → baseline scores
  2. Run golden test set with NEW config → new scores
  3. Compare: improvement ≥ 5% → accept; regression ≥ 5% → reject

Step 5: Continuous Monitoring

For production workflows:

  • Sample 1-5% of outputs for automated evaluation
  • Track quality scores over time
  • Alert on downward trends
  • A/B test changes before full rollout

Iteration Checklist

  • Quality criteria defined with weights and thresholds
  • Evaluator selected and configured
  • Correction loop has max attempts limit
  • Feedback is injected into retries (not identical retry)
  • Golden test set exists with ≥ 10 cases
  • Regression detection configured for changes
  • Production monitoring in place

Recommended Next Step

After setting up feedback loops, run /evaluate to validate the loop with real scenarios, then /refine for final polish.

NEVER:

  • Retry with the exact same input (definition of insanity)
  • Use the same weak model to both generate and evaluate
  • Skip the max attempts limit (infinite loops are real)
  • Deploy changes without regression testing against golden set
  • Monitor only errors — track quality scores over time

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use when the workflow is too slow, too expensive, or both and needs latency, cost, or token usage optimization.

中文简介正在准备中。当前显示原文说明。

sharpdeveye/maestro5912026年4月29日 更新

Use when porting a workflow to a different AI provider, deployment environment, model tier, or organizational context.

中文简介正在准备中。当前显示原文说明。

sharpdeveye/maestro5912026年4月29日 更新

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.

中文简介正在准备中。当前显示原文说明。

sharpdeveye/maestro5912026年4月29日 更新

amplify

免费

Use when the workflow works but needs to handle more complex cases or produce higher-quality output through better tools, context, prompts, or models.

中文简介正在准备中。当前显示原文说明。

sharpdeveye/maestro5912026年4月29日 更新

calibrate

免费

Use when workflow components are inconsistent, naming conventions vary, or a new team member's work needs alignment to project standards.

中文简介正在准备中。当前显示原文说明。

sharpdeveye/maestro5912026年4月29日 更新

capture

免费

Capture a session summary — what was done, what decisions were made, and what to do next.

中文简介正在准备中。当前显示原文说明。

sharpdeveye/maestro5912026年4月29日 更新

查看 sharpdeveye 的全部技能

报告此技能的问题