Skip to content
Development
Command

/skill-benchmark

Benchmark AI skill effectiveness by measuring implementation quality against legacy constraints.

From plugin
agent-skills-standard
56721 skills21 agents21 commands1 MCP
Install
$ npx -y skills add hoangnguyen0403/agent-skills-standard --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/skill-benchmark

Context preview

What this command does when you run it.

Benchmark AI skill effectiveness by measuring implementation quality against legacy constraints.

Command definition

skill-benchmark.md

Skill Benchmark

Benchmark AI skill effectiveness by measuring implementation quality against legacy constraints.

**Input:** $ARGUMENTS

Optional args: slug=<feature>, ticket=<id/url>, mode=interactive|autonomous|channel, channel=<id>, auto_continue=true|false, profile=business|hybrid|technical.

Instructions

Execute the following steps for **$ARGUMENTS**.

๐Ÿ“Š Skill Benchmark Orchestrator

> **Goal**: Quantify how much active skills improve implementation quality. Deliver a prioritized compliance delta and skill applicability report.

---

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 your scorecard from `evals/evals.json`, not from hardcoded patterns. Follow the Scorecard Rubric in `<SKILLS>/common/common-skill-creator/references/benchmark.md` when synced:

1. Read `<SKILLS>/<category>/<skill>/evals/evals.json`. 2. Generate columns for **Failure Pattern** and **Success Pattern**. 3. Refactor the file, citing the exact skill rule for each change. 4. For guardrail skills, read `pressure_scenarios`, `rationalizations`, `red_flags`, and `behavior_assertions`.

---

Step 4 โ€” Benchmark Report & Compliance Delta

Output the scorecard and compliant score using the templates in `<SKILLS>/common/common-skill-creator/references/benchmark.md` when synced.

  • **Compliance Score Before vs After**.
  • **ฮ” Delta: +Z%** ๐Ÿš€.
  • **Eval Alignment**: How well does the skill teach what the eval tests?
  • **Behavior Coverage**: pressure scenarios, rationalizations, red flags, behavior assertions.

---

Step 5 โ€” Skill Applicability & Iteration

For every `โŒ FAIL`, identify the root cause using the **Iteration Table** in: `<SKILLS>/common/common-skill-creator/references/benchmark.md` when synced.

1. Signal not matching file? โ†’ Refine trigger. 2. Rule too vague? โ†’ Add Anti-Pattern rule. 3. Conflict? โ†’ Ensure P0 overrides P1. 4. Guardrail weak under pressure? โ†’ Add rationalization counters and red flags.

Suggested .skillsrc Exclusions

Recommend any skills that are noisy or non-applicable for the project.

exclude:
  - [skill-id] # reason
Read more
Ships withagent-skills-standard

The portable SDLC standards layer for AI coding agents. Sync once, then work in your own runtime.

Get the whole plugin

Other commands on agent-skills-standard.