Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

claude-code-slash-commands

БесплатноБез исполняемых скриптовНе проверен

This skill should be used when the user asks to "create a command", "write a slash command", "build a plugin command", or wants to add custom commands to…

dwmkerrот dwmkerr★ 25 звёзд на GitHub

Об этом скилле

Slash Command Development

Create custom slash commands for Claude Code.

Quick Reference

You MUST read these references for detailed guidance:

Command Structure

Commands are Markdown files in specific locations:

Scope Location Description suffix
Project .claude/commands/ (project)
Personal ~/.claude/commands/ (user)
Plugin commands/ in plugin root (plugin)

Basic Command

---
description: Brief description of what this command does
---

Your prompt instructions here.

Frontmatter Options

---
allowed-tools: Bash(git:*), Read
argument-hint: [filename] [options]
description: What this command does
model: claude-3-5-haiku-20241022
disable-model-invocation: false
context: fork
---
Field Purpose
allowed-tools Tools the command can use
argument-hint Shows in autocomplete (e.g., [message])
description Brief description (required for SlashCommand tool)
model Specific model to use
disable-model-invocation Prevent programmatic invocation
context: fork Run in isolated sub-agent context, preventing side effects on main agent state

Arguments

All arguments:

Fix issue #$ARGUMENTS following our coding standards

Positional arguments:

Review PR #$1 with priority $2 and assign to $3

Dynamic Content

Bash execution (prefix with exclamation mark):

Current branch: EXCLAMATION`git branch --show-current`
Recent commits: EXCLAMATION`git log --oneline -5`

Replace EXCLAMATION with the exclamation mark character - workaround for bug #12762.

File references (prefix with at-sign):

Review the implementation in @src/utils/helpers.js

Namespacing

Subdirectories group related commands:

  • .claude/commands/frontend/test.md → /test shows (project:frontend)
  • .claude/commands/backend/test.md → /test shows (project:backend)

Checklist

  • Description filled in frontmatter
  • argument-hint if command takes arguments
  • allowed-tools if using Bash or specific tools
  • Test with /command-name --help style invocation
Полный SKILL.md на GitHub

Установить claude-code-slash-commands в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Grep

Вложенные файлы

references/official-docs.md

FAQ

Что делает скилл claude-code-slash-commands?

This skill should be used when the user asks to "create a command", "write a slash command", "build a plugin command", or wants to add custom commands to Claude Code.

Как установить скилл claude-code-slash-commands?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл claude-code-slash-commands запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить claude-code-slash-commands с