Skip to content
Agent Orchestration
Skill

/designing-syntax

Design custom syntax elements with reuse-first approach for workflow orchestration. Use when user needs custom operators, checkpoints, or syntax patterns not available in core syntax.

From plugin
orchestration
2229 skills3 agents8 commands

Claude Code

$ npx -y skills add mbruhler/claude-orchestration --skill designing-syntax --agent claude-code

SKILL.md

designing-syntax.SKILL.md
name: designing-syntax
description: Design custom syntax elements with reuse-first approach for workflow orchestration. Use when user needs custom operators, checkpoints, or syntax patterns not available in core syntax.

Designing Custom Workflow Syntax

I design custom syntax elements following a reuse-first approach. Only create new syntax when existing patterns don't fit.

When I Activate

I activate when you:

  • Need custom workflow operators
  • Want specialized checkpoints
  • Ask about extending syntax
  • Need domain-specific patterns
  • Say "I need a custom syntax for..."

Reuse-First Process

Before creating new syntax, I check:

1. **Built-in syntax** - `->`, `||`, `~>`, `@`, `[...]` 2. **Global syntax library** - `library/syntax/` 3. **Template definitions** - Existing workflow definitions 4. **Similar patterns** - Adaptable existing syntax

**Only create new if no match exists.**

Syntax Types

Operators

Custom flow control operators.

Example: `=>` (merge with dedup)

---
symbol: =>
description: Merge with deduplication
---
Executes left then right, removes duplicates from combined output.

Actions

Reusable sub-workflows.

Example: `@deep-review`

---
name: @deep-review
type: action
---
Expansion: [code-reviewer:"security" || code-reviewer:"style"] -> merge

Checkpoints

Manual approval gates with prompts.

Example: `@security-gate`

---
name: @security-gate
type: checkpoint
---
Prompt: Review security findings. Verify no critical vulnerabilities.

Conditions

Custom conditional logic.

Example: `if security-critical`

---
name: if security-critical
description: Check if changes affect security code
evaluation: Modified files in: auth/, crypto/, permissions/
---

Loops

Reusable loop patterns.

Example: `retry-with-backoff(n)`

---
name: retry-with-backoff
type: loop
params: [attempts]
---
Pattern: @try -> operation -> (if failed)~> wait -> @try

Design Principles

1. **Intuitive** - Names/symbols hint at behavior 2. **Composable** - Works with existing syntax 3. **Self-documenting** - Clear from context 4. **Minimal** - Only when truly needed

Best Practices

✅ **DO**:

  • Use descriptive names (`@security-gate` not `@check`)
  • Document behavior clearly
  • Provide examples
  • Keep composable

❌ **DON'T**:

  • Create for one-time use
  • Make too specific
  • Hide too much complexity
  • Duplicate existing syntax

Library Structure

library/syntax/
├── operators/          # Flow control operators
├── actions/            # Reusable sub-workflows
├── checkpoints/        # Approval gates
├── conditions/         # Custom conditionals
├── loops/              # Loop patterns
├── aggregators/        # Result combination
└── guards/             # Pre-execution checks

Related Skills

  • **creating-workflows**: Use custom syntax in workflows
  • **executing-workflows**: Execute workflows with custom syntax

---

**Need custom syntax? Describe the pattern you keep repeating!**

Read more
@mbruhler
Ships withorchestration

Like N8N in Claude Code

2229 skills3 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
222
Star history of mbruhler/claude-orchestration on GitHub, a chart by star-history.com

Other skills on orchestration.

managing-agents

managing-agents

Manages temporary and defined agents including creation, promotion, cleanup, and namespacing. Use when user creates custom…

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw3d395k
@steipete@steipeteInstall Skill
jira-tickets

jira-tickets

Read and update Jira tickets through Orca's saved Jira connections. Use when a task comes from Jira or the user asks for Jira…

orca1d128k
@stablyai@stablyaiInstall Skill
agentmail

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…

paperclip2d114k
@paperclipai@paperclipaiInstall Skill
adr-create

adr-create

Create a new Architecture Decision Record with sequential numbering and AgentDB registration

@ruvnet@ruvnetInstall Skill

Questions about designing-syntax.

Which coding agents can use designing-syntax?
designing-syntax installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.