Search GimmeJob

Type at least 2 characters. Enter also searches by meaning.
GimmeJob
Sign in
Certification learning path · Claude Code 101 · Chapter 05 / 07

Claude Code 101 Course Preparation

Hands-on lab in the gimme-job repository

Use a disposable scratch copy with synthetic fixtures. The baseline needs Python/Git only; optional live Claude Code work requires a currently supported account/API setup and an authorized usage budget.

1. Project memory

  1. Run claude in the repository root, then /init.
  2. Edit the draft so CLAUDE.md is short: point to AGENTS.md, and name the fast and full checks (npm run verify:fast while working, npm run verify before publishing).
  3. Start a new session and ask "How do I check my change before a PR?" The answer should come from CLAUDE.md.

2. Explore and plan

  1. Ask: "Explain how /learn/certifications chooses which chapter to show. Don't edit anything."
  2. Switch to Plan Mode with Shift+Tab and ask for a plan to add a test for an unknown topic in the URL.
  3. Read the plan and push back on one step before approving it.

3. A reviewer subagent

Create .claude/agents/test-reviewer.md with a description such as "Use after test files change; reviews tests for weak assertions and missing edge cases", tools limited to Read, Grep and Glob, and a short system prompt. Ask Claude to review your new test with it, and check that the main conversation shows only the summary.

4. A hook that blocks

Use examples/certification-practice/hooks/block_fixture_write.py and the accompanying example settings. Feed synthetic Write/Edit JSON events for .env.training and answer.py through stdin. Expect exit 2 with stderr for the protected fixture and exit 0 for the normal path. Reject malformed events. Do not test against real secrets; the matcher does not sandbox Bash, symlinks or a remote backend.

5. Context

Run /context, then /compact, then /context again, and note what changed. Finish with /clear before starting anything unrelated.

Executable baseline and independent oracle

Use the offline practice package. Requires Python 3.10+, no model or API key. Run python examples/certification-practice/practice.py claude-code: every reference case should pass. Copy starter.py to a scratch file; --candidate your_solution.py should fail until you implement the required functions. Retain fixture IDs, expected/actual outputs and the command exit status.

StageTaskCheck
DeriveRead requirements before the reference codeExplain the expected outputs independently
ImplementFill only your track’s starter functionsAll selected cases pass; the unfinished starter fails
ChallengeIntroduce an incorrect boundary, source claim or error stateAt least one relevant oracle rejects it
ReviewExplain a plausible mistake and missing production controlsRecord limits, not just a green status

Run the supplied hook tests separately and inspect stdin, stderr and exit status. Retain the minimal diff and an independently derived oracle. A hook matcher is not a general filesystem sandbox. Optional live-tool practice requires authorized access and a usage budget; production writes are outside this sandbox.

Source registry

Reviewed 2026-11-25 · 3 chapter references
Claude Code overview

What Claude Code is, where it runs and how it works.

Anthropic · official documentation
Source ↗
Create custom subagents

Subagent files, frontmatter, project and user locations, priority and built-in subagents.

Anthropic · official documentation
Source ↗
Hooks reference

Hook events, matchers and exit-code behaviour, including exit code 2 blocking PreToolUse.

Anthropic · official documentation
Source ↗