跳至主要内容

免费课程

Claude Code in Action

中级3 小时

Trust Claude Code with work you don't watch: steer long sessions, enforce rules with hooks, hand jobs off with routines and GitHub, and verify what comes back.

Shell3 小时9 个视频31 个练习2,200 XP3,155成就证明

创建您的免费账户

继续使用 Google
继续即表示您接受我们的 使用条款,我们的 隐私政策 ,并且您的数据存储在美国。

深受数千家公司学习者的喜爱

要培训团队?

试用企业版

课程简介

Trust Claude Code With Work You Didn't Watch

Claude Code can finish a quick task in a single prompt. The hard part is handing it hours of work, walking away, and trusting what you find when you get back. That gap is what this course closes. You'll work inside a real project the whole way through, and because DataCamp provides a ready-to-use environment, you'll run actual Claude Code sessions from the very first exercise, with no installation or API key required. This course picks up where an introduction leaves off, so you should already be comfortable running Claude Code and pointing it at a project.

Steer a Long Session Before It Drifts

Long runs fail quietly, and the fixes are all things you do rather than things you hope for. You'll scope multi-file work with plan mode, reading the plan and pushing back on it before a single file changes. You'll direct compaction so the summary keeps the thread you name instead of whatever Claude picks. You'll use the rewind menu to undo a wrong turn or compress a long setup phase, set a goal when you can describe "done" more precisely than the steps, and run parallel sessions in worktrees without them clobbering each other.

Configure Claude So It Actually Follows

Claude follows a lean set of instructions far more reliably than a long one. You'll cut a bloated CLAUDE.md down to rules specific enough to check, and learn why imports organize a file without shrinking what loads. You'll package repeated procedures as skills, where the description is the trigger that makes one fire on its own. You'll match the permission mode to the job, from hands-on editing to unattended pipelines. And you'll move the rules Claude must never skip into hooks — code that runs, refusing a push to main outright, or rewriting a command to strip a live API key while letting the work continue.

Hand the Work Off Entirely

Once you trust Claude with a task, stop doing it by hand. You'll schedule prompts as routines that run on Anthropic's infrastructure with nothing for you to host, and learn the guardrails that make an autonomous run safe to leave alone. You'll drop to headless mode when a job needs your own pipeline, shaping output to a JSON schema so the next script can read it. You'll see where the Agent SDK fits when the work belongs inside your own application, and put Claude on pull requests with managed Code Review and the GitHub action.

Verify What Came Back, Then Share It

A run nobody watched needs a real check, not a tidy summary. You'll read the diff rather than the write-up, and see why a clean summary can sit on top of a change nobody asked for. You'll gate the end of a turn on a real type check with a Stop hook, so Claude cannot finish on a broken build. You'll get a cold second opinion from a session with no memory of how the code was written. Finally you'll package the setup you trust — skill, hooks and all — as a plugin your whole team installs in one step.

By the end you'll be able to point Claude Code at hours of work, walk away, and check the result with confidence.

先修要求

课程体系

课程大纲

1

Steer the Work

A long session drifts unless you shape it. Scope the work with plan mode, direct compaction so the summary keeps what matters, use the rewind menu to course-correct, set a goal when you can describe done better than the steps, and run parallel work in worktrees.
开始本章
2

Configure Claude

Claude follows a lean set of instructions far more reliably than a long one. Write a CLAUDE.md that survives contact with a real project, package repeated procedures as skills, match the permission mode to the job, and move the rules Claude must never skip into hooks.
开始本章
3

Automate Repeat Work

Once you trust Claude with a task, stop doing it by hand. Schedule prompts as routines on Anthropic's infrastructure, drop to headless mode when the job needs your own pipeline, and put Claude to work on pull requests with managed code review and the GitHub action.
开始本章
4

Verify and Share

A run nobody watched needs a real check, not a tidy summary. Read the diff yourself, gate the turn on tests with a hook, get a cold second opinion on anything that matters, then package the setup you trust as a plugin your whole team can install.
开始本章
S

Claude Code in Action

课程已完成

获得成就证明

立即报名

通过 DataCamp 移动版提升您的数据技能

借助我们的移动课程和每日 5 分钟编程挑战,随时随地取得进步。