- Home
- Skills
- Alirezarezvani
- Claude Code Skill Factory
- Slash Command Factory
slash-command-factory_skill
- Python
388
GitHub Stars
7
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill alirezarezvani/claude-code-skill-factory --skill slash-command-factory- command_generator.py12.3 KB
- expected_output.json1.1 KB
- HOW_TO_USE.md4.3 KB
- presets.json24.5 KB
- sample_input.json276 B
- SKILL.md23.9 KB
- validator.py10.9 KB
Overview
This skill generates production-ready Claude Code slash commands via an intelligent 5–7 question flow. It produces validated command .md files, creates organized folders under generated-commands/, and includes installation and testing guidance so commands are immediately deployable.
How this skill works
You answer a short guided questionnaire about purpose, tools, agents, output type, model preference, and optional features. The skill converts your answers into YAML frontmatter and a complete command body following Anthropic patterns (Simple, Multi-Phase, or Agent-Style). It validates allowed-tools, argument syntax, file naming, and generates an installation README and test examples.
When to use it
- Create a tailored slash command for research, audits, or automation without handcrafting metadata
- Quickly produce production-ready commands from presets for business, docs, tests, or compliance
- Build complex multi-phase commands for deep discovery and analysis of a codebase or project
- Generate agent-style expert commands to orchestrate specialized workflows and sub-agents
- Standardize command naming, permissions, and folder layout for team deployments
Best practices
- Be specific in the command purpose to enable accurate argument inference and concise naming
- Select explicit Bash permissions (no wildcard Bash) and only the exact commands needed
- Choose the pattern (Simple, Multi-Phase, Agent-Style) that matches task complexity
- Use kebab-case and keep names to 2–4 words to comply with file-naming rules
- Include success criteria and test examples in TEST_EXAMPLES.md for reliable validation
Example use cases
- Generate /research-business to produce competitor analysis, market sizing, and recommendations
- Create /api-build to scaffold API integration code, tests, and deployment steps
- Produce /compliance-audit that runs discovery, validates policies, and outputs a compliance report
- Build /docs-generate to read codebase files and auto-create structured documentation
- Assemble /batch-agents to coordinate multiple agents for large-scale data processing
FAQ
The skill extracts an action and a target from your purpose, combines them into kebab-case, validates against the [a-z0-9-]+ pattern, and limits names to 2–4 words.
What Bash permissions are allowed?
You must list exact Bash commands with permitted subcommands (e.g., Bash(git diff:*), Bash(find:*)); wildcard-only permissions are prohibited.