/wicked-garden:wicked-garden-qe-scenario-executorfrom wicked-garden
Executes qe scenario markdown files end-to-end: reads steps, runs bash commands and CLI tools, captures output, and writes evidence JSON with PASS/FAIL/PARTIAL results.
Ships in wicked-garden. 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.
None: SKILL.md is the whole skill.
You execute qe scenario files and write evidence JSON.
Script-backed steps use the wicked-garden launcher: wicked-garden run <plugin-root-relative path, e.g. scripts/…> [args]. It is on PATH after npm i -g wicked-garden; otherwise use npx wicked-garden run …; inside a wicked-crew run it is "$WICKED_GARDEN_ROOT/scripts/wicked-garden".
If none of these is available, or Python 3 is missing, skip the script-backed step, say so, and follow the manual alternative where one is given next to it — never invent the script's output.
Relative paths in this skill are relative to the directory that contains this SKILL.md.
Open the scenario file with your file reader. Extract YAML frontmatter:
name, description, category, tools.required, tools.optional, timeoutFor each required tool:
command -v playwright > /dev/null 2>&1 && echo "playwright: ok" || echo "playwright: missing"
command -v cypress > /dev/null 2>&1 && echo "cypress: ok" || echo "cypress: missing"
command -v k6 > /dev/null 2>&1 && echo "k6: ok" || echo "k6: missing"
command -v curl > /dev/null 2>&1 && echo "curl: ok" || echo "curl: missing"
Missing required tools → SKIPPED for steps that need them (degrade to PARTIAL).
Parse the ## Setup section. If present, execute its bash blocks:
{setup commands}
Capture exit code. If setup fails (non-zero), warn but continue — steps may still work.
Parse each ### Step N: description (cli-name) section in order:
timeout nor gtimeout is
on PATH (bare macOS, Windows Git Bash). A richer Node-based wrapper is
available in {WT_LIB}/exec-with-timeout.mjs when the caller can invoke Node
directly — prefer it over the shell chain when possible.# Cross-platform tmp dir: TMPDIR (Unix), TEMP (Windows Git Bash), fallback /tmp
WT_TMP="${TMPDIR:-${TEMP:-/tmp}}"
# timeout → gtimeout (macOS coreutils) → bare (last resort; warn)
if command -v timeout >/dev/null 2>&1; then
timeout "${TIMEOUT:-120}" bash -c '{step_command}' \
> "${WT_TMP}/wt-step-${N}.stdout" 2> "${WT_TMP}/wt-step-${N}.stderr"
elif command -v gtimeout >/dev/null 2>&1; then
gtimeout "${TIMEOUT:-120}" bash -c '{step_command}' \
> "${WT_TMP}/wt-step-${N}.stdout" 2> "${WT_TMP}/wt-step-${N}.stderr"
else
echo "warn: no timeout/gtimeout on PATH; running step without enforced timeout" >&2
bash -c '{step_command}' \
> "${WT_TMP}/wt-step-${N}.stdout" 2> "${WT_TMP}/wt-step-${N}.stderr"
fi
EXIT_CODE=$?
Parse the ## Cleanup section. Execute always, even on failure:
{cleanup commands} || true
Write step evidence and overall evidence to the evidence directory:
Step evidence (${EVIDENCE_DIR}/step-${N}.json):
{
"step": N,
"name": "{step description}",
"tool": "{cli used}",
"exit_code": 0,
"result": "PASS|FAIL|SKIPPED",
"stdout": "{captured stdout (truncated to 10KB)}",
"stderr": "{captured stderr (truncated to 2KB)}",
"duration_ms": 234,
"executed_at": "{ISO timestamp}"
}
Overall evidence (${EVIDENCE_DIR}/evidence.json):
{
"scenario": "{name}",
"run_id": "{run id from task prompt}",
"started_at": "{ISO timestamp}",
"finished_at": "{ISO timestamp}",
"overall_result": "PASS|FAIL|PARTIAL",
"pass_count": N,
"fail_count": M,
"skip_count": K,
"missing_tools": [{"tool": "k6", "install": "brew install k6"}],
"step_files": ["step-1.json", "step-2.json"]
}
Use scripts/_python.sh Python pattern for cross-platform JSON output.
## Results: {scenario name}
**Status**: {PASS|FAIL|PARTIAL}
**Duration**: {total}s
**Steps**: {pass} passed, {fail} failed, {skip} skipped
| Step | Status | Duration | Details |
|------|--------|----------|---------|
| {name} | PASS | 0.5s | |
| {name} | FAIL | 2.0s | Exit code 1: {stderr snippet} |
| {name} | SKIPPED | - | Tool 'k6' not installed |
Evidence written to: {EVIDENCE_DIR}/evidence.json
timeout / gtimeout / bare-fallback chain for bash execution, or {WT_LIB}/exec-with-timeout.mjs for Node-based callers{WT_LIB}){WT_LIB} is the plugin's own qe helper directory — the helper modules ship
in-catalog (scripts/qe/lib/, ported from the retired wicked-testing package
in Phase 6c). Resolve it (cross-platform):
WT_LIB="$(wicked-garden path scripts/qe/lib)"
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub mikeparcewski/wicked-garden --plugin wicked-garden91 skills in this plugin
/wicked-garden-agenticAgentic-systems domain skill: review, design, audit, and framework selection
for AI agent systems. Routes to one of four actions (review | design | audit |
frameworks) backed by the rubrics in refs/.
Use when: "agentic review", "review this agent system", "full agentic codebase
review", "trust and safety audit", "audit my agents for GDPR/HIPAA/SOC2/NIST
compliance", "design an agentic system", "design a multi-agent architecture",
"which agentic framework should I use", "compare LangChain vs CrewAI vs
AutoGen", or any former /wicked-garden:agentic:{review|design|audit|frameworks}
invocation.
Disambiguation: this domain reviews and designs **AI agent systems**. For
ordinary source code use the engineering review; for a binding go/no-go
verdict use the archetype review (see docs/domains.md → "review appears in
three domains").
/wicked-garden-agentic-architectFive-layer architecture validation, agent topology analysis, orchestration
pattern assessment, and framework detection for agentic systems.
Use when: architecture review of an AI agent system, agent topology analysis,
validating the five-layer model (cognition/context/interaction/runtime/
governance), assessing orchestration patterns, or as a parallel worker in a
heavyweight wicked-garden-agentic review.
Other plugins' skills for the same job