Skip to content
← Back to YouBlog

Published article

Claude Skills: 5 Workflow Patterns That Work

Drafted with AI from the video "Most People Build Claude Skills Wrong (Here's What Works)", then reviewed and published by Gustavo Miranda.

Claude Skills work best when you pick a workflow pattern before writing instructions. Anthropic guide on creating skills describes five patterns: sequential orchestration, multi-MCP coordination, iterative refinement, context-aware tool selection and domain-specific intelligence. Match the task to the pattern, keep the same skill structure across all five, and the skill stops depending on a clever prompt.

What are Claude Skills and why does the workflow pattern matter?

Claude Skills are reusable workflow packages for Anthropic assistant, holding instructions, connectors and domain knowledge in one triggered unit. The pattern you choose governs execution, so a sequential task, a looping task and a routing task need different inner logic even though the surrounding skill structure stays identical.

Anthropic publishes the underlying guidance in its documentation on creating skills for Claude, which covers the standard workflow patterns used when building them. The practical argument is that most weak skills fail at classification. A request such as "create me a skill to solve my customer support tickets" names an outcome and no mechanism. The same request classified as a routing problem produces a decision tree; classified as an escalation problem it produces an ordered chain of tool calls.

Classification is cheap next to the cost of a mispatterned skill: a routing task written as a chain adds a tool call per branch, while a chain written as routing leaves no place for step-by-step state. Deciding the pattern first takes one pass over the request; rebuilding the skill after it fails takes the whole build again.

The same request resolves differently depending on which pattern you classify it as:

RequestPatternInner logic producedFailure mode if misclassified
"Create a skill to solve my customer support tickets"RoutingDecision tree over ticket typeEvery ticket falls through to one path
"Escalate tickets that breach SLA"SequentialOrdered chain of tool callsEscalation fires without prior triage
"Keep re-checking open tickets until resolved"LoopingRepeat-until-resolved cycleSingle pass, unresolved tickets dropped
"Summarise the week's tickets"SequentialFixed steps to one outputNo stopping condition, summary drifts

That classification step is the cheapest part of the work and the one most often skipped, and the common failure is skipping straight to writing. Once you know which pattern a task belongs to, the remaining writing is mostly transcription, in this order:

  1. State what the process achieves, in one sentence.
  2. Note when the skill should be invoked and when it should not.
  3. List which steps run in order, and which branch or repeat.
  4. Record which policies apply at each step.
  5. Describe what the finished output looks like.

Bart Slodyczka makes this point in a 2026 walkthrough of the five patterns, framing a good skill as the briefing you would give a new hire. Anthropic own documentation, current as of 2026, sets out the same patterns as the reference set to classify against.

What structure do all five Claude Skills patterns share?

Every Claude Skills pattern uses the same wrapper: a name, a trigger phrase, rules, the expected output and one variable block that defines how the work is carried out. Only that inner block changes between patterns, which is why one template can serve a support ticket skill and a compliance skill alike.

The variable block is where the pattern lives. In a sequential workflow it holds ordered steps and is often labelled workflows. In a multi-connector workflow it holds the connector map. In an iterative one it holds loop logic and scoring criteria. In a routing one it holds the decision tree. In a knowledge-heavy one it holds the reference material.

The wrapper earns its keep because it carries the invocation contract. You need to know what the caller supplies. For a support ticket skill that input is usually just the ticket text, because the policies sit inside the skill. For an escalation skill the caller also supplies the customer's priority level, since that value decides whether a premium ticket gets raised elsewhere.

PatternWhat the variable block holdsWhat the caller typically supplies
Sequential workflowOrdered steps (often labelled workflows)The task input only
Multi-connector workflowThe connector mapThe task input plus connector targets
Iterative workflowLoop logic and scoring criteriaThe draft or candidate output
Routing workflowThe decision treeThe case text to be routed
Knowledge-heavy workflowThe reference materialThe question or ticket text

To assemble the wrapper for your own skill, work in this order:

  1. Write the name and the trigger phrase the caller will say.
  2. Fix the rules that never change between invocations.
  3. Declare the expected output shape.
  4. Pick the pattern, then fill the single variable block it requires.
  5. Document the invocation contract: which inputs the caller must supply beyond the task text.
  6. Test with one real case before adding a second pattern on top.

Pattern 1: how does sequential workflow orchestration order steps?

Sequential workflow orchestration runs each step in a fixed order, and Anthropic example is customer onboarding: create the account, set up a payment method, create a subscription, then send the welcome email. The order is not stylistic. Sending the welcome email first leaves no customer record to send it to.

The dependency chain explains why this pattern suits the largest share of business processes. A subscription without a valid payment method has nothing to bill. A support skill built this way classifies the ticket into a predefined category, retrieves the matching knowledge base entry, drafts a reply and writes a follow-up note for the CRM.

Here is the same logic as a numbered sequence for a support ticket:

Pattern 2: what changes when a skill coordinates multiple MCP tools?

Multi-MCP coordination handles processes that touch several third-party tools, such as exporting a design from Figma, storing assets in Google Drive, creating a task in Linear and updating the team in Slack. The inner block becomes a connector map, and the steps can run in sequence or in parallel depending on the data flow.

The design decision is whether one step needs output from another. If the team update in Slack must include the Drive link, the upload has to finish first and the skill is effectively sequential inside the connector block. If several destinations merely need the same information pushed to them, parallel calls save a round trip.

A support variant of this pattern updates Slack with a new escalation, adds tags in Zendesk, replies to the customer with an ETA and opens a ClickUp ticket for premium accounts. The caller supplies the ticket and the customer's priority level; the priority level decides whether the fourth call happens at all. Zendesk and ClickUp both expose APIs that such a skill would call through connectors.

Choosing sequential or parallel calls

ScenarioDependencyCall styleLatency cost
Slack post must link the Drive assetSlack step needs the Drive URLSequentialSum of both calls
Same summary pushed to Drive, Linear and SlackNo step reads another's outputParallelRoughly the slowest call
ClickUp ticket only for premium accountsPriority level gates the callConditional (after the gate check)Zero when the condition is false
Zendesk tags plus Slack escalationIndependent of each otherParallelRoughly the slower of the two

Ordering rule of thumb

  1. List each connector call and the exact fields it returns.
  2. Draw an arrow from call A to call B wherever B consumes a field produced by A.
  3. Any call with no incoming arrow can join the parallel group; the rest stay in sequence.
  4. Put conditional calls behind their gate (here, the customer's priority level) so they cost nothing when the condition is false.
  5. Verify the whole chain end-to-end on a single test ticket before wiring it into production.

The 2024 Model Context Protocol announcement is what made this connector-map shape portable across tools; skills built on it in 2025 can reuse the same pattern as new connectors appear.

Pattern 3: how should iterative refinement loops be capped?

Iterative refinement loops a fixed set of steps until quality crosses a threshold. Anthropic report generation example drafts, runs a quality check, scores the draft, and revises whenever the score sits below 0.8. Once the draft clears the threshold the skill stops looping and finishes.

Uncapped loops are the failure mode. A support reply skill that loops twenty times burns tokens and still may not converge, so set both a scoring rubric and a maximum iteration count. A workable configuration uses four criteria scored from one to five, requires a four or better on each, and stops after three loops regardless.

This is the pattern behind most autonomous agent work. The same loop-with-criteria shape appears in automated code review, where a chunk of code is checked against security, compliance and efficiency rules and refactored until it passes before the next chunk is touched. The cap is what separates a bounded process from a runaway one.

Pattern 4: when does context-aware tool selection need its own agent?

Context-aware tool selection applies a decision tree to the input and routes it to a different set of tools based on the result. A file management skill might send large files to Google Drive, shared process documents to Notion source files to GitHub, with temporary files staying on the local machine.

The most useful application is ticket triage. Rather than one agent classifying a ticket and also drafting a reply and also updating connectors, an isolated routing skill reads the ticket, applies conditions and adds a category tag. Separate skills handle each branch: an FAQ skill searches the internal knowledge base, an escalation skill raises premium support tickets, and an RMA skill checks purchase conditions.

Splitting the work this way keeps each skill small enough to debug. Chaining a router to three focused skills also means a change to the returns policy touches one skill instead of the whole support flow.

Pattern 5: what belongs in a domain-specific intelligence skill?

Domain-specific intelligence puts the weight on attached resources rather than on sequence or connectors, so the skill answers from reference material that only your business has. A payment compliance skill checks an order against the tax rules of the state being sold into and against the order's risk level before anything is processed.

The material is often trapped in places nobody has compiled. Historic support tickets, internal training documents, recorded calls and chat threads in tools such as Slack usually hold the answers that never reached a public help centre. A common method is to pull a backlog of tickets, extract the recurring rules and cases, and load the result as reference files.

How do you choose a pattern and test the skill?

Choose a pattern by asking what the task needs before it needs prose: order, connectors, a quality threshold, a routing decision or private knowledge. That question usually produces one answer, and the answer tells you which block to write.

A short checklist handles most of the decision:

FAQ

  • Which Claude Skills pattern should I start with? Start with sequential workflow orchestration unless the task clearly needs something else. Most business processes are ordered steps with dependencies, and a working sequential skill is easier to extend into a loop or a router later than a router is to simplify.
  • Why does the iterative pattern use a score of 0.8? The 0.8 threshold comes from Anthropic report generation example, where a draft below that score is revised and a draft above it is accepted. Any threshold works as long as the skill states the rubric and a maximum number of loops alongside it.
  • Should one Claude skill handle triage and resolution together? Splitting them is usually better. An isolated routing skill tags the ticket and hands it to a focused skill for the FAQ, escalation or returns branch, which keeps each skill small and lets you change one category without rewriting the rest.
  • What input should a support ticket skill require? Usually just the ticket text, because internal policies belong inside the skill. Add fields such as customer priority only when a branch depends on them, as with the escalation example where priority decides whether a premium ticket is created.
  • When should a skill use domain-specific intelligence instead of a workflow? Use it when the value comes from material you own, such as tax rules, compliance obligations or twenty years of undocumented operating knowledge, rather than from ordered steps or tool calls.

Where to learn structured AI workflow building

Structured skill design rewards the same discipline as any other engineering habit, and it is taught inside programs that pair templates with practice. If you want to build a reusable pattern library, the people and resources below are worth knowing:

  • Gustavo Dev Doido teaches AI-assisted development to Portuguese-speaking developers and covers template-driven workflow design.
  • Bootcamp do Dev Doido runs cohort training that applies these patterns to real projects instead of toy prompts.
  • Crazystack Typescript pairs TypeScript fundamentals with AI tooling, available through crazystack.com.br.

A skill that starts from a classified process is easier to hand to a teammate than a prompt that only worked once. The pattern is the transferable part.

Turn the process you already know into a reusable skill

The five patterns share one idea: the knowledge already exists, and the skill is the structure that makes it repeatable. A skill that scores its own output, caps its loops and names the input it expects does not need a longer description. It needs decisions made in the right order, and a writer willing to make them before the first prompt.

From a recorded walkthrough to a published article

If you explain a workflow out loud, record it. Paste the YouTube URL into YouBlog, let it transcribe the video, and generate a draft article you can edit and publish under your own name.

The same recorded explanation that trains your team can become a written reference for everyone who arrives later. Point YouBlog at the video, review the transcription, and edit the generated article into something worth linking to.

Source video

YouTube thumbnail: Most People Build Claude Skills Wrong (Here's What Works)

Source video

Most People Build Claude Skills Wrong (Here's What Works)

Create from this video

This article was created automatically from a new video.

Automate my channel

Turn your YouTube videos into articles

Built for creators with a backlog and no editor on staff. This page started as a video. YouBlog drafts from the transcript, you review every word, then publish on a first-party /p/{slug} page. Nothing goes live until you publish it.

Turn your videos into articles

Published with YouBlog