Skill Benchmark Skill
[!IMPORTANT]
Benchmark AI skill effectiveness by measuring implementation quality against legacy constraints.
Optional args: slug=<feature>, ticket=<id/url>, mode=interactive|autonomous|channel, channel=<id>, auto_continue=true|false, profile=business|hybrid|technical.
Instructions
When the user asks to perform this workflow, execute the following steps:
๐ Skill Benchmark Orchestrator
Goal: Quantify how much active skills improve implementation quality. Deliver a prioritized compliance delta and skill applicability report.
Runtime Contract
- Use for a scored skill-effectiveness comparison against legacy constraints.
- Load
common-decision-disciplineand apply its ยง8 continuation contract at entry and every handoff: the settled result selects the successor and specialized gates dominate; a report is not remediation work.
Step 1 โ Project Context & Active Skills
Identify the tech stack and all active skills in AGENTS.md.
# 1. Total source files and lines changed
find src -name "*.ts" -o -name "*.tsx" | xargs wc -l 2>/dev/null | sort -rn | head -20
# 2. Check active skill registry
cat AGENTS.md | head -80
Step 2 โ Auto-Select a Legacy Trap
Pick the file automatically. Rank candidates by the severity of anti-patterns:
- ๐ด P0: Hardcoded secrets; Logic inside UI components.
- ๐ P1: Wrong Router pattern; Global state for local concerns; Missing design tokens.
- ๐ก P2: Raw user-facing strings (i18n).
Step 3 โ Build Eval-Driven Scorecard
Source scorecard from evals/evals.json. Distinguish structural checks, textual transcript assertions, and executable verifier outcomes. Never add canned assertion keywords to skills to artificially inflate scores (no answer-anchor padding).
Follow the Scorecard Rubric in <SKILLS>/common/common-skill-creator/references/benchmark.md when synced:
- Read
<SKILLS>/<category>/<skill>/evals/evals.json. - Generate columns for Failure Pattern and Success Pattern.
- Refactor the file, citing the exact skill rule for each change.
- For guardrail skills, read
pressure_scenarios,rationalizations,red_flags, andbehavior_assertions.
Step 4 โ Benchmark Report & Evidence Breakdown
Output scorecard and evidence breakdown using templates in <SKILLS>/common/common-skill-creator/references/benchmark.md when synced.
- Score Before vs After: Report structural, textual transcript, and executable pass rates separately.
- Evidence Type: Explicitly label transcript text matches vs deterministic executable outcomes.
- Behavior Coverage: Pressure scenarios, rationalizations, red flags, behavior assertions.
Step 5 โ Skill Applicability, Ablation & Iteration
For every failure or candidate rule, evaluate using the Iteration Table and ablation criteria in benchmark.md:
- Signal not matching file? โ Refine trigger.
- Rule ineffective? โ Clarify procedural logic; do not pad canned keywords.
- Conflict? โ Ensure P0 overrides P1.
- Baseline model passes or repeated ablation shows zero delta? โ Flag as retirement candidate; preserve safety controls until deterministic enforcement exists.
Suggested .skillsrc Exclusions
Recommend any skills that are noisy or non-applicable for the project.
exclude:
- [skill-id] # reason