comparison
d1-hook-vs-prompt-enforcement 6 nodes · 4 edges Apply Agent SDK hooks for tool call interception and data normalization
Give the learner a decision rule: hard business rules go in hooks for deterministic guarantees, judgment calls go in the prompt.
Click a rule type to reveal a worked example of each.
d1-chaining-vs-dynamic-decomposition 6 nodes · 4 edges Design task decomposition strategies for complex workflows
Let the learner pick a decomposition pattern from one property: whether the subtasks are enumerable before work begins.
d2-tool-overlap-to-purpose-specific 6 nodes · 6 edges Design effective tool interfaces with clear descriptions and boundaries
Show that misrouting comes from overlapping descriptions, and that the two fixes are renaming with a scoped description and splitting a generic tool into purpose-specific tools with their own contracts. The graph converges top-down rather than splitting into a left and a right half: the two vague tools head it, the renamed and split tools sit below them, and the broken-versus-fixed contrast is carried by color — vague tools and the misrouted call in red, the purpose-specific tools and the correct call in green. The three split tools share one grouped box so the fixed side stays readable.
d3-review-session-isolation 6 nodes · 5 edges Integrate Claude Code into CI/CD pipelines
Explain why the session that generated the code is a weaker reviewer than a fresh instance that sees only the diff and the project standards.
d4-vague-vs-explicit-criteria 9 nodes · 7 edges Design prompts with explicit criteria to improve precision and reduce false positives
Show that precision comes from replacing the decision rule with a decidable predicate, not from asking the model to be more confident or conservative — and show the downstream trust consequence of each path.
d5-position-effects-layout 9 nodes · 8 edges Manage conversation context to preserve critical information across long interactions
Make clear that the cure for the "lost in the middle" effect is input layout — summary first, addressable sections below — rather than a stronger instruction to the model.
d5-failure-vs-empty-result 8 nodes · 6 edges Implement error propagation strategies across multi-agent systems
Cement the distinction that drives most items here, and show what each of the two anti-patterns costs the coordinator.
d5-conflicting-values-handling 8 nodes · 7 edges Preserve information provenance and handle uncertainty in multi- source synthesis
Show why keeping both conflicting values with attribution, methodology and dates is the only option that lets the coordinator reconcile knowingly.
flowchart
d1-hub-and-spoke-coordinator 6 nodes · 11 edges Orchestrate multi-agent systems with coordinator-subagent patterns
Show that all communication radiates from the coordinator, that there are no spoke-to-spoke edges, and that each subagent has its own isolated context.
Click the coordinator to highlight the delegation and return edges that touch it.
d1-iterative-refinement-loop 7 nodes · 7 edges Orchestrate multi-agent systems with coordinator-subagent patterns
Show that synthesis is evaluated for coverage gaps and re-delegated with targeted queries until coverage is sufficient, rather than emitted after one forward pass.
d1-prerequisite-gate 6 nodes · 7 edges Implement multi-step workflows with enforcement and handoff patterns
Show that the gate sits between the model's tool request and execution, denies with an actionable reason, and records verified state only from the prerequisite tool's result.
d1-multiconcern-decomposition 6 nodes · 7 edges Implement multi-step workflows with enforcement and handoff patterns
Show identity established once, three concern branches investigated in parallel against that shared context, and a single synthesized resolution.
d1-posttooluse-normalization 5 nodes · 6 edges Apply Agent SDK hooks for tool call interception and data normalization
Show that heterogeneous MCP results pass through a PostToolUse hook and reach the model in a single canonical shape.
d1-perfile-plus-integration-pass 5 nodes · 5 edges Design task decomposition strategies for complex workflows
Show that equal-depth per-file analysis and a dedicated cross-file pass together cover what a single combined pass cannot.
d1-resume-fork-restart-decision 8 nodes · 8 edges Manage session state, resumption, and forking
Give the learner a decision path keyed on whether prior tool results are still valid and whether divergent branches are needed.
Click a decision node to highlight the branch it selects.
d1-fork-session-branches 5 nodes · 5 edges Manage session state, resumption, and forking
Show that one expensive baseline is inherited by independent branches whose contexts never mix, and that only one branch is carried forward.
d2-subagent-local-error-recovery 9 nodes · 10 edges Implement structured error responses for MCP tools
Show the decision path from an MCP tool result to either local recovery or propagation, and show that a valid empty result bypasses error handling entirely.
d2-mcp-server-scope-and-discovery 7 nodes · 6 edges Integrate MCP servers into Claude Code and agent workflows
Show which config file serves which audience, where environment variable expansion injects credentials, and that tools and resources from every configured server are discovered at connection time into one list the agent sees.
d2-edit-fallback-flow 7 nodes · 7 edges Select and apply built-in tools (Read, Write, Edit, Bash, Grep, Glob) effectively
Show that Edit is gated on anchor-text uniqueness, and that the recovery path when it is not unique is Read followed by Write rather than another Edit attempt.
d3-path-scoped-rule-activation 7 nodes · 7 edges Apply path-specific rules for conditional convention loading
Make clear that the paths glob in a rule file is evaluated against the files being edited, so only matching rules enter the session context while non-matching rules cost nothing.
Hover a rule outcome to see an example glob and the kind of edit that would trigger it.
d3-plan-mode-decision 8 nodes · 11 edges Determine when to use plan mode vs direct execution
Give the learner a repeatable decision path from a task description to plan mode, direct execution, or the combined plan-then-execute pattern, including where the Explore subagent fits.
Click a decision node to highlight its outgoing branches and the labels already shown on them.
d3-iterative-refinement-loop 8 nodes · 8 edges Apply iterative refinement techniques for progressive improvement
Map the symptom you are seeing to the refinement technique the guide prescribes, and show test-driven iteration as a closed loop with an objective stopping condition.
d3-batch-vs-sequential-fixes 8 nodes · 7 edges Apply iterative refinement techniques for progressive improvement
Make the batching decision concrete: interacting fixes must be described together, independent fixes are more reliably handled one at a time.
d3-ci-review-pipeline 9 nodes · 11 edges Integrate Claude Code into CI/CD pipelines
Show the full non-interactive review loop: what context goes in (CLAUDE.md, diff, existing tests, prior findings), which flags shape the output, and how structured findings become inline PR comments without duplicates.
Click a context input to see what noise problem it prevents.
d4-multi-pass-review-architecture 9 nodes · 9 edges Design multi-instance and multi-pass review architectures
Show the two pass types with the question each asks and the question each structurally cannot answer, then how their findings are merged by authority and routed by calibrated self-reported confidence.
Hover a pass to see which question it asks and which it structurally cannot answer.
d5-context-layers 8 nodes · 10 edges Manage conversation context to preserve critical information across long interactions
Show that the prompt sent on every request is deliberately assembled from distinct layers in a fixed order — pinned case facts first, summarized older turns in the middle where the lost-in-the-middle effect bites, the last N turns verbatim at the end — and that pinned case facts bypass compaction entirely while older turns and tool results are lossy on purpose.
Click a layer to see whether it is lossless or lossy on the next request.
d5-escalation-decision-flow 9 nodes · 10 edges Design effective escalation and ambiguity resolution patterns
Fix the order in which triggers are evaluated: an explicit human request short-circuits everything, policy gaps escalate, multiple matches trigger clarification, and frustration alone leads to an offer to resolve.
Click a decision node to highlight its two outgoing branches and the cue on each label.
d5-exploration-narrowing-funnel 8 nodes · 8 edges Manage context effectively in large codebase exploration
Show the funnel from a broad question to a specific answer, and where verbose output is deliberately kept out of the main agent context.
Click a stage to highlight whether its output lands in a subagent context or the main one.
d5-provenance-chain 8 nodes · 7 edges Preserve information provenance and handle uncertainty in multi- source synthesis
Contrast the path that carries claim-source mappings as structured data through synthesis with the path that compresses findings into prose and loses attribution irreversibly.
hierarchy
d2-scoped-tool-distribution 10 nodes · 10 edges Distribute tools appropriately across agents and configure tool choice
Show that each subagent holds only a few role-relevant tools, that one scoped cross-role tool is a deliberate exception, and that complex cross-role work is routed back through the coordinator instead of widening a tool set.
d3-claude-md-hierarchy 8 nodes · 7 edges Configure CLAUDE.md files with appropriate hierarchy, scoping, and modular organization
Show the three levels of CLAUDE.md configuration as a tree of scopes, which of them travel through version control to teammates, and which modular files (@import targets, .claude/rules/) hang off each level. It describes scoping and sharing only, not any precedence or override order.
Click a level to highlight the edge label describing its own scope — personal to one machine, or committed and received by every clone.
d5-aggregate-vs-segment-accuracy 7 nodes · 7 edges Design human review workflows and confidence calibration
Make the masking effect concrete so the learner instinctively decomposes any headline accuracy figure by document type and field.
matrix
d2-mcp-error-category-matrix 6 nodes · 8 edges Implement structured error responses for MCP tools
Let the learner read off, for each of the four MCP error categories, whether the call is retryable and what the agent should do next. Draw it as a 4-row by 2-column grid: the four categories are the rows, the two columns are isRetryable and the agent recovery action, and the relation labels are the cell values. The point is that the category is what makes recovery mechanical.
d2-builtin-tool-selection 8 nodes · 12 edges Select and apply built-in tools (Read, Write, Edit, Bash, Grep, Glob) effectively
Give the learner a cheat-sheet grid: the six built-in tools are the rows, and the two columns are what the tool operates on and the stem wording that makes it the right choice. Relation labels are the cell values. Reading down the second column is what makes the scored Grep/Glob (content versus path) and Edit/Write (targeted versus whole-file) distinctions decidable from a question stem.
d3-command-skill-scoping 8 nodes · 4 edges Create and configure custom slash commands and skills
Help the learner choose the right home for an instruction on two axes — always needed versus invoked on demand, and team-wide versus personal — with each of the four cells naming the file location that fits.
d4-tool-choice-modes 12 nodes · 9 edges Enforce structured output using tool use and JSON schemas
Give the three tool_choice modes as rows against the three columns the exam tests — what the call guarantees, who selects the schema, and which stem it fits — so a stem maps to a mode in one lookup.
d4-sync-vs-batch-tradeoffs 10 nodes · 8 edges Design efficient batch processing strategies
Give the learner a two-row table of the two APIs against the four columns the exam tests — cost, latency guarantee, multi-turn tool calling and workload fit — so a stem can be mapped to an API in one lookup.
d5-confidence-review-matrix 7 nodes · 4 edges Design human review workflows and confidence calibration
Show that routing is two-dimensional: confidence alone does not decide, because source ambiguity overrides a high score, and the automated cell still owes a sampled audit.
Click a cell to reveal the reason its route is what it is.
sequence
d1-task-tool-parallel-spawn 5 nodes · 8 edges Configure subagent invocation, context passing, and spawning
Show that parallel subagents come from multiple Task calls in one coordinator response, and that each Task prompt must carry its own complete context.
d2-mcp-tool-call-path 4 nodes · 6 edges Integrate MCP servers into Claude Code and agent workflows
Trace one tool call from the agent through the MCP client and server to the backend and back, so the learner sees where description-based selection happens, where credentials are applied, and where the isError payload originates. Every hop stays on an adjacent layer — the agent never talks to the server directly.
d3-context-fork-isolation 4 nodes · 6 edges Create and configure custom slash commands and skills
Show that a skill declared with context: fork executes in an isolated sub-agent context and returns only a summary, so the main session context is preserved.
d4-tool-use-extraction-sequence 4 nodes · 5 edges Enforce structured output using tool use and JSON schemas
Show the concrete call path from document to validated record, and make clear that the tool schema removes syntax errors while only the semantic validator can catch wrong values.
d5-error-propagation-sequence 4 nodes · 7 edges Implement error propagation strategies across multi-agent systems
Trace one failure end to end: local recovery first, then a structured propagation that lets the coordinator re-route, and finally a coverage annotation in the output.
d5-crash-recovery-manifest 5 nodes · 9 edges Manage context effectively in large codebase exploration
Show that resumability comes from agents exporting state to known locations and the coordinator loading a manifest and injecting recovered state, rather than from re-running the exploration.
state-machine
d1-agentic-loop-stop-reason 6 nodes · 6 edges Design and implement agentic loops for autonomous task execution
Walk the four steps of the loop — send the request, inspect stop_reason, execute the requested tools, append their results — and show that the only transition signal is the structured stop_reason field: "tool_use" sends tool results back into conversation history before the next request, "end_turn" leaves the loop, and an iteration or time limit is the other exit.
Click a transition to highlight which stop_reason value produces it.
d4-validate-retry-feedback-loop 6 nodes · 6 edges Implement validation, retry, and feedback loops for extraction quality
Show that the retry edge carries the document, the failed extraction and the specific errors, that the loop is bounded, and that an absent-information failure exits to escalation rather than looping.
Click a transition to highlight its label — the exit condition it tests, and for the retry edge the document, failed extraction and specific errors it carries.
timeline
d4-batch-sla-window 6 nodes · 5 edges Design efficient batch processing strategies
Make the SLA arithmetic visual: the queue wait plus the 24-hour worst-case processing window must fit inside the promised SLA, which is what fixes the submission interval.