A comprehensive configuration system for Claude AI with custom commands, development principles, and workflow optimizations.
π ζ₯ζ¬θͺη
This repository contains personal configurations for Claude AI, including:
- Custom slash commands for systematic development workflows (42 skills)
- Specialized AI agents for code review, generation, and analysis (33 agents)
- Core AI operation principles and development best practices
- Quality pipeline hooks (guardrails, formatter, reviews, gates)
- Japanese language support
.claude/
βββ CLAUDE.md # Main configuration (AI reads this)
βββ README.md # This file - Quick start guide
βββ adr/ # Architecture Decision Records
βββ rules/ # Rule definitions
β βββ core/ # Core AI operation principles
β βββ conventions/ # Documentation conventions
β βββ development/ # Development patterns & methodologies
β βββ frameworks/ # Framework-specific rules
β βββ workflows/ # Workflow guides
βββ skills/ # Skill-based knowledge modules (42 skills)
βββ agents/ # Specialized AI agents (33 agents)
β βββ architects/ # Feature architecture designers
β βββ critics/ # Finding challengers (devils-advocate)
β βββ enhancers/ # Code enhancers & simplifiers
β βββ evaluators/ # Quality evaluators
β βββ explorers/ # Codebase exploration agents
β βββ generators/ # Code/test/git generators
β βββ resolvers/ # Build error resolvers
β βββ reviewers/ # Code review agents (17 reviewers)
β βββ teams/ # Integrators & implementers
βββ docs/ # Design docs & guides
βββ templates/ # Prompt templates (audit, sow, spec, etc.)
βββ hooks/ # Pre/Post tool-use hooks
βββ scripts/ # Utility scripts
βββ output-styles/ # Output style definitions
βββ .claude-plugin/ # Plugin marketplace config
βββ .ja/ # Japanese translations
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 specific plugin (choose one or more):
/plugin install complete-workflow-system # Full TDD/RGRC workflow /plugin install quick-actions # /fix, /polish /plugin install git-utilities # /commit, /branch, /pr, /issue /plugin install documentation-tools # /adr, /docs /plugin install browser-workflows # /e2e
Available Plugins:
- complete-workflow-system: Full development workflow with quality gates (/think, /code, /test, /audit, /research, /feature, /swarm)
- quick-actions: Fast bug fixes (/fix), AI slop removal (/polish), config validation (/validate-config), Japanese proofreading (/kousei)
- git-utilities: Git workflow helpers (/commit, /branch, /pr, /issue, /preview)
- documentation-tools: ADR creation (/adr) and domain glossary (/glossary)
- browser-workflows: E2E testing and automation (/e2e)
- productivity-tools: Inbox aggregation from GitHub, Slack, Calendar (/inbox)
- development-skills: 22 reference skills for TDD, principles, patterns, security, and more
For using this as your personal .claude configuration:
-
Clone this repository to your home directory:
git clone https://github.com/thkt/.claude ~/.claude -
Or if you already have a
.claudedirectory, back it up first:mv ~/.claude ~/.claude.backup git clone https://github.com/thkt/.claude ~/.claude
Note: Manual installation includes all commands, agents, rules, and personal
configurations. Plugin installation only includes shared commands and agents
(excludes personal CLAUDE.md, rules/, and settings.json).
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)
- Node.js with npm/npx
- ripgrep (typically pre-installed)
- jaq (for IDR hooks):
brew install jaq
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
}
}
}Quality pipeline hooks that run automatically during Claude Code sessions. These catch lint errors, format code, inject static analysis, and enforce quality gates β all without manual intervention.
brew tap thkt/tap
brew install guardrails formatter reviews gates| Tool | Hook | Timing | Role |
|---|---|---|---|
| guardrails | PreToolUse | Before Write/Edit | Lint (oxlint) + security checks |
| formatter | PostToolUse | After Write/Edit | Auto-format (oxfmt) |
| reviews | PreToolUse | Before Skill | Static analysis context injection |
| gates | Stop | Agent completion | Quality gates (knip, tsgo, madge) |
Per-project configuration is done via .claude/tools.json. See
thkt/tap for details.
Some commands use external CLI tools for data source integration:
| Tool | Required By | Purpose | Install |
|---|---|---|---|
gh |
/inbox (GitHub) |
GitHub API access | brew install gh && gh auth login |
gemini |
/inbox (Calendar) |
Google Calendar query | Gemini CLI |
SLACK_TOKEN |
/inbox (Slack) |
Slack API access | See below |
Slack setup:
-
Create a Slack App and add
search:readto User Token Scopes -
Obtain the User OAuth Token (
xoxp-...) -
Set environment variables:
export SLACK_TOKEN="xoxp-..." export SLACK_WORKSPACE="your-workspace" # the workspace part of {workspace}.slack.com
Some commands depend on external plugins that are not included in this repository. Install them manually after cloning:
| Plugin | Required By | Purpose | Install Command |
|---|---|---|---|
ralph-loop |
/code |
TDD Green Phase auto-iteration | /plugin install ralph-loop |
Quick Install:
/plugin install ralph-loopNote: Plugins are stored in ~/.claude/plugins/ which is excluded from git.
Each user must install plugins independently.
See the complete command reference:
/research β /think β /code β /test β /audit/research β /fix- AI Processing: English internally
- User Output: Japanese (configurable)
- Documentation: Available in both English and Japanese
- Safety First: File deletion uses trash (
~/.Trash/), destructive operations require confirmation - User Authority: Your instructions are the ultimate authority
- Output Verifiability: Claims backed by evidence (file paths, confidence markers β/β/?)
- Occam's Razor: Choose the simplest solution that works
- Progressive Enhancement: Build simple, enhance gradually
- TDD/RGRC: Red-Green-Refactor-Commit cycle for reliable code
Full details: PRINCIPLES.md
- Design Philosophy β Why this design (θ¨θ¨ζζ³γ»ζε³)
- Commands Reference (English)
- Commands Reference (Japanese)
- Configuration Guide
- Japanese Configuration
- Principles Guide - Complete overview of all development principles
- Documentation Rules - Standards for documentation
Feel free to fork this repository and customize it for your needs. Pull requests for improvements are welcome!
MIT License - Feel free to use and modify as needed.
thkt
This configuration enhances Claude AI's capabilities for systematic software development with a focus on quality, readability, and maintainability.