jnarowski

Generate Slash Command — Development skill for Claude Code

Development community

Generate a new slash command with consistent structure and best practices.

How to install Generate Slash Command

Installs to ~/.claude/commands/jnarowski-agentcmd-generate-slash-command.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/jnarowski/agentcmd/HEAD/.claude/commands/generate-slash-command.md -o ~/.claude/commands/jnarowski-agentcmd-generate-slash-command.md

Restart Claude Code, or start a new session, for it to be picked up.

What Generate Slash Command does


description: Generate a new slash command with consistent structure and best practices argument-hint: [command-name, description]

Generate Slash Command

Create a new slash command following team conventions and best practices. Read Instructions and follow Workflow steps in exact order.

Variables

  • $command-name: $1 (required) - The name of the command (e.g., "test", "commit", "generate-spec")
  • $description: $2 (optional) - Brief description of what the command does

Instruct

Alternatives in Development

  • Dotenv Vault — Sync environment variables across machines for consistent Claude Code behavior 1.2k ★
  • Theme Color Conventions — Extensions in this repo use a consistent color language mapped to Pi's theme tokens 526 ★
  • Claude Code Bmad Skills — BMAD Method skills for Claude Code - Auto-detection, Memory integration, Slash commands 393 ★

Full documentation available on GitHub

View Source Repository