ワンクリックで
skill-name
Validate skill files for proper YAML frontmatter format and valid Claude Code skill options
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Validate skill files for proper YAML frontmatter format and valid Claude Code skill options
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Injects project context (AGENT_DOCS_DIR, active story) before every skill invocation via PreToolUse hook.
Discover skills in this marketplace that match your workflow. Accepts a workload or task description, scans all released skills, and recommends the best matches with install commands. Use when users ask 'what skills are available', 'find a skill for X', 'which skill helps me with Y', 'what can I install', or 'recommend skills for my workflow'.
Collect non-functional requirements through interactive Q&A. Asks targeted questions about performance, scalability, security, reliability, and cost constraints. Invokable with /gather-nfr.
Validates business requirements compliance - generates OpenAPI specs, creates contract tests, and ensures acceptance criteria alignment
Hypothesis-driven bug investigation with mandatory regression tests
Create git commits with configurable numbering (issue-based or sequential). Analyzes staged changes and generates commit messages following project conventions. Optionally creates GitHub issues if no active story exists.
| name | cc:validate-skills |
| description | Validate skill files for proper YAML frontmatter format and valid Claude Code skill options |
| version | 1.0.0 |
| author | Claude |
| tags | ["validation","skills","quality","frontmatter"] |
| hooks | {"Stop":{"command":"bash \"$SKILL_DIR/scripts/validate-all-skills.sh\"","description":"Validate all skills before stopping","timeout":30000}} |
Validates that skill files follow proper formatting and use valid Claude Code skill options.
Validates skills against:
--- delimiters and valid YAML syntaxname, descriptionThe skill automatically validates all skills when Claude stops:
Validating skills...
✓ commit/SKILL.md - Valid
✓ fetch-story/SKILL.md - Valid
✗ custom-skill/SKILL.md - Missing required field: description
Run validation script directly:
bash .claude/skills/cc:validate-skills/scripts/validate-all-skills.sh
Validate single skill:
bash .claude/skills/cc:validate-skills/scripts/validate-skill.sh path/to/SKILL.md
Valid:
---
name: skill-name
description: Brief description
version: 1.0.0
tags: [tag1, tag2]
---
Invalid:
# Missing delimiters
name: skill-name
description: Brief description
name - Skill identifier (alphanumeric, hyphens, colons)description - Brief description of what skill doesversion - Semantic version (e.g., 1.0.0)author - Author nametags - Array of tags for categorizationscope - Deployment scope: project (project-level only) or global (default, any level)hooks - Hook configurations (Start, Stop, PreToolUse, PostToolUse, etc.)parameters - Skill parameters with validationdependencies - External tool dependenciesValid hook event types:
Start - Skill initializationStop - Skill cleanup/validationPreToolUse - Before tool executionPostToolUse - After tool executionNotification - User notificationsSessionStart - Session initializationEach hook must specify:
command - Shell command to executedescription - What the hook doestimeout - Timeout in milliseconds (optional, default 30000)Example:
hooks:
Stop:
command: bash "$SKILL_DIR/scripts/cleanup.sh"
description: Clean up temporary files
timeout: 10000
✓ All skills valid (25/25)
✗ Validation failed (2 errors)
gh-actions/SKILL.md:
- Missing frontmatter delimiters
- Required field 'description' not found
custom-skill/SKILL.md:
- Invalid hook event type: 'PreExecute' (use 'PreToolUse')
- Invalid timeout: 'very-long' (must be number)
validate-all-skills.sh - Validate all skills in .claude/skills/validate-skill.sh - Validate single skill filecheck-frontmatter.sh - Check YAML frontmatter formatskill-schema.yaml - Valid skill options schemahook-events.md - Valid hook event typesexamples.md - Example valid skill filesWorks with:
Create config.yaml to customize:
validation:
strict_mode: false # Treat warnings as errors
require_version: false # Require version field
require_author: false # Require author field
check_hooks: true # Validate hook configurations
allowed_hook_events:
- Start
- Stop
- PreToolUse
- PostToolUse
- Notification
- SessionStart
0 - All validations passed1 - Validation errors found2 - Critical error (e.g., script failure)See examples.md for valid skill examples.
Issue: "Missing frontmatter delimiters"
--- before and after frontmatterIssue: "Invalid YAML syntax"
yq to validate YAMLIssue: "Invalid hook event"
Issue: "Command not found: yq"
brew install yq