skill-validator
Validate Agent Skills against the specification. Checks SKILL.md format, frontmatter fields, naming conventions, and directory structure.
- License 许可
- MIT
- 最近更新
- 2026-05-06
- Stars
- ★ 14
- Forks
- 1
01 前言 Front Matter
- name
- skill-validator
- tags
- [ "validation", "compliance", "tooling", "quality" ]
- author
- @anthropic-agent-skills
- license
- MIT
- version
- 1.0.0
- description
- Validate Agent Skills against the specification. Checks SKILL.md format, frontmatter fields, naming conventions, and directory structure.
02 资源文件 2
- 参考文档MANIFEST.json955 B
- 脚本scripts/validate_skill.py14.2 KB
03 SKILL.md 正文
Instructions
Use this skill to validate any Agent Skill directory against the specification before publishing. The validator checks:
- SKILL.md presence - Required manifest file exists
- Frontmatter format - Valid YAML frontmatter with required fields
- Name validation - 1-64 chars, lowercase, hyphens only, starts with letter
- Name-directory match - Name field matches the directory name
- Description validation - 1-1024 characters, non-empty
- Structure validation - Valid folder organization
When to Use
- Before submitting a skill for publication
- After making changes to SKILL.md
- To diagnose why a skill was rejected
- As part of CI/CD pipelines
How to Use
Validate a skill directory:
Validate the skill at /path/to/my-skill
Get JSON output for CI integration:
python3 validate_skill.py /path/to/my-skill --json
Output
✓ Skill Validation Report
Skill: pdf-tools
Status: COMPLIANT (100/100)
Checks:
✓ SKILL.md exists
✓ Valid frontmatter
✓ Name format valid (pdf-tools)
✓ Name matches directory
✓ Description valid (45 chars)
✓ Structure valid
No issues found.
Or if issues are found:
✗ Skill Validation Report
Skill: My-Skill
Status: NON-COMPLIANT (40/100)
Checks:
✓ SKILL.md exists
✓ Valid frontmatter
✗ Name format invalid
✗ Name doesn't match directory
✓ Description valid
✓ Structure valid
Issues:
- Name must be lowercase with hyphens only (got "My-Skill")
- Name 'My-Skill' doesn't match directory 'my-skill'
Examples
Basic validation:
User: Validate the skill at ./document-skills/pdf
Agent: Running validation on ./document-skills/pdf...
✓ Skill is compliant (100/100)
Fix validation errors:
User: Why is my skill failing validation?
Agent: Let me check... Running validator...
The name field uses underscores. Change "pdf_tools" to "pdf-tools".
Limitations
- Does not validate skill functionality (only structure/format)
- Does not run safety scans (use skill-safety-scanner for that)
- Requires local filesystem access to the skill directory
Dependencies
- Python 3.9+
- PyYAML (optional, falls back to basic parsing)
04 同仓库更多 Skills
write-contracts
Generates secure Aptos Move V2 smart contracts with Object model, Digital Asset integration, security patterns, and storage type guidance. Includes comprehensive storage decision framework for optimal data structure selection. Triggers on: 'write contract', 'create NFT collection', 'build marketplace', 'implement minting', 'generate Move module', 'create token contract', 'build DAO', 'implement staking'. Ask storage questions when: 'store', 'track', 'registry', 'mapping', 'list', 'collection'.
web-search
通用网络搜索技能,支持多引擎搜索(百度、必应、DuckDuckGo),无需API密钥即可获取实时信息
solo-build
Execute implementation plan tasks with TDD workflow, auto-commit, and phase gates. Use when user says "build it", "start building", "execute plan", "implement tasks", "ship it", or references a track ID. Do NOT use for planning (use /plan) or scaffolding (use /scaffold).
react-email
Use when building HTML email templates with React components, adding a visual email editor to an application using the React Email visual editor, rendering emails to HTML, or sending emails with Resend. Covers welcome emails, password resets, notifications, order confirmations, newsletters, transactional emails, and the embeddable email editor component.
APITester Agent-Driven API Testing
Test API endpoints and document responses. Define tests in plain English, run them, get formatted results. Agent-driven Postman alternative.
hubspot-implementation-plan
Generate a phased implementation plan from a HubSpot audit report. Creates prioritized, sequenced cleanup processes with effort estimates, dependencies, and automation feasibility. Use after running /hubspot-audit.