ai-dev-tools-sync

duc01226 的头像作者 duc01226

同步和更新 Claude Code 和 GitHub Copilot 开发工具配置以实现类似的工作。当要求更新 Claude Code 设置、更新 Copilot 设置、同步 AI 开发工具、跨两个平台添加新技能/提示/代理,或确保 Claude 和 Copilot 配置保持一致时使用。涵盖技能、提示、代理、说明、工作流程和聊天模式。

📖 中文导读:同步和更新 Claude Code 和 GitHub Copilot 开发工具配置以实现类似的工作。当要求更新 Claude Code 设置、更新 Copilot 设置、同步 AI 开发工具、跨两个平台添加新技能/提示/代理,或确保 Claude 和 Copilot 配置保持一致时使用。涵盖技能、提示、代理、说明、工作流程和聊天模式。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: ai-dev-tools-sync description: Synchronize and update Claude Code and GitHub Copilot development tool configurations to work similarly. Use when asked to update Claude Code setup, update Copilot setup, sync AI dev tools, add new skills/prompts/agents across both platforms, or ensure Claude and Copilot configurations are aligned. Covers skills, prompts, agents, instructions, workflows, and chat modes.

AI Dev Tools Sync

Synchronize Claude Code and GitHub Copilot configurations to maintain feature parity.

When to Use

Activate this skill when:

  • User asks to update Claude Code or Copilot setup
  • User wants to add/modify skills, prompts, agents, or instructions
  • User wants both tools to work similarly
  • User asks about AI dev tool configuration

Quick Reference

Claude Code GitHub Copilot Location
SKILL.md SKILL.md .claude/skills/ + .github/skills/
commands/*.md prompts/*.prompt.md .claude/commands/ + .github/prompts/
agents/*.md agents/*.md .github/agents/ (shared)
workflows/*.md - .claude/workflows/
CLAUDE.md copilot-instructions.md Root + .github/
- instructions/*.md .github/instructions/ (applyTo patterns)
- chatmodes/*.chatmode.md .github/chatmodes/

Sync Process

Step 1: Understand Current Setup

Read these files to understand current configuration:

.claude/workflows/orchestration-protocol.md
.claude/workflows/primary-workflow.md
.github/copilot-instructions.md
.github/AGENTS.md
CLAUDE.md

Step 2: Research Latest Features

Search web for:

  • "GitHub Copilot features setup 2026"
  • "GitHub Copilot custom instructions agents skills prompts"
  • "GitHub Copilot agent mode workspace context"

See references/copilot-features.md for feature catalog.

Step 3: Identify Sync Opportunities

Compare capabilities and identify gaps:

  • Skills missing in one platform
  • Inconsistent prompt/instruction behavior
  • Agent definitions that differ

Step 4: Implement Changes

For each change:

  1. Skills: Create in both .claude/skills/ and .github/skills/
  2. Prompts: Create in both .claude/commands/ and .github/prompts/
  3. Instructions: Update both CLAUDE.md and .github/copilot-instructions.md
  4. Agents: Update .github/agents/ (shared by both)

Compatibility Notes

  • Copilot reads .claude/skills/ automatically (backward compatibility)
  • Both read .github/prompts/*.prompt.md
  • Both read .github/agents/*.md
  • Both read AGENTS.md in root or .github/
  • Both support path-based instruction files via applyTo in frontmatter

References

Task Planning Notes

  • Always plan and break many small todo tasks
  • Always add a final review todo task to review the works done at the end to find any fix or enhancement needed