Claude AI Configuration
A comprehensive configuration system for Claude AI with custom commands,
development principles, and workflow optimizations.
📌 日本語版
🎯 Overview
This repository contains personal configurations for Claude AI, including:
- Custom slash commands for systematic development workflows (7 skills)
- A specialized AI agent that challenges design proposals (1 agent)
- Core AI operation principles and development best practices
- Six quality pipeline binaries, none of them wired
command
- Japanese language support
📁 Structure
.claude/
├── CLAUDE.md # Main configuration (AI reads this)
├── README.md # This file - Quick start guide
├── rules/ # Rule definitions
│ ├── core/ # Core AI operation principles
│ ├── conventions/ # Documentation conventions
│ └── development/ # Development patterns & methodologies
├── skills/ # Skill-based knowledge modules (7 skills)
├── agents/ # Specialized AI agents (1 agent)
│ └── critics/ # Design proposal challenger (critic-design)
├── docs/ # Design docs & guides
├── hooks/ # Pre/Post tool-use hooks
├── output-styles/ # Output style definitions
├── .claude-plugin/ # Plugin marketplace config
└── .ja/ # Japanese translations
🚀 Quick Start
Option 1: Install as Claude Code Plugin (Recommended)
This repository is available as a Claude Code plugin, allowing you to easily
install specific workflow sets:
-
Add this repository as a marketplace:
/plugin marketplace add thkt/dotclaude
-
Browse available plugins:
/plugin
-
Install the plugin:
/plugin install build
Available Plugins
- build: Self-contained development workflow toolkit. Installing it clones
the whole repository once, so every skill and agent loads under the
build: namespace. Settle the requirements into an agreed Issue with /scoping,
then hand the Issue to /implement, which carries it through
launch.ts
to implementation, verification, a draft PR, and CI confirmation.
Bundles the critic-design agent and /sweep,
/outcome, /dr.
Option 2: Manual Installation (Full Configuration)
For using this as your personal .claude configuration:
-
Clone this repository to your home directory:
git clone https://github.com/thkt/dotclaude.git ~/.claude
-
Or if you already have a .claude directory, back it up first:
mv ~/.claude ~/.claude.backup
git clone https://github.com/thkt/dotclaude.git ~/.claude
Note: Manual installation applies all skills, agents, rules, and personal
configuration. Plugin installation also clones the whole repository, but Claude
Code loads only its skills and agents; personal CLAUDE.md,
rules/, and settings.json are not applied as rules or settings. A skill that
cites rules/ reads the copy inside the plugin.
📦 Dependencies & Setup
Sandbox Feature (Optional but Recommended)
Claude Code's sandbox feature provides secure command execution with automatic
permission handling, reducing approval fatigue while maintaining safety.
System Requirements
- macOS or Linux (Windows not yet supported)
- Bun
- ripgrep (typically pre-installed)
- jq (used by the status line script):
brew install jq
Setup
# 1. Install sandbox runtime
npm install -g @anthropic-ai/sandbox-runtime
# 2. Verify installation
srt --version
# 3. Enable in Claude Code
# Run this command in Claude Code session:
/sandbox
# Select option 1: "Sandbox BashTool, with auto-allow in accept edits mode"
What it does
- Restricts file system access to allowed directories
- Controls network access via proxy
- Auto-executes safe commands in sandbox
- Requests approval only when sandbox restrictions are hit
Configuration (optional)
Create ~/.srt-settings.json for custom settings:
{
"sandbox": {
"enabled": true,
"autoAllowBashIfSandboxed": true,
"excludedCommands": ["docker"],
"network": {
"allowLocalBinding": true,
"httpProxyPort": 8080
}
}
}
On macOS with the sandbox enabled, running gh inside the sandbox requires sandbox.enableWeakerNetworkIsolation: true in ~/.claude/settings.json for its TLS verification.
Hook Tools (Recommended)
settings.json wires not one binary in this family, so none of them runs
automatically (DR-0121, DR-0122). The TypeScript hooks under hooks/ are not
wired either (DR-0123). CI and
launch.ts carry the quality enforcement.
Installing them is optional, and the table below
records what each one carried.
brew tap thkt/tap