ai-dotfiles-manager
v2.0.1
Published
Centralized AI assistant configuration manager. Sync rules, slash commands, and workflows across Claude Code, Cursor, Kilo Code, and Roo Code. One setup, consistent AI assistance in all projects with centralized .dev/rules/ and automatic session hooks.
Downloads
596
Maintainers
Readme
AI Dotfiles Manager
An EASY way to manage your AI CLI Dev tool config folders
Sick of .files folder overload and having to copy and paste tour rules, workflows & commands into different dotfile folders?
Repository layout
bin/— CLI entry points (thebin/setup.jsscript and helpers that parse flags and orchestrate installation).lib/— pure, testable modules that capture business logic without side effects so they are easy to unit test.scripts/— maintenance utilities such as migrations, workspace initializers, and report generators.templates/— provider hooks, prompt scaffolds, and rule blueprints (claude/,cursor/,kilocode/,roo/,dev/,shared/,codex/, andlanguages/).resources/— static assets consumed by the CLI or docs (images, reports, and other reference data).__tests__/— Jest suites, fixtures, and helpers that validate the templates, migrations, and library modules.coverage/&dist/— generated artifacts from tests and builds (ignore in commits)..dev/— the developer workspace that AI assistants auto-load; it currently contains:architecture.md,context-index.md,codex-manifest.json,README.md,DESIGNcode.md, and optionaltodo.md.rules/(shared, TypeScript, and.localoverrides) pluslint/jetbrains-lint.md.
.claude/— Claude Code configuration details (hooks/, slash command scripts, andsettings.jsonthat point at.dev/rules/)..github/,.tmp/,.idea/— CI metadata, transient workspace files, and IDE settings.Root configs:
package.json,package-lock.json,tsconfig*.json,.eslintrc.js,jest.config.js,AGENTS.md,CHANGELOG.md,STATUS.md, and other project-level docs.
This package provides centralized configurations for AI coding CLI assistants (Gemini CLI, Claude Code, Cursor, Kilo Code, and Roo Code) to ensure consistent rules when you switch between each AI.
Key Innovation: All rules are centralized in .dev/rules/ instead of duplicated across provider folders. Claude Code hooks (in .claude/hooks/) automatically load rules and commit completed tasks.
Deprecation notice: Provider-specific rule folders and shortcut copies are deprecated. All provider configs now reference the centralized
.dev/rules/(shared) directory. Base rules within.dev/rules/are managed copies sourced from this package.
A dotfiles manager for your AI tools!
Start Here
Features
- Centralized Rules (.dev/rules/): Single source of truth for all AI tools
- Claude Code Hooks (.claude/hooks/): Automatic session start/end actions with todo commit enforcement and current task tracking
- Session Status Command:
/statusslash command to view loaded context and current task anytime - Non-Interactive Mode:
--yesflag for automated setup/updates without prompts - Clean Architecture Rules: Enforce layer separation, dependency inversion, and SOLID principles
- Developer Workspace (.dev/): Personal workspace with auto-generated architecture docs and todo list
- Auto-Context Loading: AI assistants automatically load centralized rules and project context
- Streamlined Updates: Replace existing files by default (no backups) for faster updates
- Migration Support: Gracefully handles existing AI configurations with 4 migration options
- Multi-Language Support: TypeScript, Python, Go, Java, and more (see Multi-Language Support)
- TypeScript Configuration: Strict tsconfig.json, tsconfig.test.json, tsconfig.eslint.json, and .eslintrc.json automatically added to TypeScript projects
- Code Quality Rules Guide: Comprehensive documentation of TypeScript and ESLint rules with error prevention examples
- Optional Codex Guide Opt-Out: Use
--no-codex-guideto skip generating Codex manifest/index files and the AGENTS guide block - Pre-PR Review Command:
/review-changescommand for comprehensive code review before pushing changes - Pre-Push Hook: Automatic review trigger that prevents pushing code with critical issues
- Testing Guidelines: Patterns for repository and service tests with mocking
- Code Generation: Step-by-step guides for creating repositories, services, and errors
- Slash Commands: Reusable commands for common development tasks (Claude Code)
- Code Review: Automated architecture violation detection with detailed reports
- Multi-Tool Support: Works with Gemini CLI, Claude Code, Cursor, Kilo Code, and Roo Code
- Global Installation: Install once, use in all your projects
- Automatic Todo Commits: Enforces git commits when tasks are completed
- Comprehensive Test Suite: 78+ tests following SOLID principles and best practices
Quick Start
# 1. Install globally (once per machine)
npm install -g ai-dotfiles-manager
# 2. Navigate to your project
cd ~/projects/your-project
# 3. Run setup (interactive)
ai-dotfiles-manager setup
# Or run non-interactive setup with defaults
ai-dotfiles-manager setup --yes
# 4. Select tools (or use "✨ Select All")
# Creates centralized .dev/rules/ and provider configs pointing to it
# 5. Start coding with AI assistance!
# Claude Code hooks automatically load rules and commit completed todos
# 6. Check session status anytime
# Type /status in Claude Code to see loaded context and current taskMigrating Existing Configurations
Migration Script
For existing projects, use the migration script to transition to the new centralized structure:
# Run migration script
npm run migrateThis will:
- Detect existing AI tool configurations
- Backup existing files with timestamp
- Migrate custom rules to
.dev/rules/.local/ - Set up centralized
.dev/rules/structure - Update provider configurations to point to centralized rules
- Remove old duplicated rule folders
If you run ai-dotfiles-manager setup on a project that already has AI tool configurations (.claude/, .cursorrules, etc.), you'll be prompted with migration options:
Migration Options
1. Migrate to .local/ (supersede shared rules)
- Moves your existing files to
.local/directories - Your custom rules will override shared rules with the same names
- Best for: Projects with custom rules you want to preserve and prioritize
2. Migrate to .local/ (preserve alongside shared rules)
- Moves your existing files to
.local/directories - Your custom rules exist alongside shared rules (no override)
- Best for: Projects with additional custom rules
3. Replace with new setup
- Replaces everything with fresh templates (default option)
- Best for: Quick updates or starting fresh
4. Skip - keep existing configuration as-is
- Leaves current configuration untouched
- Setup does not proceed for that tool
- Best for: Manually managed configurations
Migration Examples
Claude Code (.claude/)
# Existing custom rules moved to:
.dev/rules/.local/your-custom-rule.mdCursor (.cursorrules)
# Existing file moved to:
.cursorrules.localKilo Code (.kilocode/) and Roo Code (.roo/)
# Existing custom rules moved to:
.dev/rules/.local/your-custom-rule.mdWhy Global Installation?
Global installation is the recommended approach because:
- Install Once, Use Everywhere: One installation serves all your projects
- Always Available: The command works from any directory
- Easy Updates: Update once globally instead of in every project
- Consistent Standards: All projects use the same rules and conventions
- Lightweight: Projects don't need to include the package in dependencies
Installation
Option 1: Direct from GitHub (Easiest)
npm install -g git+https://github.com/TonyCasey/ai-dotfiles-manager.git
# Or install a specific version
npm install -g git+https://github.com/TonyCasey/ai-dotfiles-manager.git#v1.1.0Option 2: From npm Registry
npm install -g ai-dotfiles-managerOption 3: Shared Network Location
For teams without npm infrastructure:
# Clone to shared drive
git clone https://github.com/TonyCasey/ai-dotfiles-manager.git /shared/dev-tools/ai
# Each developer installs from there
npm install -g /shared/dev-tools/aiVerify Installation
ai-dotfiles-manager --version
ai-dotfiles-manager --helpHow It Works
Centralized Rules (.dev/rules/)
All rules are centralized in .dev/rules/ and referenced by all AI tools:
# After running "ai-dotfiles-manager setup":
~/projects/my-project/.dev/rules/
├── shared/ # Language-agnostic rules (managed copies)
│ ├── clean-architecture.md
│ ├── repository-pattern.md
│ └── testing-principles.md
├── typescript/ # Language-specific rules (managed copies)
│ ├── coding-standards.md
│ └── testing.md
└── .local/ # Project-specific overrides
├── custom-api-standards.md
└── architecture.md # Override shared rulesWhy centralized?
- ✅ Single source of truth - no duplication across providers
- ✅ Update once, applies to all AI tools
- ✅ Consistent rules across Claude Code, Cursor, Kilo Code, Roo Code
- ✅ Easier maintenance and management
Provider Configurations (Minimal)
Each AI tool has minimal configuration pointing to .dev/rules/ (no per-provider rule folders):
.gemini/settings.json # Points to ../.dev/rules/
.claude/settings.json # Points to ../.dev/rules/
.cursorrules # References ../.dev/rules/ files
.kilocode/config.json # Points to ../.dev/rules/
.roo/config.json # Points to ../.dev/rules/Benefits:
- ✅ Provider folders still exist for tool-specific features
- ✅ All rules load from centralized location (shared)
- ✅ No more duplicated or shortcut rule folders in providers
- ✅ Easy to maintain and update
Claude Code Hooks (Automatic)
Claude Code hooks automatically manage your workflow:
.claude/hooks/
├── session-start.js # Runs when Claude Code session starts
├── session-end.js # Runs when Claude Code session ends
└── user-prompt-submit.js # Validates/enhances prompts (optional)What they do:
- ✅ Auto-load
.dev/rules/into AI context on session start - ✅ Display project context (architecture, todos, git status)
- ✅ Extract and track current task from
todo.md - ✅ Commit completed todo items automatically on session end
- ✅ Track session statistics and duration
- ✅ Validate prompts for destructive operations (optional)
- ✅ Suggest relevant context files (optional)
Windows Support
- Uses managed copies for all base rules (no symlinks required)
- No special permissions needed
Developer Workspace (.dev/)
The .dev/ folder is your personal developer workspace that's automatically loaded into AI context for every session.
What's in .dev/?
architecture.md (auto-generated)
- Project structure overview
- Technologies and frameworks
- Architectural patterns
- Key principles
- Regenerated on setup/update
todo.md (your personal task list)
- Markdown checkboxes for tasks
- Simply check off
[x]when complete - AI sees your current priorities
- Helps AI provide contextual suggestions
README.md (auto-generated)
- Explains the .dev/ concept
- Usage instructions
Auto-Loading
All .md files in .dev/ are automatically loaded into AI context when you start a session with:
- Gemini CLI
- Claude Code
- Cursor
- Kilo Code
- Roo Code
This gives AI assistants immediate understanding of:
- What you're working on (todo.md)
- How the project is structured (architecture.md)
Example .dev/todo.md
# Developer Todo List
## Current Sprint
- [ ] Implement user authentication
- [ ] Add password reset functionality
- [x] Set up database schema
## Backlog
- [ ] Add email notifications
- [ ] Implement rate limitingSimply change [ ] to [x] when done - no explanations needed!
Git
The .dev/ folder is personal and typically not committed:
.dev/However, you can commit it to share architecture notes or tasks with your team.
Multi-Language Support
The package supports multiple programming languages with language-specific and language-agnostic rules.
Supported Languages
- TypeScript (fully supported)
- Python (planned - Phase 2)
- Go (planned - Phase 3)
- Java (planned - future)
- Rust (planned - future)
Architecture
templates/
├── shared/ # Language-agnostic rules
│ └── rules/
│ ├── clean-architecture.md # Universal architecture principles
│ ├── solid-principles.md # Universal SOLID patterns
│ └── repository-pattern.md # Universal data access pattern
│
├── languages/ # Language-specific rules
│ ├── typescript/
│ │ └── rules/
│ │ ├── coding-standards.md # TS naming, types, etc.
│ │ ├── testing.md # Jest, ts-jest patterns
│ │ └── tooling.md # TSC, ESLint, etc.
│ ├── python/ (coming soon)
│ ├── go/ (coming soon)
│ └── java/ (coming soon)
│
└── tools/ # Tool-specific configs
├── claude/
├── cursor/
├── kilocode/
└── roo/Language Auto-Detection
The setup wizard automatically detects your project language:
// TypeScript: tsconfig.json or typescript in package.json
// Python: requirements.txt, pyproject.toml, setup.py
// Go: go.mod
// Rust: Cargo.toml
// Java: pom.xml, build.gradleExample: Language-Specific Patterns
TypeScript:
// Interface in domain/interfaces/
export interface IProductRepository {
getById(id: string): Promise<Product>;
}
// Implementation in infrastructure/repositories/
export class ProductRepository implements IProductRepository {
constructor(private readonly db: IDatabase) {}
}Python (coming soon):
# Protocol in domain/interfaces/
from typing import Protocol
class ProductRepositoryProtocol(Protocol):
def get_by_id(self, id: str) -> Product:
...
# Implementation in infrastructure/repositories/
class ProductRepository:
def __init__(self, db: DatabaseProtocol):
self._db = dbGo (coming soon):
// Interface in domain/
type ProductRepository interface {
GetByID(ctx context.Context, id string) (*Product, error)
}
// Implementation in infrastructure/
type productRepository struct {
db Database
}Commands
setup - Configure AI Tools
Set up AI assistant configuration in the current project:
# Interactive setup
ai-dotfiles-manager setup
# Non-interactive setup (uses defaults)
ai-dotfiles-manager setup --yes
ai-dotfiles-manager setup -yInteractive mode prompts will ask:
- Which language? (auto-detected, or choose manually)
- Which AI tools? (Gemini CLI, Claude Code, Cursor, Kilo Code, Roo Code, or ✨ Select All)
Non-interactive mode (--yes flag):
- Uses detected language (defaults to TypeScript if not detected)
- Configures Claude Code only
- Perfect for CI/CD pipelines and automated setups
Creates configuration files in your project directory.
Need to keep your own AGENTS.md content or skip Codex context artifacts? Append --no-codex-guide to omit .dev/codex-manifest.json, .dev/context-index.md, and the managed Codex guide block:
ai-dotfiles-manager setup --yes --no-codex-guideupdate - Update Configuration
Update existing configuration with latest templates:
# Interactive update
ai-dotfiles-manager update
# Non-interactive update (uses defaults)
ai-dotfiles-manager update --yes
ai-dotfiles-manager update -yRefreshes base rules (managed copies) while preserving your .local/ customizations.
By default, replaces existing files without creating backups for streamlined updates.
review - Code Review
Analyze codebase for Clean Architecture violations:
# Basic review
ai-dotfiles-manager review
# Detailed review (includes info-level messages)
ai-dotfiles-manager review --detailed
# JSON output (for CI/CD integration)
ai-dotfiles-manager review --json
# Skip Codex guide refresh (no manifest/index updates)
ai-dotfiles-manager review --detailed --no-codex-guideWhat it checks:
- Layer Violations (domain importing infrastructure, etc.)
- Interface Conventions ('I' prefix, file naming)
- Repository Pattern (correct layers, DI)
- Service Pattern (constructor injection, layers)
- Domain Errors (extend DomainError)
- TypeScript Quality (no
anytypes)
--version - Show Version
ai-dotfiles-manager --version--help - Show Help
ai-dotfiles-manager --helpSlash Commands (Claude Code)
After setup, use these commands in Claude Code:
/status
Display current session status:
- Project name and time
- Loaded context (rules, architecture, todos)
- Current task from todo.md
- Git working directory status
- Beautifully formatted output
/create-repo
Creates a repository following Clean Architecture:
- Repository interface in
src/domain/interfaces/ - Domain error class (optional)
- Repository implementation in
src/infrastructure/repositories/ - DI registration
- Comprehensive test file
/create-service
Creates an application service:
- Service interface in
src/application/interfaces/ - Service implementation in
src/application/services/ - DI registration
- Test file with mocked dependencies
/create-error
Creates a domain error:
- Error class extending
DomainErrorinsrc/domain/errors/ - Export from error index
- Usage examples
/create-tests
Generates test files:
- Proper test structure
- Mock dependencies setup
- Test cases for all methods
- Error case tests
Customization
Adding Custom Rules
Create new files in .dev/rules/.local/:
.dev/rules/.local/
├── custom-api-standards.md
└── database-conventions.mdThese custom rules are automatically loaded by all AI tools alongside the base rules.
Overriding Base Rules
Create a file with the same name in .local/:
.dev/rules/.local/
└── architecture.md # Overrides shared/architecture.mdYour local version will take precedence over the base rule with the same name.
Instructions
See .dev/rules/.local/README.md (auto-generated) for detailed instructions.
Version Control
Recommended .gitignore
# Ignore base rules copied from the package
.dev/rules/shared/
.dev/rules/typescript/
.dev/rules/python/
.dev/rules/go/
.dev/rules/java/
# Ignore provider configs (auto-generated from templates)
.claude/
.cursorrules
.kilocode/
.roo/
# Commit local customizations
!.dev/rules/.local/
# Ignore backups (created during migration)
*.backup.*
# Ignore session state files (auto-generated)
.dev/.session-state.json
.dev/.session-stats.json
.dev/.prompt-log.jsonl
# Developer workspace (personal - usually not committed)
.dev/todo.md
.dev/architecture.mdWhy?
- Base rules are managed copies → don't commit (teammates will run
ai-dotfiles-manager setup) - Local rules are yours → commit them (project-specific customizations)
- Everyone runs setup once, gets same base rules, sees your custom rules
Team Workflow
Day 1: New Developer Joins
# Step 1: Install the tool globally
npm install -g git+https://github.com/TonyCasey/ai-dotfiles-manager.git
# Step 2: Clone first project
git clone https://github.com/your-org/my-project.git
cd my-project
# Step 3: Set up AI assistance
ai-dotfiles-manager setup
# Step 4: Start coding!
# The AI now knows all development standardsWeek 2: New Project Assigned
# Clone another project
git clone https://github.com/your-org/my-other-project.git
cd my-other-project
# Set up AI (takes 10 seconds)
ai-dotfiles-manager setup
# Start coding with same standards!Month 2: Rules Updated
# Update the global tool
npm update -g ai-dotfiles-manager
# Refresh projects
cd ~/projects/my-project && ai-dotfiles-manager update
cd ~/projects/my-other-project && ai-dotfiles-manager updateQuality Assurance
Testing
The package includes a comprehensive test suite ensuring reliability and maintainability:
- 78+ Unit Tests - Comprehensive coverage of core functionality including hooks
- 100% Coverage - Language detection module fully tested
- Hook Testing - All Claude Code hooks have dedicated test suites
- SOLID Principles - Tests follow the same principles as production code
- Fast Execution - Full test suite runs in < 2 seconds
- CI/CD Ready - Proper exit codes and coverage reporting
# Run the full test suite
npm test
# Generate coverage report
npm run test:coverageCode Quality
- Dependency Injection - All modules accept dependencies for testability
- Pure Functions - Predictable behavior with no side effects
- TypeScript AST - Robust code analysis using TypeScript compiler API
- Error Handling - Graceful handling of edge cases and failures
- Documentation - JSDoc comments and comprehensive README
Continuous Improvement
- Tests are required for all new features
- Code reviews ensure quality and consistency
- Regular updates with latest best practices
- Community feedback drives improvements
Troubleshooting
"command not found"
The global bin directory is not in PATH:
# Find npm global bin directory
npm config get prefix
# Add to PATH (add to ~/.bashrc or ~/.zshrc)
export PATH="$(npm config get prefix)/bin:$PATH"
# Reload shell
source ~/.zshrcUpdating Rules
To refresh base rules (managed copies) after upgrading the tool:
npm update -g ai-dotfiles-manager
ai-dotfiles-manager updateCan't Edit Base Rules
This is intentional! Base rules are managed copies. To customize:
- Create files in
.dev/rules/.local/ - See
.dev/rules/.local/README.mdfor instructions - Your
.local/files take precedence over base rules
Rules Not Being Applied
If AI isn't following the rules:
- Check
.dev/rules/directory exists and has content - Verify
.claude/settings.jsonhas correctrulesDirectorypath (../.dev/rules) - Try explicitly referencing a rule file in your prompt
- Restart your AI coding assistant
Commands Not Working (Claude Code)
If slash commands don't work:
- Check
.claude/commands/directory exists - Verify
settings.jsonhas correctcommandsDirectorypath - Restart Claude Code
Architecture Overview
Clean Architecture Layers
src/
├── domain/ # Core business entities and interfaces
│ ├── errors/ # Domain error classes
│ └── interfaces/ # Repository interfaces, core service interfaces
├── application/ # Business logic and use cases
│ ├── interfaces/ # Service interfaces, use case configs
│ └── services/ # Service implementations
└── infrastructure/ # External concerns
├── di/ # Dependency injection container
├── repositories/ # Repository implementations
└── services/ # External API integrationsKey Principles
- Dependency Inversion: Dependencies flow inward (Infrastructure → Application → Domain)
- Repository Pattern: All data access through repositories
- Dependency Injection: Constructor injection for all dependencies
- Interface Segregation: One focused interface per file
- Domain Errors: Specific error classes with HTTP status codes
Contributing
We welcome contributions! Here's how to contribute:
Code Contributions
- Fork and Clone the repository
- Create a branch for your feature:
git checkout -b feature/your-feature - Make your changes to files in
templates/,lib/, orscripts/ - Write tests for new functionality (see
__tests__/for examples) - Run the test suite to ensure everything passes:
npm test - Test manually by running
ai-dotfiles-manager setupin a test project - Commit your changes with a descriptive message
- Submit a pull request with a clear description of the changes
Testing Requirements
- All new features must include unit tests
- Tests should follow the AAA pattern (Arrange, Act, Assert)
- Aim for at least 70% code coverage on new code
- Run
npm testbefore submitting PR
Code Quality Standards
- Follow SOLID principles
- Use dependency injection for testability
- Write pure functions where possible
- Add JSDoc comments for public APIs
- Follow existing code style
Development
Package Structure
ai-dotfiles-manager/
├── bin/
│ └── setup.js # CLI setup tool
├── lib/
│ └── language-detector.js # Language detection module (testable)
├── scripts/
│ └── review.js # Code review engine
├── templates/
│ ├── shared/ # Language-agnostic rules
│ │ └── rules/
│ ├── languages/ # Language-specific rules
│ │ ├── typescript/rules/
│ │ └── python/rules/
│ ├── dev/ # .dev/ workspace templates
│ ├── claude/ # Claude Code config + hooks
│ │ ├── hooks/
│ │ ├── commands/
│ │ └── settings.json
│ ├── cursor/ # Cursor config
│ ├── kilocode/ # Kilo Code config
│ └── roo/ # Roo Code config
├── __tests__/
│ ├── helpers/ # Test utilities (fs-mock, etc.)
│ ├── fixtures/ # Test data and sample structures
│ ├── hooks/ # Tests for Claude Code hooks
│ ├── lib/ # Tests for lib modules
│ ├── scripts/ # Tests for scripts
│ ├── setup.js # Jest setup
│ └── README.md # Testing documentation
├── jest.config.js # Jest configuration
├── package.json
└── README.mdTesting
The package includes a comprehensive test suite with 78+ tests following SOLID principles:
# Run all tests
npm test
# Run tests with coverage
npm run test:coverage
# Run tests in watch mode
npm run test:watch
# Run tests with verbose output
npm run test:verboseTest Coverage:
- Language Detector: 100% ✅
- Claude Code Hooks: 100% ✅
- Code Reviewer: 27.82%
- Overall: 5 test suites, 78 passing tests
Testing Principles:
- AAA Pattern (Arrange, Act, Assert)
- Dependency Injection for testability
- Mock utilities for file system operations
- Pure functions with no side effects
- SOLID principles throughout
See __tests__/README.md for detailed testing documentation.
Testing Locally
# Install dependencies
npm install
# Link the package
npm link
# Run tests
npm test
# Test in a project
cd /path/to/test-project
ai-dotfiles-manager setup
# Verify configuration is correctAdding a New Language
- Create
templates/languages/{language}/rules/ - Add language-specific rules:
coding-standards.mdtesting.mdtooling.md
- Add detection logic in
lib/language-detector.js - Add tests in
__tests__/lib/language-detector.test.js - Run tests to verify:
npm test - Test with a project in that language
License
MIT License - See LICENSE file for details.
Changelog
1.10.0
- Improved Package Update Flow - Streamlined updates and session management
- Made "replace existing" the default option during package updates (no backups)
- Added
--yes/-yflag for non-interactive setup and updates - Fixed hooks format in settings.json for new Claude Code hooks API
- Enhanced session-start hook with current task detection from todo.md
- Added
/statusslash command for on-demand session info display - Improved visual formatting in session hooks with better banners
- Updated help documentation with non-interactive mode examples
1.8.1
- Removed Redundant Code - Cleanup and optimization release
- Removed duplicate provider-specific rules folders (7,248 lines deleted)
- Removed unused
.claude/rules/setup code - Single source of truth for all rules in
.dev/rules/ - All providers consistently reference
.dev/rules/
1.8.0
- Claude Code Hooks System - Comprehensive hook implementation
- Added
session-start.js- Loads context and displays session info - Added
session-end.js- Auto-commits todos and tracks statistics - Added
user-prompt-submit.js- Validates and enhances prompts (optional) - Hooks located in
templates/claude/hooks/→.claude/hooks/ - Updated
settings.jsonto reference.claude/hooks/
- Added
- Hook Testing - 25 new tests for hook functionality
- session-start.test.js (8 tests)
- session-end.test.js (8 tests)
- user-prompt-submit.test.js (12 tests)
- Test suite expanded from 53 to 78 tests
1.3.0
- Added Migration Support - Graceful handling of existing AI configurations
- Detects existing .claude/, .cursorrules, .kilocode/, .roo/ configurations
- Offers 4 migration options: supersede, preserve, replace, or skip
- Automatically moves existing files to .local/ directories
- Creates timestamped backups when replacing configurations
- Special handling for .cursorrules single-file migration
- Added Comprehensive Test Suite - Enterprise-grade testing infrastructure
- 53+ tests following SOLID principles and best practices
- AAA pattern (Arrange, Act, Assert) throughout
- Mock utilities for file system operations
- 100% coverage on language-detector module
- Jest configuration with coverage thresholds
- Dependency injection for testability
- Refactored for Testability - Extracted pure functions
- Created lib/language-detector.js module
- Applied dependency injection pattern
- Improved code maintainability
- Updated .gitignore recommendations to include backup directories and test coverage
1.2.0
- Added
.dev/Developer Workspace - Personal workspace auto-loaded into AI contextarchitecture.md- Auto-generated project overview (structure, technologies, patterns)todo.md- Personal task list with markdown checkboxes- Automatically loaded by all AI tools (Claude Code, Cursor, Kilo Code, Roo Code)
- Provides immediate project context for AI assistants
- Updated all AI tool configurations to load
.dev/files on session start - Enhanced project analysis for better architecture.md generation
- Added framework detection (Next.js, React, Express, NestJS, etc.)
- Updated .gitignore recommendations to include
.dev/
1.1.0
- Added "Select All" option for tool selection
- Added
updatecommand for updating existing configurations - Switched to managed copies for consistency
- Added
.local/directories for project-specific customizations - Base rules treated as managed sources (edit via .local overrides)
- Auto-generate README.md in
.local/directories with instructions - Renamed package from
ai-dev-standardstoai-dotfiles-manager - Enhanced Windows support with junctions (no admin required for directories)
- Added Kilo Code support with comprehensive rule templates
- Added Roo Code support with comprehensive rule templates
- Added
reviewcommand for automated architecture violation detection - Enhanced setup wizard to support 4 AI tools
- Added TypeScript AST-based code analysis
- Updated documentation for managed-copies workflow
1.0.0
- Initial release
- Clean Architecture rules
- TypeScript conventions
- Testing guidelines
- Code generation patterns
- Slash commands for Claude Code
- Cursor support
- Interactive setup tool
- Global installation support
Support
For issues, questions, or suggestions:
- Create an issue in the repository
- Check the documentation
- Contact the development team
