designing-workflow-skills

Guides the design of workflow-based Claude Code skills with phased execution and progressive disclosure.

Updated Apr 5, 2026
One-click install
npx skills add https://github.com/marumo333/atrox --skill designing-workflow-skills-marumo333
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: designing-workflow-skills
Source: https://github.com/marumo333/atrox/tree/main/.claude/skills/trailofbits/plugins/workflow-skill-design/skills/designing-workflow-skills
Command: npx skills add https://github.com/marumo333/atrox --skill designing-workflow-skills-marumo333

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Workflow-based Claude Code skills often fail because of vague descriptions, unnumbered phases, monolithic SKILL.md files, and tool-calling patterns that do not scale. This Skill provides structural patterns, anti-pattern catalogs, and review checklists so skills execute reliably once activated. ## Core Features & Use Cases - Five Workflow Patterns: Routing, Sequential Pipeline, Linear Progression, Safety Gate, and Task-Driven patterns with structural skeletons and a decision tree for selection. - Anti-Pattern Catalog: 20 documented anti-patterns (AP-1 through AP-20) with before/after fixes covering structure, workflow design, tool assignment, and scalability. - 6-Phase Design Process: A guided workflow from scope definition through pattern selection, phase design, tool assignment, content writing, and self-review. - Use Case: When building a new skill that audits code across multiple phases with subagent delegation, use this Skill to pick the Task-Driven pattern, assign least-privilege tools, and validate the result against the review checklist. ## Quick Start Ask the AI to help design a new workflow skill for your task domain and follow the six-phase creation process.

Frequently Asked Questions about designing-workflow-skills

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design a multi-step workflow skill for Claude Code?▼

Follow the six-phase process: define scope with a trigger-focused description, choose one of five workflow patterns using the decision tree, design numbered phases with entry and exit criteria, assign least-privilege tools, write content with progressive disclosure, then self-review against the checklist.

What workflow pattern should I use for a Claude Code skill?▼

Use the decision tree: a single non-destructive path maps to Linear Progression, destructive actions to Safety Gate, multiple independent tasks to Routing, dependent sequential steps to Sequential Pipeline, and complex dependencies with partial failure tolerance to Task-Driven.

Why does my Claude Code skill activate at the wrong times?▼

Activation is controlled solely by the frontmatter description field, not the SKILL.md body. Write the description in third person with specific trigger keywords and exclusions, and never summarize workflow steps in it, since Claude treats it as an executive summary.

How long should a SKILL.md file be?▼

SKILL.md should stay under 500 lines, ideally 200-400. Beyond that threshold LLM attention degrades. Move detailed patterns into references/ files (under 400 lines each) and step-by-step processes into workflows/ files (under 300 lines each), all one hop from SKILL.md.

What are common mistakes when assigning tools to skills and agents?▼

Common mistakes include using Bash for file operations instead of dedicated Glob, Grep, and Read tools, listing unused tools that violate least privilege, and confusing allowed-tools (skills) with tools (agents). Also avoid per-file-per-pattern grep loops and one-subagent-per-file spawning.

When should I not use a workflow-based skill structure?▼

Skip this structure for simple single-purpose skills with no workflow, which can be written directly as a plain SKILL.md. It also does not cover plugin configuration like plugin.json, hooks, or commands, nor the actual domain content of a skill.