# create-command

Interactive helper for drafting custom slash commands. Configures frontmatter, argument handling, and pre-run bash context.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1200 installs · ★ 1787
- Author: NeoLabHQ
- License: GPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/NeoLabHQ/context-engineering-kit/tree/HEAD/skills/create-command/SKILL.md
- Updated: 2026-08-26
- HTML: https://affpapa.org/en/nevibecode/skills/create-command

## What it does

The skill guides you through building structured slash commands based on Scopecraft conventions. It sorts commands into categories like planning, implementation, analysis, or workflows, and sets up files in project or user scopes.

Generated command files include mandatory YAML frontmatter with `description`, optional `argument-hint`, and tool permissions via `allowed-tools`. It handles inputs via `$ARGUMENTS` or positional tokens like `$1` and `$2`, plus pre-execution bash hooks prefixed with `!`.

Project-level commands take precedence whenever a user-level command shares the same name. To keep patterns consistent, the assistant inspects existing commands in `.claude/commands/` or `~/.claude/commands/` before creating a new one.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add NeoLabHQ/context-engineering-kit --skill create-command -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/create-command/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/create-command/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add NeoLabHQ/context-engineering-kit --skill create-command -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/create-command/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add NeoLabHQ/context-engineering-kit --skill create-command -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/create-command/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install NeoLabHQ/context-engineering-kit create-command
```

2. **Manually: put the files in place**
- File: `.github/skills/create-command/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add NeoLabHQ/context-engineering-kit --skill create-command -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/NeoLabHQ/context-engineering-kit --path skills/create-command
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/create-command/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add NeoLabHQ/context-engineering-kit --skill create-command -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/NeoLabHQ/context-engineering-kit/tree/HEAD/skills/create-command/SKILL.md

## When to use it
- scaffold slash command files with valid YAML frontmatter
- configure parameter parsing using `$ARGUMENTS` and positional tokens
- set up bash pre-execution commands with `allowed-tools`
- organize commands across project and user directories

## Example prompts
- Create a slash command for code review that accepts a directory path
- Help me write a git commit command that executes git status first
- Scaffold an implementation command with mode arguments

## Similar
- [slash-commands](https://affpapa.org/en/nevibecode/skills/slash-commands.md) — skill · 489 installs
- [create-assistant](https://affpapa.org/en/nevibecode/skills/create-assistant.md) — skill · 1100 installs
- [create-agent-skills](https://affpapa.org/en/nevibecode/skills/create-agent-skills.md) — skill · 503 installs
- [caveman](https://affpapa.org/en/nevibecode/skills/shawnchee-caveman.md) — skill · 1100 installs
- [notion](https://affpapa.org/en/nevibecode/plugins/notion.md) — plugin · ★ 499
- [recipe-create-presentation](https://affpapa.org/en/nevibecode/skills/recipe-create-presentation.md) — skill · 32400 installs

From the same set: [neolabhq/context-engineering-kit](https://affpapa.org/en/nevibecode/by/neolabhq/context-engineering-kit.md) — 55 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
