Skills for Real Engineers. Straight from my .agents directory.
hook-factory
Agent skill fromalirezarezvani/claude-code-skill-factory
Generate production-ready Claude Code hooks with interactive Q&A, automated installation, and enhanced validation. Supports 10 templates across 7 event types for comprehensive workflow automation.
How to install hook-factory
npx skills add alirezarezvani/claude-code-skill-factory# or add only this skill to Claude Code: copy the folder
generated-skills/hook-factory/
# into
~/.claude/skills/hook-factory/ (all projects)
.claude/skills/hook-factory/ (one project)
1# Hook Factory v2.023**Generate production-ready Claude Code hooks with interactive Q&A, automated installation, and enhanced validation.**45## What This Skill Does67Hook Factory v2.0 is a comprehensive hook generation system with three modes:891. **Interactive Mode** (NEW!) - 7-question guided flow with smart defaults102. **Natural Language** - Describe what you want in plain English113. **Template Mode** - Direct generation from 10 production templates1213**Key Features:**14- **Interactive Q&A** - 7 questions with validation and smart defaults15- **Automated Installation** - Python and Bash installers with backup/rollback16- **Enhanced Validation** - Secrets detection, event-specific rules, command validation17- **10 Templates** - Covering 7 event types (PostToolUse, SubagentStop, SessionStart, PreToolUse, UserPromptSubmit, Stop, PrePush)18- **Comprehensive Safety** - Tool detection, silent failure, atomic operations19- **macOS/Linux Support** - Production-ready for Unix environments2021## When to Use This Skill2223Use hook-factory when you want to:2425- Auto-format code after editing26- Automatically stage files with git27- Run tests when agents complete28- Load project context at session start29- Create custom workflow automation30- Learn how hooks work through examples3132## Capabilities3334### Three Generation Modes3536**1. Interactive Mode (Recommended)**37```bash38python3 hook_factory.py -i39```40- 7-question guided flow41- Smart defaults based on event type42- Input validation and safety warnings43…
Excerpt shown under the repository's MIT license.
More skills in claude-code-skill-factory
Similar skill repositories
An agentic skills framework & software development methodology that works.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
