Best Practices for Claude Code Configuration
npx skills add https://github.com/nokonoko1203/claude-code-settings --skill design-principlesInstala esta habilidad con la CLI y comienza a usar el flujo de trabajo SKILL.md en tu espacio de trabajo.
English | 日本語
A repository collecting best practices for Claude Code settings and customization. We will continue to update and improve this repository to make it even better.
Note: Some settings in this repository are specifically configured for Japanese users. Please use LLM to translate and adapt them appropriately to your environment.
The configuration files in this repository are designed to be placed under ~/.claude/ directory. By placing these configuration files in the appropriate locations, you can customize Claude Code's behavior and build an efficient development environment.
Models are powerful enough now that complex configuration is unnecessary. Over-configuring can actually be counterproductive. This repository focuses on a few high-impact areas only.
typescript-lsp, pyright-lsp, and rust-analyzer-lsp provide accurate code navigation without extra token cost.claude-code-settings/
├── CLAUDE.md # Global user guidelines for ~/.claude/ placement
├── LICENSE # MIT License file
├── README.md # This file (English)
├── README_ja.md # Japanese version
├── settings.json # Claude Code configuration file
├── skills/ # Skill definitions
│ ├── kill-dev-process/
│ │ └── SKILL.md # Dev process cleanup skill
│ └── playwright-cli/
│ ├── SKILL.md # Browser automation via Playwright CLI (token-efficient)
│ └── references/ # Detailed reference docs
└── symlinks/ # External tools config files as symbolic links
└── claude.json # Claude Code MCP server configuration template
The symlinks/ folder contains configuration files for various external tools related to Claude Code. Since Claude Code is frequently updated and configuration changes are common, having all configuration files centralized in one folder makes editing much easier. Even if related files are normally placed outside the ~/.claude/ directory, it's convenient to place them here as symbolic links for unified management.
In actual environments, these files are placed as symbolic links in specified locations.
# Link Claude Code configuration
ln -s /path/to/settings.json ~/.claude/settings.json
This allows configuration changes to be managed in the repository and shared across multiple environments.
This repository provides skills to enhance Claude Code's capabilities:
Skills - User-invocable commands for common tasks:
Rules defined in CLAUDE.md promote interactive development with Claude Code:
.tmp so the user can review and annotateAgent teams follow a structured formation:
This separation of concerns ensures quality through independent review and implementation roles.
Defines global user guidelines. Contains the following content:
playwright-cli via Bash)playwright-cli console and playwright-cli network for console logs and network requests.tmp — never report only verballyConfiguration file that controls Claude Code behavior:
env){
"DISABLE_TELEMETRY": "1", // Disable telemetry
"DISABLE_ERROR_REPORTING": "1", // Disable error reporting
"DISABLE_BUG_COMMAND": "1", // Disable bug command
"API_TIMEOUT_MS": "600000", // API timeout (10 minutes)
"DISABLE_AUTOUPDATER": "0", // Auto-updater setting
"CLAUDE_CODE_ENABLE_TELEMETRY": "0", // Claude Code telemetry
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1", // Disable non-essential traffic
"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1" // Enable experimental agent teams
}
permissions)Designed for Bypass mode operation — no allowlist is configured. Only a deny list provides minimal safety guards.
deny (blocklist):
sudo, rm, rm -rfgit push, git reset, git rebase, git rm, git cleancurl, wget, nchooks)Notification (Notification settings - macOS)
enabledMcpjsonServers)Controls which MCP servers defined in project-level .mcp.json files are activated.
cleanupPeriodDays: 20 - Cleanup period for old dataenableAllProjectMcpServers: true - Enable all project-specific MCP serverslanguage: "Japanese" - Interface languagealwaysThinkingEnabled: true - Always show thinking processenabledPlugins: LSP plugins for enhanced code intelligence (rust-analyzer, typescript, pyright)Claude Code provides official LSP (Language Server Protocol) plugins for enhanced code intelligence. These are configured in settings.json under enabledPlugins.
| Plugin | Description |
|---|---|
rust-analyzer-lsp |
Rust language server for code navigation and analysis |
typescript-lsp |
TypeScript/JavaScript language server |
pyright-lsp |
Python language server for type checking and analysis |
Skills are user-invocable commands that can be called directly using the /skill-name syntax.
| Skill | Description |
|---|---|
/kill-dev-process |
Kill orphaned dev servers, browsers, and port-hogging processes |
/playwright-cli |
Token-efficient browser automation via Playwright CLI (replaces Playwright MCP) |
You can quickly download and set up the configuration files using curl without cloning the repository.
WARNING: This will overwrite existing files!
If you have already customized files such as
~/.claude/CLAUDE.md,~/.claude/settings.json, or any files in~/.claude/skills/, they will be overwritten and your custom settings will be lost.Before running these commands:
- Back up your existing
~/.claude/directory:cp -r ~/.claude ~/.claude.backup- Or selectively download only the files you need
# Create necessary directories
mkdir -p ~/.claude/skills/{kill-dev-process,playwright-cli}
# Download main configuration files
curl -o ~/.claude/CLAUDE.md \
https://raw.githubusercontent.com/nokonoko1203/claude-code-settings/main/CLAUDE.md
curl -o ~/.claude/settings.json \
https://raw.githubusercontent.com/nokonoko1203/claude-code-settings/main/settings.json
# Download skills
curl -o ~/.claude/skills/kill-dev-process/SKILL.md \
https://raw.githubusercontent.com/nokonoko1203/claude-code-settings/main/skills/kill-dev-process/SKILL.md
curl -o ~/.claude/skills/playwright-cli/SKILL.md \
https://raw.githubusercontent.com/nokonoko1203/claude-code-settings/main/skills/playwright-cli/SKILL.md
If you only want specific files, you can download them individually:
# Example: Download only the CLAUDE.md
mkdir -p ~/.claude
curl -o ~/.claude/CLAUDE.md \
https://raw.githubusercontent.com/nokonoko1203/claude-code-settings/main/CLAUDE.md
# Example: Download only a specific skill
mkdir -p ~/.claude/skills/kill-dev-process
curl -o ~/.claude/skills/kill-dev-process/SKILL.md \
https://raw.githubusercontent.com/nokonoko1203/claude-code-settings/main/skills/kill-dev-process/SKILL.md
This project is released under the MIT License.