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.
claude-code-settings/
├── CLAUDE.md # Global user guidelines for ~/.claude/ placement
├── settings.json # Claude Code configuration file
├── commands/ # Custom command definitions
│ ├── code-review.md # Execute code review with detailed analysis
│ ├── d-search.md # Deep codebase analysis using gemini-cli
│ ├── design.md # Technical design phase execution
│ ├── marp.md # Marp presentation creation command
│ ├── requirements.md # Requirements definition phase execution
│ ├── search.md # Google web search using gemini-cli
│ ├── spec.md # Complete specification-driven development workflow
│ ├── tasks.md # Task breakdown phase execution
│ └── textlint.md # File proofreading and correction with textlint
└── symlinks/ # External tools config files as symbolic links
├── settings.json # Claude Code settings with MCP configurations
└── config/
└── ccmanager/
└── config.json # ccmanager: Claude Code project & git worktree manager
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
# Link ccmanager configuration
ln -s /path/to/.config/ccmanager/config.json ~/.claude/symlinks/ccmanager/config.jsonThis allows configuration changes to be managed in the repository and shared across multiple environments.
The biggest feature of this project is the 4-stage specification-driven development workflow:
- Requirements Definition (
/requirements) - Convert user requests into clear functional requirements - Design (
/design) - Formulate technical design and architecture - Task Breakdown (
/tasks) - Divide tasks into implementable units - Implementation - Systematic implementation based on task list
Note: The design documents generated by these slash commands are output in Japanese due to the prompts configured in each command.
- Utilize parallel processing: Multiple independent processes are executed simultaneously
- Think in English, respond in Japanese: Internal processing in English, user responses in Japanese
- Leverage Context7 MCP: Always reference the latest library information
- Thorough verification: Always verify with Read after Write/Edit
Defines project-specific guidelines. Contains the following content:
- Top-Level Rules: Basic operational rules
- Programming Rules: Coding conventions (when using TypeScript, etc.)
- Development Style: Detailed specification-driven development workflow
Configuration file that controls Claude Code behavior:
{
"DISABLE_TELEMETRY": "1", // Disable telemetry
"DISABLE_ERROR_REPORTING": "1", // Disable error reporting
"API_TIMEOUT_MS": "600000" // API timeout (10 minutes)
}allow (allowlist):
- File reading:
Read(**) - Writing to specific directories:
Write(src/**),Write(docs/**),Write(.tmp/**) - Git operations:
git init,git add,git commit,git push origin* - Package management:
npm install,pnpm install - MCP related: Use tools like Context7, Playwright, etc.
deny (blocklist):
- Dangerous commands:
sudo,rm -rf - Security related: Reading
.env.*files,id_rsa, etc. - Direct database operations:
psql,mysql, etc.
PostToolUse (Automatic processing after tool use)
- Record command history (Bash, Read, Write, etc.)
- Automatic textlint execution when editing Markdown files
Notification (Notification settings - macOS)
- Display work progress notifications
Stop (Processing when work is completed)
- Display completion notifications
- GitHub integration (multiple account support)
- Context7 (document retrieval)
- Playwright (browser automation)
- Readability (web article reading)
- textlint (Japanese proofreading)
| Command | Description |
|---|---|
/spec |
Complete specification-driven development workflow |
/requirements |
Requirements definition phase execution |
/design |
Technical design phase execution |
/tasks |
Task breakdown phase execution |
/code-review |
Execute code review with detailed analysis |
/search |
Google web search using gemini-cli |
/d-search |
Deep codebase analysis using gemini-cli |
/marp |
Marp presentation creation command |
/textlint |
File proofreading and correction with textlint |
git clone https://github.com/nokonoko1203/claude-code-settings.git
cd claude-code-settingsYou can either copy the repository contents to ~/.claude/ or create a symbolic link to keep it synchronized with the repository.
# Copy configuration files to ~/.claude/ directory
cp CLAUDE.md ~/.claude/
cp settings.json ~/.claude/
cp .textlintrc.json ~/.claude/
cp -r commands ~/.claude/
cp -r symlinks ~/.claude/# Create symbolic link to keep repository synchronized
ln -s /path/to/claude-code-settings ~/.claude/claude-code-settings
# Then link individual files
ln -s ~/.claude/claude-code-settings/CLAUDE.md ~/.claude/
ln -s ~/.claude/claude-code-settings/settings.json ~/.claude/
ln -s ~/.claude/claude-code-settings/commands ~/.claude/Create symbolic links from external tool locations to ~/.claude/symlinks/ for centralized management:
# Create symlinks directory structure
mkdir -p ~/.claude/symlinks/config/ccmanager/
# Link Claude Code global configuration to symlinks folder
ln -s ~/claude.json ~/.claude/symlinks/claude.json
# Link ccmanager configuration to symlinks folder
ln -s ~/.config/ccmanager/config.json ~/.claude/symlinks/config/ccmanager/config.jsonThis approach centralizes all Claude Code-related configuration files in the ~/.claude/ directory for easier management.
This project is released under the MIT License.