Loading...
Loading...
当你需要创建Claude Code斜杠命令时,应使用此技能。当用户要求“创建命令”“制作斜杠命令”“添加命令”,或者希望将工作流程文档化为可复用命令时,均可使用。它是创建结构规范、遵循最佳实践且可由Agent执行的优化斜杠命令的必备技能。
npx skill4agent add softaworks/agent-toolkit command-creator/command-name.claude/commands/~/.claude/commands/---
description: 显示在/help中的简短描述(必填)
argument-hint: <占位符>(可选,如果命令接受参数)
---
# 命令标题
[供Agent自主执行的详细说明]git rev-parse --is-inside-work-tree 2>/dev/null.claude/commands/~/.claude/commands/~/.claude/commands/.claude/commands/submit-stackensure-cicreate-from-plansubmit_stackensure_cicreate_from_planmy-command.md/my-command/helpargument-hint: <占位符><尖括号>[方括号].claude/commands/[command-name].md~/.claude/commands/[command-name].mdmkdir -p [directory-path]/command-name [arguments]你可以通过运行以下命令测试此命令:/command-name [arguments]pytestpyrightruffprettiermakegt.PLAN.md