build-hook
**Interactive guide for creating custom hooks with Q&A workflow and automatic validation.**
**See what you've built, what's validated, what's installed, and what's next.**
How it fires
How this command gets triggered: by you, by Claude, or both.
/factory-statusContext preview
What this command does when you run it.
**See what you've built, what's validated, what's installed, and what's next.**
**See what you've built, what's validated, what's installed, and what's next.**
---
/factory-status
---
Shows comprehensive status of your factory work:
---
/factory-status
**Output**:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Factory Status Report ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 📦 Claude Skills Generated (2) 1. healthcare-analyzer/ Location: generated-skills/healthcare-analyzer/ Size: 45KB (SKILL.md + 3 Python files) Status: ✅ Validated ✅ Installed ⏳ Not tested yet Next: /test-factory skill healthcare-analyzer 2. financial-reports/ Location: generated-skills/financial-reports/ Size: 32KB (SKILL.md + 2 Python files) Status: ✅ Validated ❌ Not installed yet Next: /install-skill generated-skills/financial-reports ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🤖 Claude Agents Created (1) 1. code-reviewer Location: .claude/agents/code-reviewer.md Size: 8KB Status: ✅ Validated ✅ Active (project-level) Next: Test with: "Review my recent code changes" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🔧 Claude Hooks Generated (3) 1. auto-format-python Location: generated-hooks/auto-format-python/ Event Type: PostToolUse Language: Python (Black formatter) Status: ✅ Validated ✅ Installed (user-level) Next: Test by editing a .py file 2. test-runner-js Location: generated-hooks/test-runner-js/ Event Type: SubagentStop Language: JavaScript (Jest) Status: ✅ Validated ⏳ Not installed yet Next: /install-hook generated-hooks/test-runner-js 3. git-auto-add Location: generated-hooks/git-auto-add/ Event Type: PostToolUse Language: Generic (Git) Status: ⏳ Not validated yet Next: /validate-output hook generated-hooks/git-auto-add ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🎯 Mega-Prompts Generated (1) 1. Senior Backend Engineer Prompt Format: XML + Claude formats Size: ~5,200 tokens Status: ✅ Generated ⏳ Not tested yet Next: Copy to Claude.ai and test ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 📊 Summary Total Generated: 7 outputs (2 skills, 1 agent, 3 hooks, 1 prompt) Validated: 5/7 (71%) Installed: 3/7 (43%) Tested: 0/7 (0%) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🎯 Recommended Next Steps 1. Validate git-auto-add hook: /validate-output hook generated-hooks/git-auto-add 2. Install test-runner-js hook: /install-hook generated-hooks/test-runner-js 3. Install financial-reports skill: /install-skill generated-skills/financial-reports 4. Test healthcare-analyzer skill: /test-factory skill healthcare-analyzer 5. Test auto-format-python hook: Edit a .py file and check if Black runs 6. Test Senior Backend Engineer prompt: Copy to Claude.ai and try a test request 7. Test code-reviewer agent: Make some code changes and see if it auto-invokes ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Need help? - Build more: /build skill|prompt|agent|hook - Validate: /validate-output [type] [path] - Install: /install-skill [path] or /install-hook [path] - Test: /test-factory [type] [name]
---
The command scans:
**For Skills**:
# Check generated-skills/ directory ls generated-skills/*/SKILL.md # Check if installed ls ~/.claude/skills/*/SKILL.md
**For Agents**:
# Check project-level ls .claude/agents/*.md # Check user-level ls ~/.claude/agents/*.md
**For Prompts**:
**For Hooks**:
# Check generated-hooks/ directory ls generated-hooks/*/hook.json # Check if installed (user-level) grep -r "hook.json" ~/.claude/settings.json # Check if installed (project-level) grep -r "hook.json" .claude/settings.json
---
**Validation Status**:
**Installation Status**:
**Testing Status**:
---
/factory-status
**If nothing generated yet**:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Factory Status Report ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ No skills, prompts, agents, or hooks generated yet. Ready to start building? Quick start: /build Or be specific: /build skill - Build a custom Claude Skill /build prompt - Generate a mega-prompt /build agent - Create a Claude Code Agent /build hook - Create a Claude Code Hook ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
---
The command helps you track:
---
# Generate something /build skill [Answer questions] [Skill generated] # Check status /factory-status Output: ✅ 1 skill generated ⏳ Not validated yet Next: /validate-output skill generated-skills/my-skill
# At any time /factory-status See: - Everything built this session - What still needs attention - Recommended next actions
# Before you finish /factory-status Ensure: - All outputs
A comprehensive toolkit for generating production-ready Claude Skills and Claude Code Agents at scale.
Repo: alirezarezvani/claude-code-skill-factory
**Interactive guide for creating custom hooks with Q&A workflow and automatic validation.**
**Quick access to the factory-guide orchestrator for building custom Skills, Prompts, Agents, or Hooks.**
**Easy wrapper for running Codex CLI commands from Claude Code with proper syntax.**
Stage, commit, and push the current branch following git governance rules.