Skip to content
sharpdeveye avatar

Extract Pattern

Turn working workflow solutions into reusable, documented pattern templates with explicit usage boundaries.

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

Own this skill? Claim it

What it does

  • Covers the extraction flow: identify effective components, generalize them into templates, and test reuse on an analogous problem
  • Includes a fixed pattern format with Problem, When to use, When NOT to use, Template, Variants, Pitfalls, and Examples sections
  • Maps workflow elements to pattern types, including prompt templates, pipeline patterns, resilience patterns, and orchestration handoffs
  • Enforces a rule against extracting from unreliable workflows or over-generalizing single-case solutions; recommends /calibrate afterward

Install

$ npx -y skills add sharpdeveye/maestro --skill extract-pattern -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.


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:

Details

Repository
github.com/sharpdeveye/maestro
Categories
Agent Workflow & Planning, Technical Documentation, Skill & Plugin Building
First seen
Jun 3, 2026

Questions

What does the extract-pattern skill do?

extract-pattern turns a working workflow into reusable patterns, each with a problem statement, when to use it, when not to use it, a copy-pastable template, variants, pitfalls and examples. It is meant for building a pattern library from solutions that already work reliably. The skill also advises running /calibrate afterward to check the new patterns against project conventions.

Who is extract-pattern for?

extract-pattern is for developers who want to create templates, extract reusable patterns or document solutions from workflows that already succeeded. It warns against extracting from unreliable workflows and against over-generalizing single cases, which should be documented as solutions instead. Its main prompt is the request to build a pattern library from working workflows.

Where does extract-pattern fall among other agent workflow skills?

extract-pattern is listed under Agent Workflow & Planning on Claude Marketplaces, alongside grill-me, grill-with-docs, setup-matt-pocock-skills, grilling and prototype. Within that group, extract-pattern is the one that captures reusable templates and pattern documentation from workflows that already work. It is a utility skill from the maestro repository, sharpdeveye/maestro.

How do I install extract-pattern?

Run npx -y skills add sharpdeveye/maestro --skill extract-pattern -y inside your project to install it. After installation, the agent can extract patterns from a working workflow, testing each one for reusability before saving it. The skill begins by invoking agent-workflow and the Context Gathering Protocol.

More from sharpdeveye/maestro

All 22

Similar to Extract Pattern

More Agent Workflow & Planning