AlignTrue
Instantly sync rules across agents, people, projects and teams. Start in 60 seconds.
Write rules once in markdown. Sync everywhere. Stay aligned.
- Solo developers: Keep your personal AI rules consistent across projects and machines.
- Teams: Shared rule sets with version control, CI validation, and drift detection.
Why AlignTrue
- Write once, sync everywhere - One markdown file generates agent-specific formats for 28+ AI coding tools
- 60-second setup - Auto-detects your agents and creates starter rules in under a minute
- Two-way sync - In solo mode, auto-pull keeps IR and agent files in sync. Manually pull changes in team mode to keep collaborators aligned.
Quickstart
1. Initialize
npx aligntrue init→ Auto-detects agents, imports rules, or creates AGENTS.md starter template
2. Align
aligntrue sync→ Pushes rules to all configured agents (Cursor, AGENTS.md, VS Code, etc.)
Result: .cursor/rules/aligntrue.mdc, AGENTS.md, .vscode/mcp.json, and more - all from one source.
Read the Quickstart Guide for detailed instructions.
Features
- Auto-detection - Finds Cursor, Copilot, Claude, VS Code, and 25+ other agents automatically
- Two-way sync - Edit markdown or agent files; AlignTrue keeps them aligned
- 28+ agents supported - Comprehensive coverage through 43 specialized exporters
- Agent-optimized formats - Native .mdc for Cursor, AGENTS.md for universals, MCP configs, and more
- Local-first - No cloud required; works offline and in CI
- Team mode - Optional lockfiles, bundles, and drift detection for teams
Broad agent support
AlignTrue supports 28+ AI coding agents through 43 specialized exporters:
Popular agents:
- Cursor (.mdc files)
- GitHub Copilot (AGENTS.md)
- Claude (AGENTS.md + CLAUDE.md)
- Aider (AGENTS.md + .aider.conf.yml)
- Windsurf (AGENTS.md + MCP config)
- VS Code MCP agents
- Amazon Q, Firebase Studio, OpenHands, Zed, and 20+ more
Coverage:
- 43 total exporters supporting 28+ agents
- 8 MCP configurations for protocol-based agents
- 15 unique format exporters for agent-specific formats
- 11 universal format agents using AGENTS.md
- 9 dual-output agents with both universal + specific formats
View full agent compatibility matrix →
How it works
- Write rules in
AGENTS.mdor any agent format (no YAML required) - Run sync - AlignTrue updates internal IR and syncs to all configured agents
- Agent-specific exports - Each agent gets its native format (.mdc, .json, .yml, etc.)
- Stay aligned - Edit agent files; sync keeps everything consistent
Common workflows
Solo developer (default):
aligntrue init # One-time setup
aligntrue sync # Update agents when rules changeTeam mode (opt-in):
aligntrue lock # Pin rule versions
aligntrue check # Validate in CITwo-way sync:
- Edit
AGENTS.mdor agent files → sync to other agents (default) - Auto-pull enabled for
primary_agentby default
See workflows guide for details.
Optional verification:
aligntrue sync --dry-run # Preview changes
aligntrue sync --no-auto-pull # Disable auto-pull for this sync
aligntrue check # Validate rules (great for CI)Who is this for?
Solo developers: Keep your personal AI rules consistent across projects and machines
Teams: Shared rule sets with version control, CI validation, and drift detection
Key concepts
- Quickstart - Get AlignTrue running in 60 seconds
- Customization - Plugs, overlays, and scopes for fork-safe customization
- Team Mode - Collaboration features for teams
- Sync Behavior - How two-way sync works
- Drift Detection - Track alignment changes over time
- Git Workflows - Pull and share rules via git
- Examples - Browse 11 curated rule packs
Reference
- CLI Commands - Complete command reference
- Import Workflow - Migrate from existing agent configs
- Troubleshooting - Common issues and solutions
- Privacy Controls - Network consent and telemetry
Contributing
Want to contribute? Check out the guides:
- Getting Started - Set up your development environment
- Creating Packs - Author and publish rule packs
- Adding Exporters - Add support for new agents
Development
Setting up AlignTrue for local development:
- Setup - Prerequisites and installation
- Workspace - Monorepo structure and packages
- Commands - Development commands and scripts
- Architecture - Key architectural concepts
Learn more
- GitHub repository
- Examples - Browse 11 curated rule packs
- Security policy
Support
License
MIT (see LICENSE )