command-creator
WHAT: Create Claude Code slash commands - reusable markdown workflows invoked with /command-name. WHEN: User wants to create, make, or add a slash command. User wants to automate a repetitive workflow or document a consistent process for reuse. KEYWORDS: "create a command", "make a slash command", "add a command", "new command", "/command", "automate this workflow", "make this repeatable"
Why use this skill?
Automate repetitive workflows by creating custom slash commands for Claude Code. This skill helps you structure, document, and save reusable prompt workflows.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/wpank/command-creatorWhat This Skill Does
The command-creator skill is a specialized utility designed to streamline the creation of custom slash commands within the Claude Code ecosystem. Slash commands act as powerful, reusable markdown workflows that allow users to automate repetitive tasks by encapsulating complex prompt chains, tool usage, and file interactions into a single, simple command name. This skill guides the user through the process of defining, structuring, and saving these commands in the appropriate repository or global locations. It enforces best practices by ensuring every command includes a clear description, required argument hints, and structured, imperative-form instructions that optimize agent performance.
Installation
To install this skill, run the following command in your terminal:
clawhub install openclaw/skills/skills/wpank/command-creator
Once installed, you can trigger the skill whenever you need to formalize a new repetitive process into a project-specific or global tool.
Use Cases
This skill is ideal for:
- Standardizing code reviews by creating a
/reviewcommand that checks linting, tests, and documentation requirements. - Automating routine project maintenance tasks like updating dependencies or generating changelogs.
- Creating "agent personas" or specific behavioral patterns for handling complex debugging scenarios.
- Documenting tribal knowledge by turning manual steps into executable workflows that any team member can invoke with a slash command.
Example Prompts
- "I want to create a command called /fix-style that runs prettier, checks linting, and then commits the changes. Can you help me structure that?"
- "I need a new global command /setup-repo that creates a .gitignore, initializes git, and adds a README. Let's make this repeatable."
- "Help me add a command /analyze-diff that reads the current diff and summarizes the security risks in a clean report format."
Tips & Limitations
- Tip: Always prioritize the 'Imperative form'. Giving the agent direct instructions (e.g., 'Run x') produces more predictable results than descriptive instructions.
- Tip: Use the provided 'Command Patterns' (like Iterative Fixing or Workflow Automation) to ensure your commands follow established architectural best practices.
- Limitation: The skill is limited to generating markdown files; the actual execution depends on the agent's ability to interpret and execute the instructions defined within those files. Ensure your logic is granular and well-defined.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-wpank-command-creator": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution
Related Skills
mermaid-diagrams
Create software diagrams using Mermaid syntax. Use when users need to create, visualize, or document software through diagrams including class diagrams, sequence diagrams, flowcharts, ERDs, C4 architecture diagrams, state diagrams, git graphs, and other diagram types. Triggers include requests to diagram, visualize, model, map out, or show the flow of a system.
api-design-principles
Skill by wpank
auto-context
Automatically read relevant context before major actions. Loads TODO.md, roadmap.md, handoffs, task plans, and other project context files so the AI operates with full situational awareness. Use when starting a task, implementing a feature, refactoring, debugging, planning, or resuming a session.
clear-writing
Write clear, concise prose for humans — documentation, READMEs, API docs, commit messages, error messages, UI text, reports, and explanations. Combines Strunk's rules for clearer prose with technical documentation patterns, structure templates, and review checklists.
track-performance
Track the performance of Uniswap LP positions over time — check which positions need attention, are out of range, or have uncollected fees. Use when the user asks how their positions are doing.