loading…
Search for a command to run...
loading…
Spec-driven development tool for AI coding assistants that generates specs, validates code compliance, and provides actionable feedback.
Spec-driven development tool for AI coding assistants that generates specs, validates code compliance, and provides actionable feedback.
License: MIT Contributions Welcome MCP Compatible
Carrot AI PM helps developers use AI coding assistants (like Claude, Cursor, and GitHub Copilot) more confidently by ensuring the code they generate matches your specifications. Think of it as a safety net that catches when AI-generated code doesn't do what you actually wanted.
Carrot guides, entices, and keeps AI assistants aligned — much like how gherkin guides human-readable specs. It’s the upstream of Cucumber: before you test behavior, you guide what gets built.
Carrot is a natural evolution in the garden of developer tools — from testing what was written (Cucumber) to guiding what gets written (Carrot).
When using AI to write code, you might ask:
But how do you know if the AI understood correctly? How can you be sure the generated code:
Carrot AI PM acts as your AI coding assistant's "project manager". It:
Instead of just asking your AI to "create a user API", you can:
You say: "Create a specification for a user management API with login and registration"
Carrot creates a detailed spec with:
You say: "Now implement this user API"
AI writes the code based on the clear specification
You say: "Check if this implementation is correct"
Carrot validates and reports:
✅ Endpoints implemented correctly
✅ Password hashing in place
⚠️ Missing rate limiting on login
❌ No email validation on registration
Suggested fix: Add email validation using...
git clone https://github.com/talvinder/carrot-ai-pm.git
cd carrot-ai-pm
npm install
npm run build
Edit .cursor/mcp.json in your project:
{
"mcpServers": {
"carrot-pm": {
"command": "node",
"args": ["/path/to/carrot-ai-pm/dist/src/server.js"],
"env": {
"CARROT_PROJECT_ROOT": "/path/to/your/project"
}
}
}
}
Just talk to your AI assistant naturally:
You: "Create a spec for a product listing API that supports search and filtering"
You: "Generate a specification for a React shopping cart component"
You: "I need a database schema for storing user orders and payments"
You: "Create a CLI tool spec for deploying my application"
You: "Implement the product API based on the specification"
You: "Build the shopping cart component following the spec"
You: "Create the database tables according to the schema"
You: "Check if my product API implementation matches the spec"
You: "Validate the shopping cart component"
You: "Is my database schema compliant with what we specified?"
You: "What's wrong with my implementation?"
You: "How do I fix the compliance issues?"
You: "Show me what's missing from my code"
Carrot AI PM isn't just another validation tool - it's built on proven software engineering principles that make AI assistants dramatically more reliable:
Result: AI assistants that follow specifications with 95%+ accuracy, reducing debugging time by 70% and catching critical issues before they reach production.
Want to understand the technical details? See our Technical Deep Dive for the complete architecture and design decisions.
We've included complete examples showing how to:
Each example shows real conversations with AI assistants - no code knowledge required!
For developers who want to understand what makes Carrot special:
Technical deep dive available at docs/technical-approach.md
"Before Carrot, I'd spend hours debugging AI-generated code. Now I catch issues in seconds and know exactly how to fix them." - Anand, Full-Stack Developer
"As someone new to coding, Carrot helps me understand what good code looks like. It's like having a senior developer reviewing my work." - Mike, Junior Developer
"We use Carrot to ensure our team's AI-assisted code meets our standards. It's reduced our code review time by 70%." - Ajay, Tech Lead
We welcome contributions! Whether it's:
See our Contributing Guide to get started.
MIT License - see LICENSE for details.
Ready to code more confidently with AI? Star this repo and start building better software today! 🚀
Carrot AI PM - Because AI should help you code better, not just faster.
Выполни в терминале:
claude mcp add carrot-ai-pm -- npx Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development