Commands vs skills
Commands and skills are now the same mechanism. A file at commands/deploy.md creates /deploy the same way skills/deploy/SKILL.md does, and both can be auto-invoked by Claude. The difference: skills are a directory, so you can bundle reference docs, templates, or scripts alongside the prompt.
---argument-hint: <issue-number>---
!`gh issue view $ARGUMENTS`
Investigate and fix the issue above.
1. Trace the bug to its root cause2. Implement the fix3. Write or update tests4. Summarize what you changed and whyType /fix-issue 123 and gh issue view 123 runs in your shell, its output injected before Claude sees the prompt. If a skill and command share a name, the skill wins. New workflows should usually be skills; commands remain supported.
Check your understanding
Section titled “Check your understanding”Question 1A skill and a command share the name "deploy". Which handles /deploy?
Skills take precedence over same-named commands.
Question 2The main advantage of a skill over a single-file command?
Same invocation, plus references/, examples/, scripts/ travel with the skill.