My/Pref/Dev/AI/Config/Management
My Dev Tool Preferences - AI/Coding/Config Management - use rulesync
- I use Rulesync to manage AI coding tool configurations across my projects.
- For the project instruction-file choice and Windows portability, see My/Pref/Dev/AI/Config/Management/Use AGENTS.md Without Symlinks.
- This allows me to maintain consistent rules and settings across different AI tools while keeping everything in version control.
only use rulesync to manage AI coding tool configurations
do not directly edit any individual agentic coding tool config (
.cursor,.claude, etc) instead, update rulesyncuse
rulesync.jsoncfor project defaults- generate for
agentsskills,claudecode,codexcli; see My/Pref/Dev/AI/Config/Management/Rulesync for rationale
- generate for
Kebab-case filenames
Category Organization with Prefixes
For now, commit generated AI/Coding/Configs
- git/hooks can keep outputs current after checkout and merge. My dotfiles already use this; see My/Pref/Dev/AI/Config/Management/Rulesync. Keeping generated files in version control also makes them available where those hooks do not run.
Workflow
rulesync.jsoncConfiguration FileRule File Structure
Directory Structure
Example File Organization
rulesync Commands
- bash
# Initialize rulesync mise x -- rulesync init # Import from existing tools mise x -- rulesync import --targets claudecode --features rules,mcp,commands,subagents # Generate using rulesync.jsonc mise x -- rulesync generate # Generate with overrides mise x -- rulesync generate --targets cursor,claudecode --features rules,mcp