codetie - A CLI tool for managing AI-powered IDE configurations and rules.
ATTENTION: This is brand new. untested and under heavy dev! ❗❗❗
- 🤖 Multi-IDE Support - Works with popular AI-powered code editors
- 🎯 Standardized Rules - Consistent AI behavior across different editors
- 🔄 Easy Migration - Switch between IDEs while keeping your AI configurations
- 📦 Pre-configured Templates - Best practices for each supported IDE
- 🛠️ Customizable - Extend and modify rules for your needs
- 🚀 Quick Setup - Initialize IDE configurations with a single command
- Cursor - Uses
.cursor/rules
for AI assistance configuration - Windsurf - Uses
.windsurfrules
for code generation settings - Cline - Custom instructions for the Cline AI assistant
- GitHub Copilot -
.github/copilot-instructions.md
for personalized suggestions
- Initialize configuration for your preferred IDE:
# Use default IDE (cursor)
npx codetie@latest init
# Or specify an IDE
npx codetie@latest init --ide <ide-name>
# Available IDE options: cursor, windsurf, cline, copilot
- The tool will:
- Create the appropriate configuration directory
- Add recommended AI rules and settings
- Preserve existing configurations (with --force option to override)
npx codetie@latest init --ide cursor
Creates .cursor/rules
with optimized settings for:
- Code style consistency
- Project-specific conventions
- Documentation standards
- Testing patterns
npx codetie@latest init --ide windsurf
Creates .windsurfrules
with:
- Code generation preferences
- Project structure guidelines
- Best practices for your stack
npx codetie@latest init --ide cline
Sets up Cline-specific configurations for:
- Custom AI instructions
- Code completion preferences
- Project-specific rules
npx codetie@latest init --ide copilot
Creates .github/copilot-instructions.md
with:
- Repository-specific guidelines
- Code style preferences
- Documentation requirements
npx codetie@latest init [options]
Options:
--ide IDE to initialize configuration for (cursor, windsurf, cline, copilot)
Default: cursor
--force Override existing files without prompting (default: false)
--help, -h Display help for command
Each IDE's configuration follows its own standard format:
project/
├── .cursor/ # Cursor AI configuration
│ └── rules/
├── .windsurfrules # Windsurf configuration
├── .github/ # GitHub Copilot configuration
│ └── copilot-instructions.md
└── ...
Contributions are welcome! Feel free to:
- Add support for new IDEs
- Improve existing configurations
- Share best practices
- Report issues
See CONTRIBUTING.md for guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.
- X/Twitter: @kregenrek
- Bluesky: @kevinkern.dev
- AI Prompts - Curated AI Prompts for various AI-powered IDEs
- codefetch - Turn code into Markdown for LLMs
- aidex - CLI tool for AI language model information