14 questionsQuestion · Short answer
Claude Code Configuration & Workflows
Put durable repository conventions in CLAUDE.md , apply path-specific guidance through matching rules in .claude/rules/ , and use a Skill for an on-demand procedure. Choose a subagent for separate working context, MCP for an external…
Claude Code Configuration & Workflows
Use claude -p for a non-interactive CI step and configure the permission mode and permitted actions before it runs. Use a dedicated CI identity, a minimal checkout and narrowly scoped credentials. A Manual-mode run denies a call that…
Claude Code Configuration & Workflows
For a deterministic pre-execution check, use a Claude Code PreToolUse command hook matched to the intended tool. It receives event JSON on stdin and can allow the call to proceed through permissions or block it before execution. A command…
Claude Code Configuration & Workflows
Claude Code evaluates matching permission rules in deny, ask, then allow order. A narrower allow cannot override a matching deny. Use ask rules for actions that need confirmation and reserve allow rules for reviewed routine work. A…
Claude Code Configuration & Workflows
Use Claude Code plan mode to inspect a repository and review a proposal before granting edit authority. In the terminal, start with claude --permission-mode plan . Typical plan-mode sessions block source edits until approval, while…
Claude Code Configuration & Workflows
For most conflicting scalar values in Claude Code terminal settings, the order is managed policy, --settings , local project, shared project, then user. Arrays normally merge. Check the particular setting when it controls permissions, has…
Claude Code Configuration & Workflows
Use a Claude Code subagent for a bounded task that benefits from separate context, a specific set of tools, or distinct instructions. Define its purpose and explicitly list the tools it needs. For a code reviewer, a local agent file in…
Claude Code Configuration & Workflows
Bind every review to an exact revision, verify each claimed failure against the code, and retain prior findings with their evidence and disposition. A parseable report or completed Claude Code process does not establish that a defect is…
Claude Code Configuration & Workflows
Keep team conventions and their required references in the shared repository. A teammate's clone does not contain your personal home-directory guidance or a gitignored file from another worktree. Use a root CLAUDE.md or .claude/CLAUDE.md…
Claude Code Configuration & Workflows
Start with the symbol's definition, follow its exports and wrappers, then verify each candidate caller against the same symbol. Searching only the original name can miss the public name consumers actually use. For example, a package may…
Claude Code Configuration & Workflows
Use Edit for a targeted change to an existing file. Use Write when creating a file or supplying its complete replacement content. Before replacing existing content, obtain enough current evidence to preserve every unrelated part. Edit…
Claude Code Configuration & Workflows
Use project scope for a reviewed team definition, supply credentials through the authorized launch environment, and verify the complete path with a harmless known-answer request. Saving configuration establishes only the first stage.…