5 pages for mocks.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Best practices for Claude Code
Claude Code CLI · in the page
best-practices
…for foo.py covering the edge case where the user is logged out. avoid mocks."* | | **Point to sources.** Direct Claude to the source that can answer a question. | *"why does ExecutionFactory have such…
Set up Claude Code in a monorepo or large codebase
Claude Code CLI · in the page
large-codebases
…ransaction that rolls back - Mock external services in `src/__tests__/mocks/` ``` A different subdirectory holds different skills the same way: `packages/web/.claude/skills/component-patterns/` descr…
Test plugins with evals
Claude Code CLI · in the page
plugin-evals
…te reference](#eval-suite-reference) has the complete tree, including mocks and results: ```text theme={null} my-plugin/ ├── .claude-plugin/plugin.json ├── skills/... └── evals/ ├── first-case/…
Plugin commands reference
Claude Code CLI · in the page
plugins/cli-reference
…[What a run can access](/docs/en/plugin-evals#security) | Off | | `--mocks <mode>` | `record` or `off`. See [Mock MCP servers](/docs/en/plugin-evals#mock-mcp-servers) | `record` | | `--eval-dir <dir>…
Test a mod
Claude Code CLI · in the page
plugins/mods/test
…ade that call and no stub answers it The kit also exports ready-made mocks for the clock, the store, environment variables, and rows appended to the conversation: * **`mock.clock(on)`**: answers [`$…