字數總計:0 個 | 閱讀時長:0 分鐘 |閱讀次數: 次
課程資訊
- 課程:Anthropic Courses — Claude Code in Action
- 章節:Part 1 · Section 2 — Controlling context
- 📢 分享者:"spyua" | GitHub:"spyua"
學習目標
掌握 context 管理策略以維持對話品質,建立 Custom Commands 自動化重複工作,整合 MCP servers 擴展工具能力,設定 GitHub 自動化 code review 流程
本章涵蓋主題與分享範圍
| 子主題 | 對應筆記 | 本次分享 |
|---|---|---|
| Controlling context | 對話控制與上下文管理 | ✅ |
| Custom commands | Custom Command 與 Skill | ✅ |
| MCP servers with Claude Code | MCP servers | ✅ |
| GitHub integration | — | 🔀 獨立分享 |
三份筆記速覽
1. 對話控制與上下文管理
掌握 Ctrl+C / Rewind / /compact / /clear 四個操作的使用時機與決策樹,讓 Claude 在出現誤解或效率下降時能精確調整對話脈絡。
→ 前往閱讀
2. Custom Command 與 Skill
從 .claude/commands/ 的 Custom Slash Command 八大組成區塊,到新一代 Skill 機制(自動載入、frontmatter 控制、檔案目錄支援)的決策對比與最佳場景。
→ 前往閱讀
3. MCP(Model Context Protocol)
理解 MCP 作為「AI 的 USB-C」如何標準化 Agent ↔ Tool 協議,從 Agent 三層架構切入 CLI vs MCP 的根本差異,並以 Playwright MCP 為例展示完整 feedback loop。
→ 前往閱讀
建議閱讀順序
- 先讀 Controlling context — 對話控制是基本功,掌握後才能在偏離時即時修正
- 再讀 Custom Command 與 Skill — 把重複任務結構化,提高協作效率
- 最後讀 MCP servers — 擴展 Claude 能力到瀏覽器、資料庫、雲端等外部工具鏈
預告
GitHub integration 將由分享者另以獨立場次分享,本章節內不收錄。