Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问clear审计通过

commands-creator命令创建者

Agent Skill

commands-creator 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

353

周安装

15

GitHub Stars

3

下载量

124
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:commands-creator(命令创建者)
来源仓库:https://github.com/mineru98/skills-store
仓库路径:skills/commands-creator
安装命令:
npx skills add https://github.com/mineru98/skills-store --skill commands-creator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/mineru98/skills-store --skill commands-creator

简介

Commands Creator 提供 Claude Code 中斜杠命令的创建与管理指导。

  • 适用于定义常用提示模板与自动化工作流,提升 Agent 执行效率。
  • 命令以 Markdown 文件形式存在于 .claude/commands/ 目录下,支持参数与脚本嵌入。
  • 该技能包含自动执行钩子与 shell 命令,安装前务必审查权限与安全性。
  • 建议定期备份命令集合并验证脚本兼容性,避免误操作影响系统稳定性。

SKILL.md

Commands Creator

This skill provides guidance for creating and managing slash commands in Claude Code. Slash commands are Markdown files that define frequently used prompts and workflows for Claude to execute.

Quick Start

Create a Project Command

mkdir -p .claude/commands
echo "Review this code for security vulnerabilities:" > .claude/commands/security-review.md

Usage: /security-review

Create a Personal Command

mkdir -p ~/.claude/commands
echo "Explain this code in simple terms:" > ~/.claude/commands/explain.md

Usage: /explain

Commands vs Skills

Use slash commands for:

  • Quick, frequently used prompts
  • Simple prompt snippets you use often
  • Prompt reminders or templates
  • Frequently used instructions that fit in one file

Use Skills for:

  • Complex workflows with multiple steps
  • Capabilities requiring scripts or utilities
  • Knowledge organized across multiple files
  • Team workflows you want to standardize

See skills-vs-commands.md for detailed comparison.

Command Creation Process

  1. Analyze requirements: What do you want the command to do?
  2. Choose scope: Project (.claude/commands/) or Personal (~/.claude/commands/)
  3. Write frontmatter: Add metadata (description, allowed-tools, etc.)
  4. Write prompt content: Define what Claude should execute
  5. Test the command: Invoke it and verify behavior
  6. Iterate: Refine based on usage

Command Types

Project Commands

  • Stored in .claude/commands/
  • Shared with your team via git
  • Shown as (project) in /help

Personal Commands

  • Stored in ~/.claude/commands/
  • Available across all projects
  • Shown as (user) in /help

Priority: Project commands take precedence over personal commands if both have the same name.

Plugin Commands

  • Provided by plugins
  • Automatically available when plugin is enabled
  • Can be namespaced: /plugin-name:command-name

MCP Commands

  • Dynamically discovered from connected MCP servers
  • Format: /mcp__<server-name>__<prompt-name>
  • Managed via /mcp command

See command-types.md for detailed information.

Command Scope: Project vs Personal

Use Project Commands When:

  • The command is project-specific
  • You want to share with your team
  • The workflow should be version-controlled

Use Personal Commands When:

  • The command is a general-purpose utility
  • You want it available across all projects
  • The workflow is personal to your development style

Basic Syntax

/<command-name> [arguments]

Command Name

  • Derived from the Markdown filename (without .md extension)
  • Must be unique within scope
  • Can be namespaced using subdirectories

Arguments

  • Optional parameters passed to the command
  • Use placeholders in command content:

- $ARGUMENTS: All arguments as a single string - $1, $2, $3: Individual positional arguments

See syntax-and-arguments.md for detailed syntax and argument handling.

Frontmatter

Command files support frontmatter for metadata:

---
description: Brief description of the command
allowed-tools: Bash(git add:*), Bash(git status:*)
argument-hint: [message]
---

Common Frontmatter Fields

FieldPurposeDefault
descriptionBrief descriptionFirst line of prompt
allowed-toolsTools command can useInherits from conversation
argument-hintArguments expectedNone
modelSpecific model to useInherits from conversation
disable-model-invocationBlock Skill tool invocationfalse
hooksCommand-scoped hooksNone

See frontmatter-reference.md for complete frontmatter reference.

Advanced Features

Bash Command Execution

Execute bash commands before the slash command runs:

---
allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*)
---

Current git status: !`git status`

Use ! prefix to include bash command output in command context.

File References

Include file contents using @ prefix:

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

Hooks

Define hooks scoped to command execution:

---
description: Deploy to staging
hooks:
  PreToolUse:
    - matcher: "Bash"
      hooks:
        - type: command
          command: "./scripts/validate-deploy.sh"
          once: true
---

Deploy to staging environment.

Thinking Mode

Trigger extended thinking by including extended thinking keywords in the command content.

See advanced-features.md for detailed advanced features.

Namespacing

Organize commands in subdirectories:

.claude/commands/
├── frontend/
│   ├── review.md          # Creates /review (project:frontend)
│   └── test.md            # Creates /test (project:frontend)
└── backend/
    ├── review.md          # Creates /review (project:backend)
    └── deploy.md          # Creates /deploy (project:backend)

Subdirectories appear in the command description but don't affect the command name.

Command Discovery and Autocomplete

  • Type / at any position to see available commands
  • Autocomplete works anywhere in input, not just at the beginning
  • Commands are discovered from:

- Project commands: .claude/commands/ - Personal commands: ~/.claude/commands/ - Plugin commands (when plugins are enabled) - MCP commands (when MCP servers are connected)

Skill Tool Integration

The Skill tool allows Claude to programmatically invoke commands during conversations. To encourage Claude to use a specific command, reference it in prompts or CLAUDE.md:

> Run /review before committing changes.

Commands with disable-model-invocation: true cannot be invoked via the Skill tool.

See best-practices.md for usage patterns and recommendations.

Command Examples

Basic command:

---
description: Review code for security vulnerabilities
---

Review this code for security vulnerabilities:
- SQL injection risks
- XSS vulnerabilities
- Authentication/authorization issues
- Input validation problems

Command with arguments:

---
argument-hint: [type] [description]
description: Create a git commit
---

Create a git commit with type "$1" and description "$2".

Commit format: $1: $2

Command with bash execution:

---
allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*)
description: Create a commit from staged changes
---

## Current status
!git status

## Changes to commit
!git diff --cached

Create a meaningful commit message for these changes.

See examples.md for more examples.

Common Built-in Commands

Claude Code provides 35+ built-in commands. Common ones include:

CommandPurpose
/helpGet usage help
/clearClear conversation history
/contextVisualize current context usage
/costShow token usage statistics
/configOpen Settings interface
/memoryEdit CLAUDE.md memory files
/modelSelect or change AI model
/planEnter plan mode
/reviewRequest code review

Built-in commands are not available through the Skill tool.

Troubleshooting

IssueSolution
Command not foundCheck filename matches command name
Arguments not workingVerify placeholder syntax ($1, $2, $ARGUMENTS)
Bash execution failingAdd command to allowed-tools
Project command ignoredPersonal command may have same name (project takes precedence)

Reference Files

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

29.59%
按下载量换算37

Antigravity

22.11%
按下载量换算27

windsurf

16.65%
按下载量换算21

Codex

12.9%
按下载量换算16

trae

8.24%
按下载量换算10

OpenCode

3.5%
按下载量换算4

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/mineru98/skills-store --skill commands-creator;npx skills add mineru98/skills-store --skill "commands-creator" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills