Hook Development for Claude Code Plugins
anthropics/claude-plugins-official
Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.
Generate custom Claude Code slash commands through intelligent 5-7 question flow.
$ npx skills add alirezarezvani/claude-code-skill-factory --skill slash-command-factory -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install alirezarezvani/claude-code-skill-factory slash-command-factory --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/alirezarezvani/claude-code-skill-factory.git skills-src && mkdir -p .claude/skills && cp -r skills-src/generated-skills/slash-command-factory .claude/skills/slash-command-factory && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "slash-command-factory" agent skill from https://github.com/alirezarezvani/claude-code-skill-factory/tree/dev/generated-skills/slash-command-factory into .claude/skills/slash-command-factory/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "slash-command-factory", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/alirezarezvani/claude-code-skill-factory/tree/dev/generated-skills/slash-command-factoryType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add alirezarezvani/claude-code-skill-factory --skill slash-command-factory -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install alirezarezvani/claude-code-skill-factory slash-command-factory --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/alirezarezvani/claude-code-skill-factory.git skills-src && mkdir -p .agents/skills && cp -r skills-src/generated-skills/slash-command-factory .agents/skills/slash-command-factory && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "slash-command-factory" agent skill from https://github.com/alirezarezvani/claude-code-skill-factory/tree/dev/generated-skills/slash-command-factory into .agents/skills/slash-command-factory/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "slash-command-factory", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add alirezarezvani/claude-code-skill-factory --skill slash-command-factory -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install alirezarezvani/claude-code-skill-factory slash-command-factory --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/alirezarezvani/claude-code-skill-factory.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/generated-skills/slash-command-factory .cursor/skills/slash-command-factory && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "slash-command-factory" agent skill from https://github.com/alirezarezvani/claude-code-skill-factory/tree/dev/generated-skills/slash-command-factory into .cursor/skills/slash-command-factory/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "slash-command-factory", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/alirezarezvani/claude-code-skill-factory.git --path generated-skills/slash-command-factory--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add alirezarezvani/claude-code-skill-factory --skill slash-command-factory -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install alirezarezvani/claude-code-skill-factory slash-command-factory --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/alirezarezvani/claude-code-skill-factory.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/generated-skills/slash-command-factory .gemini/skills/slash-command-factory && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "slash-command-factory" agent skill from https://github.com/alirezarezvani/claude-code-skill-factory/tree/dev/generated-skills/slash-command-factory into .gemini/skills/slash-command-factory/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "slash-command-factory", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install alirezarezvani/claude-code-skill-factory slash-command-factoryInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add alirezarezvani/claude-code-skill-factory --skill slash-command-factory -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/alirezarezvani/claude-code-skill-factory.git skills-src && mkdir -p .github/skills && cp -r skills-src/generated-skills/slash-command-factory .github/skills/slash-command-factory && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "slash-command-factory" agent skill from https://github.com/alirezarezvani/claude-code-skill-factory/tree/dev/generated-skills/slash-command-factory into .github/skills/slash-command-factory/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "slash-command-factory", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add alirezarezvani/claude-code-skill-factory --skill slash-command-factory -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install alirezarezvani/claude-code-skill-factory slash-command-factory --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/alirezarezvani/claude-code-skill-factory.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/generated-skills/slash-command-factory .opencode/skills/slash-command-factory && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "slash-command-factory" agent skill from https://github.com/alirezarezvani/claude-code-skill-factory/tree/dev/generated-skills/slash-command-factory into .opencode/skills/slash-command-factory/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "slash-command-factory", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
slash-command-factoryGenerate custom Claude Code slash commands through intelligent 5-7 question flow.
Slash Command Factory is an agent skill from alirezarezvani/claude-code-skill-factory. Generate custom Claude Code slash commands through intelligent 5-7 question flow. Creates powerful commands for business research, content analysis, healthcare compliance, API integration, documentation automation, and workflow optimization. Outputs organized commands to generated-commands/ with validation and installation guidance.
Its SKILL.md is about 6.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files (for example `HOW_TO_USE.md`, `command_generator.py` and `expected_output.json`).
It sits in Agent Workflows, covering Hooks and plugins. It works with Bash. The repository describes itself as: Claude Code Skill Factory — A powerful open-source toolkit for building and deploying production-ready Claude Skills, Code Agents, custom Slash Commands, and LLM Prompts at… The licence is MIT.
10 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit ba18b31. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships script files (Python), which the agent can run.
Shell commands in SKILL.md call:
gitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Slash Command Factory loads about 6.1k tokens when it runs. Until then it costs about 89 tokens; SKILL.md has 1,904 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from alirezarezvani/claude-code-skill-factory at commit ba18b31, republished under its MIT licence (© alirezarezvani). 1,904 words, ~6,063 tokens.
.claude/skills/slash-command-factory/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.A comprehensive system for generating production-ready Claude Code slash commands through a simple question-based workflow.
This skill helps you create custom slash commands for Claude Code by:
Output: Complete slash commands ready to use in Claude Code
This skill generates commands following three official patterns from Anthropic documentation:
Best for: Straightforward tasks with clear input/output Example: Code review, file updates, simple analysis Official Reference: code-review.md
Structure:
---
allowed-tools: Bash(git diff:*), Bash(git log:*)
description: Purpose description
---
## Context
- Current state: !`bash command`
- Additional data: !`another command`
## Your task
[Clear instructions with numbered steps]
[Success criteria]When to use:
Best for: Complex discovery and documentation tasks Example: Codebase analysis, comprehensive audits, system mapping Official Reference: codebase-analysis.md
Structure:
---
allowed-tools: Bash(find:*), Bash(tree:*), Bash(ls:*), Bash(grep:*), Bash(wc:*), Bash(du:*)
description: Comprehensive purpose
---
# Command Title
## Phase 1: Project Discovery
### Directory Structure
!`find . -type d | sort`
### File Count Analysis
!`find . -type f | wc -l`
## Phase 2: Detailed Analysis
[More discovery commands]
[File references with @]
## Phase 3: Your Task
Based on all discovered information, create:
1. **Deliverable 1**
- Subsection
- Details
2. **Deliverable 2**
- Subsection
- Details
At the end, write output to [filename].mdWhen to use:
Best for: Specialized expert roles and coordination Example: Domain experts, orchestrators, specialized advisors Official Reference: openapi-expert.md
Structure:
---
name: command-name
description: |
Multi-line description for complex purpose
explaining specialized role
color: yellow
---
You are a [specialized role] focusing on [domain expertise].
**Core Responsibilities:**
1. **Responsibility Area 1**
- Specific tasks
- Expected outputs
2. **Responsibility Area 2**
- Specific tasks
- Expected outputs
**Working Process:**
1. [Step 1 in workflow]
2. [Step 2 in workflow]
3. [Step 3 in workflow]
**Important Considerations:**
- [Guideline 1]
- [Guideline 2]
- [Constraint or best practice]
When you encounter [scenario], [action to take].When to use:
All slash command files MUST follow kebab-case convention:
Format: [verb]-[noun].md, [noun]-[verb].md, or [domain]-[action].md
Rules:
[a-z0-9-] allowed (letters, numbers, hyphens)User Input → Command Name
Input: "Analyze customer feedback and generate insights"
↓
1. Extract action: "analyze"
2. Extract target: "feedback"
3. Combine: "analyze-feedback"
4. Validate: Matches [a-z0-9-]+ pattern ✓
5. Output: analyze-feedback.mdMore Examples:
pr-review.md or review-pr.mdapi-document.md or document-api.mdupdate-readme.md or readme-update.mdsecurity-audit.md or compliance-audit.mdresearch-market.md or market-research.mdcode-analyze.md or analyze-code.mdCorrect:
code-review.md (verb-noun)codebase-analysis.md (noun-noun compound)update-claude-md.md (verb-noun-qualifier)openapi-expert.md (domain-role)Incorrect:
code_review.md (snake_case - wrong)CodeReview.md (PascalCase - wrong)codeReview.md (camelCase - wrong)review.md (too vague - needs target)analyze-customer-feedback-data.md (too long - >4 words)❌ NEVER ALLOWED:
allowed-tools: BashThis wildcard permission is prohibited per official Anthropic patterns.
✅ ALWAYS REQUIRED:
allowed-tools: Bash(git status:*), Bash(git diff:*), Bash(git log:*)Must specify exact commands with wildcards only for subcommands.
Based on Anthropic's documented examples:
Git Operations (code-review, update-docs):
allowed-tools: Bash(git status:*), Bash(git diff:*), Bash(git log:*), Bash(git branch:*), Bash(git add:*), Bash(git commit:*)File Discovery (codebase-analysis):
allowed-tools: Bash(find:*), Bash(tree:*), Bash(ls:*), Bash(du:*)Content Analysis (comprehensive discovery):
allowed-tools: Bash(grep:*), Bash(wc:*), Bash(head:*), Bash(tail:*), Bash(cat:*)Data Processing (custom analysis):
allowed-tools: Bash(awk:*), Bash(sed:*), Bash(sort:*), Bash(uniq:*)Combined Patterns (multi-phase commands):
allowed-tools: Bash(find:*), Bash(tree:*), Bash(ls:*), Bash(grep:*), Bash(wc:*), Bash(du:*), Bash(head:*), Bash(tail:*), Bash(cat:*), Bash(touch:*)| Command Type | Bash Permissions | Example Commands |
|---|---|---|
| Git Commands | git status, git diff, git log, git branch | code-review, commit-assist |
| Discovery | find, tree, ls, du | codebase-analyze, structure-map |
| Analysis | grep, wc, head, tail, cat | search-code, count-lines |
| Update | git diff, find, grep | update-docs, sync-config |
| Data Processing | awk, sed, sort, uniq | parse-data, format-output |
| Comprehensive | All of the above | full-audit, system-analyze |
Choose from 10 powerful preset commands:
Business & Research:
Healthcare & Compliance: 3. /medical-translate - Translate medical terminology to 8th-10th grade (German/English) 4. /compliance-audit - HIPAA/GDPR/DSGVO compliance validation
Development & Integration: 5. /api-build - Generate complete API integration code with tests 6. /test-auto - Auto-generate comprehensive test suites
Documentation & Knowledge: 7. /docs-generate - Automated documentation creation 8. /knowledge-mine - Extract and structure insights from documents
Workflow & Productivity: 9. /workflow-analyze - Analyze and optimize business processes 10. /batch-agents - Launch and coordinate multiple agents for complex tasks
Create a completely custom command for your specific needs.
"What should this slash command do?
Be specific about its purpose and when you'll use it.
Examples:
Your command's purpose: ___"
The skill automatically determines if your command needs arguments based on the purpose.
If arguments are needed, they will use $ARGUMENTS format:
/your-command argument1 argument2$ARGUMENTS = "argument1 argument2"Examples:
/research-business "Tesla" "EV market" → $ARGUMENTS = "Tesla EV market"/medical-translate "Myokardinfarkt" "de" → $ARGUMENTS = "Myokardinfarkt de"No user input needed - skill decides intelligently.
"Which Claude Code tools should this command use?
Available tools:
CRITICAL: For Bash, you MUST specify exact commands, not wildcards.
Bash Examples:
Tool Combination Examples:
Your tools (comma-separated): ___"
"Does this command need to launch agents for specialized tasks?
Examples of when to use agents:
Options:
Your choice (1 or 2): ___"
If "2", ask: "Which agents should it launch? ___"
"What type of output should this command produce?
Your choice (1, 2, 3, or 4): ___"
"Which Claude model should this command use?
Your choice (1, 2, 3, or 4) or press Enter for default: ___"
"Any special features?
Optional features:
command)Features you need (comma-separated) or press Enter to skip: ___"
After collecting answers:
---
description: [From command purpose]
argument-hint: [If $ARGUMENTS needed]
allowed-tools: [From tool selection]
model: [If specified]
---[Purpose-specific instructions]
[If uses agents]:
1. **Launch [agent-name]** with [specific task]
2. Coordinate workflow
3. Validate results
[If uses bash]:
- Context: !`bash command`
[If uses file refs]:
- Review: @file.txt
Success Criteria: [Based on output type]generated-commands/[command-name]/
├── [command-name].md # Command file (ROOT)
├── README.md # Installation guide (ROOT)
├── TEST_EXAMPLES.md # Testing examples (ROOT)
└── [folders if needed] # standards/, examples/, scripts/Your command is ready!
Output location: generated-commands/[command-name]/
To install:
1. Copy the command file:
cp generated-commands/[command-name]/[command-name].md .claude/commands/
2. Restart Claude Code (if already running)
3. Test:
/[command-name] [arguments]Purpose: Comprehensive business and market research
Arguments: $ARGUMENTS (company or market to research)
YAML:
---
description: Comprehensive business and market research with competitor analysis
argument-hint: [company/market] [industry]
allowed-tools: Read, Bash, Grep
---What it does:
Purpose: Multi-platform content trend analysis
Arguments: $ARGUMENTS (topic to research)
YAML:
---
description: Multi-platform content trend analysis for data-driven content strategy
argument-hint: [topic] [platforms]
allowed-tools: Read, Bash
---What it does:
Purpose: Translate medical terminology to patient-friendly language
Arguments: $ARGUMENTS (medical term and language)
YAML:
---
description: Translate medical terminology to 8th-10th grade reading level (German/English)
argument-hint: [medical-term] [de|en]
allowed-tools: Read
---What it does:
Purpose: Check code for regulatory compliance
Arguments: $ARGUMENTS (path and compliance standard)
YAML:
---
description: Audit code for HIPAA/GDPR/DSGVO compliance requirements
argument-hint: [code-path] [hipaa|gdpr|dsgvo|all]
allowed-tools: Read, Grep, Task
---What it does:
Purpose: Generate complete API integration code
Arguments: $ARGUMENTS (API name and endpoints)
YAML:
---
description: Generate complete API client with error handling and tests
argument-hint: [api-name] [endpoints]
allowed-tools: Read, Write, Edit, Bash, Task
---What it does:
Purpose: Auto-generate comprehensive test suites
Arguments: $ARGUMENTS (file path and test type)
YAML:
---
description: Auto-generate comprehensive test suite with coverage analysis
argument-hint: [file-path] [unit|integration|e2e]
allowed-tools: Read, Write, Bash
---What it does:
Purpose: Automated documentation generation
Arguments: $ARGUMENTS (code path and doc type)
YAML:
---
description: Auto-generate documentation from code (API docs, README, architecture)
argument-hint: [code-path] [api|readme|architecture|all]
allowed-tools: Read, Write, Grep
---What it does:
Purpose: Extract structured insights from documents
Arguments: $ARGUMENTS (document path and output format)
YAML:
---
description: Extract and structure knowledge from documents into actionable insights
argument-hint: [doc-path] [faq|summary|kb|all]
allowed-tools: Read, Grep
---What it does:
Purpose: Analyze and optimize business workflows
Arguments: $ARGUMENTS (workflow description)
YAML:
---
description: Analyze workflows and provide optimization recommendations
argument-hint: [workflow-description]
allowed-tools: Read, Task
---What it does:
Purpose: Launch multiple coordinated agents
Arguments: $ARGUMENTS (agent names and task)
YAML:
---
description: Launch and coordinate multiple agents for complex tasks
argument-hint: [agent-names] [task-description]
allowed-tools: Task
---What it does:
Commands are generated in your project's root directory:
[your-project]/
└── generated-commands/
└── [command-name]/
├── [command-name].md # Command file (ROOT level)
├── README.md # Installation guide (ROOT level)
├── TEST_EXAMPLES.md # Testing guide (ROOT level - if applicable)
│
├── standards/ # Only if command has standards
├── examples/ # Only if command has examples
└── scripts/ # Only if command has helper scriptsOrganization Rules:
After generation:
Review output:
ls generated-commands/[command-name]/Copy to Claude Code (when ready):
# Project-level (this project only)
cp generated-commands/[command-name]/[command-name].md .claude/commands/
# User-level (all projects)
cp generated-commands/[command-name]/[command-name].md ~/.claude/commands/Restart Claude Code (if running)
Test command:
/[command-name] [arguments]@slash-command-factory
Use the /research-business presetOutput: Complete business research command ready to install
@slash-command-factory
Create a custom command for analyzing customer feedback and generating product insightsSkill asks 5-7 questions → Generates complete command → Validates format → Provides installation steps
Example generated command (my-command.md):
---
description: Brief description of what the command does
argument-hint: [arg1] [arg2]
allowed-tools: Read, Write, Bash
model: claude-3-5-sonnet-20241022
---
# Command Instructions
Do [task] with "$ARGUMENTS":
1. **Step 1**: First action
2. **Step 2**: Second action
3. **Step 3**: Generate output
**Success Criteria**:
- Criterion 1
- Criterion 2
- Criterion 3Every generated command is automatically validated for:
If validation fails, you'll get specific fix instructions.
For Command Design:
For Tool Selection:
For Agent Integration:
Arguments:
$ARGUMENTS (all arguments as one string)$1, $2, $3 (positional - not used by this factory)Folder Organization:
Output Location:
./generated-commands/[command-name]/.claude/commands/[command-name].md (when ready)@slash-command-factory
Generate the /research-content preset command→ Creates content research command with all features
@slash-command-factory
Create a command that generates German PTV 10 therapy applicationsSkill asks:
Result: /generate-ptv10 command ready to use
@slash-command-factory
Build a command for competitive SWOT analysisSkill asks 5-7 questions → Generates /swot-analysis command → Validates → Ready to install
Works with:
Complements:
Complete ecosystem for building all Claude Code augmentations!
Generated commands are validated for:
YAML Frontmatter:
description fieldArguments:
Tools:
Organization:
Generated commands should:
Version: 1.0.0 Last Updated: October 28, 2025 Compatible: Claude Code (all versions with slash command support)
Build powerful custom slash commands in minutes! ⚡
© alirezarezvani, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 6 other files in generated-skills/slash-command-factory of alirezarezvani/claude-code-skill-factory.
Open the folder on GitHubat commit ba18b31
Slash Command Factory next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Slash Command Factory this skillalirezarezvani/claude-code-skill-factory | 880 | — | ~6.1k | Automated safety check: Pass | MIT | |
| Hook Development for Claude Code Pluginsanthropics/claude-plugins-official | 38k | 11 repos | ~4.1k | Automated safety check: Notes | Apache-2.0 | |
| Plugin Settings Patternanthropics/claude-plugins-official | 38k | 7 repos | ~3k | Automated safety check: Pass | Apache-2.0 | |
| Crush Configurationcharmbracelet/crush | 29k | — | ~3.7k | Automated safety check: Pass | Custom licence | |
| Verify Setup Health Checkdiet103/claude-code-infrastructure-showcase | 10k | — | ~363 | Automated safety check: Pass | MIT | |
| Claude SmartReflexioAI/claude-smart | 783 | — | ~439 | Automated safety check: Pass | Apache-2.0 |
anthropics/claude-plugins-official
Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.
anthropics/claude-plugins-official
Shows how Claude Code plugins keep per-project settings and state in .claude/plugin-name.local.md files with YAML frontmatter and a markdown body.
charmbracelet/crush
Explains how to configure the Crush coding agent with crushrc or crush.json, covering providers, models, LSPs, MCP servers, hooks, permissions and config precedence.
diet103/claude-code-infrastructure-showcase
Run the infrastructure health check and fix anything that fails
ReflexioAI/claude-smart
Codex-only — use when the user asks to run claude-smart commands in Codex, including claude-smart show, learn, restart, dashboard, clear-all, or slash-like requests such as /claude-smart:learn.
greatSumini/cc-system
Create and configure Claude Code hooks for customizing agent behavior.
alirezarezvani/claude-code-skill-factory
Complete App Store Optimization (ASO) toolkit for researching, optimizing, and tracking mobile app performance on Apple App Store and Google Play Store
alirezarezvani/claude-code-skill-factory
Advanced content and topic research skill that analyzes trends across Google Analytics, Google Trends, Substack, Medium, Reddit, LinkedIn, X, blogs, podcasts, and YouTube to generate data-driven…
alirezarezvani/claude-code-skill-factory
Analyzes, generates, and enhances CLAUDE.md files for any project type using best practices, modular architecture support, and tech stack customization.
alirezarezvani/claude-code-skill-factory
Claude Code agent generation system that creates custom agents and sub-agents with enhanced YAML frontmatter, tool access patterns, and MCP integration support following proven production patterns
alirezarezvani/claude-code-skill-factory
Comprehensive Test Driven Development guide for engineering subagents with multi-framework support, coverage analysis, and intelligent test generation
alirezarezvani/claude-code-skill-factory
Bridge between Claude Code and OpenAI Codex CLI - generates AGENTS.md from CLAUDE.md, provides Codex CLI execution helpers, and enables seamless interoperability between both tools
Works with
Categories
Generate custom Claude Code slash commands through intelligent 5-7 question flow. Slash Command Factory is an agent skill from alirezarezvani/claude-code-skill-factory. Generate custom Claude Code slash commands through intelligent 5-7 question flow.
Slash Command Factory fits situations like: tasks that involve Hooks and plugins.
Run `npx skills add alirezarezvani/claude-code-skill-factory --skill slash-command-factory -a claude-code`. Or copy the skill folder (generated-skills/slash-command-factory in alirezarezvani/claude-code-skill-factory) into .claude/skills/slash-command-factory in your project. Claude Code loads it when a task matches its description.
Run `npx skills add alirezarezvani/claude-code-skill-factory --skill slash-command-factory -a codex`. Or copy the skill folder (generated-skills/slash-command-factory in alirezarezvani/claude-code-skill-factory) into .agents/skills/slash-command-factory in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add alirezarezvani/claude-code-skill-factory --skill slash-command-factory -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/slash-command-factory, .gemini/skills/slash-command-factory, .github/skills/slash-command-factory and .opencode/skills/slash-command-factory in your project.
Going by SKILL.md and its folder, Slash Command Factory needs Python for the scripts in its folder and the command-line tools its instructions call (git). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Slash Command Factory is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 6.1k tokens (SKILL.md is roughly 24k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Slash Command Factory: Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 38k stars), Plugin Settings Pattern (anthropics/claude-plugins-official, 38k stars), Crush Configuration (charmbracelet/crush, 29k stars) and Verify Setup Health Check (diet103/claude-code-infrastructure-showcase, 10k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
alirezarezvani (a GitHub user) maintains it in alirezarezvani/claude-code-skill-factory, which has 880 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on November 12, 2025.
Source: alirezarezvani/claude-code-skill-factory on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.