generated from practical-stack/turborepo-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Labels
agentAgent rules and commandsAgent rules and commands
Description
Requirement
What agent rule/command needs to be created/updated:
Create a new /make-command slash command that scaffolds new Claude Code commands following the official guide at https://docs.claude.com/en/docs/claude-code/slash-commands
This command should:
- Generate new command files in
.claude/commands/ - Include proper frontmatter (description, allowed-tools, argument-hint)
- Follow the structure and best practices from the official guide
- Support both interactive and argument-based modes
Implementation Plan
Rule/Command type:
Custom slash command
Trigger conditions:
User executes /make-command [command-name] [description]
Expected behavior:
- Prompt for command name if not provided (validate format: lowercase, hyphens)
- Prompt for description if not provided
- Ask for command configuration:
- Does it accept arguments? (y/n)
- If yes, what's the argument hint?
- What tools does it need? (Bash, Read, Edit, etc.)
- Generate the command file with:
- Proper YAML frontmatter
- Template structure with Usage, Workflow sections
- Best practice comments and examples
- Create the file at
.claude/commands/{command-name}.md - Display success message with next steps
Files to be modified:
- Create:
.claude/commands/make-command.md
Should be tested
- Rule/command should be tested locally
- Edge cases should be covered (invalid names, existing files)
- Documentation should be updated (if applicable)
- Documentation should reference official guide properly
Reference
- Official guide: https://docs.claude.com/en/docs/claude-code/slash-commands
- Existing commands: make-branch, make-commit, make-pr, make-task-issue
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
agentAgent rules and commandsAgent rules and commands
Type
Projects
Status
Done