English | δΈζ
A sophisticated multi-agent configuration system for Claude Code featuring specialized agents and structured command templates to accelerate development workflows including code review, refactoring, security audits, architectural guidance, and UX evaluations.
New to the multi-agent system? Start here:
Option A: Using DotClaude CLI Tool (Recommended)
# Install the dotagent-cli tool
pip install dotagent-cli
# Sync with this repository
dotagent sync --repo FradSer/dotclaudeOption B: Using the Legacy Sync Script
bash <(curl -fsSL https://raw.githubusercontent.com/FradSer/dotclaude/main/sync-to-github.sh)Available in any Claude Code conversation:
@agent-code-reviewer- Comprehensive code analysis and best practices@agent-security-reviewer- Security vulnerability assessment@agent-tech-lead-reviewer- Architectural guidance and technical direction@agent-ux-reviewer- User interface and experience evaluation@agent-code-simplifier- Code refactoring and complexity reduction
Three-stage quality assurance process:
- π Analysis - Use
/review/hierarchicalfor multi-agent code analysis - π Planning - Use
/gh/create-issuesto create tracked improvement tasks - β‘ Implementation - Use
/gh/resolve-issueswith smart branch management
π‘ Best Practice: Validate Claude's suggestions at each stage to ensure alignment with your project goals.
Open these command templates in Claude Code:
/review/quick- Fast two-stage code review/git/commit-and-push- Structured commit workflow/continue- Resume interrupted work sessions
- Browse Agent System for all available specialists
- Explore Command Templates for structured workflows
- Review Usage Patterns for effective collaboration
Synchronization Options (click to expand)
The dotagent CLI tool provides a modern, robust synchronization experience:
# Basic sync
dotagent sync --repo FradSer/dotclaude
# Include project-specific agents
dotagent sync --repo FradSer/dotclaude --local
# Preview changes before applying
dotagent sync --repo FradSer/dotclaude --dry-run
# Check sync status
dotagent status --repo FradSer/dotclaudeFeatures:
- Universal platform support - currently supports Claude Code, with planned support for GitHub Copilot, Cursor, and more
- Bidirectional sync with intelligent conflict resolution
- Interactive conflict handling - choose local, remote, or skip for each item
- Project-specific agents - selective sync of
local-agents/to.claude/agents/ - Safe operations - preview changes with
--dry-run - Modern CLI - built with Python, comprehensive error handling
The original bash script is still available:
- Syncs
~/.claude/{agents,commands,CLAUDE.md}with the same paths in this repo (two-way comparison) - Automatic Local Agents Management: Detects
local-agents/directory and copies agents to project's.claude/agents/ - Automatically detects whether it runs inside this repo or clones into
/tmp/dotclaude-sync - Shows a diff for each item and lets you interactively choose: use local, use repo, or skip (supports color diff)
- At the end, you can choose to commit and push (generates a Conventional/Commitizen-style message or falls back to a built-in template)
Prerequisites:
git,curl,bash 3.2+(macOS defaults are fine)- Optional:
colordiff(for colored diffs),claudeCLI (for better commit message generation)
dotclaude/
βββ agents/ # π€ Global agents (all projects)
β βββ code-reviewer.md
β βββ code-simplifier.md
β βββ security-reviewer.md
β βββ tech-lead-reviewer.md
β βββ ux-reviewer.md
βββ local-agents/ # π― Project-specific agents
β βββ swiftui-clean-architecture-reviewer.md
βββ commands/ # β‘ Workflow templates
β βββ continue.md
β βββ create-command.md
β βββ refactor.md
β βββ gh/ # GitHub workflows
β β βββ create-issues.md
β β βββ create-pr.md
β β βββ resolve-issues.md
β βββ git/ # Git operations
β β βββ commit-and-push.md
β β βββ commit.md
β β βββ gitignore.md
β β βββ push.md
β βββ gitflow/ # GitFlow workflows
β β βββ finish-feature.md
β β βββ finish-hotfix.md
β β βββ finish-release.md
β β βββ start-feature.md
β β βββ start-hotfix.md
β β βββ start-release.md
β βββ review/ # Code review workflows
β βββ hierarchical.md
β βββ quick.md
βββ CLAUDE.md # Development guidelines
βββ README.md
βββ README.zh-CN.md
βββ sync-to-github.sh # Configuration sync script
Universal specialists available in all projects:
| Agent | Purpose | Specialization |
|---|---|---|
@agent-code-reviewer |
Code quality analysis | Correctness, maintainability, best practices |
@agent-code-simplifier |
Refactoring assistance | Complexity reduction, DRY principles, modernization |
@agent-security-reviewer |
Security assessment | Vulnerability detection, secure coding practices |
@agent-tech-lead-reviewer |
Technical leadership | Architecture, design patterns, technical direction |
@agent-ux-reviewer |
User experience audit | Usability, accessibility, interface consistency |
Project-specific specialists (copied via sync script):
| Agent | Target | Specialization |
|---|---|---|
@swiftui-clean-architecture-reviewer |
SwiftUI | Clean Architecture, MVVM, SwiftData patterns |
Structured workflow templates for common development tasks:
/review/quick- Fast two-stage review process/review/hierarchical- Multi-agent parallel analysis with consolidated results
/git/commit- Structured commit workflow with conventional messages/git/commit-and-push- Combined commit and push with validation/git/push- Push with pre-flight checks/git/gitignore- Generate and manage .gitignore files
/gitflow/start-feature- Initialize feature branches/gitflow/finish-feature- Complete and merge features/gitflow/start-release- Prepare release branches/gitflow/finish-release- Finalize and tag releases/gitflow/start-hotfix- Create urgent fix branches/gitflow/finish-hotfix- Deploy critical patches
/gh/create-issues- Generate issues with templates and labels/gh/create-pr- Create pull requests with structured descriptions/gh/resolve-issues- Smart issue resolution with auto-branching and worktree management
/continue- Resume interrupted work sessions/create-command- Generate new command templates/refactor- Systematic code improvement checklist
- π Open templates - Use command files as interactive checklists in Claude Code
- π― Follow workflows - Each template provides structured, step-by-step guidance
- π€ Maintain consistency - Standardized approaches across team members and projects
Sequential Reviews (thorough analysis):
@agent-code-reviewer β @agent-security-reviewer β @agent-tech-lead-reviewerParallel Specialization (targeted expertise):
@agent-ux-reviewer # UI/UX focused
@agent-security-reviewer # Security focused
@agent-code-simplifier # Refactoring focusedProject-Specific (after sync):
@swiftui-clean-architecture-reviewer # SwiftUI projectsHuman-AI Partnership Claude Code serves as your specialized development partner, providing expert analysis and recommendations while you maintain decision-making authority and project context.
GitHub Integration
The gh CLI creates seamless workflows where issues, pull requests, and commits become structured documentation, capturing both human decisions and AI insights.
Validation-Driven Development Each automation step includes human validation points, ensuring AI suggestions align with project goals and constraints.
See CLAUDE.md for comprehensive development guidelines including:
- ποΈ Architecture - SOLID principles, dependency injection, design patterns
- β¨ Code Quality - Semantic naming, error handling, documentation standards
- π Development Standards - TDD, atomic commits, conventional commit messages
- π οΈ Tech Stack - Node.js (
pnpm), Python (uv), language-specific best practices
Q: Is the sync script interactive? A: Yes - you choose local vs. repo for each item and decide whether to commit/push at the end.
Q: How do I get colored diffs?
A: Install colordiff - the script auto-detects and uses it when available.
Q: Can I customize agents for my project?
A: Yes - add project-specific agents to local-agents/ and run the sync script.
MIT License - see LICENSE for details.