Standardize your AI-driven development workflow in minutes.
Cairel generates consistent, project-specific configurations for AI coding assistants like kiro-cli and Amazon Q Developer, eliminating manual setup and ensuring best practices across your projects.
The Problem: Developers manually copy/paste AI assistant rules and configurations between projects, leading to:
- β Inconsistent AI behavior across projects
- β Time wasted on repetitive setup
- β Outdated or incomplete rule sets
- β No standardization across teams
The Solution: Cairel provides:
- β 23 curated, battle-tested rules for AI assistants
- β Interactive wizard for project-specific configuration
- β Automatic MCP server detection and setup
- β Support for multiple AI tools (kiro-cli, Amazon Q Developer)
- β Customizable rule selection with review step
npm install -g cairelcd your-project
cairel initπ Cairel - AI Development Initialization
? How would you like to configure your project?
β― Quick Setup (High-level, recommended)
Detailed Setup (Granular control)
Custom (Select specific rules)
? What type of project is this? UI (Frontend)
? Primary language? TypeScript
? Framework? React
? Use Git for version control? Yes
? Which AI tool(s) will you use? kiro-cli
β Found 5 MCP server(s)
? Select MCP servers to configure:
β amazon-q-history (/home/user/mcp-servers/amazon-q-history)
β gpt (/home/user/mcp-servers/gpt)
β― web-scraper (/home/user/mcp-servers/web-scraper)
? Would you like to review and customize the rules? (y/N)
Cairel creates a complete AI configuration in your project:
For kiro-cli:
.kiro/
βββ agents/
β βββ dev-agent.json # AI agent configuration
βββ steering/
βββ context-retrieval.md
βββ implementation-approval.md
βββ typescript-validation.md
βββ component-structure.md
βββ git-management.md
βββ ... (more rules based on your project)
For Amazon Q Developer:
.amazonq/
βββ cli-agents/
β βββ dev-agent.json
βββ rules/
βββ ... (same rules as above)
Quick Setup (Recommended)
- 6 simple questions
- Automatic rule selection based on your stack
- Perfect for most projects
Detailed Setup
- 12 questions for fine-grained control
- Configure testing, linting, UI libraries, package managers
- Ideal for complex projects
Custom Mode
- Select specific rules from all 17 available
- Full control over your configuration
- Great for specialized workflows
Before generating files, optionally review and customize:
- See all selected rules with descriptions
- Toggle rules on/off with checkboxes
- Ensure you get exactly what you need
Cairel automatically detects installed MCP servers:
- amazon-q-history (session tracking)
- gpt (ChatGPT integration)
- web-scraper (web testing)
- cypress (E2E testing)
- chakra-ui (component reference)
General (6 rules)
- Context retrieval & token optimization
- Implementation approval protocol
- Package manager safety
- Semantic versioning
- ESLint configuration
- Package.json management
TypeScript (4 rules)
- TypeScript validation
- Component structure
- React props destructuring
- Absolute imports
Git (1 rule)
- Git management & commit standards
UI (5 rules)
- Visual verification
- Mock data strategy
- Icon usage patterns
- Chakra UI v3 integration
- GlueStack UI v1 integration
Backend (1 rule)
- Multi-environment management
cairel init
# Select: Quick Setup β UI β TypeScript β React β Yes (Git) β kiro-cliGenerated rules: context-retrieval, implementation-approval, typescript-validation, component-structure, react-props-destructuring, git-management, visual-verification, mock-data-strategy, package-manager-safety, package-json-management, absolute-imports
cairel init
# Select: Quick Setup β Backend β Python β FastAPI β Yes (Git) β Amazon QGenerated rules: context-retrieval, implementation-approval, git-management
cairel init
# Select: Custom β Select specific rules β Choose only what you needInitialize AI configuration for your project.
Options:
- Interactive wizard guides you through setup
- Generates agent configuration and rules
- Detects and configures MCP servers
Show path to Cairel's project initialization template.
Use this with kiro-cli to set up comprehensive project documentation:
cairel bootstrap
# Copy the output and paste into kiro-cliUpdate existing configuration with new rules or settings.
Features:
- Backs up existing files
- Preserves custom rules
- Selective updates (rules only, agents only, or both)
Validate rule files and agent configurations.
cairel validate # Validate all
cairel validate path/to/rule.md # Validate specific file
cairel validate --rules # Validate rules only
cairel validate --agents # Validate agents onlyList all available rules and their descriptions.
cairel list # Show all
cairel list --rules # Rules only
cairel list --category typescript # Filter by category- kiro-cli: Creates
.kiro/directory structure - Amazon Q Developer: Creates
.amazonq/directory structure - Both: Creates both directory structures
- TypeScript
- JavaScript
- Python
- Go
- Lua
Frontend:
- React
- React Native
- Next.js
- Vue
Backend:
- Express
- Fastify
- NestJS
- Flask
- Django
- FastAPI
- Gin
- Echo
- Fiber
- Chi
Most projects work great with Quick Setup. You can always run cairel update later.
Use the optional review step to understand what rules will be applied.
Don't hesitate to use Custom mode for specialized projects.
Run cairel update periodically to get improved rules.
Commit the generated .kiro/ or .amazonq/ directories to your repository.
Cairel looks for MCP servers in:
/home/user/mcp-servers/~/.mcp-servers/./node_modules/@mcp/
If your servers aren't detected, you can still configure them manually in the generated dev-agent.json.
- Validate your configuration:
cairel validate - Check rule descriptions:
cairel list - Review the generated files in
.kiro/steering/or.amazonq/rules/
Run cairel update to modify your existing setup without losing custom changes.
For developers and advanced users:
- Architecture - System design and components
- Development Plan - Stage-based implementation
- Progress - Development history and status
- Testing - Test suite and coverage
- Quick Reference - Technical quick reference
- Future Vision - carm package manager concept
Contributions are welcome! Please see our contributing guidelines for details.
- Submit new rules - Share your AI assistant best practices
- Report bugs - Help us improve reliability
- Suggest features - Tell us what you need
- Improve documentation - Make Cairel easier to use
MIT Β© JMRMEDEV
- Issues: GitHub Issues
- Discussions: GitHub Discussions
Rules and patterns abstracted from real-world AI-driven development projects using kiro-cli and Amazon Q Developer.
Made with β€οΈ for the AI-driven development community