‹ 首页

easyskillz-register

@durdeuvlad · 收录于 1 周前 · 上游提交 1 个月前

Add a new AI tool to the project and wire all existing skills to it.

适合你,如果需要在项目中添加AI工具并让所有技能自动使用它。

/ 通过 npx 安装 校验哈希
npx oh-my-skill add durdeuvlad/easyskillz/easyskillz-register
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- durdeuvlad/easyskillz/easyskillz-register
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify durdeuvlad/easyskillz/easyskillz-register
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
3GitHub stars
~881上下文体积 · 单文件
索引托管

怎么用

商店整理自技能原文 · 版本 cbc6b5a · 表述以原文为准
它做什么

当用户安装新的AI工具(如Cursor、Windsurf)后,运行注册命令,将该工具添加到easyskillz配置中,并把所有已有技能链接到该工具,使其能使用这些技能。

什么时候触发

用户安装了一个新的AI工具,或说出“添加Cursor支持”、“为Codex启用技能”等类似请求时触发。

装好后可以这样说
运行注册命令,将Cursor加入配置并链接技能。
注册Windsurf工具,链接所有已有技能。
技能原文 SKILL.md作者撰写 · MIT · cbc6b5a

easyskillz-register

Add a new AI tool to the project and wire all existing skills to it.

When to Use This Skill

Use this skill when:

  • User installs a new AI tool (e.g., adds Windsurf after using Claude)
  • User wants to enable easyskillz for an additional tool
  • User says "add Cursor support" or "enable skills for Codex"
  • A new AI tool is detected but not registered in the config
What This Skill Does

Runs easyskillz register <tool> which:

  1. Adds the tool to .easyskillz/easyskillz.json config
  2. Wires ALL existing skills to the new tool
  3. Creates symlinks/stubs in the tool's skills directory
  4. Updates the tool's instruction file with easyskillz info
Instructions

Step 1: Check supported tools

Supported tools:

  • claude - Claude Code
  • codex - Codex
  • cursor - Cursor
  • windsurf - Windsurf
  • windsurf-workflows - Windsurf Workflows
  • copilot - GitHub Copilot
  • gemini - Gemini CLI

Step 2: Run register command

easyskillz register <tool>

Example:

easyskillz register cursor

Step 3: Verify

Check that:

  • Tool is added to .easyskillz/easyskillz.json
  • Skills are wired to the tool's directory (e.g., .cursor/skills/)
  • Tool's instruction file is updated (e.g., AGENTS.md)
Expected Output
  ✓ Registered Cursor
  ✓ Wired skill "review-pr" → Cursor
  ✓ Wired skill "commit-msg" → Cursor
  ✓ Wired skill "debug-api" → Cursor
  ✓ Updated AGENTS.md

Cursor registered. 3 skill(s) wired.
Example Workflow
# User: "I just installed Cursor, can you add it to easyskillz?"

# You run:
easyskillz register cursor

# Output:
#   ✓ Registered Cursor
#   ✓ Wired skill "review-pr" → Cursor
#   ✓ Wired skill "commit-msg" → Cursor
#   ✓ Updated AGENTS.md
#
# Cursor registered. 2 skill(s) wired.

# Now all existing skills are available in Cursor!
What Gets Updated

1. Config file (.easyskillz/easyskillz.json)

{
  "tools": ["claude", "cursor"],  // ← cursor added
  "linkStrategy": "symlink",
  "manageDocs": true,
  "docsStrategy": "unified",
  "gitignoreStrategy": "full"
}

2. Tool's skills directory

.cursor/skills/
  review-pr/     ← symlink to .easyskillz/skills/review-pr
  commit-msg/    ← symlink to .easyskillz/skills/commit-msg

3. Tool's instruction file (e.g., AGENTS.md)

<!-- easyskillz-managed -->
## easyskillz — Skill Management
...
<!-- /easyskillz-managed -->

4. .gitignore (if gitignore strategy is set)

.cursor/          # ← added
.cursor/config.json  # ← added (if conflict-only strategy)
Supported Tools

| Tool | Skills Dir | Instruction File | |------|------------|------------------| | Claude Code | .claude/skills/ | CLAUDE.md | | Codex | .codex/skills/ | AGENTS.md | | Cursor | .cursor/skills/ | AGENTS.md | | Windsurf | .windsurf/skills/ | AGENTS.md | | Windsurf Workflows | .windsurf/workflows/ | AGENTS.md | | GitHub Copilot | .github/skills/ | .github/copilot-instructions.md | | Gemini CLI | .gemini/skills/ | GEMINI.md |

Troubleshooting

Tool already registered?

  • The command will tell you and skip registration
  • Skills are still checked and wired if missing

Unknown tool error?

  • Check the list of supported tools above
  • Make sure you spelled the tool name correctly
  • Tool names are lowercase: cursor, not Cursor

Skills not showing up in the new tool?

  • Make sure the tool is actually installed
  • Check that symlinks were created in the tool's directory
  • Try running easyskillz sync to re-wire
When NOT to Use This

Don't use register for:

  • Initial setup → Use easyskillz-setup instead
  • Creating skills → Use easyskillz-add instead
  • Tools that aren't supported → Request support in GitHub issues
Related Skills
  • easyskillz-setup - Set up easyskillz after cloning
  • easyskillz-add - Create a new skill
  • easyskillz-reference - Full easyskillz documentation
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。