Workflow
Claude Code Project Config Planner
Choose settings locations, permissions, instruction files, Skills, hooks, and parallel worktrees with copyable examples.
Sources checked:
What you can do
Create or debug a Claude Code project configuration
Choose whether the task changes project rules, a predictable hook, context, or agent permissions. Copy a scoped template and verify it in a spare session.
Build your execution checklist
Inputs are processed in this browser only and cleared when you close or refresh the page.
A project setting seems ignored.
Template preview settings.local.json
{
"spinnerTipsEnabled": false
}
Read the full steps
Track settings.json precedence
A project setting seems ignored.
- For a scalar such as spinnerTipsEnabled, check managed settings, --settings, .claude/settings.local.json, .claude/settings.json, and ~/.claude/settings.json in that order.
- Check /status for managed sources and claude doctor for invalid settings. Some lists merge and security keys can keep the stricter value.
- Edit the narrowest intended scope and start a new session. Verify a single change at a time.
Template preview: settings.local.json
{
"spinnerTipsEnabled": false
}
Find an instruction Claude Code did not load
The repository's CLAUDE.md or scoped rule seems absent.
- Run /memory from the actual working directory and inspect loaded files. Root and ancestor instructions load at launch; nested files and path-scoped rules can load when relevant files are read.
- Check the exact case of the filename, directory, path conditions, and available policy. Place repository-wide requirements in the root file.
- Use a new session and a small sample action to confirm the expected direction.
Separate team instructions from learned notes
You need persistent project conventions or reusable session findings.
- Write checked-in conventions such as how to run tests in CLAUDE.md. Review edits in the project the same way as other repository changes.
- Use auto memory for useful session findings. With auto memory enabled, the first 200 lines or 25 KB of MEMORY.md load at startup.
- Check both in /memory. Move existing learned information into a team rule only after confirming it applies to the whole project.
Keep task constraints through compaction
An important requirement disappeared after /compact.
- Save durable repository rules in the root CLAUDE.md. Claude Code re-reads it after compaction.
- Before compacting a long task, capture the objective, constraints, files changed, verification done, and next operation. Then inspect loaded rules and state after compaction.
- Re-open a scoped rule's matching file if the rule is needed during the next part of the task.
Template preview: task-checkpoint.md
# Task checkpoint - Objective - User constraints - Files changed - Checks completed and observed results - Next operation
Triage a blank VS Code worktree session
Resuming opens an empty conversation after switching worktrees.
- Identify the original worktree path and session ID before testing. Compare the VS Code folder with the original location.
- Open the original checkout and compare the extension's session history with claude -r SESSION_ID from that directory. Avoid overwriting the original task notes.
- Record both outcomes, exact Claude Code and extension versions, and whether the symptom occurs with a fresh worktree. The steps help isolate the report; they do not guarantee recovery.
Keep parallel tasks in independent worktrees
Two sessions need different edits in the same repository.
- Run from a Git repository with at least one commit. Give each task a distinct, descriptive worktree name.
- Use claude --worktree followed by the name. Inside each session, confirm its branch and folder before editing.
- Test changes independently, then review how they should be integrated.
Template preview: worktree-commands.sh
# Run the two commands in separate terminals from your repository. claude --worktree docs-review claude --worktree ui-review
Choose VS Code or the terminal
You need a guided editor workflow or CLI automation.
- Use the extension when you want editor context, IDE-native diffs, and a task conversation beside the files.
- Use the terminal for explicit CLI flags, piping, and scriptable output. Test the same small change in both before choosing a team default.
Choose a narrow permission mode
You want to review a plan or allow routine project edits.
- Use plan for investigation and planning without project edits. Use acceptEdits when you want Claude to accept file edits and supported filesystem commands in allowed working directories.
- Understand that permission rules and managed policy still apply. Use a fresh session first to confirm the exact scope.
Template preview: settings.json
{
"permissions": { "defaultMode": "plan" }
}
Run lint after a successful edit
You want an automatic repository check after Edit or Write.
- Use a PostToolUse command hook with an Edit|Write matcher. Use PreToolUse when the decision needs to happen before the operation.
- Merge the example into project settings and ensure npm run lint is available from the project root. Test a matching edit in a disposable checkout.
- Confirm the duration and output are acceptable. If the full lint task is slow, use a narrowly scoped project script.
Template preview: lint-hook-settings.json
{
"hooks": {
"PostToolUse": [
{
"matcher": "Edit|Write",
"hooks": [
{
"type": "command",
"command": "cd \"$CLAUDE_PROJECT_DIR\" && npm run lint",
"timeout": 60
}
]
}
]
}
}Define a read-only subagent
You want a focused code review without file edits.
- Create .claude/agents/read-only-review.md. Include a description and a narrow tools allowlist as frontmatter.
- Start with Read, Grep, and Glob for review. Test that the agent can cite findings from the intended files.
- Consider the parent session's permission mode when adding a permissionMode to the subagent.
Template preview: read-only-review.md
--- name: read-only-review description: Review project files and return actionable findings with paths. tools: Read, Grep, Glob --- Read relevant files. Report evidence and suggested changes with file paths.
Choose Skills, MCP, hooks, or subagents
You know the capability you want to add but need the right extension point.
- Use a Skill for a reusable instruction workflow, MCP for an external tool or data source, and a hook for a predictable response to a lifecycle event.
- Use a subagent when delegated work needs a focused prompt or separate context. Document how to trigger and verify exactly one path first.
Create a project SKILL.md
You want a repository-specific slash command.
- Save the template as .claude/skills/review-fixture/SKILL.md. Keep the description specific to the intended request.
- Keep a consistent skill directory name and invoke /review-fixture manually. Check the result against a small fixture.
Template preview: SKILL.md
--- name: review-fixture description: Review the sample dataset against its documented field contract. disable-model-invocation: true --- Read the supplied fixture path. List missing fields and type mismatches with row IDs.
Find a Skill that does not show or trigger
You added a skill but cannot call it automatically.
- Check that SKILL.md lives in a recognized directory and its YAML frontmatter parses. Try the slash command directly.
- If manual invocation works, inspect the description and invocation flags. disable-model-invocation deliberately prevents automatic activation.
- Inspect /context when many skills are installed. The name list can be present while some descriptions are omitted for budget.
Measure the context used by Skills
The skill listing or imported instructions consume more context than expected.
- Use /context to inspect the Skills row. In current versions it shows the listing after the character budget is applied.
- Keep descriptions short with distinctive keywords. Put detailed reference material in files read only when the workflow needs them.
- Compare the same session start with the old and new layout. Adjust skillListingBudgetFraction only after observing which descriptions are cut.
Scope & limits
- Templates illustrate scoped behavior and require confirmation with your Claude Code version and organization-managed settings.
Questions & answers
- Which settings file overrides another?
- For a normal setting, precedence is managed, command line, project local, shared project, then user. Lists and security-sensitive keys can follow other rules.
Verified sources
- Claude Code settings precedence
- How Claude Code remembers a project
- Claude Code CLI reference
- Claude Code in VS Code
- Claude Code common workflows
- Claude Code permissions
- Hooks reference
- Custom subagents
- Steering Claude Code
- Claude Code MCP
- Claude Code Skills
Templates are authored by Kunavo. External product behavior depends on the linked sources and your account settings.