Create a new Claude Code slash command
Create new slash commands with automatic context detection for plugins or standalone projects. Use when you need to add custom commands to your workflow.
/plugin marketplace add racurry/neat-little-package/plugin install box-factory@neat-little-packageUse the slash-command-writer agent to create a new slash command.
Context Detection:
marketplace.json exists at project root → List plugins to choose from.claude-plugin/plugin.json exists in current directory → Use current plugin's commands/ directory.claude/commands/ (standalone project)The agent will:
Provide the command name and purpose when ready.