/sdlc-workflow:run-evalsfrom sdlc-workflow
Runs skill evals with deterministic output layout, grades assertions, aggregates benchmark.json, and renders summary.md via Python scripts. Triggers on "run evals", "eval <skill-name>", "benchmark", or "grade evals".
Ships in sdlc-workflow. 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; scripts run unread.
Run eval cases for a skill, grade each against assertions, and produce structured results in a deterministic directory layout.
The user provides:
plan-feature)evals.json file (e.g., evals/plan-feature/evals.json)Every run produces this exact layout — no variation:
<workspace>/
├── benchmark.json
├── feedback.json
├── summary.md
├── eval-1/
│ ├── grading.json
│ ├── timing.json
│ └── outputs/
│ └── (skill outputs)
├── eval-2/
│ └── ...
└── eval-N/
└── ...
Read the evals file and extract:
skill_name — the skill being evaluatedevals[] — array of test cases, each with id, prompt, expected_output,
files (optional), and assertionsFor each eval in evals[], spawn a subagent with this prompt:
You are executing an eval for the /sdlc-workflow:<skill-name> skill.
Task: <eval.prompt>
<if eval.files>
Input files (read these before starting):
<for each file in eval.files>
- <evals_dir>/<file>
</for>
</if>
Write all outputs to: <workspace>/eval-<eval.id>/outputs/
Important:
- Invoke the /sdlc-workflow:<skill-name> skill via the Skill tool to process this task
- Write every output file to the outputs/ directory
- Do not interact with external services (Jira, Figma, etc.) — write to files instead
Parallelism: Spawn all eval subagents in a single turn so they run concurrently. Do not wait for one eval to complete before starting the next — the eval cases are independent.
When each subagent completes, capture total_tokens and duration_ms
from the task completion notification immediately. Write to
<workspace>/eval-<eval.id>/timing.json:
{
"total_tokens": <value>,
"duration_ms": <value>
}
As each eval completes, spawn a grader subagent. Grading can overlap with execution — grade each eval as it finishes rather than waiting for all to complete.
Grader prompt:
Grade the outputs of an eval run against these assertions.
Assertions:
<for each assertion in eval.assertions>
- <assertion>
</for>
Outputs directory: <workspace>/eval-<eval.id>/outputs/
## Grading rules
1. Read every file in the outputs directory. Open and read file
contents — do not judge based on filenames alone.
2. Burden of proof is on PASS. Default to FAIL. Only mark PASS when
you find specific, concrete evidence in the output files that
satisfies the assertion.
3. No partial credit. Each assertion is binary: PASS or FAIL.
"Mostly correct" or "partially addressed" is FAIL.
4. Cite specific evidence. The evidence field must quote or reference
exact content from output files — file paths, line excerpts, counts.
Never write vague evidence like "the output generally addresses this."
5. Check structure AND content. Verify both that expected sections/files
exist AND that their content satisfies the assertion.
6. Contradictory evidence means FAIL. If some outputs support the
assertion but others contradict it, the assertion fails.
Write results to: <workspace>/eval-<eval.id>/grading.json
Use this exact JSON structure:
{
"assertion_results": [
{
"text": "<assertion text>",
"passed": true/false,
"evidence": "<specific evidence from output files>"
}
],
"summary": {
"passed": <count>,
"failed": <count>,
"total": <count>,
"pass_rate": <0.0 to 1.0>
}
}
After all evals are graded, run the aggregation script:
python3 <skill-dir>/scripts/aggregate_benchmark.py --results <workspace>
The script reads all eval-N/grading.json and eval-N/timing.json
files, computes mean and stddev for pass rate, duration, and token usage,
and writes <workspace>/benchmark.json.
Write <workspace>/feedback.json with empty strings for each eval:
{
"eval-1": "",
"eval-2": "",
...
}
Determine the baseline path: evals/<skill-name>/baselines/latest/.
Read the plugin version from plugins/sdlc-workflow/.claude-plugin/plugin.json
(the version field). This file is in the base-branch checkout (trusted), not
in the PR content.
Run the render script, passing the skill name and version so the heading identifies which skill the results belong to and the footer attributes the output:
python3 <skill-dir>/scripts/render_summary.py \
--results <workspace> \
--baseline <baseline-path> \
--skill <skill-name> \
--version <version>
If the baseline path does not exist, omit --baseline — the script
renders results without a comparison.
The script writes <workspace>/summary.md. Display its contents to the
user.
When any eval has failing assertions, the summary includes a
"Failed Assertions" section after the per-eval table, before the
aggregate and baseline stats. Each failing eval is rendered as a
collapsible <details> block listing the assertion text and grading
evidence for each failed assertion.
eval-<id>/ directory using the id from evals.json.grading.json uses assertion_results (not expectations) with fields
text, passed, evidence.<skill-dir> is the directory containing this SKILL.md — resolve it from
the absolute path shown in the skill invocation header.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub rhecosystemappeng/sdlc-plugins --plugin sdlc-workflow9 skills in this plugin
/define-featureInteractively define a Jira Feature by walking through all description template sections and creating the issue.
/implement-taskImplement a Jira task by reading its structured description, modifying code, running tests, and updating Jira.
/plan-featureGenerate an implementation plan and Jira tasks from a Jira feature and Figma mockups.
/report-bugInteractively define a Jira Bug by walking through project-configured template sections, or accept structured input programmatically from other skills. Creates the issue and suggests triage.
/setupSet up or update the Project Configuration in your CLAUDE.md for use with sdlc-workflow skills.
/triage-bugUse when a Jira Bug issue needs investigation to identify root cause and produce a fix task. Covers bug triage, codebase investigation, root cause analysis, reproducer test guidance, and linked Task creation for implement-task consumption.Other plugins' skills for the same job