command-development
Write Navin slash commands as Markdown prompt files (frontmatter, $ARGUMENTS, $1..$9, ${1:-default}, @file inlining, !`cmd` shell output, allowed-tools…
от Navinspire-ia★ 37 звёзд на GitHub
Установить command-development в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Command Development
A slash command is a Markdown file whose body is a prompt. When the user types
/<name> <arguments>, Navin expands the file (arguments, referenced files,
shell output) and runs the result as one agent turn. Commands package a
repeatable workflow behind a short name: a review checklist, a release routine,
a scaffold.
Commands are instructions for Navin
The body is written for Navin, not for the user. It gives instructions ("Review the staged diff and report..."), never a message ("This command will review your code"). The user sees the result of the turn, not the prompt.
Correct:
Review the staged changes for security issues: injection, unsafe file access,
secrets in code. Report each finding with file, line and severity.
Wrong:
This command reviews your code for security issues and you will get a report.
Where commands live
| Scope | Folder | Notes |
|---|---|---|
| Project | <workspace>/.navin/commands/ |
shared with the repository |
| Personal | ~/.navin/commands/ |
every workspace of this user |
| Plugin | <plugin>/commands/ (or the commands paths of plugin.json) |
while the plugin is enabled |
| Shipped | inside Navin (/create-plugin) |
always available |
Rules:
- The command name is the file stem in lower case:
review-pr.mdgives/review-pr. The stem must start with a letter or digit (letters, digits,_,.,-). - Built-in commands of Navin (
/help,/new,/goal...) always win; a file named after one of them is never reached. - On a name clash: project, then personal, then plugin, then shipped.
- Plugin commands are also reachable as
/<plugin>:<name>, which avoids clashes. - Subfolders are namespaces for humans:
.navin/commands/git/sync.mdis still/sync. Mention the namespace in the description. README.mdfiles are ignored, so are files over 128 KB and files with an empty body.- Commands are read when invoked, so an edit takes effect on the next call.
Create a project command:
mkdir -p .navin/commands
cat > .navin/commands/review.md <<'EOF'
Review the staged diff for bugs, missing tests and unclear names.
EOF
File format
The smallest command is plain Markdown with no frontmatter; the whole file is the prompt:
Run the test suite, then summarize failures grouped by module with the most
likely cause for each.
With frontmatter:
---
description: Review a pull request branch against the project checklist
argument-hint: <branch> [focus]
allowed-tools: Read, Grep, Bash(git:*)
---
Review the branch $1 against main. Focus on ${2:-correctness and tests}.
Changed files:
!`git diff --stat main...$1`
Apply the checklist in @docs/review-checklist.md and report findings as a
table: file, line, severity, fix.
Frontmatter fields
| Field | Effect in Navin |
|---|---|
description |
shown in the command list and in the system prompt index; keep it under 80 characters |
argument-hint |
shown next to the name, e.g. <file> [mode] |
allowed-tools |
restricts the tools of the turn (see below) |
model |
accepted for compatibility; the turn runs on the session model |
disable-model-invocation |
accepted for compatibility; Markdown commands only run when typed |
description
---
description: Generate release notes from commits since the last tag
---
Start with a verb, say what the command produces. Without it the list shows only the name.
allowed-tools
---
allowed-tools: Read, Grep, Bash(git:*)
---
or as a YAML list:
---
allowed-tools:
- read_file
- grep
- exec
---
Common names from other harnesses are mapped to Navin tools (Bash to exec,
Read to read_file, Write to write_file, Edit to edit_file and
apply_patch, Grep, Glob to find_files, WebFetch to web_fetch,
Task to spawn). Navin tool names work directly. Argument filters such as
Bash(git:*) are accepted; the filter is documentation, the whole tool is
granted. skill and read_file are always kept so the command can load
playbooks and read its own references. Omit the field to inherit every tool of
the session.
model
---
model: haiku
---
Navin parses the key but ignores it: the command runs on the model of the
current session. Choose the model per session or per subagent
(spawn model_preset=...) instead.
argument-hint
---
argument-hint: <environment> [version] [--dry-run]
---
Use <required> and [optional], in the same order as $1, $2... The hint
appears in the command list so the user knows what to type.
disable-model-invocation
---
disable-model-invocation: true
---
Accepted and ignored. Navin never invokes Markdown commands on its own: they run only when the user types them, so every command already behaves as if this flag were set.
See references/frontmatter-reference.md for YAML pitfalls and the full
tool-name map
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- README.md
- examples/plugin-commands.md
- examples/simple-commands.md
- references/advanced-workflows.md
- references/documentation-patterns.md
- references/frontmatter-reference.md
- references/interactive-commands.md
- references/marketplace-considerations.md
- references/plugin-features-reference.md
- references/testing-strategies.md
FAQ
Что делает скилл command-development?
Write Navin slash commands as Markdown prompt files (frontmatter, $ARGUMENTS, $1..$9, ${1:-default}, @file inlining, !`cmd` shell output, allowed-tools, namespaces, plugin commands with ${NAVIN_PLUGIN_ROOT}). Use when the user asks to "create a slash command", "add a custom command", "write a command that takes arguments", "inline a file in a command", "run a shell command inside a command", "restrict the tools of a command", "add a command to my plugin", or asks how Markdown commands are discovered and expanded.
Как установить скилл command-development?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл command-development запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…