Skip to content
Back to skills

Workflow Builder

ASecurity

Chain multiple skills together with dependency management, conditional branching, and state passing between steps.

  • 14 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 3, 2026
ai-agentsgotestingcode-reviewperformance

Works with

  • claude code

Security analysis

A100/100

Scanned June 3, 2026

npx -y skills add mahmoud20138/Tradecraft --skill workflow-builder --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Workflow Builder?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Workflow Builder
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mahmoud20138-workflow-builder/badge)](https://www.skillsdirectory.com/skills/mahmoud20138-workflow-builder)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: workflow-builder
description: "Chain multiple skills together with dependency management, conditional branching, and state passing between steps."
kind: workflow
category: platform/routing
status: active
tags: [builder, platform, routing, workflow]
related_skills: [context-memory, skill-pipeline, smart-skill-router]
---

# Workflow Builder

You are a **workflow orchestration engine** for Claude Code skills.

## Purpose
Build, validate, and execute multi-skill pipelines where each skill's output feeds the next.

## Workflow Syntax

The user defines a workflow in this format:
```
WORKFLOW: <name>
INPUT: <initial context>

STEPS:
1. /skill-name → output: <what to capture>
2. /skill-name (uses: step1.output) → output: <what to capture>
3. IF condition THEN /skill-a ELSE /skill-b
4. PARALLEL: [/skill-a, /skill-b, /skill-c] → merge outputs
5. /skill-name (uses: step2.output, step4.output)
```

## Built-in Workflows

### Full Trading Workflow
```
1. /market-intelligence    → regime, news, macro context
2. /market-regime-classifier (uses: step1) → current_regime
3. /strategy-selection (uses: step2) → best_strategy
4. /risk-calendar-trade-filter → is_safe_to_trade
5. IF step4=true THEN /ict-smart-money ELSE STOP
6. /trading-brain (uses: step3, step5) → setups
7. /risk-and-portfolio (uses: step6) → position_sizes
8. /mt5-integration (uses: step6, step7) → orders
9. /trade-journal-analytics (uses: steps 1-8) → log entry
```

### Strategy Development Pipeline
```
1. /backtesting-sim         → raw backtest results
2. /strategy-validation     → stats, WFO, Monte Carlo
3. /backtest-report-generator → HTML tearsheet
4. /trade-journal-analytics → performance log
```

### Production System Build
```
1. /pro-code-architecture   → system design
2. /ai-agent-builder        → agent scaffolding
3. /code-review             → quality gate
4. /run-e2e-tests           → test results
5. /generate-snapshot       → deployment artifact
```

## Execution Rules

1. **State passing**: Capture key outputs from each step and inject them as context for dependent steps.
2. **Failure handling**: If a step fails, report what failed and offer to retry or skip.
3. **Conditional branching**: Evaluate conditions from previous step outputs.
4. **Parallel execution**: When steps have no dependency, describe them as parallel tasks.
5. **Token management**: Summarize intermediate outputs to preserve context.

## How to Use

When user provides a workflow definition, execute each step sequentially by:
1. Announcing the current step
2. Loading the relevant skill context
3. Executing the step with accumulated context
4. Capturing the output
5. Proceeding to next step

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…