64 questionsQuestion · Short answer
Claude Code
Use /clear for a new, unrelated objective, /compact to keep working on the same objective with summarized history, and /resume to reopen a previous conversation whose goal and repository still match. Use /context before you compact to see…
Claude Code
Start Claude Code in the intended repository and use a concise CLAUDE.md for broadly applicable build and test commands, navigation, conventions, and review expectations. Put independently maintained guidance in .claude/rules/ ; use…
Claude Code
For an ordinary single-value Claude Code setting, check managed policy first, then the invocation’s --settings value, then project-local .claude/settings.local.json , shared .claude/settings.json , and user ~/.claude/settings.json . A…
Claude Code
Use a built-in slash command for an explicit session action such as inspecting context. Use a Skill when you want a reusable workflow with instructions and reference files. Use a custom subagent when a bounded task needs its own working…
Prompt and Context Engineering
Store approved reusable facts and preferences in an application-owned store that enforces ownership, access, freshness, retention, and deletion. Retrieve only the authorized subset relevant to a later call and add it to that call’s active…
Tools and MCPs
The MCP host owns the user experience, consent, and context assembly. Its client manages the protocol relationship to one server. That server exposes focused capabilities and sees only the data required for its operation. Under MCP…
Tools and MCPs
In MCP 2026-07-28, a server can request a continuation with resultType: "input_required" and at least one of inputRequests or requestState . If inputRequests is present, the client checks its policy, obtains the inputs for supported…
Tools and MCPs
In MCP 2026-07-28, requests are self-contained. Include io.modelcontextprotocol/protocolVersion and io.modelcontextprotocol/clientCapabilities in the request’s _meta . A server implements server/discover to advertise supported versions,…
Tools and MCPs
In MCP 2026-07-28, expose eligible tools through tools/list and invoke an authorized tool through tools/call . For a malformed JSON-RPC tool request or unknown tool, return the appropriate protocol error. For a recognized tool that cannot…
Applications and Integration
Treat the prompt, examples and context templates, schema, consuming parser, semantic rules, and relevant settings as one versioned interface. Record a content digest or version, its purpose and owner, supported variables and model…
Applications and Integration
Pin a supported model ID when reproducibility, regression attribution, or a controlled rollback matters. For the first-party Claude API, IDs introduced from the 4.6 generation onward are pinned snapshots even when the identifier has no…
Prompt and Context Engineering
Prune individual tool results when their details have served their purpose. Compact when a continuing task needs a smaller representation of a substantial stretch of history. In both cases, keep the facts, open questions, and source…