no-duplicate-slash-command-names
Disallow duplicate slash-command names across prompt files and skills.
Rule catalog ID: R069
Targeted pattern scopeâ
.github/prompts/**/*.prompt.md.github/skills/**/SKILL.md.claude/skills/**/SKILL.md
What this rule reportsâ
- prompt names that collide with skill names
- skill names that collide with prompt names
- collisions involving explicit frontmatter names and default filename or directory-derived names
Why this rule existsâ
Prompt files and skills both participate in slash-command style invocation flows. Reusing the same effective command name across those surfaces creates namespace collisions and makes command selection ambiguous.
â Incorrectâ
.github/prompts/review.prompt.md # effective name: review
.github/skills/review/SKILL.md # effective name: review
â Correctâ
.github/prompts/review.prompt.md # effective name: review
.github/skills/review-checklist/SKILL.md # effective name: review-checklist