skill-tester
БесплатноЗапускает вложенные скриптыНе проверенValidate and score Claude Code skill packages for quality, completeness, and best-practice compliance. Tests Python scripts, checks YAML frontmatter, and…
от borghei★ 1 250 звёзд на GitHubОб этом скилле
Skill Tester
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.
Core Capabilities
- Structure validation — check required files, directory layout, YAML frontmatter, and required SKILL.md sections against tier thresholds.
- Script testing — AST syntax checks, stdlib-only import analysis, argparse and
__main__-guard detection, runtime--helpand sample-data execution. - Quality scoring — four equally weighted dimensions producing an overall score, letter grade (A+ through F), and a prioritized improvement roadmap.
- Tier classification — BASIC / STANDARD / POWERFUL requirements for SKILL.md depth, script count/LOC, argparse, output formats, and error handling.
- Dual output — human-readable reports and
--jsonfor CI/CD gating with meaningful exit codes.
When to Use
- Creating a new skill and validating it before publishing.
- Auditing an existing skill's structure, scripts, and quality.
- Embedding a quality gate into a CI/CD pipeline.
Clarify First
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.
- Target skill path: the skill directory to validate, test, and score (the subject of all three tools).
- Target tier: BASIC / STANDARD / POWERFUL (
--tier; sets the required sections, script count, and structural thresholds). - Pass bar: the minimum quality score / whether failures gate CI (
--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.
Quick Start
# 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.
Tools
| 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.
References
Load the reference that matches the task — keep this file lean and pull detail on demand:
- references/workflows-and-cicd.md — the three core validation workflows, the tier-requirements and quality-scoring tables, CI/CD integration, anti-patterns, troubleshooting, and success criteria. Read when running a validation pass or wiring a CI gate.
- references/tool-reference.md — full parameter tables, output formats, and exit codes for the three Python tools. Read when scripting the tools or interpreting JSON output.
- references/skill-structure-specification.md — the authoritative specification for skill directory structure, required files, and frontmatter. Read when defining what "valid structure" means.
- references/tier-requirements-matrix.md — the full BASIC/STANDARD/POWERFUL requirements matrix with detailed criteria per tier. Read when classifying or upgrading a skill's tier.
- **[references/quality-scoring-rubric.
Установить skill-tester в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл skill-tester?
Validate and score Claude Code skill packages for quality, completeness, and best-practice compliance. Tests Python scripts, checks YAML frontmatter, and generates reports. Use when creating, validating, or auditing skill packages.
Как установить скилл skill-tester?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл skill-tester запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic