creating-workflows
REFERENCE ONLY — schema documentation for authoring devkit workflow YAML files (step types, variable interpolation, loops, parallel groups, examples).
Skill by 5uck1ess
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/5uck1ess-creating-workflows
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: writing, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/creating-workflows
What's inside
- Skill name
creating-workflows- Description
- REFERENCE ONLY — schema documentation for authoring devkit workflow YAML files (step types, variable interpolation, loops, parallel groups, examples). NOT a runnable workflow. Load this only when asked to write or modify a workflow YAML, never on natural-language task requests.
- License
- MIT
- Instructions
- 98 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Writing Workflows
Devkit workflows are YAML files in the `workflows/` directory. Each workflow defines a sequence of steps executed in order, with optional loops, branches, and parallel groups.
## Schema
```yaml
name: string # Workflow display name
description: string # What this workflow does
budget: # Optional: token budget
limit: number # Max tokens (e.g., 300000)
downgrade: string # Model to downgrade to when approaching limit
steps:
- id: string # Unique step identifier
model: string # Model tier: "smart", "general", "fast"
prompt: string # Instruction (supports {{variable}} interpolation)
command: string # Shell command — runs directly, no LLM (mutually exclusive with prompt)
parallel: [ids] # Optional: run these step IDs concurrently
loop: # Optional: repeat this step
max: number # Maximum iterations
until: string # Stop condition (string match in output)
gate: string # Shell command run after each iteration — exit 0 keeps, non-zero reverts
branch: # Optional: conditional execution
if: string # Condition expression
then: string # Step id to jump to if true
else: string # Step id to jump to if false
```
## Step Fields
- **id** — Must be unique. Used for branch targets and output references.
- **model** — Which model tier runs this step. Pick based on task complexity.
- **prompt** — The instruction. Use `{{step-id}}` to reference earlier outputs. Use `{{input}}` for workflow input. Mutually exclusive with `command`.
- **command** — Shell command run directly (no LLM). Output is captured and available via `{{step-id}}`. Costs $0. Mutually exclusive with `prompt`.
- **expect** — Only for `command` steps. Values: `success` (step fails if exit code is non-zero) or `failure` (step fails if exit code is 0). Omit for the default behavior where all exit codes are informational. Enables bugfix reproduction gates: repro with `expect: failure` must fail before fix, verify with `expect: success` must pass after.
- **parallel** — Lists step IDs to run concurrently. Results collected before next sequential step.
- **loop** — Repeats with `max` iterations. Exits early if output contains `until` string. Optional `gate` command enforces quality after each iteration.
- **loop.gate** — Shell command run after each loop iteration. Exit 0 = keep changes and commit. Non-zero = revert changes via `git checkout`. 3 consecutive gate failures trigger stuck detection and stop the loop.
- **branch** — Routes execution conditionally. Both `then` and `else` reference step `id`s.
## Minimal Example
```yaml
name: summarize-and-review
description: Summarize a document then review the summary
steps:
- id: summarize
model: general
prompt: |
Summarize in 3 bullet points:
${{input.document}}
- id: review
model: smart
prompt: |
Review this summary for accuracy:
Summary: ${{steps.summarize.output}}
Original: ${{input.document}}
```
## Command + Gate Example
```yaml
name: lint-and-fix
description: Deterministic lint loop with gate enforcement
steps:
- id: baseline
command: "eslint src/ 2>&1 || true"
- id: fix
model: smart
prompt: |
Lint output: {{baseline}}
Fix ONE group of related issues.
loop:
max: 10
until: "exit code: 0"
gate: "eslint src/"
- id: report
command: "echo 'Lint session complete'"
```
Key behaviors:
- `command` steps run shell commands directly — no LLM tokens spent.
- `gate` runs after each loop iteration. Exit 0 keeps changes, non-zero reverts via git.
- 3 consecutive gate failures stop the loop (stuck detection).
- Command output includes `exit code: N` for downstream branching.
## Tips
- Keep prompts focused. One task per step.
- Use descriptive `id`s — they appear in logs and output references.
- Put complex multi-step logic in workflows, not in prompts.
- Test workflows with small inputs first.
- Set token budgets for expensive workflows to prevent runaway costs.From 5uck1ess/devkit, MIT.
More from 5uck1ess/devkit
- 0.619score
changelog
5uck1ess
Generate a structured changelog from git history — use when asked to create a changelog, release notes, or summarize what changed between…
SkillAFreshness: A★ 5Claude Code +9 - 0.619score
health
5uck1ess
Check devkit health — which external CLIs (codex, gemini, gh, rtk, sg, gcli) are installed, which agents are available, which skills are ready to use.
SkillAFreshness: A★ 5Claude Code +9 - 0.619score
browser
5uck1ess
Automate a web browser — use when asked to click buttons, fill forms, navigate multi-step flows, extract data from JS-rendered pages, log into a site, record…
SkillAFreshness: A★ 5Claude Code +9 - 0.619score
mega-pr
5uck1ess
Fan-out PR review that runs BOTH `/devkit:tri-review` AND `/pr-review-toolkit:review-pr` in parallel for maximum coverage, then presents unified results —…
SkillAFreshness: A★ 5Claude Code +9 - 0.619score
autoloop
5uck1ess
Autonomous improvement loop inspired by karpathy/autoresearch — use when asked to run an autoloop, auto loop, autonomous improvement, or run experiments…
SkillAFreshness: A★ 5Claude Code +9 - 0.619score
adr
5uck1ess
Generate Architecture Decision Records — use when asked to document a decision, create an ADR, record why we chose X, or capture architectural rationale.
SkillAFreshness: A★ 5Claude Code +9 - 0.616score
dont-reinvent
5uck1ess
Don't reinvent the wheel — use existing libraries, tools, and stdlib before building custom solutions.
SkillAFreshness: A★ 5Claude Code +9 - 0.615score
deep-research
5uck1ess
High-stakes research with Analysis of Competing Hypotheses, disconfirmation testing, evidence matrices, and sensitivity checks (~400k token budget) — use when…
SkillAFreshness: A★ 5Claude Code +9 - 0.615score
pr-ready
5uck1ess
Full end-to-end PR pipeline — validate → necessity-check → lint (loop) → test (loop) → security scan → doc-check → changelog → create-pr → monitor reviews…
SkillAFreshness: A★ 5Claude Code +9 - 0.614score
harness-audit
5uck1ess
Audit the agent harness itself — CLAUDE.md, hooks, MCP configs, agent definitions, and permissions — for misconfigurations, injection risks, and security gaps.
SkillAFreshness: A★ 5Claude Code +9 - 0.614score
onboard
5uck1ess
Generate a codebase onboarding guide — use when asked to explain this codebase, help understand the architecture, give a tour of the repo, or onboard a new…
SkillAFreshness: A★ 5Claude Code +9 - 0.614score
audit
5uck1ess
External-scanner-driven project health check — runs the actual ecosystem tools (npm audit, eslint, govulncheck, semgrep, pip-audit, etc.) to surface what the…
SkillAFreshness: A★ 5Claude Code +9
Signals
- Stars
- 5
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Apr 11, 2026 (6 months ago)
- Last release
- Oct 21, 2026 (6 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/5uck1ess/devkit
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from 5uck1ess
- 0.619score
health
5uck1ess
Check devkit health — which external CLIs (codex, gemini, gh, rtk, sg, gcli) are installed, which agents are available, which skills are ready to use.
SkillAFreshness: A★ 5Claude Code +9 - 0.619score
browser
5uck1ess
Automate a web browser — use when asked to click buttons, fill forms, navigate multi-step flows, extract data from JS-rendered pages, log into a site, record…
SkillAFreshness: A★ 5Claude Code +9 - 0.619score
adr
5uck1ess
Generate Architecture Decision Records — use when asked to document a decision, create an ADR, record why we chose X, or capture architectural rationale.
SkillAFreshness: A★ 5Claude Code +9 - 0.619score
changelog
5uck1ess
Generate a structured changelog from git history — use when asked to create a changelog, release notes, or summarize what changed between…
SkillAFreshness: A★ 5Claude Code +9 - 0.619score
autoloop
5uck1ess
Autonomous improvement loop inspired by karpathy/autoresearch — use when asked to run an autoloop, auto loop, autonomous improvement, or run experiments…
SkillAFreshness: A★ 5Claude Code +9 - 0.619score
mega-pr
5uck1ess
Fan-out PR review that runs BOTH `/devkit:tri-review` AND `/pr-review-toolkit:review-pr` in parallel for maximum coverage, then presents unified results —…
SkillAFreshness: A★ 5Claude Code +9
Cite this page
creating-workflows skill. Agent Mart. https://agentmart.dev/skills/5uck1ess-creating-workflows (last updated 2026-10-24)