Chapter C65 · Interactive Course

Guide Claude Code with context and extensions

Project guidance, diagnosing a rule that did not apply, skills, narrow connections, delegation and hooks.

Start chapter in web app

Core Learning Concept

Configure the fictional session by selecting relevant guidance and capabilities. Inspect the applicable CLAUDE.md files, use a skill only for a matching recurring job, and keep connected access aligned with the task. Give any delegated investigation a bounded question and review executable hooks as code.

What You’ll Learn in This Chapter

  1. CLAUDE.md holds project guidance

    Activity 1 of 7 · 5 min

    Choose concise conventions the session should read.

    CLAUDE.md provides project guidance loaded by Claude Code for local conventions, architecture, and verified commands. Keep instructions specific and current, but remember rules guide the model without replacing permissions or test checks.

    Start activity →

  2. Inspect loaded guidance

    Activity 2 of 7 · 6 min

    Diagnose an instruction that did not apply.

    When guidance seems surprising, inspect the files and scopes the product loads, including applicable higher-level or more specific instructions. The visible project file may not be the whole input. Compare the actual convention with current documentation before editing a rule that may not be the one taking effect.

    Start activity →

  3. Use a skill for a repeated job

    Activity 3 of 7 · 5 min

    Choose an appropriate installed workflow.

    Use a skill to package a recurring procedure with clear selection criteria and supporting resources. In Claude Code, discovery and invocation follow its documented skill conventions. Confirm that the chosen skill fits the task, read its procedure, and inspect the output. Reuse does not remove the need for verification.

    Start activity →

  4. Connect a service only when needed

    Activity 4 of 7 · 6 min

    Choose a narrow MCP capability for a task.

    Connect an external service when the task needs a capability it provides. Inspect the server or integration identity, requested access, and intended data flow. A broad connection is not automatically useful. Start with the smallest suitable operation and verify its result before relying on a larger workflow.

    Start activity →

  5. Delegate one bounded investigation

    Activity 5 of 7 · 5 min

    Use a subagent with a specific evidence request.

    Delegation works best with a concrete question, bounded scope, and expected results. A subagent investigating a parser returns findings while another task continues independently. Verify context and tool access deliberately under the host.

    Start activity →

  6. Hooks need execution review

    Activity 6 of 7 · 6 min

    Inspect an event-triggered action before enabling it.

    Hooks react to configured events and may run commands or other behavior. Inspect their trigger, executable contents, dependencies, and permissions before enabling them. A hook that formats files has different effects from one that contacts a service. Automatic invocation makes understanding the behavior more important, not less.

    Start activity →

  7. Configure the toy session

    Activity 7 of 7 · 6 min

    Choose one project rule, one applicable skill and an optional narrow connection, and identify an extension the task does not need.

    Start activity →