2026-12-03 · 教程 · Importance ★★★Top story
Claude Code 技能技巧:用 !`gh pr diff` 让技能加载时先跑 shell 命令
Anthropic 开发者关系的 Ado 在 Advent of Claude 2026 第二天介绍 Claude Code 的一个技巧,技能可以在 Claude 读取前先运行 shell 命令。在 SKILL.md 中写入 !`gh pr diff`,技能加载时真实 diff 就已就位,省去一轮'让我看看 diff'的等待。
We only aggregate and summarize; all rights stay with the original authors.

