/validate-output - Validate Generated Skills, Prompts, Agents, or Hooks banner
alirezarezvani alirezarezvani

/validate-output - Validate Generated Skills, Prompts, Agents, or Hooks

Development community intermediate

Description

**Check that your generated output is properly formatted and ready to use.** ---

Installation

Terminal
claude install-skill https://github.com/alirezarezvani/claude-code-skill-factory

README

/validate-output - Validate Generated Skills, Prompts, Agents, or Hooks

**Check that your generated output is properly formatted and ready to use.**


Usage

/validate-output skill [path]
/validate-output prompt
/validate-agent [path]
/validate-output hook [path]

What This Command Does

Validates generated output and creates distribution files:

    undefined

Validate a Skill

/validate-output skill generated-skills/my-skill

**Checks**:

    undefined
---
name: skill-name-kebab-case  ✅ Check format
description: One-line description  ✅ Check present
---
    undefined
    undefined
    undefined
    undefined
    undefined
    undefined

**Output**:

Validating: generated-skills/my-skill/

✅ YAML Frontmatter: Valid
✅ Skill Name: my-skill (kebab-case ✓)
✅ Required Files: All present
   - SKILL.md ✓
   - HOW_TO_USE.md ✓
   - calculator.py ✓
   - sample_input.json ✓
✅ Quality: Documentation complete

🎉 Skill validation PASSED!

Creating ZIP file for Claude Desktop...

cd generated-skills && zip -r my-skill.zip my-skill/ -x "*.pyc" "*__pycache__*" "*.DS_Store"

✅ ZIP created: generated-skills/my-skill.zip (35KB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

📦 Ready to use!

**For Claude Desktop** (Easiest):
Drag and drop: generated-skills/my-skill.zip

**For Claude Code**:
/install-skill generated-skills/my-skill

Next steps:
1. Import ZIP to Claude Desktop OR install to Claude Code
2. /test-factory my-skill

**If Issues Found**:

Validating: generated-skills/bad-skill/

❌ YAML Frontmatter: Invalid
   Issue: Name is "Bad Skill" (Title Case)
   Fix: Change to "bad-skill" (kebab-case)

❌ Required Files: Missing
   Issue: HOW_TO_USE.md not found
   Fix: Add usage documentation

⚠️ Quality: Incomplete
   Issue: No examples in SKILL.md
   Recommendation: Add 2-3 usage examples

Validation FAILED. Fix issues and run /validate-output again.

Validate a Prompt

/validate-output prompt

**Checks**:

    undefined
    undefined
    undefined
    undefined