Sandbox
@alirezarezvani/claude-code-skill-factory

Templates for Claude Code skills, agents, and commands

This repo is a factory for creating reusable Claude Code assets: skills, agents, hooks, prompts, and slash commands. It gives you guided builders, templates, validation, and packaged examples so you can generate new workflows instead of starting from scratch.

860 starsβ€’172 forksβ€’Pythonβ€’Updated 10mo ago
Who it's for

Builders who want to create reusable Claude Code workflows, prompts, and agents without hand-authoring every piece.

What it delivers

You can generate and install production-ready agent assets instead of drafting them manually each time.

What it does

Interactive builders

Slash commands like `/build skill`, `/build agent`, `/build prompt`, and `/build hook` guide you through creation with specialist agents.

Ready-made factories

Prebuilt skill packs such as `prompt-factory`, `hook-factory`, `slash-command-factory`, and `codex-cli-bridge` can be copied or installed.

Cross-tool bridge

`sync-agents-md` translates `CLAUDE.md` into `AGENTS.md` so Claude Code and Codex can share project guidance.

Validation and packaging

Commands like `/validate-output` and `/install-skill` help validate output, zip it, and install it cleanly.

Template library

The `documentation/templates` folder holds the prompt templates used to generate skills, agents, hooks, and slash commands.

How to get it

  1. 1Run
    I want to build something
  2. 2Run
    /build skill              # Interactive skill builder
    /build agent              # Interactive agent builder
    /build prompt             # Interactive prompt builder
    /build hook               # Interactive hook builder
  3. 3Run
    # Install Prompt Factory (69 professional presets)
    cp -r generated-skills/prompt-factory ~/.claude/skills/
    
    # Ask Claude
    "I need a prompt for [role name]"

README

Claude Code Skills & Agents Factory

A comprehensive toolkit for generating production-ready Claude Skills and Claude Code Agents at scale. This repository provides templates, examples, and powerful prompt engineering systems to create custom skills and specialized agents for Claude AI across all platforms.

πŸš€ Quick Start (3 Shortcuts)

Shortcut 1: Interactive Builder (Fastest)

I want to build something

The factory-guide agent asks what you need and delegates to specialist guides.

Shortcut 2: Use Slash Commands

/build skill              # Interactive skill builder
/build agent              # Interactive agent builder
/build prompt             # Interactive prompt builder
/build hook               # Interactive hook builder

Shortcut 3: Use Ready-Made Skills

# Install Prompt Factory (69 professional presets)
cp -r generated-skills/prompt-factory ~/.claude/skills/

# Ask Claude
"I need a prompt for [role name]"

πŸ“‹ Built-in Commands

This toolkit includes 10 slash commands and 5 interactive agents to streamline your workflow:

Workflow Commands

CommandPurposeExample
/buildInteractive builder (skill/agent/prompt/hook)/build skill or /build hook
/build-hookBuild Claude Code hooks (Q&A, alias)/build-hook
/validate-outputValidate generated output + auto-ZIP/validate-output hook [path]
/install-skillInstall skills to Claude Code/install-skill [path]
/install-hookInstall hooks to settings/install-hook [path] [user|project]
/test-factoryRun test examples/test-factory
/factory-statusCheck system status (all factories)/factory-status
/sync-agents-mdGenerate AGENTS.md from CLAUDE.md/sync-agents-md
/codex-execExecute Codex CLI commands/codex-exec analysis "task"
/sync-todos-to-githubConvert TodoWrite tasks to GitHub issues/sync-todos-to-github "Sprint 12"

Interactive Guide Agents

AgentPurposeActivation
factory-guideOrchestrator - delegates to specialists"I want to build something"
skills-guideBuild Claude Skills (4-5 questions)"Build a skill"
prompts-guideUse Prompt Factory (69 presets)"Generate a prompt"
agents-guideBuild Claude Code Agents (5-6 questions)"Create an agent"
hooks-guideBuild Claude Code Hooks (5-7 questions)"Build a hook"

See .claude/agents/README.md and .claude/commands/README.md for complete documentation.


🎯 Main Capabilities

1. Skills Factory

Generate complete, production-ready Claude Skills with:

  • Properly formatted SKILL.md with YAML frontmatter
  • Python implementation files (when needed)
  • Sample input/output data
  • Complete documentation and usage guides
  • ZIP packages for easy distribution

Template: SKILLS_FACTORY_PROMPT.md Shortcut: /build skill or "I want to build a skill"

2. Agents Factory

Create specialized Claude Code Agents with:

  • Enhanced YAML frontmatter (name, description, tools, model, color, field, expertise)
  • MCP integration support
  • Auto-invocation capabilities
  • Tool access configuration

Template: AGENTS_FACTORY_PROMPT.md Shortcut: /build agent or "I want to create an agent"

3. Prompt Factory

Generate mega-prompts for any role with:

  • 69 professional presets across 15 domains
  • Multiple output formats (XML, Claude, ChatGPT, Gemini)
  • 7-point quality validation
  • Core & Advanced modes

Ready-to-use Skill: generated-skills/prompt-factory/ Shortcut: Install skill, then "I need a prompt for [role]"

4. Hooks Factory

Generate Claude Code hooks for workflow automation with:

  • 7 event types (SessionStart, PostToolUse, SubagentStop, etc.)
  • Safety validation (tool detection, silent failure, no destructive ops)
  • Language-specific templates (Python/Black, JS/Prettier, Rust/rustfmt, Go/gofmt)
  • Interactive Q&A generation (5-7 questions)
  • Automatic security checks before installation

Template: HOOKS_FACTORY_PROMPT.md Implementation: generated-skills/hook-factory/ Shortcut: /build hook or "I want to build a hook"

5. Slash Command Factory

Create custom slash commands with:

  • 17 preset commands (business, development, documentation, analysis)
  • Three official Anthropic patterns (Simple, Multi-Phase, Agent-Style)
  • Comprehensive 4-layer validation
  • Auto-generated bash permissions

Template: MASTER_SLASH_COMMANDS_PROMPT.md Shortcut: Use template directly or /build with custom workflow

6. Codex CLI Bridge

Enable Claude Code ↔ Codex CLI interoperability with:

  • Automatic CLAUDE.md β†’ AGENTS.md translation
  • Reference-based architecture (no duplication)
  • Safety mechanisms and auto-validation
  • Cross-tool team collaboration support

Skill: generated-skills/codex-cli-bridge/ Shortcut: /sync-agents-md to sync documentation


πŸ”„ Complete Workflow Examples

Example 1: Build a Skill in 2 Minutes

# Step 1: Start builder
/build skill

# Step 2: Answer 4-5 questions
# (Claude guides you through the process)

# Step 3: Validate output
/validate-output

# Step 4: Install
/install-skill

# Done! Your skill is ready to use

Example 2: Generate Cross-Platform Prompt

# Step 1: Install Prompt Factory (one-time)
cp -r generated-skills/prompt-factory ~/.claude/skills/

# Step 2: Ask Claude
"I need a prompt for a Senior DevOps Engineer"

# Step 3: Answer 5-7 questions
# (Select format: XML, Claude, ChatGPT, or Gemini)

# Done! Copy and paste into your preferred LLM

Example 3: Sync for Codex CLI Team

# Step 1: Ensure CLAUDE.md exists in your project
# (If missing, run /init first)

# Step 2: Generate AGENTS.md for Codex CLI users
/sync-agents-md

# Step 3: Commit to repo
git add AGENTS.md
git commit -m "docs: Add AGENTS.md for Codex CLI compatibility"

# Done! Codex CLI users can now reference your skills

πŸ“ Repository Structure

claude-code-skills-factory/
β”œβ”€β”€ README.md                              # This file
β”œβ”€β”€ CLAUDE.md                              # Repository guidance
β”œβ”€β”€ AGENTS.md                              # Codex CLI documentation (auto-generated)
β”œβ”€β”€ CHANGELOG.md                           # Version history
β”œβ”€β”€ .claude/
β”‚   β”œβ”€β”€ agents/                            # 5 interactive guide agents
β”‚   β”‚   β”œβ”€β”€ factory-guide.md              # Orchestrator
β”‚   β”‚   β”œβ”€β”€ skills-guide.md               # Skills builder
β”‚   β”‚   β”œβ”€β”€ prompts-guide.md              # Prompts generator
β”‚   β”‚   β”œβ”€β”€ agents-guide.md               # Agents creator
β”‚   β”‚   └── hooks-guide.md                # Hooks builder
β”‚   └── commands/                          # 8 slash commands
β”‚       β”œβ”€β”€ build.md                       # Interactive builder
β”‚       β”œβ”€β”€ build-hook.md                  # Hook builder
β”‚       β”œβ”€β”€ validate-output.md             # Validation + ZIP
β”‚       β”œβ”€β”€ install-skill.md               # Installation guide
β”‚       β”œβ”€β”€ test-factory.md                # Test runner
β”‚       β”œβ”€β”€ factory-status.md              # Status checker
β”‚       β”œβ”€β”€ sync-agents-md.md              # CLAUDE.md β†’ AGENTS.md
β”‚       └── codex-exec.md                  # Codex CLI executor
β”œβ”€β”€ claude-skills-examples/                # 3 reference implementations
β”œβ”€β”€ documentation/
β”‚   β”œβ”€β”€ references/                        # Official Anthropic examples
β”‚   └── templates/                         # 4 factory prompt templates
β”œβ”€β”€ generated-skills/                      # 9 production-ready skills
β”‚   β”œβ”€β”€ aws-solution-architect/            # AWS architecture & IaC
β”‚   β”œβ”€β”€ content-trend-researcher/          # Multi-platform content research
β”‚   β”œβ”€β”€ ms365-tenant-manager/              # Microsoft 365 administration
β”‚   β”œβ”€β”€ agent-factory/                     # Agent generation system
β”‚   β”œβ”€β”€ prompt-factory/                    # Prompt generation powerhouse
β”‚   β”œβ”€β”€ slash-command-factory/             # Slash command generation
β”‚   β”œβ”€β”€ codex-cli-bridge/                  # Claude Code ↔ Codex CLI bridge
β”‚   β”œβ”€β”€ hook-factory/                      # Claude Code hooks automation
β”‚   └── claude-md-enhancer/                # CLAUDE.md generation & maintenance
β”œβ”€β”€ generated-agents/                      # Specialized agents
β”‚   └── claude-md-guardian/                # CLAUDE.md maintenance agent
└── generated-commands/                    # Custom slash commands
    └── enhance-claude-md/                 # CLAUDE.md enhancement command

🎁 Production Skills Included

All skills include complete implementation, documentation, samples, and distribution packages:

1. AWS Solution Architect (53 KB)

Serverless architecture, IaC templates, cost optimization

2. Content Trend Researcher (35 KB)

Multi-platform trend analysis, SEO-optimized outlines

3. Microsoft 365 Tenant Manager (40 KB)

M365 administration, PowerShell automation

4. Agent Factory (12 KB)

Generate custom Claude Code agents with enhanced YAML

5. Prompt Factory (427 KB)

69 professional presets, multi-format output, 7-point validation

  • View Skill
  • Most Popular - Install first for instant productivity

6. Slash Command Factory (26 KB)

17 presets, official Anthropic patterns, 4-layer validation

7. Codex CLI Bridge (48 KB)

Claude Code ↔ Codex CLI interoperability, AGENTS.md generation

  • View Skill
  • Enables cross-tool team collaboration

8. Hook Factory v2.0 (92 KB) πŸ†•

Build custom Claude Code hooks through interactive 7-question Q&A with automated installation and enhanced validation

  • View Skill
  • v2.0 - 10 production templates, automated installer (Python + Bash), secrets detection, event-specific validation

9. CLAUDE.md Enhancer (50 KB) πŸ†•

Analyze, generate, and enhance CLAUDE.md files with 100% native format compliance, interactive initialization, and automatic maintenance

  • View Skill
  • Ecosystem: Skill + Agent + Slash Command for complete CLAUDE.md lifecycle management
  • Features: Interactive workflow, quality scoring (0-100), modular architecture, 7 built-in examples
  • Companion Agent: claude-md-guardian - Background maintenance with auto-sync
  • Slash Command: /enhance-claude-md - Initialize or enhance CLAUDE.md files

πŸ’‘ Reference Examples

Three fully-functional example skills demonstrating different patterns:

  • Analyzing Financial Statements - Calculation engine + interpretation layer
  • Creating Financial Models - DCF valuation, sensitivity analysis, Monte Carlo simulation
  • Applying Brand Guidelines - Corporate branding application

See claude-skills-examples/ for implementation details.


✨ Key Features

  • Production-Ready Output - Proper YAML frontmatter, type-annotated Python, error handling
  • Interactive Workflows - Guided conversations through 4 specialist agents
  • Built-in Automation - 7 slash commands for common tasks
  • Complete Packaging - Documentation, samples, ZIP files included
  • Smart Detection - Automatically determines when Python code is needed vs prompt-only
  • Multi-Format Support - XML, Claude, ChatGPT, Gemini output formats
  • Official Patterns - Based on Anthropic documentation and examples
  • Cross-Platform - Works with Claude AI (desktop/browser), Claude Code, and API
  • Cross-Tool Compatibility - Bridge to OpenAI Codex CLI

πŸ“š Documentation


πŸ”— Complementary Resources

Claude Code Tresor - alirezarezvani/claude-code-tresor

  • Ready-to-use development workflow tools (8 skills, 8 agents, 4 slash commands)
  • Immediate productivity gains with proven patterns
  • One-command installation

Claude Skills Library - alirezarezvani/claude-skills

  • 37+ domain-specific production skills across 8 professional areas
  • Marketing, Product, Engineering, C-Level Advisory expertise
  • Battle-tested frameworks with proven ROI

How They Work Together:

  • This Factory: Create custom skills/agents for unique requirements
  • Tresor: Deploy ready-made development workflow tools
  • Skills Library: Adopt domain-specific professional expertise

🌐 External Resources


🀝 Contributing

This is a reference repository. To contribute:

  1. Fork the repository
  2. Add new example skills to claude-skills-examples/
  3. Ensure skills follow formatting standards
  4. Include complete implementation with samples
  5. Submit a pull request

πŸ“„ License

This repository provides examples and templates for creating Claude Skills. The skills you generate using these templates are yours to use as you see fit.


πŸ“Š Version

Current Version: 1.4.0 Last Updated: October 30, 2025 Compatible With: Claude Skills (all platforms), Claude Code Agents, Claude Code Slash Commands

Latest Changes (v1.4.0):

  • ✨ Added Codex CLI Bridge skill for Claude Code ↔ OpenAI Codex CLI interoperability
  • ✨ Added /sync-agents-md and /codex-exec slash commands
  • ✨ AGENTS.md auto-generation capability for cross-tool compatibility
  • πŸ“ Consolidated README.md for better focus on main capabilities and shortcuts
  • πŸš€ Enhanced Quick Start with 3 shortcuts and workflow examples

Previous Changes (v1.3.0):

  • MASTER_SLASH_COMMANDS_PROMPT.md template with official Anthropic patterns
  • Slash Command Factory v2.0 with 17 presets and 4-layer validation
  • Three official command patterns (Simple, Multi-Phase, Agent-Style)

Previous Changes (v1.2.0):

  • Prompt Factory skill with 69 presets across 15 domains
  • Multi-format output (XML/Claude/ChatGPT/Gemini)
  • 7-point quality validation system

See: CHANGELOG.md for complete version history


πŸ“ˆ Star History

Star History Chart


Ready to build? Try one of the shortcuts above, or explore the factory templates to start generating production-ready skills, agents, prompts, or slash commands!

Files in the repo

Repository payloadβ€’21 top-level entries
  • .archive
  • .claude
  • .github
  • .vscode
  • claude-skills-examples
  • documentation
  • generated-agents
  • generated-commands
  • generated-hooks
  • generated-prompts
  • generated-skills
  • .commitlintrc.cjs
  • .editorconfig
  • .gitignore
  • CHANGELOG.md
  • CLAUDE.md
  • CONTRIBUTING.md
  • LICENSE
  • README.md
  • SECURITY.md
  • WORKFLOW_ADAPTATION_PLAN.md

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More templates

CopilotKit/
OpenBot

Open-source AI coworkers that each get a computer of their own: a browser, files and tools, with every action decided before it happens and recorded after. Bring any AG-UI agent.

4.6k
Donchitos/
Claude-Code-Game-Studios

Turn Claude Code into a full game dev studio β€” 49 AI agents, 72 workflow skills, and a complete coordination system mirroring real studio hierarchy.

25k

A self-organizing Obsidian vault that gives AI coding agents persistent memory. Claude Code, Codex CLI, Gemini CLI.

4.6k
idavidov13/
agentic-playwright

Production-grade Playwright + TypeScript Scaffold for Agentic Testing. Harness for all major AI coding agents baked in.

163
gavishap/
omnia-vault

Omnia Vault - the all-in-one project brain: an Obsidian LLM wiki, Graphify code graphs, a living plan that triages new videos against itself, and a Claude Code ⇄ Codex relay. Everything your project knows, in one clonable vault.

60

🎬 TαΊ‘o video "so sΓ‘nh kiαΊΏn thα»©c" ngαΊ―n tα»± Δ‘α»™ng β€” HyperFrames + AI voice, 1 template nhiều chα»§ đề.

169