원클릭으로
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