深习堂
课程价格指南博客

开放课程Skill DevelopmentAI Courses

Advanced Claude Code Guide

Find out why complex tasks go off track, then adjust the context, rules, and tools

开始学习
全部章节
8
Locale
English
课程类型
开放课程

Diagnose problems when a long Claude Code session becomes hard to follow, project rules fail to take effect, or tools are used incorrectly. Learn to manage context, organize rules by scope, and define controls and checks for tools and automation.

适合人群

  • Developers who use Claude Code to make project changes and need to manage more complex work
  • Users who find problems harder to diagnose as project rules accumulate and conversations grow longer
  • Engineers responsible for team tool integrations, permissions, and working conventions

解决的问题

  • Complex work goes off track, but the cause could be missing context, tool misuse, or weak checks
  • Duplicate or conflicting rules, long conversations, and large outputs bury important information
  • You are unsure which extensions are worth adding and when
  • Permissions, failure handling, and responsibility for combining parallel work are unclear
  • 学完收获

    • Use files, command output, and test records to identify missing evidence in a task
    • Decide when to compact a conversation, prepare a handoff, or run an investigation in a separate context
    • Place project rules according to their scope, then check when they load and whether they conflict
    • Define permissions, stop conditions, and checks for tool integrations and automation
    • Distinguish changes in running costs from incorrect behavior, then propose the smallest justified adjustment

    课程亮点

    • Use failure records and counterexamples to locate a problem before changing multiple layers of configuration
    • Compare the roles and costs of Skills, MCP, Hooks, and subagents
    • Examine handoffs, permission denials, and the point where parallel work is combined

    全部章节

    8 个章节

    Lesson 1: Understand Claude Code as an Engineering Agent

    Explain Claude Code's context-action-verification loop, use records to locate failure gaps and propose a minimal check, and turn a vague request into a verifiable task.

    Lesson 2: Distinguish Claude Code extension mechanisms

    Choose the smallest necessary Tool, MCP, Skill, Hook, Subagent, or Plugin for a task's missing responsibility, explaining combined roles, non-substitutable boundaries, and added costs.

    Lesson 3: Organize context and reduce noise

    Use context usage and actual records to locate noise and confused state, choose clearing, compaction, handoff, or isolated exploration, and preserve traceable evidence and continuity.

    Lesson 4: Organize project instructions by scope

    Place project instructions by scope, information type, and enforcement needs, rewrite vague requirements as testable rules, and verify migration through loading scenarios, consistent standards, and preserved state.

    Lesson 5: Skills—Turn Experience into On-Demand Workflows

    Decide whether repeated work needs a Skill, draft clear triggers, inputs, step results, outputs, stops, and side-effect limits, and revise it using normal, missing-input, and out-of-scope cases.

    Lesson 6: Design and integrate agent tools

    Identify existing capabilities and external-access gaps, draft a tool that supports selection, parameters, interpretation, and correction, and specify coverage, retry, authorization, and distribution boundaries.

    Lesson 7: Control and isolate automated tasks

    Design minimal controls for dangerous actions, noisy exploration, and file conflicts; explain Hook failures, resource limits, and subtask boundaries, and assign parallel-work and integration responsibilities.

    Lesson 8: Prompt Caching, Verification Loops, and Long-Term Maintenance

    Explain cache changes from request prefixes and usage records, define checks for target behavior, and use actual failures to distinguish efficiency, reliability, and maintenance issues with minimal remedies.