/engineering-advanced-skills:skill-testerfrom engineering-advanced-skills
Validates and scores Claude Code skill packages for structure compliance, script quality, and best-practice adherence. Tests Python scripts, checks YAML frontmatter, and generates quality reports with letter grades.
Ships in engineering-advanced-skills. 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.
Validate skill packages for structure compliance, test Python scripts for syntax and stdlib-only imports, and score quality across four dimensions (documentation, code quality, completeness, usability) with letter grades and improvement recommendations. Supports BASIC, STANDARD, and POWERFUL tier classification.
__main__-guard detection, runtime --help and sample-data execution.--json for CI/CD gating with meaningful exit codes.Before validating, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
--tier; sets the required sections, script count, and structural thresholds).--minimum-score, exit codes).Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.
# Validate the bundled fixture skill, then score it
python scripts/skill_validator.py assets/sample-skill --tier BASIC
python scripts/quality_scorer.py assets/sample-skill --detailed --minimum-score 75
# Run its scripts (this EXECUTES the target's code; see the warning below)
python scripts/script_tester.py assets/sample-skill --timeout 30
Warning: script_tester.py runs the target skill's scripts (--help and their sample
inputs) as you. Never point it at a skill you have not read. For a third-party skill, run
skill-security-auditor first, and run the tester in a disposable sandbox without
credentials or network.
| Tool | Purpose | Command |
|---|---|---|
skill_validator.py | Validate structure, frontmatter, required sections, and scripts against tier rules | python scripts/skill_validator.py engineering/my-skill --tier POWERFUL --json |
script_tester.py | Static + runtime tests of scripts (syntax, imports, argparse, --help, samples) | python scripts/script_tester.py engineering/my-skill --timeout 60 --json |
quality_scorer.py | Score four quality dimensions with letter grade and improvement roadmap | python scripts/quality_scorer.py engineering/my-skill --detailed --minimum-score 75 --json |
Exit codes: skill_validator.py 0 pass, 1 errors or score below 60, 2 skill path not found;
script_tester.py 0 all pass, 1 failure (including a missing path), 2 partial pass;
quality_scorer.py 0 grades A-C, 1 grade F, below --minimum-score or missing path,
2 grade D. The length checks are bands, not minimums: SKILL.md passes at 40-500 non-blank
lines and scores best at 60-500; scripts score best at 100-300 lines, because a lean
SKILL.md with detail in references/ is the goal.
See references/tool-reference.md for full parameter tables and output formats.
Load the reference that matches the task — keep this file lean and pull detail on demand:
Covers:
Does NOT cover:
engineering/performance-profiler for runtime analysisengineering/skill-security-auditor for dependency and code security audits| Skill | Integration | Data Flow |
|---|---|---|
engineering/skill-security-auditor | Run security audit after validation passes | skill_validator.py confirms structure compliance, then skill-security-auditor scans for vulnerabilities in the same skill path |
engineering/ci-cd-pipeline-builder | Embed skill-tester as a quality gate stage | Pipeline builder generates workflow YAML that invokes skill_validator.py, script_tester.py, and quality_scorer.py sequentially |
engineering/changelog-generator | Feed quality score deltas into changelog entries | Compare quality_scorer.py JSON output between releases to surface quality improvements or regressions |
engineering/pr-review-expert | Attach validation report to pull request reviews | skill_validator.py --json output is posted as a PR comment for reviewer context |
engineering/performance-profiler | Complement structural testing with runtime profiling | After script_tester.py confirms execution succeeds, performance-profiler measures execution time and resource usage |
engineering/tech-debt-tracker | Track quality score trends over time | Periodic quality_scorer.py --json output is ingested to detect score degradation and flag technical debt |
Mistake: Adding filler sections so SKILL.md looks "comprehensive".
Why it happens: Older scorers rewarded line count.
Instead: Keep SKILL.md to goals, decision points, tools and verification; move reference tables to references/. The validator now checks a band, not a minimum.
Mistake: Running script_tester.py on a downloaded skill to see whether it is safe.
Why it happens: "Test" sounds harmless.
Instead: The tester executes the target's code. Audit it statically first (skill-security-auditor), then test in a sandbox.
Mistake: Merging any skill that scores B or better.
Why it happens: A single grade is easy to wire into CI.
Instead: Also require script_tester.py to pass and read the validator's warnings; a well-formatted skill can still ship a broken tool.
| File | Purpose |
|---|---|
scripts/skill_validator.py | Structure, frontmatter, section and script checks per tier |
scripts/script_tester.py | Static and runtime checks of a skill's scripts (executes them) |
scripts/quality_scorer.py | Four-dimension quality score, grade and roadmap |
assets/sample-skill/ | Fixture skill for trying the tools |
expected_outputs/ | Reference outputs for the fixture |
references/*.md | Tool reference, structure spec, tier matrix, scoring rubric, CI workflows |
README.md (opens in a new tab)assets/sample-skill/README.md (opens in a new tab)assets/sample-skill/assets/sample_text.txt (opens in a new tab)assets/sample-skill/assets/test_data.csv (opens in a new tab)assets/sample-skill/expected_outputs/sample_text_analysis.json (opens in a new tab)assets/sample-skill/references/api-reference.md (opens in a new tab)assets/sample-skill/scripts/text_processor.py (opens in a new tab)expected_outputs/sample_validation_report.json (opens in a new tab)references/quality-scoring-rubric.md (opens in a new tab)references/skill-structure-specification.md (opens in a new tab)references/tier-requirements-matrix.md (opens in a new tab)references/tool-reference.md (opens in a new tab)references/workflows-and-cicd.md (opens in a new tab)scripts/quality_scorer.py (opens in a new tab)scripts/script_tester.py (opens in a new tab)scripts/skill_validator.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
skill-validation, quality-scoring, meta-skill, package-audit
npx claudepluginhub borghei/claude-skills --plugin engineering-advanced-skills100 skills in this plugin
/a11y-auditStatic WCAG scan of HTML files (alt text, headings, labels, ARIA, lang, landmarks) and colour contrast checks for colour pairs or CSS. Use when auditing templates for accessibility, checking contrast, or adding an a11y gate to CI.
/agent-designerDesigns multi-agent system architectures with orchestration patterns, tool schemas, and performance evaluation. Use when building AI agent systems, designing agent workflows, creating tool schemas, or evaluating agent performance.
/agent-harnessTest and evaluation harness for AI agents — scenario suites, deterministic replay, regression diffing, cost and latency budgets. Use when agent quality is vibe-checked, before shipping a prompt or model change, or when evals drift.
Other plugins' skills for the same job