跳到正文
cccskills
免费在 GitHub 公开

extract-pattern

Use when the user wants to create templates, extract reusable patterns, document solutions, or build a pattern library from working workflows.

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

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

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md2.6 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.


Turn working solutions into reusable patterns. Every successful workflow contains patterns that are applicable beyond their original context.

Step 1: Identify What Worked

Review the workflow and identify components that:

  • Solved a common problem in a particularly effective way
  • Would be useful in other workflows or projects
  • Required significant iteration to get right
  • Represent a non-obvious solution

Step 2: Generalize the Pattern

Transform the specific solution into a reusable template:

From specific → To general pattern:

## Pattern: [Name]
**Problem**: What recurring problem does this solve?
**When to use**: When is this pattern appropriate?
**When NOT to use**: When is this pattern inappropriate?
**Template**: Copy-pastable starting point with customization markers.
**Variants**: Common variations for different contexts.
**Pitfalls**: What went wrong during development and how it was fixed.
**Examples**: 1-2 concrete examples.

Step 3: Test Reusability

  • Apply the template to a different but analogous problem
  • Confirm the customization points are sufficient
  • Verify the documentation is clear enough for someone unfamiliar with the original
Workflow ElementExtract As
Effective prompt structurePrompt template with customization points
Tool chain that works wellPipeline pattern with data flow diagram
Error handling strategyResilience pattern with implementation guide
Evaluation approachQuality assurance pattern with scoring rubric
Context management techniqueContext pattern with budget guidance
Agent coordination protocolOrchestration pattern with handoff templates

Recommended Next Step

After extracting patterns, run /calibrate to ensure the new patterns are consistent with existing project conventions.

NEVER:

  • Extract patterns from workflows that don't work reliably
  • Over-generalize (if it only applies to one case, document it as a solution, not a pattern)
  • Skip the "when NOT to use" section
  • Extract without testing reusability

评价

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

评论

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

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

提交后会立即公开。请勿填写邮箱、电话等个人信息。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 的全部技能

报告此技能的问题