Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>SkillBench: Claude Code Skill GraderNew to Visual Studio Code? Get it now.
SkillBench: Claude Code Skill Grader

SkillBench: Claude Code Skill Grader

skillbench

| (0) | Free
Grades Claude Code skills (SKILL.md + references/) against the SkillBench rubric offline: diagnostics, quick fixes, security coverage, reports and a skills tree.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

SkillBench for VS Code

Grades Claude Code skills (SKILL.md + references/) against the SkillBench rubric while you edit. It runs offline and needs no account. The grading code is the same as the web app's: src/lib/skill/* and src/lib/review/model.ts are bundled in from the repo root.

Features

Feature What it does
Diagnostics Rubric failures (60 conditions), lint issues, frontmatter checks, broken references/ links, security coverage gaps (OWASP AST01–AST10) and dangerous instructions all show as squiggles and in the Problems panel. The rule id (L4, AST03, lint/hedge-word, FM-NAME-FOLDER, REF-BROKEN, …) is the diagnostic code, and hovering a squiggle explains the rule, its evidence and the fix. Hard fails (T1, T3, L9, D1) are errors.
Quick fixes Each automatic fix from FIX_RULES is offered as a quick fix on the matching diagnostic, plus Apply all automatic fixes, which re-grades between rounds and may add evals/smoke.md. Edits are applied unsaved so you can review or undo them.
Status bar Grade 90 · PASS for the active skill. Click it to open the report.
CodeLens Above the frontmatter: grade, security score, Re-grade, Open report.
Report A webview with the rubric grouped by section (failing checks link to their line), frontmatter and reference checks, a security panel, the custom rubric and suggested fixes. It uses a strict CSP (nonce-only script, default-src 'none') and VS Code theme colours.
Skills tree Explorer → Skills lists every SKILL.md in the workspace with its grade. Expand a skill to see its files, plus warnings for broken links and support files that SKILL.md never mentions.
Frontmatter Checks that name matches the folder, description is at most 1024 characters, and the description says when to use the skill.
New skill SkillBench: New Skill… scaffolds .claude/skills/<name>/SKILL.md from the drafting module.
Export zip SkillBench: Export Skill as Zip… writes the skill folder to a store-only zip.

Commands

skillbench.gradeSkill, skillbench.openReport, skillbench.applyAllFixes, skillbench.newSkill, skillbench.exportZip (plus skillbench.refreshSkills on the tree's title bar).

Settings

Setting Default Meaning
skillbench.passMark 85 Score needed to PASS. Hard fails still fail.
skillbench.gradeOnType true Re-grade while typing, debounced 300 ms. When off, skills are graded on open, save and editor switch.
skillbench.customRubricPath "" JSON file of binary indicators (absolute, ~/… or workspace-relative).

Custom rubric format (validated with the web app's customRubricSchema):

{
  "name": "Team rules",
  "indicators": [
    { "id": "X1", "label": "Names a test command", "pattern": "npm (run )?test" },
    { "id": "X2", "label": "No TODOs left", "pattern": "TODO", "absent": true },
    { "id": "X3", "label": "Reviewed by a second person" }
  ]
}

An indicator with a pattern (a case-insensitive regex tested per line, max 300 characters, optional flags) is checked automatically. absent: true inverts the check. An indicator without a pattern is listed in the report as needing manual review. Edits to the file take effect when you save it.

Which files activate it

The extension activates when the workspace contains **/SKILL.md or **/skills/**/*.md, or when a Markdown file is opened. It only acts on SKILL.md files and on files inside a skills/ folder (for example .claude/skills/**). For personal skills in ~/.claude/skills, add that folder to the workspace (File → Add Folder to Workspace).

Performance

  • Activation is lazy. The tree grades skills in the background only when the view is opened.
  • Results are cached per bundle state (versions of the open files in the skill, a disk-change counter per skill and the settings). Unchanged skills are never re-graded.
  • Grading runs after a debounce timer, never inside the edit event. Repeated requests for the same skill share one run.
  • The only runtime dependency is zod, bundled. There is no network access.

Develop

cd vscode-extension
npm install
npm run build        # esbuild → dist/extension.js
npm test             # vitest: mapping logic, no VS Code needed
npm run typecheck    # tsc --noEmit (also checks the shared ../src modules it imports)

Run: open vscode-extension/ in VS Code and press F5. This builds the extension and launches an Extension Development Host with the repo root open.

Package: npm run package creates a production build, then runs npx @vscode/vsce package --no-dependencies, which produces a .vsix. Install it with code --install-extension skillbench-vscode-0.1.0.vsix. Do not publish without approval.

Layout

  • src/core/: pure logic with no vscode import. It covers analysis, mapping results to lines, lint rule ids, links and orphans, frontmatter, the custom rubric, report HTML, zip and hover help. All unit tests target this folder.
  • src/*.ts: VS Code adapters. They cover the store and cache, diagnostics and hover, code actions, CodeLens, the report panel, the tree and the commands.
  • Line mapping order: an upstream range on a result when present, then a quoted snippet in the evidence, then line N in the evidence, then the frontmatter key the rule is about, then line 1.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft