Help us improve
Share bugs, ideas, or general feedback.
npx claudepluginhub blueif16/amazing-claude-code-plugins --plugin skillforgeHow this skill is triggered — by the user, by Claude, or both
Slash command
/skillforge:create-commandThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
创建新的slash command文件,如果插件结构不存在则自动初始化。
Creates new Claude Code slash commands with YAML frontmatter, supporting argument hints, allowed tools, bash execution, file references, and advanced features.
Guides writing slash commands for Claude Code, covering structure, arguments, inline bash, and invocation control. Useful for creating mode-setting or workflow commands.
Create custom slash commands for Claude Code including syntax, arguments, bash execution, file references, and frontmatter configuration. Use when creating slash commands, custom commands, .md command files, or when asked about command creation, /command syntax, or command best practices.
Share bugs, ideas, or general feedback.
创建新的slash command文件,如果插件结构不存在则自动初始化。
检查当前目录是否存在 .claude/ 目录
├─ 找到 → 继续到步骤3
└─ 未找到 → 进入步骤2(同create-skill的自动初始化)
与create-skill相同的初始化流程。
询问用户:
.claude/commands/{command-name}.md^[a-z0-9-]+$✅ Command已创建: /{command-name}
📁 位置: ./.claude/commands/{command-name}.md
⚠️ Commands需要本地安装才能测试:
1. 添加本地marketplace:
/plugin marketplace add ./.claude
2. 安装插件:
/plugin install {plugin-name}@local
3. 测试命令:
/{command-name}
4. 更新后重新安装:
/plugin uninstall {plugin-name}@local
/plugin install {plugin-name}@local
Commands是slash命令(如 /commit, /help),它们需要注册到Claude Code系统中。 与skills/agents/hooks不同,commands不能直接从文件系统读取使用。
用户: "创建一个status command"
执行流程: