Zum Hauptinhalt springen
Skill lesson previews

Claude Code

Anthropic's agentic CLI for codebase exploration and editing. (Ref: https://docs.anthropic.com/en/docs/agents-and-tools/claude-code)

Lesson previews

Add an External Design Source Without Losing Focus

Mixed truth The code is local; the approved state lives in an external design source. Without the design authority, the agent is debugging against memory and paraphrase. Decision path Identify gap -> Connect source -> Compare -> Verify locally The external system should answer a precise missing question, then the repo and local render should confirm the fix. Shortcut Edit from memory of the design request. The agent uses external truth as evidence instead of as decoration. External sources should narrow ambiguity, not multiply it. 01 Gap 02 Source 03 Fix Step 1 Staging does not match the approved banner.

5 min
Add MCP or Stay in the Repo?

The strongest move is the one that closes the actual evidence gap without adding unnecessary scope.

5 min
Apply & Commit: Add One MCP Server Safely

Task: ____ Missing external fact: ____ System of record I will connect: ____ Why the repo alone is not enough: ____ Boundary: read-only | worker-scoped | session-scoped Local verification after the connection: ____ What I will not connect for this run: ____ A UI bug where the approved design still lives in Figma and your local component is only half the truth. A rollout issue where the repo has the flag logic but the live tenant state only exists in the flag service. A release task where Jira still owns which migration tickets are unresolved before the PR can merge.…

5 min
Apply & Commit: Turn One Repeated Search Lane Into a Subagent

Repeated task I keep re-describing: ____ Name of the worker role: ____ Sources it should search every time: ____ What the main thread actually needs back: ____ Tools or MCP servers it should have: ____ Tools it should not have: ____ How I will know the subagent improved the run: ____ Weekly PR triage where Claude Code keeps re-searching diffs, tests, and labels before you can even start reviewing. Incident triage where you always ask Claude Code to scan deploy logs and summarize likely blast radius before patching. CI-failure debugging where the same repo search and log scan steps clutter…

5 min
Battlecard: “MCP Sounds Like Tool Sprawl”

"MCP sounds like tool sprawl. I do not want Claude connected to half the company just to fix one issue." "I do not want broad access either. I want the smallest connection that can answer the one external question this task depends on. If the repo is enough, we stay local. If the design, rollout state, or ticket status can change the right answer, we connect only that system, ideally read-only or scoped to a worker, and use it as evidence rather than a general browsing tool." It agrees with the risk instinct, then narrows the conversation around evidence and…

4 min
Claude Code: put it together

Six real claude code moments, each taught a different way — then lock it in with a capstone.

6 min
Triage The Pager Before The Patch

Checkout is failing now. The team has alert evidence, but no verified failure path yet. What should the engineer ask Claude Code CLI to do first? Ask Claude to patch the checkout handler immediately so the team has something to deploy. This jumps to editing before evidence. Claude Code can run commands and inspect files, so using it as a patch generator first wastes the CLI's strongest advantage: grounding the change in the live failure. Pipe the latest alert slice into Claude, ask for a read-only failure map, then identify the focused reproduction command. Right. This uses the CLI as…

5 min
Choose The Workflow For A Dependency Fire Drill

Dependency advisory, branch cut soon, unknown blast radius. Which Claude Code workflow should the lead choose? Run one broad prompt asking Claude to upgrade the dependency everywhere and report when the build passes. This compresses discovery, patching, and verification into one opaque loop. It violates the workflow principle: unknown blast radius needs visible decomposition before implementation. Use a lead session to map affected packages, dispatch bounded workers for imports, migration notes, and tests, then synthesize one release plan. Right. This matches orchestrator-workers: the lead dynamically discovers subtasks, delegates focused investigations, and owns synthesis when the shape of the work is…

5 min
Spot The MCP Config Leak

A project MCP setup is about to be shared with the team. Which part of the setup should stop the commit? Personal credential inside shared project config Correct. Project-scoped MCP config can be shared through version control, so personal credentials do not belong there. Shared server definition and private authority must be separated. Project scope control Project scope is not automatically wrong. It is appropriate when the team should share the connector definition. The issue is pairing that scope with private credentials or unreviewed authority. Teammate reviewing the setup A reviewer is helpful, not the problem. MCP servers should be…

5 min
Spot The Subagent That Will Flood The Thread

A log-analysis subagent is being created before a production debug session. Which hotspots reveal a subagent spec that will flood the main thread? All tools enabled for a narrow log worker Correct. Subagents should have specific tool access. Giving a narrow log worker broad write and external tools invites wandering, permission risk, and irrelevant context. No structured return format Correct. Without a return contract, the worker may paste raw logs back into the main thread. The point of a subagent is to return only synthesized signal. Named worker visible at top A clear name helps invocation. The issue would be…

5 min
From Dashboard Copying To MCP Pulls

What changes when the escalation evidence comes through MCP instead of manual copying? Before: copied dashboard fragments become stale context. After: scoped MCP access lets Claude read the source record. Evidence moved from pasted fragments to a live resource. That matters because Claude Code can reason over current source data instead of a stale screenshot. The trust boundary became explicit. A reviewed MCP server, auth path, and scope replace ad hoc copying of whatever happened to be visible. The coding task narrowed. Claude can compare the source-system facts with the relevant repo path before proposing a change. MCP is the…

5 min
From Log Avalanche To Evidence Packet

What changed when the log investigation moved into a subagent? Before: raw logs swamp the main session. After: the worker returns only decision-grade evidence. Raw logs left the main conversation. This preserves room for the goal, constraints, code plan, and verification steps. The subagent had a narrow job: find repeated signatures, likely files, and the next command. Narrow jobs reduce wandering. The return changed from transcript to packet. A compact summary lets the lead session decide what to edit without carrying every line of evidence. Context isolation works only if the worker summarizes instead of dumping. subagent context management Moved…

5 min
Sort Incident Inputs By Approval Boundary

Place each incident artifact in the safest access path for Claude Code. Pipe to CLI Read through MCP Keep human-owned Redacted recent log slice pipe-cli Bounded stack trace excerpt Live escalation ticket mcp-read Current metrics dashboard Customer credential human-owned Production write action access-boundary sorting Moved from ad hoc sharing to artifact-by-artifact access design. Fresh facts can go through MCP; irreversible authority should not be casually delegated.

5 min
Sort The Custom Subagent Spec

Place each migration-review subagent ingredient in the correct spec field. Description Tools System prompt When migration touches billing data description Specialty: migration risk review Read-only repo search tools Schema inspection MCP tool Review compatibility and rollback system-prompt Return risks, files, confidence, next command subagent spec authoring Moved from mixed worker notes to a reusable subagent contract. Description invokes, tools authorize, system prompt governs.

5 min
Say The Boundary Before The Overnight PR

The PM asks: Can Claude Code just open the PR overnight? Planning wraps late in the day. Can Claude Code just open the PR overnight? fromTop The lead needs to keep momentum without hiding risk. fromBottom Morning review decides whether the branch merges. We review the evidence before merge. Yes, let it run and we can assume the PR is ready if it opens one. This hides the review boundary. An opened PR is not proof that the right tests ran or that the change is safe to merge. No, overnight agent work is too risky, so we should wait…

5 min
Read The MCP Scope Ladder

A team is choosing the right Claude Code MCP scope for a reviewed analytics connector. MCP Scope Ladder Local scope Current project only, not shared with team 1 project Project scope Current project, shared through version control 1 team repo User scope All of your projects, not shared with team all personal projects Private to one project Shared for one repo Personal across repos Which scope best fits a reviewed read-only analytics connector that every teammate should load only in this repository? Use local scope because it keeps the connector limited to the current project but does not share it…

5 min
Coach a Teammate Off the Hero Prompt

Coach toward inspect -> change -> verify, not toward a prettier giant prompt. Teammate: "I told Claude Code to rebuild the whole billing flow in one shot. Faster that way, right?" Teammate: "Fine. So what should I ask it to do instead?" Teammate: "What if Claude still wants to search half the repo?" Hero prompt Inspect -> change -> verify What would prove the new flow is actually correct? Common trap Correcting a risky workflow with criticism only, instead of criticism plus replacement.

5 min
Coach Someone to Reuse a Subagent Instead of Repeating Themselves

A reusable subagent is just a repeated worker role made explicit and constrained. Teammate: "I always end up typing the same incident triage prompt, but I can never remember the exact wording." Teammate: "What would the worker actually do?" Teammate: "How do I keep that worker from bloating the main thread too?" Repeated prompt habit Named worker role The repeated pattern itself is the clue. Common trap Saving a brittle prompt when the real opportunity is to formalize the worker role.

5 min
Debug a Flaky Test With the Right Agent Sequence

The symptom A flaky test is failing intermittently and the team is already theorizing in chat. The first fix that sounds plausible may still be fixing the wrong thing. Decision path Reproduce -> Search -> Patch -> Verify The lead session should control sequence and use workers only for disposable evidence gathering. Shortcut Accept a patch proposal before the failure mode is real. Confidence comes from sequence plus ground truth, not from the elegance of the patch alone. The lead session owns the decision path; workers own the noisy search space. 01 Reproduce 02 Search 03 Ship or loop Step…

5 min
Handle the “MCP Feels Risky” Conversation

A useful MCP conversation names the missing evidence, the smallest connection that can provide it, and the boundary around who can use it. Teammate: "I do not want Claude plugged into everything just because we have one bug." Teammate: "How would you keep that narrow in practice?" Teammate: "So what question would justify MCP here?" Tool sprawl Narrow evidence path Exact system Exact question Scoped access Common trap Answering a concrete risk objection with abstract enthusiasm.

5 min
Inspect First or Grant Broad Write Access Immediately?

The strongest sequence reduces uncertainty first and expands authority only after the task shape and risk are visible.

5 min
Map the Workflow: Known Subtasks or Unknown Terrain?

Known + loosely coupled Best fit for parallel workers doing independent checks like security, docs, or performance review. Known + tightly coupled Often best as one main thread or a very coordinated lead session because each step affects the next. Unknown + loosely coupled Start with an orchestrator that can discover lanes and split them once the terrain becomes clearer. Unknown + tightly coupled High need for orchestration and frequent ground-truth checkpoints because the task unfolds as evidence arrives. Task feels big Task shape is known Common trap Using complexity as the only reason to parallelize.

5 min
Parallel Workers or One Orchestrated Pass?

The best workflow matches whether the subtasks are pre-known or must emerge from evidence.

5 min
Pick the Workflow Shape Before You Prompt Harder

The reframe: workflow is a first-class prompt decision. Teams often try to solve agent problems by making the prompt longer. That helps only if the task shape was already right. When the shape is wrong, more detail mostly gives the agent more ways to be confused. Use a single thread for compact, interdependent work If one change depends tightly on a small set of files and the reasoning path is linear, keep it in the main session. Splitting the work would add handoff cost without reducing complexity. Use parallelization for independent checks Anthropic describes two common forms: sectioning and voting.…

5 min

Browse by role, format or category

Put it into practice

Build your next learning habit.

Kontakt aufnehmen