skills/eval-creator-ci/SKILL.md
[Beta] CI-only eval regression runner using gh-aw (GitHub Agentic Workflows). Runs all eval cases in .evals/ on a schedule or per-PR, reports pass/fail results, and can block merges on regressions. Also creates new eval cases from promoted patterns flagged by learning-aggregator-ci. Use when: you want automated regression testing of promoted rules in CI/headless pipelines. For interactive eval creation and runs, use eval-creator.
npx skillsauth add pskoett/pskoett-ai-skills eval-creator-ciInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
gh skill install pskoett/pskoett-skills eval-creator-ci
For interactive sessions, use:
gh skill install pskoett/pskoett-skills eval-creator
Fallback using the Agent Skills CLI:
npx skills add pskoett/pskoett-skills/skills/eval-creator-ci
npx skills add pskoett/pskoett-skills/skills/eval-creator
Runs the outer loop's regress-test step in CI. Executes all eval cases in .evals/, reports pass/fail results, and optionally blocks merges on regressions. Can also create new eval cases from promotion candidates flagged by learning-aggregator-ci.
The interactive eval-creator skill is designed for in-session use where the user creates evals and runs them with immediate feedback. This CI variant runs on schedule or per-PR and posts results as check annotations.
CI agents do not have implementation context. They execute mechanical verification methods (grep checks, command checks, file checks, rule checks) defined in eval case files. They do not interpret results beyond pass/fail — nuanced judgment is left to human review of the posted report.
gh CLI authenticated with repo accessgh-aw extension installed (gh extension install github/gh-aw, v0.40.1+).evals/ directory with eval cases (created by eval-creator or eval-creator-ci).evals/EVAL_INDEX.md with eval case indexHard rules for headless execution:
.evals/ only — when creating new evals from promotion candidateseval_creator_ci keyreferences/workflow-example.md into .github/workflows/eval-creator-ci.mdgh aw compile (add --actionlint --zizmor for security scan)cache-memory: stores eval run history (last-run dates, result trends) across runs. Avoids re-running evals that haven't changed.workflow_call: in create mode, triggered by learning-aggregator-ci via call-workflow. Receives promotion candidates as workflow inputs.upload-artifact: persists eval results YAML for downstream consumption.The CI agent follows these rules in order:
.evals/EVAL_INDEX.md to get the list of all eval cases.evals/cases/:
a. Read the eval case metadata and verification method
b. Check preconditions — if not met, mark as skip
c. Execute the verification method:
grep-check: Search target files for pattern, compare to expected (found/not_found)command-check: Run the command, check exit code and/or outputfile-check: Verify file or section existsrule-check: Read target file, search for expected content
d. Compare result to expected outcome
e. Record pass/fail/skip.evals/EVAL_INDEX.md with last-run date and last-result for each caseeval_creator_cilearning_aggregator_ci artifact or gap report from the most recent learning-aggregator-ci runeval_candidate: true:
a. Determine the appropriate verification method based on the pattern type
b. Create the eval case file in .evals/cases/ with proper frontmatter
c. Add the entry to .evals/EVAL_INDEX.mdeval_creator_ci:
version: "0.1.0"
source:
run_id: "<workflow run ID>"
trigger: "pull_request | schedule | workflow_dispatch"
run_date: "YYYY-MM-DD"
mode: "run | create | both"
run_results:
total: 12
passed: 10
failed: 1
skipped: 1
failures:
- id: "eval-20260301-001"
pattern_key: "harden.input_validation"
rule_summary: "Always validate external inputs"
expected: "not_found"
actual: "found"
target: "src/api/handler.ts"
recovery_action: "Add input validation to new handler endpoint"
skips:
- id: "eval-20260315-003"
reason: "Precondition not met: project does not use TypeScript"
create_results:
created: 2
cases:
- id: "eval-20260411-001"
pattern_key: "simplify.dead_code"
verification_method: "grep-check"
source_learning: "LRN-20260301-001"
- id: "eval-20260411-002"
pattern_key: "harden.authorization"
verification_method: "rule-check"
source_learning: "LRN-20260315-003"
summary:
regressions: 1
new_evals_created: 2
gate_result: "fail"
followup_required: true
| Output | Destination | Content |
|--------|------------|---------|
| Eval results | PR comment or check annotation | Pass/fail summary with failure details |
| YAML artifact | Workflow artifact | Machine-readable eval_creator_ci payload |
| Check status | Check run | Pass or fail based on gate policy |
| New eval files | .evals/cases/ (if create mode) | Eval case markdown files |
Configure blocking behavior:
| Policy | Behavior |
|--------|----------|
| strict | Any eval failure blocks the check run |
| advisory | Failures are reported but do not block |
| critical-only | Only evals from critical or high severity patterns block |
Default: advisory (report but don't block). Teams should escalate to strict once eval coverage stabilizes.
Recommended: per-PR + weekly schedule
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
schedule:
- cron: '0 10 * * 1' # Monday 10am UTC (after learning-aggregator-ci)
workflow_dispatch:
Per-PR runs catch regressions before merge. Weekly runs catch drift in the harness itself. Schedule after learning-aggregator-ci so new evals from promotions are available.
eval-creator (interactive) — creates eval cases manuallylearning-aggregator-ci — produces promotion candidates with eval_candidate: trueharness-updater (interactive) — flags eval candidates after promoting patterns.learnings/learning-aggregator-ci → promotion candidates (eval_candidate: true)
↓
eval-creator-ci (create mode)
↓
.evals/cases/
↓
eval-creator-ci (run mode, per-PR)
↓
pass/fail report → PR comment + check annotation
↓
regression failures → self-improvement-ci → .learnings/
| Aspect | Interactive (eval-creator) | CI (eval-creator-ci) |
|--------|------|------|
| Trigger | Manual invocation | PR events, cron schedule, workflow_dispatch |
| Eval creation | User-driven with immediate feedback | Automated from learning-aggregator-ci candidates |
| Eval execution | In-session with inline results | Headless with PR comment output |
| Human interaction | User reviews results inline | Async review via GitHub |
| Gate behavior | No blocking — informational | Configurable: advisory, critical-only, strict |
| File modification | Updates eval case metadata | Updates eval index + creates new cases (in create mode) |
development
Implementation + audit loop using parallel agent teams with structured simplify, harden, and document passes. Spawns implementation agents to do the work, then audit agents to find complexity, security gaps, and spec deviations, then loops until code compiles cleanly, all tests pass, and auditors find zero issues or the loop cap is reached. Use when: implementing features from a spec or plan, hardening existing code, fixing a batch of issues, or any multi-file task that benefits from a build-verify-fix cycle.
tools
Active runtime recovery for coding agents: when something breaks mid-task, diagnose the root cause, write a fix, VERIFY by re-running the broken thing, then file a `HEAL-` entry to `.learnings/HEALS.md` with proof. Use whenever a command, test, build, or lint fails or exits non-zero; on missing tooling, dependency/lockfile mismatch, wrong runtime version, venv or permission errors, port conflicts, dirty git state, or a missing `.env`; when the agent needs a helper or one-off script that doesn't exist yet; when an external API, tool, or MCP errors or rate-limits; or when a test flakes. Search `HEALS.md` by `Pattern-Key` first — most heals are recurrences, so increment `Recurrence-Count` instead of duplicating. Verify is mandatory: mark `pending-verify` honestly if sandboxed, `abandoned` if the fix can't be made to work. Pairs with `self-improvement` (which promotes recurring heals to durable memory) but owns the verify-before-persist discipline self-improvement doesn't.
development
Control-plane workflow for coordinating multi-agent, multi-session project work from a single Codex, GitHub Copilot, or agent-app control session. Use this skill whenever the user asks to orchestrate agents, create or steer worker sessions, run a workflow-like effort, fan out audits/research/migrations, coordinate parallel implementation streams, monitor other project sessions, or compare this control-session pattern to Claude Code dynamic workflows. This skill is especially relevant when the current session can spawn persistent project sessions and those sessions can spawn their own subagents, creating a two-level orchestration hierarchy.
tools
Active runtime recovery for coding agents: when something breaks mid-task, diagnose the root cause, write a fix, VERIFY by re-running the broken thing, then file a `HEAL-` entry to `.learnings/HEALS.md` with proof. Use whenever a command, test, build, or lint fails or exits non-zero; on missing tooling, dependency/lockfile mismatch, wrong runtime version, venv or permission errors, port conflicts, dirty git state, or a missing `.env`; when the agent needs a helper or one-off script that doesn't exist yet; when an external API, tool, or MCP errors or rate-limits; or when a test flakes. Search `HEALS.md` by `Pattern-Key` first — most heals are recurrences, so increment `Recurrence-Count` instead of duplicating. Verify is mandatory: mark `pending-verify` honestly if sandboxed, `abandoned` if the fix can't be made to work. Pairs with `self-improvement` (which promotes recurring heals to durable memory) but owns the verify-before-persist discipline self-improvement doesn't.