/amplihack:agentic-workflow-firstfrom amplihack
Guides new work toward deterministic workflows of agentic steps, prompts, and tool calls instead of imperative code. Use when designing features, deciding build approach, or structuring work.
Ships in amplihack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Steer new work toward deterministic workflows made of agentic steps (prompts) + tool calls + a thin deterministic rail, and away from imperative code. Judgment belongs in prompts; side effects belong in tools; code is only glue.
I load when you mention: designing or structuring a feature, "how should I build this", "should this be code or a recipe", starting new work, "make this agentic", or "reduce the code".
Most core functionality should be a collection of deterministic workflows with agentic steps, prompts, and access to tools — NOT code. Rust is only a thin deterministic rail.
Default behavior is to write code. This skill forces the opposite default: prove a step cannot be a prompt or a tool before you write imperative logic for it.
A second rule governs fixes: validate strictly, fail loudly, recover agentically,
never lower the bar. Keep the validation and keep the loud failure. What changes is
what happens next. The failure, with its evidence and the step's purpose, goes to an
agent step, which works out whether the change, the environment, the plan or the check
itself is at fault, and then fixes the cause and revalidates, changes approach, or stops
and states plainly what is blocked and why. Recovery decides whether to go round again
by whether it is making progress, not by a retry count: a pass that produces new
information or a different failure is progress, and a pass that returns the same failure
with nothing new learned is not. That is when it stops and states what is blocked. Do
not gate recovery on an attempt counter: the repo's step-failure recovery has no
timers, no waits and no attempt counter
(docs/reference/step-failure-recovery.md).
When a step or check fails, ask first why it failed. If the check was right, fix the cause. If the check was making a judgement, keep the validation and move the judgement into an agent step. Never skip, weaken, mock out, special-case or delete a check to get past it, and never report a success you have not shown. A step that would lose work (deleting unpushed commits, force-pushing) refuses; that refusal is loud and goes to recovery like any other failure.
Follow these in order for any new piece of work.
Write the desired behavior as a single goal sentence and a numbered list of observable, verifiable success criteria (what a passing run produces). If you cannot state how to observe success, you are not ready to design.
Break the goal into an ordered (or branching) sequence of steps. Each step has one responsibility and a named output. This ordered set IS the workflow.
Tag each step as exactly one of:
git, gh. Choose this for anything with an external effect or a single
correct deterministic result.Classification test — apply literally:
gh,
run a command)? → (b).classify() / orient() / decide() / prioritize()
function → it is judgment → it MUST be (a) behind a prompt.Write the workflow as a recipe YAML (repo format — see templates.md). Agentic steps
use type: "agent" with a prompt: block; tools use type: "bash". Data flows
between steps as typed records (a file/JSON schema written by one step, read
integrity-checked by the next), never by scraping/parsing another step's stdout prose.
Write imperative code ONLY for step-type (c), and only for what genuinely cannot be a recipe/prompt/tool. For every line of imperative judgment, write a one-line justification of why it is not an agentic step. If you cannot justify it, convert it.
The workflow must be runnable and observable. Run it, confirm each success criterion from Step 1 is produced, and confirm the typed-record handoffs (not stdout scraping) carry the data.
See reference.md for the four named anti-patterns and their replacements:
0o600),
freshness-checked records. The reader still refuses to proceed on a record it
cannot verify; it reports which check failed, as evidence an agent step can read.classify_signal, orient,
decide) → an agentic step behind a prompt.templates.md: copy-ready recipe, prompt, typed-record, and record-integrity-reader
skeletons matching the repo's real shapes.worked-example.md — one behavior (classify + route a signal) built as recipe +
prompt + typed record + ~10-line rail, contrasted with a naive hardcoded function.
A second example moves step-21 pr-ready's judgement out of workflow_pr_scope.sh
into an agent step, keeping the readiness check and the loud "none found".Some shipped recipes in this repo still hand data between steps by having a later step
parse an earlier step's stdout (e.g. parse_json over agent output). That works, and
this skill does not claim those recipes are broken. The recipe step is the agentic
unit either way. What this skill teaches is the improved handoff: a step writes a
typed record (owner-only, freshness-checked) and the next step verifies it, refusing
to act on a record that fails a check and handing that failure, with its reason, to an
agent step.
Model new work on the typed-record handoff; treat stdout-scraping as legacy, not as the
target pattern.
What SKILL.md sets; muted values are Claude Code's defaults
30 skills in this plugin
/amplihack-expertComprehensive knowledge of amplihack framework architecture, patterns, and usage/code-atlasBuilds comprehensive, living code-atlases as multi-layer architecture documents derived from
code-first truth. Defaults to both Graphviz DOT and Mermaid. User can override to single format.
Language-agnostic (Go, TypeScript, Python, .NET, Rust, Java). Files issues with
'code-atlas-bughunt' label. Treats atlas-building as a multi-agent bug-hunting journey:
graph-form reasoning exposes structural bugs, route/DTO mismatches, orphaned env vars,
dead code paths, and stale documentation that linear review misses. Three-pass bug hunt
with per-journey PASS/FAIL/NEEDS_ATTENTION verdicts.
Use when: creating architecture documentation, investigating unfamiliar codebases,
hunting structural bugs, setting up CI/CD diagram refresh, or publishing to GitHub Pages/mkdocs.
/code-philosophyMulti-pass code philosophy audit skill. Performs three distinct passes
over target code to verify adherence to the project's PHILOSOPHY.md
principles. Produces a structured report with findings and delegates
fixes to dev-orchestrator. This is an advisory audit-only skill — it
does not modify code directly.
/crusty-old-engineerCurmudgeonly engineering advisor that provides grounded skepticism, evidence-linked judgment,
and constructive progress on architectural decisions, legacy refactors, tooling choices, and
broad "how should I start?" questions. Sounds like a senior systems engineer who has reviewed
too many designs to be impressed, but still cares about correctness.
Use when: architectural decisions, legacy replacements, new tooling evaluation, broad planning questions.
/default-workflowDevelopment workflow for features, bugs, refactoring. Normally executed as a
sub-recipe by dev-orchestrator/smart-orchestrator. Supports direct invocation
via recipe runner for standalone use.
/dev-orchestratorDefault task orchestrator for all development and investigation work.
Classifies tasks, decomposes into parallel workstreams if appropriate,
and routes execution through the recipe runner.
npx claudepluginhub rysweet/amplihack-rs --plugin amplihackOther plugins' skills for the same job