---
source: CrewKit documentation
url: https://crewkit.io/docs/commands.md
title: "Commands"
description: "Custom slash commands for Claude Code."
---


Commands are custom slash commands that appear in Claude Code. They provide shortcuts for common workflows.

---

## Create a command

Create a markdown file in `.claude/commands/` (or through the dashboard):

```markdown
---
name: deploy-check
description: Verify deployment readiness
---

Check the following before deployment:

1. All tests pass
2. No TODO comments in changed files
3. Database migrations are reversible
4. Environment variables are documented
5. No secrets in source code
```

---

## Using commands

Commands appear as slash commands in Claude Code:

```
/deploy-check
```

Claude reads the command file and follows its instructions.

---

## Command file format

Commands use the same markdown + optional frontmatter format as other resources:

```markdown
---
name: quick-test
description: Run tests for changed files only
---

Identify which test files correspond to the files I've changed
in this git branch, then run only those tests.
```

---

## Sync and tiers

Commands sync to `.claude/commands/` and support the same three-tier inheritance as agents, skills, and rules. See [Inheritance](/docs/inheritance).

---

## Next steps

- [Agents](/docs/agents)
- [Skills](/docs/skills)
- [Inheritance](/docs/inheritance)
