orchestration:creating-workflows
Use when user says "create workflow", "create a workflow", "design workflow", "orchestrate", "automate multiple steps", "coordinate agents", "multi-agent workflow". Creates orchestration workflows from natural language using Socratic questioning to plan multi-agent workflows with visualization.
What this skill does
# Creating Orchestration Workflows
I'll help you create powerful orchestration workflows that coordinate multiple Claude Code agents. I use Socratic questioning to understand your needs and generate optimal workflow syntax.
## When I Activate
I automatically activate when you:
- Describe a multi-step process you want to automate
- Mention "workflow", "orchestration", "automate", "coordinate agents"
- Ask "how do I create a workflow?"
- Want to connect multiple agents or tasks
- Ask about automating repetitive processes
## My Process
### 1. Understanding Your Intent
**CRITICAL**: I use AskUserQuestion tool for ALL questions. NO plain text numbered lists.
I'll ask strategic questions to understand:
- What problem you're solving
- What your goal is
- What scope you have in mind
- **What external data sources you need** (APIs, web scraping, databases)
### 2. Detecting Temp Script Needs
I automatically scan for these triggers:
- **External APIs**: Reddit, Twitter, GitHub, ProductHunt, etc.
- **Web Scraping**: Extracting data from websites
- **Data Processing**: Analyzing 10+ items, statistical analysis
- **Authentication**: Any service requiring API keys
**If detected → I'll proactively create temp scripts for you**
### 3. Identifying the Pattern
I'll determine if your workflow is:
- **Sequential**: One step after another (`->`)
- **Parallel**: Multiple tasks at once (`||`)
- **Conditional**: Based on results (`~>`)
- **Hybrid**: Combination of above
### 3. Designing the Workflow
I'll help you define:
- Which agents to use (built-in or custom)
- How data flows between steps
- Error handling strategy
- Review checkpoints
### 4. Generating Syntax
I'll create clean, readable workflow syntax like:
```flow
# Simple sequential workflow
explore:"Analyze codebase" ->
implement:"Add feature" ->
test:"Run tests"
```
```flow
# Parallel with merge
[security-check || style-check || performance-check] ->
general-purpose:"Consolidate findings"
```
## Question Approach
For more details on my questioning strategy, see [socratic-method.md](socratic-method.md).
**Quick overview:**
- **Vague requests**: I ask about problem → scope → constraints
- **Specific requests**: I confirm pattern → ask about customization
- **Medium requests**: I explore scope → clarify details
## Common Patterns
I have templates for common scenarios. See [patterns.md](patterns.md) for complete catalog.
**Popular patterns:**
- Feature implementation (explore → implement → test → review)
- Bug fixing (investigate → fix → verify)
- Security scanning (scan → review → fix → verify)
- Documentation (analyze → write → review)
- Refactoring (analyze → refactor → test → validate)
## Custom Agents
When your workflow needs specialized expertise, I can create **temp agents** for you.
**Temp agents are:**
- Created automatically during workflow design
- Saved in `temp-agents/` directory
- Auto-cleaned after workflow execution
- Can be promoted to permanent agents if useful
**When I create temp agents:**
- You need domain-specific expertise (e.g., security scanner)
- Task requires specific output formats
- Multiple workflows might benefit (I'll suggest making it permanent)
See [temp-agents.md](temp-agents.md) for examples and guidelines.
## Temp Scripts (CRITICAL)
**Temp scripts** are Python/Node.js scripts I create for tasks that Claude Code tools can't handle directly.
### When I Create Temp Scripts
I **automatically** create temp scripts when you need:
1. **External API calls** - Reddit, Twitter, GitHub, ProductHunt
2. **Web scraping** - Extracting data from websites
3. **Data processing** - Pandas analysis, JSON parsing at scale
4. **Database queries** - SQL, NoSQL operations
5. **Batch operations** - Processing 10+ files
6. **Third-party libraries** - NumPy, BeautifulSoup, requests
### How It Works
**You say**: "Fetch 10 Reddit posts about startups"
**I create**:
```flow
general-purpose:"Create Python script using PRAW library:
1. Authenticate with Reddit API (client_id, client_secret)
2. Fetch 10 hot posts from r/startups
3. Extract: title, url, score, selftext
4. Return JSON array
5. Save as temp-scripts/reddit_fetcher.py
6. Execute and return results":reddit_posts
```
### Proactive Detection
I scan your request for keywords:
- "API", "fetch", "scrape", "get data from"
- "Reddit", "Twitter", "ProductHunt", "GitHub"
- "analyze", "process", "calculate"
- Numbers like "10 posts", "100 records"
**If found → I'll suggest temp scripts and ask for your confirmation**
### When Uncertain
If I'm not sure whether you need a temp script, I'll ask:
```javascript
AskUserQuestion({
questions: [{
question: "How should I handle this data processing?",
header: "Approach",
multiSelect: false,
options: [
{label: "Built-in tools", description: "Use Read/Grep for simple operations"},
{label: "Create temp script", description: "Python script for complex processing"},
{label: "External API", description: "Fetch from service with authentication"}
]
}]
})
```
For complete guide, see: `docs/TEMP-SCRIPTS-DETECTION-GUIDE.md`
## Custom Syntax
Sometimes you need syntax beyond the basics. I can design custom syntax elements like:
- New operators (`=>` for merge-with-dedup)
- Checkpoints (`@security-gate`)
- Conditions (`if security-critical`)
- Loops (`retry-with-backoff`)
I follow a **reuse-first approach**: I check existing syntax before creating new.
See [custom-syntax.md](custom-syntax.md) for syntax design process.
## Examples
Real workflow examples to inspire you:
See [examples.md](examples.md) for complete catalog with explanations.
**Quick examples:**
**TDD Implementation:**
```flow
# Test-Driven Development workflow
general-purpose:"Write failing test":test_file ->
implement:"Make test pass":implementation ->
code-reviewer:"Review {implementation}":review ->
(if review.approved)~> commit:"Commit changes" ~>
(if review.needs_changes)~> implement:"Fix issues"
```
**Bug Investigation:**
```flow
# Parallel investigation with consolidation
[
explore:"Find related code":related_files ||
general-purpose:"Search for similar bugs":similar_issues ||
general-purpose:"Check recent changes":recent_commits
] ->
general-purpose:"Consolidate findings into root cause analysis":analysis ->
implement:"Fix bug based on {analysis}":fix ->
general-purpose:"Run relevant tests":test_results
```
**Security Audit:**
```flow
# Security scanning with manual gate
$security-scanner:"Scan codebase for vulnerabilities":findings ->
@security-review:"Review {findings}. Approve if no critical issues." ->
(if approved)~> deploy:"Deploy to production"
```
## Workflow Templates
After creating your workflow, I'll offer to save it as a template for reuse.
Templates include:
- Descriptive name and metadata
- Parameter placeholders for customization
- Complete workflow syntax
- Usage instructions
Templates are saved in `examples/` directory as `.flow` files.
## What Happens Next
After I create your workflow:
1. **Review**: I show you the generated syntax with explanation
2. **Customize**: You can ask for modifications
3. **Save**: I offer to save as template
4. **Execute**: Use `/orchestration:run` to execute it
## Tips for Best Results
- **Be specific**: More details = better workflow
- **Ask questions**: I'm here to help refine your ideas
- **Start simple**: We can add complexity later
- **Review examples**: Check [examples.md](examples.md) for inspiration
## Technical Details
- **Namespace**: All plugin agents use `orchestration:` prefix
- **Temp agents**: Auto-prefixed with `orchestration:`
- **Variable binding**: Use `:variable_name` to capture outputs
- **Error handling**: Use `(if failed)~>` for error branches
For complete syntax reference, see executing-workflows skill or [syntax reference](../../docs/reference/syntax.md).
## Related Skills
- **executing-workflows**: Run workflows with visualization and steering
- **managing-agents**: Create and maRelated in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.