Skip to main content

AI coding glossary

Slash Command

Also known as: /command, ai slash command

In one sentence

A user-typed `/name` in an AI coding tool that triggers a registered skill, prompt, or built-in action.

Full definition

Slash commands are how users invoke registered skills, prompts, or built-in actions in AI coding tools. Type `/<name>` (e.g., `/code-review`) and the AI loads the associated instructions or invokes the action. In Claude Code, every installed SKILL.md registers a slash command derived from its `name` field. In Cursor, slash commands invoke chat prompts. In Copilot Chat, slash commands invoke MCP prompts. The same skill installed via the skills-hub CLI registers the appropriate slash command in every supported tool automatically.

On skills-hub.ai

Related terms