claude-command-converter
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "claude-command-converter":https://skillpi.com/zh/skills/deepskill-0e236c29d3ea913f1b3814675e86802a9ed96d58a002435764067fec04b68028。安装前核对上游来源和版本:https://github.com/dceoy/speckit-agent-skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
将 Claude Code 中的命令文件(.claude/commands/*.md)转换为标准 Agent 技能文件(skills/*/SKILL.md)。适用于把斜杠命令迁移为可移植的技能格式、从现有命令生成技能,或在不同 AI 运行时之间统一命令定义。
介绍来源: third_party · dceoy · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 适合谁
- 翻译待完成,请参阅来源文档。
- 输入和输出
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: claude-command-converter
description: Convert Claude Code commands (.claude/commands/*.md) to standard Agent Skills (skills/*/SKILL.md). Use when migrating slash commands to portable skill format, creating skills from existing commands, or standardizing command definitions across AI runtimes.Claude Command Converter
Convert Claude Code commands to standard Agent Skills format for portability across AI coding assistants.
When to Use
- Migrating existing
.claude/commands/*.mdfiles toskills/*/SKILL.mdformat. - Creating portable skills from Claude Code-specific commands.
- Standardizing command definitions for use with Claude Code, Codex CLI, GitHub Copilot, and other runtimes.
Inputs
- Source command file path (e.g.,
.claude/commands/my-command.md). - Optional: target skill name (defaults to command filename without extension).
If input is missing, ask for the source command file path.
Format Differences
Claude Code Command Format
Location: .claude/commands/<command-name>.md
---
description: Short description of the command
handoffs:
- label: Next Action
agent: other.command
prompt: Trigger prompt
send: true
---
## User Input
\`\`\`text
$ARGUMENTS
\`\`\`
[Command instructions...]
Standard Agent Skill Format
Location: skills/<skill-name>/SKILL.md
---
name: skill-name
description: Complete description including what the skill does and when to use it.
---
# Skill Title
## When to Use
- Scenario 1
- Scenario 2
## Inputs
- Required input 1
- Optional input 2
## Workflow
1. Step 1
2. Step 2
...
## Outputs
- Output file 1
- Output file 2
Conversion Workflow
-
Read the source command from
.claude/commands/. -
Extract metadata:
descriptionfrom YAML frontmatter.handoffsfor related skills/next steps.$ARGUMENTShandling for inputs.
-
Determine skill name:
- Convert
command.name.md→command-name(replace dots with hyphens). - Use kebab-case for multi-word names.
- Convert
-
Create skill directory:
skills/<skill-name>/ -
Transform content to SKILL.md format:
- Frontmatter: Keep
nameanddescriptiononly. - Enhance description: Expand to include when to use the skill.
- Convert
$ARGUMENTS: Document as Inputs section. - Structure workflow: Extract steps into numbered Workflow section.
- Add "When to Use": Derive from command context and description.
- Add "Outputs": List generated files/artifacts.
- Convert handoffs: Add "Next Steps" section referencing related skills.
- Frontmatter: Keep
-
Remove runtime-specific content:
- Remove
## User Inputsection with$ARGUMENTSblock. - Remove
handoffsfrom frontmatter (move to prose). - Remove
/command.namereferences (use skill names instead).
- Remove
-
Validate skill structure:
- Frontmatter has
nameanddescriptiononly. - Body has clear sections (When to Use, Inputs, Workflow, Outputs).
- No TODO placeholders remain.
- No runtime-specific variables like
$ARGUMENTS.
- Frontmatter has
-
Report conversion result:
- Source command path.
- Generated skill path.
- Key transformations applied.
- Manual review recommendations.
Transformation Rules
| Claude Command | Agent Skill |
|---|---|
$ARGUMENTS |
Inputs section describing expected user input |
handoffs: |
Next Steps section with skill references |
/command.name |
skill-name (kebab-case) |
agent: foo.bar |
foo-bar skill reference |
description: in frontmatter |
description: expanded with triggers |
Inline ## User Input |
Removed; documented in Inputs |
Example Conversion
Input: .claude/commands/speckit.specify.md
---
description: Create feature specification from natural language.
handoffs:
- label: Build Technical Plan
agent: speckit.plan
---
## User Input
\`\`\`text
$ARGUMENTS
\`\`\`
The text the user typed after `/speckit.specify`...
Output: skills/speckit-specify/SKILL.md
---
name: speckit-specify
description: Create or update a feature specification from a natural language feature description.
---
# Spec Kit Specify Skill
## When to Use
- The user wants a new or updated feature spec from a natural language description.
## Inputs
- Feature description from the user.
- Repo context with `.specify/` scripts and templates.
If the description is missing or unclear, ask a targeted question before continuing.
## Workflow
...
## Outputs
- `specs/<feature>/spec.md`
- `specs/<feature>/checklists/requirements.md`
## Next Steps
After generating spec.md:
- **Plan** technical implementation with speckit-plan.
- **Clarify** specification requirements with speckit-clarify.
Key Rules
- Preserve all workflow logic and instructions.
- Remove runtime-specific constructs (
$ARGUMENTS,handoffs,/slash-commands). - Expand terse descriptions to include usage triggers.
- Use imperative voice in workflow steps.
- Keep skills self-contained and portable.
- Don't add extraneous documentation files (README, CHANGELOG, etc.).
Next Steps
After conversion:
- Review generated SKILL.md for completeness.
- Delete unused example files in
scripts/,references/,assets/. - Update AGENTS.md/CLAUDE.md skill inventory if applicable.
- Create symlinks for runtime integration if needed.
版本历史
-
v0.1.2
GitHub ↗
原版更新说明
## What's Changed * Improve speckit skill docs by @dceoy in https://github.com/dceoy/speckit-agent-skills/pull/5 * Simplify repository guidelines and runtime links by @dceoy in https://github.com/dceoy/speckit-agent-skills/pull/7 **Full Changelog**: https://github.com/dceoy/speckit-agent-skills/compare/v0.1.1...v0.1.2
-
v0.1.1
GitHub ↗
原版更新说明
## What's Changed * Recreate Spec Kit skills from slash commands by @dceoy in https://github.com/dceoy/speckit-agent-skills/pull/4 **Full Changelog**: https://github.com/dceoy/speckit-agent-skills/compare/v0.1.0...v0.1.1
-
v0.1.0
GitHub ↗
原版更新说明
## What's Changed * Add speckit-fromcode skill to generate specs from existing code by @dceoy in https://github.com/dceoy/speckit-agent-skills/pull/1 * Update docs to use agent skills by @dceoy in https://github.com/dceoy/speckit-agent-skills/pull/2 * Add OpenCode to the AI assistants by @dceoy in https://github.com/dceoy/speckit-agent-skills/pull/3 ## New Contributors * @dceoy made their first contribution in https://github.com/dceoy/speckit-agent-skills/pull/1 **Full Changelog**: https://github.com/dceoy/speckit-agent-skills/commits/v0.1.0
当前收录版本
0.0.1
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 提供明确的格式转换功能,解决 AI 编码助手生态中的技能迁移需求
- 针对特定开发者场景设计,具有实际的工具价值
亮点
- 触发描述清晰完整,覆盖多种使用场景和边界条件
亮点
- 文档结构完整,包含详细的工作流、转换规则和示例
- 章节划分清晰,frontmatter 规范,提供端到端转换示例
亮点
- 转换流程完整,包含验证步骤和异常处理建议
- 提供了清晰的转换规则和输出验证机制
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。