huangjia2019

Copilot Engineering Examples — Git skill for Claude Code

Git community

GitHub Copilot 工程化实战 · 4 Demo + 23 tests · 跟 claude-code-engineering 并列的姐妹仓.

How to install Copilot Engineering Examples

This entry records only its repository, not the path inside it, so there is no exact command to give. Open huangjia2019/copilot-engineering-examples and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Copilot Engineering Examples does

GitHub Copilot 工程化实战 · 4 Demo + 23 tests · 跟 claude-code-engineering 并列的姐妹仓.

Alternatives in Git

  • Skill Development Guide — Community Examples 81.1k ★
  • Analysis Claude Code — GitHub Repo stars Complete reverse engineering research and analysis of Claude Code v1.0.33 Reverse engineerin 35k ★
  • Create Pull Request — by liam-hq - Provides comprehensive PR creation guidance with GitHub CLI, enforcing title conventions, followi 4.7k ★

README

Copilot Engineering Examples

GitHub Copilot 工程化实战 · 跟 [claude-code-engineering](https://github.com/huangjia2019/claude-code-engineering) 并列的姐妹仓。

4 个 Demo · 对照 Claude Code

Demo Claude Code 对应 Copilot 实现 测试方式
01-copilot-instructions CLAUDE.md 三层叠加 .github/copilot-instructions.md (Copilot 原生支持) 静态验证 + 模拟 prompt
02-custom-chat-modes Skill 渐进披露 .github/chatmodes/*.chatmode.md + path-based instructions/ 路径触发逻辑测试
03-multi-agent-actions Sub-Agent 多角色并行 GitHub Actions matrix + 4 视角 Copilot review Actions workflow 实跑
04-hooks-equivalent Hooks 确定性 gate pre-commit hook (本地) + Actions check (云端) git commit + Actions 实跑

关键不对称 · Copilot 没有的

Claude Code Copilot 怎么补
Agentic Loop ✗ Copilot 是 IDE inline + Chat · 没有自主循环
Sub-Agent (上下文隔离) ⚠️ 用 Actions matrix · 牺牲交互性换并行
Hooks (确定性 exit code) ⚠️ 用 pre-commit (本地) + Actions check (云端)
Skill (渐进披露 · 模型自决加载) ⚠️ Custom Chat Mode + applyTo glob (路径触发 · 不是语义触发)

怎么用

git clone https://github.com/huangjia2019/copilot-engineering-examples
cd copilot-engineering-examples
# 每个 demo 独立 README 说明跑法
cat 04-hooks-equivalent/README.md

测试结果

`tests/results.md` · 每个 demo 跑后留实测证据 (BAD/GOOD case + exit code + 真实日志)。