Domain weights

27%D1 Agentic
18%D2 Tools / MCP
20%D3 Claude Code
20%D4 Prompts
15%D5 Context

01 Symptom → Answer

When a question describes one of these failure modes, the right answer almost always points to the matching pattern.

If the question describes……the answer is
Critical sequence violated (e.g., refund before customer verified)Programmatic prerequisite (hook)
Tool selection unreliable for ambiguous requestsExpand tool descriptions first; then 4–6 few-shot examples with reasoning
Bad escalation calibrationExplicit criteria + few-shot — not sentiment, not self-reported confidence
Multi-concern requests with redundant fetchingDecompose into distinct concerns, investigate in parallel with shared context, synthesize
Output gaps vary case-by-case (different things missing each time)Self-critique step (evaluator-optimizer) — not few-shot
Prose has been interpreted differently each iteration2–3 concrete input/output examples
Critical facts lost to summarizationCase facts block outside the summarized history
Self-review misses subtle issuesIndependent second instance (no shared reasoning context)
CI hangs on interactive input-p / --print flag
Need structured output for CI tooling--output-format json + --json-schema
Team-wide slash command needed.claude/commands/ in project repo
Personal customization without affecting teammates~/.claude/skills/ with a different name
Conventions span multiple directories.claude/rules/ with YAML paths: globs
Multi-agent topic coverage gapCoordinator decomposition — not subagent execution
Subagent failureStructured error context: failure type + attempted query + partial results + alternatives
Multi-file PR producing inconsistent depthPer-file passes + separate cross-file integration pass
Round-trip overhead from coordinator delegationScoped cross-role tool for the common case (e.g., verify_fact)
Generic tool being misused outside its specialtyReplace with constrained alternative (fetch_urlload_document)
"Lost in the middle" on aggregated inputKey findings at top + explicit section headers

02 Frontmatter trio (Claude Code skills)

When a skill exhibits multiple structural issues, the answer almost always combines these three frontmatter keys — not prose instructions.

FrontmatterWhat it solves
context: forkVerbose / exploratory output that would pollute the main session
allowed-toolsRestricting tool access during skill execution (block destructive ops)
argument-hintPrompting developers for required parameters when invoked without args

Wrong pattern: prose

Telling Claude in the skill body to "ignore prior context" or "don't use Bash" is unreliable — it's prompt-level, probabilistic guidance. The frontmatter keys give declarative, deterministic enforcement. If you see a question listing 2–3 skill problems, look for the answer that combines two or more of the above.

03 Customer support escalation

Four cases. The discriminator is whether the customer made an explicit request for a human vs. just expressing frustration.

SituationAction
Customer explicitly asks for a human ("I want a real person now")Escalate immediately — no investigation, no clarifying questions
Customer frustrated, no explicit human requestAcknowledge frustration, offer resolution. Escalate only if they reiterate.
Policy is silent / ambiguous on the request (e.g., competitor price match when policy covers only own-site)Escalate — policy gap, not just complexity
Tool returns multiple matches (e.g., 3 customers named "John Smith")Ask for an additional identifier — don't heuristic-pick, don't escalate

04 Batches API vs synchronous API

Match the API to the latency requirement, not the cost savings.

Use synchronous

  • • Blocking pre-merge checks
  • • Anything with an SLA
  • Multi-turn tool calling (Batches doesn't support this)
  • • Interactive workflows

Use Batches

  • • Overnight reports
  • • Weekly audits
  • • Nightly test generation
  • • Latency-tolerant background jobs

50% cost savings · ≤24h window · no SLA · custom_id correlates request/response pairs · no multi-turn tool use

05 Distractor patterns (almost always WRONG)

Reject any answer involving these — they're the wrong-answer signatures the exam keeps using.

06 Per-domain quick lists

High-frequency patterns by domain. Each links to its full study guide (when available).

D1 Agentic 27%

  • Loop on stop_reason: "tool_use" continues, "end_turn" stops
  • Hub-and-spoke; subagents don't inherit context
  • Task must be in allowedTools
  • Parallel spawn = multiple Task calls in one response
  • PostToolUse normalizes; PreToolUse enforces compliance
  • Per-file + cross-file integration pass beats single-pass

D2 Tools / MCP 18%

  • Tool descriptions = primary selection mechanism
  • Fix overlap by renaming BOTH sides + splitting generic tools
  • Error categories: transient / validation / business / permission + isRetryable
  • Distinguish access failure vs. valid empty result
  • tool_choice: "auto" / "any" / forced
  • .mcp.json (project) vs ~/.claude.json (user); ${ENV_VAR} for secrets
  • Edit fails on non-unique anchor → Read + Write fallback

D3 Claude Code 20%

  • CLAUDE.md hierarchy: user → project → directory; new dev missing guideline = it's in user-level
  • .claude/rules/*.md with YAML paths: for cross-directory conventions
  • .claude/commands/ (project) vs ~/.claude/commands/ (user)
  • Skills: context: fork, allowed-tools, argument-hint
  • Plan mode = architectural / multi-file; direct = scoped / single-file
  • Explore subagent isolates verbose discovery
  • CI: -p prevents hangs · --output-format json + --json-schema

D4 Prompts / Output 20%

  • Explicit categorical criteria > "be conservative"
  • 2–4 few-shot for ambiguity (active ingredient: reasoning, not volume)
  • tool_use + JSON schema fixes syntax — not semantic correctness
  • Optional/nullable fields prevent hallucination
  • Retry-with-error-feedback works for format errors; useless if info absent
  • Self-check fields: calculated_total vs stated_total; detected_pattern for FP analysis
  • Independent second instance > self-review (no shared reasoning)

D5 Context / Reliability 15%

  • "Case facts" block outside summarized history (numbers/dates survive)
  • "Lost in middle" → key findings up front + section headers
  • Trim verbose tool outputs to relevant fields only
  • Escalate: explicit human request · policy gap (not complexity) · can't progress
  • Don't escalate on sentiment or self-reported confidence
  • Subagent error: failure type + attempted + partial + alternatives
  • Scratchpads persist findings across context boundaries
  • Conflicting sources: annotate with attribution, never arbitrary pick

Source: every entry traces to a Skills-in bullet in the official CCA Foundations Exam Guide. Drill on the practice exam →