A custom slash command is a saved command file that users invoke by name. A repeated chat prompt is ordinary conversation text that someone keeps pasting. Either can reveal a reusable workflow, but only the saved command is a custom slash command.
Claude Code still recognizes older custom command files. For a new reusable workflow, a skill provides a named directory, discoverable metadata and space for focused references or templates.
Extract the contract from the custom command
Imagine a team already has .claude/commands/docs-check.md and repeatedly invokes /docs-check. Its instructions say to review one guide, check headings and commands, then list fixes. Preserve the trigger, scope, ordered work and result. Remove details that belong to a single run, such as one filename.
If the team only pastes the same chat prompt, first write down that stable contract. Do not imply that a slash command exists until the workflow has a saved command or skill.
Create the smallest useful skill
Create .claude/skills/docs-check/SKILL.md:
--- name: docs-check description: Review one Markdown guide for structure, command consistency and missing verification steps. argument-hint: "[path-to-guide]" --- Read the requested guide and its directly referenced project documentation. Return a table with section, finding, evidence and proposed correction. Separate confirmed defects from questions. Do not edit files unless the user asks.This is enough for a useful first version: metadata that supports discovery, one bounded workflow and a concrete output contract. Add a reference file only when the checklist becomes too large for the main instructions.
Run a three-case test
- Invoke the skill on a guide with a missing prerequisite and confirm that it identifies the exact gap.
- Invoke it on a clean guide and confirm that it can return ‘no material issue’.
- Ask for an unrelated task and confirm that the skill does not activate unexpectedly.
Know the limitation
A skill can standardize the review, but it cannot prove that examples are current. Point it to authoritative project references and retain human review for consequential documentation. Keep execution and deployment actions outside this read-only review workflow.
Source and further reading
This independent Starizzi field note draws on claude-howto, the community guide maintained by Luong NGUYEN (@luongnv89). The examples in this article were written by Starizzi. Source at revision 5609e68: 01-slash-commands/README.md and 03-skills/README.md (MIT license).
Claude Code documentation: skills.
Explore the claude-howto source and its five field notes in the public Knowledge Graph or open the full Claude topic graph. Next in this series: How to Scope a Read-Only Documentation Review Subagent in Claude Code.
