スキル一覧に戻る
dwmkerr

claude-code-slash-commands

by dwmkerr

Claude Code plugins toolkit for various engineering tasks.

2🍴 1📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


name: claude-code-slash-commands description: 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.

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:

ScopeLocationDescription suffix
Project.claude/commands/(project)
Personal~/.claude/commands/(user)
Plugincommands/ 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
---
FieldPurpose
allowed-toolsTools the command can use
argument-hintShows in autocomplete (e.g., [message])
descriptionBrief description (required for SlashCommand tool)
modelSpecific model to use
disable-model-invocationPrevent programmatic invocation
context: forkRun 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

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です