name: github-copilot-cli description: Efficient daily use of GitHub Copilot CLI for senior engineers. Use when planning, prompting, reviewing, or chaining Copilot CLI commands (gh copilot) to explore codebases, draft changes, debug issues, or accelerate workflows without losing architectural intent.
YAML frontmatter is strict. A single extra space can break the skill.
Before committing or publishing:
# Basic sanity check (no output = good)
python - <<'PY'
import yaml,sys
with open('SKILL.md') as f:
yaml.safe_load(f.read())
print('Frontmatter OK')
PY
Rules to remember:
- No leading spaces before keys (name, description)
- Use spaces, not tabs
- Keep frontmatter minimal (only name and description)
Treat Copilot CLI as a team of elite specialists coordinated by you: - One Copilot instance can act as frontend engineer - One as backend engineer - One as tester / QA - One as infrastructure or refactor specialist
Copilot is excellent at coding and architecture when given clear roles. You act as the CTO / conductor: - Define goals and constraints - Let Copilot instances propose solutions - Observe trade‑offs and conflicts - Escalate decisions or risks to yourself explicitly
gh copilot explain "What does this service do?" --path src/
Use when orienting yourself or reloading context after a break.
gh copilot suggest "Add logging when translation fallback is used" --path services/translation
Best practice: - Phrase the request as a delta, not a feature - Always point it at a specific directory
gh copilot suggest "Why might this function return null under load?" --path src/choreo
Follow up manually by reading the code it points to.
gh copilot suggest "Write failing tests for punctuation correction on voice transcription" --path tests/
Then iterate toward the fix yourself.
Split into FE / BE / QA / Infra concerns
Propose (Copilot roles)
gh copilot suggest "As a backend engineer, propose a minimal fix for mixed-language carryover" --path src/
gh copilot suggest "As a tester, write failing tests for mixed-language carryover" --path tests/
Look for disagreement or assumptions
Escalate (to you)
7w4.net收录了海量优质技能插件。
Ask for decision
Finalize (with you)
Copilot CLI should not be the final authority in situations where:
In these cases, Copilot may still propose options, but you must explicitly review and decide.
Copilot is a force multiplier, not a decision owner.
Use Copilot to: - Generate competing implementations - Surface assumptions - Stress‑test ideas from multiple angles
You own: - Final intent - Risk acceptance - Merge decisions
Copilot accelerates thinking — it does not replace judgment.
这个 Skill 质量中上,实用性强,能够帮助开发者快速掌握 GitHub Copilot CLI 的核心用法,并建立正确的人机协作思维。它在指导如何有效提问、如何分解任务方面做得较好,提示模式分类清晰易懂。不足之处是内容深度有限,缺少进阶技巧和复杂场景的指导,整体规模偏小,对高级用户的价值有限。