An open API service indexing awesome lists of open source software.

https://github.com/entro314-labs/vdk-cli

The world's first Vibe Development Kit - Train any AI coding assistant to understand your project like a senior developer who's been on your team for years.
https://github.com/entro314-labs/vdk-cli

ai-rule automation claude-code cli code-analysis context-aware cursor developer-tools github-copilot productivity slash-commands vdk vibe-coding vibe-development-kit vibecoding vscode windsurf

Last synced: about 1 month ago
JSON representation

The world's first Vibe Development Kit - Train any AI coding assistant to understand your project like a senior developer who's been on your team for years.

Awesome Lists containing this project

README

          

# VibeKit VDK CLI

![NPM](https://img.shields.io/badge/NPM-%23CB3837.svg?style=for-the-badge&logo=npm&logoColor=white)
![NodeJS](https://img.shields.io/badge/node.js-6DA55F?style=for-the-badge&logo=node.js&logoColor=white)
![TypeScript](https://img.shields.io/badge/typescript-%23007ACC.svg?style=for-the-badge&logo=typescript&logoColor=white)
![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=for-the-badge)

[![npm version](https://img.shields.io/npm/v/@vibe-dev-kit/cli?style=flat-square&logo=npm)](https://www.npmjs.com/package/@vibe-dev-kit/cli)
[![Downloads](https://img.shields.io/npm/dm/@vibe-dev-kit/cli?style=flat-square&logo=npm)](https://www.npmjs.com/package/@vibe-dev-kit/cli)
[![GitHub Repo stars](https://img.shields.io/github/stars/entro314-labs/VibeKit-VDK-CLI?style=flat-square&logo=github)](https://github.com/entro314-labs/VibeKit-VDK-CLI)

**Stop Training Your AI Assistant Every Day**

The world's first Vibe Development Kit - Train any AI coding assistant to understand your project like a senior developer who's been on your team for years.

VDK CLI revolutionizes AI-assisted development by generating intelligent rules that make AI suggestions 60% faster and perfectly matched to your codebase patterns. This tool helps developers create project-aware AI assistants and provides seamless integration across all major coding platforms.

## Demo

### Interactive Setup & Features

![VDK CLI Interactive Demo](docs/media/demo-interactive.gif)

### Quick Start Workflow

![VDK CLI Quick Demo](docs/media/demo-quick-real.gif)

## Features

**Intelligent Project Analysis**
Automatically detects 20+ technologies, frameworks, and architectural patterns in your codebase

**Universal AI Compatibility**
Works with 33+ IDEs and AI tools: Claude Code, Cursor, VS Code variants, Windsurf, all JetBrains IDEs, Zed, GitHub Copilot, and more

**Smart Rule Generation**
Creates tailored MDC files with project-specific patterns, conventions, and best practices

**5-Minute Setup**
Zero configuration required - instant value with automatic project detection and rule deployment

## Quick Start

### Installation

```bash
# Install globally
npm install -g @vibe-dev-kit/cli

# Or use with pnpm
pnpm add -g @vibe-dev-kit/cli

# Or use the installer script
curl -fsSL https://raw.githubusercontent.com/entro314-labs/VibeKit-VDK-CLI/main/install.sh | sh
```

### Basic Usage

```bash
# Initialize in your project
cd your-project
vdk init

# Interactive mode with guided setup
vdk init --interactive

# Check what VDK detected
vdk status
```

That's it! Your AI assistant now understands your project's patterns and conventions.

## How It Works

1. **Project Analysis**: Scans your codebase to detect technologies, frameworks, and architectural patterns
2. **Pattern Recognition**: Identifies naming conventions, code structures, and project-specific practices
3. **Rule Generation**: Creates customized MDC files with intelligent guidelines for your tech stack
4. **AI Integration**: Deploys rules to your preferred AI assistant's configuration directory

## Migration System

VDK CLI includes intelligent migration capabilities to convert your existing AI contexts from various platforms to VDK's universal format:

### Supported Migration Sources
- **Claude Code** - CLAUDE.md files and .claude/ directories
- **Cursor** - .cursorrules and .cursor/ configurations
- **GitHub Copilot** - .github/copilot-instructions.md and related files
- **Windsurf** - .windsurf/ rules and configurations
- **Generic AI** - Various AI assistant rule formats

### Migration Process
1. **Detection**: Automatically identifies existing AI contexts in your project
2. **Analysis**: Evaluates confidence levels and categorizes found contexts
3. **Conversion**: Transforms contexts to VDK blueprint format with project-specific adaptations
4. **Organization**: Creates structured migration output in `vdk-migration/` folder
5. **Integration**: Optionally deploys converted rules to your configured AI assistants

### Migration Commands
```bash
# Migrate existing AI contexts
vdk migrate

# Preview what would be migrated (no files created)
vdk migrate --dry-run

# Migrate without deploying to IDE integrations
vdk migrate --no-deploy

# Check for existing AI contexts before migrating
vdk status
```

The migration system leverages VDK's existing architecture (scanners, adapters, generators) to ensure converted rules maintain the same quality and project-awareness as newly generated ones.

## Supported Technologies

**Frontend Frameworks**
![React](https://img.shields.io/badge/react-%2320232a.svg?style=flat&logo=react&logoColor=%2361DAFB)
![Vue.js](https://img.shields.io/badge/vuejs-%2335495e.svg?style=flat&logo=vuedotjs&logoColor=%234FC08D)
![Angular](https://img.shields.io/badge/angular-%23DD0031.svg?style=flat&logo=angular&logoColor=white)
![Next JS](https://img.shields.io/badge/Next-black?style=flat&logo=next.js&logoColor=white)
![TailwindCSS](https://img.shields.io/badge/tailwindcss-%2338B2AC.svg?style=flat&logo=tailwind-css&logoColor=white)

**Backend & Languages**
![NodeJS](https://img.shields.io/badge/node.js-6DA55F?style=flat&logo=node.js&logoColor=white)
![Express.js](https://img.shields.io/badge/express.js-%23404d59.svg?style=flat&logo=express&logoColor=%2361DAFB)
![Python](https://img.shields.io/badge/python-3670A0?style=flat&logo=python&logoColor=ffdd54)
![TypeScript](https://img.shields.io/badge/typescript-%23007ACC.svg?style=flat&logo=typescript&logoColor=white)
![Go](https://img.shields.io/badge/go-%2300ADD8.svg?style=flat&logo=go&logoColor=white)

**IDEs & AI Assistants**
![Claude](https://img.shields.io/badge/Claude-000000?style=flat&logo=anthropic&logoColor=white)
![Cursor](https://img.shields.io/badge/Cursor-000000?style=flat&logo=cursor&logoColor=white)
![VS Code](https://img.shields.io/badge/VS%20Code-0078d4.svg?style=flat&logo=visual-studio-code&logoColor=white)
![JetBrains](https://img.shields.io/badge/JetBrains-black.svg?style=flat&logo=jetbrains&logoColor=white)
![Zed](https://img.shields.io/badge/Zed-084CCF?style=flat&logo=zed&logoColor=white)
![Windsurf](https://img.shields.io/badge/Windsurf-1E293B?style=flat&logoColor=white)
![GitHub Copilot](https://img.shields.io/badge/github%20copilot-000000?style=flat&logo=githubcopilot&logoColor=white)

**Build Tools & Services**
![Vite](https://img.shields.io/badge/vite-%23646CFF.svg?style=flat&logo=vite&logoColor=white)
![Webpack](https://img.shields.io/badge/webpack-%238DD6F9.svg?style=flat&logo=webpack&logoColor=black)
![PNPM](https://img.shields.io/badge/pnpm-%234a4a4a.svg?style=flat&logo=pnpm&logoColor=f69220)
![Supabase](https://img.shields.io/badge/Supabase-3ECF8E?style=flat&logo=supabase&logoColor=white)
![Prisma](https://img.shields.io/badge/Prisma-3982CE?style=flat&logo=Prisma&logoColor=white)

## Core Commands

```bash
# Project initialization
vdk init # Initialize with auto-detection
vdk init --interactive # Interactive setup with guided choices

# Migration
vdk migrate # Migrate existing AI contexts to VDK format
vdk migrate --dry-run # Preview migration without creating files
vdk migrate --no-deploy # Skip deployment to IDE integrations

# Analysis and status
vdk scan # Re-analyze project and update rules
vdk status # Check current VDK configuration
vdk validate # Validate generated rules

# Utilities
vdk --help # Show all available commands
vdk --version # Display VDK CLI version
```

## Supported IDEs & AI Tools

VDK CLI supports **33+ IDEs and AI assistants** with full auto-detection and configuration:

- **Code Editors**: VS Code, VS Code Insiders, VSCodium, Cursor AI, Windsurf, Windsurf Next, Zed Editor
- **JetBrains IDEs**: IntelliJ IDEA, WebStorm, PyCharm, PHPStorm, RubyMine, CLion, DataGrip, GoLand, Rider, Android Studio
- **AI Services**: Claude Code, Claude Desktop, GitHub Copilot, OpenAI API Tools, Generic AI Platform
- **Generic**: Works with any AI coding assistant through universal .ai/ configuration

✨ **Enhanced Features**:
- Individual JetBrains IDE detection with project-specific configurations
- MCP (Model Context Protocol) integration across compatible platforms
- Confidence-based IDE detection with intelligent project analysis
- Automatic rule directory creation and management

📖 **[Complete IDE Support List](./SUPPORTED_IDES_AND_AI_TOOLS.md)** - Exhaustive list with configuration details, MCP support status, and integration features.

## Configuration

VDK CLI automatically generates configuration files for your detected AI assistants:

```json
{
"project": {
"name": "my-nextjs-app",
"type": "web-application",
"frameworks": ["nextjs", "react", "typescript"],
"libraries": ["tailwindcss", "shadcn-ui"]
},
"integrations": {
"claude-code": {
"enabled": true,
"memoryFiles": ["CLAUDE.md", "CLAUDE-patterns.md"]
},
"cursor": {
"enabled": true,
"rulesDirectory": ".ai/rules/"
}
}
}
```

## Examples

### Basic Project Setup

```bash
# Navigate to your project
cd my-nextjs-app

# Initialize VDK
vdk init

# VDK detects: Next.js, React, TypeScript, Tailwind CSS
# Generates: .ai/rules/ with 15+ tailored rules
# Configures: Claude Code memory files
```

### Interactive Setup

```bash
# Interactive mode for custom configuration
vdk init --interactive

# Choose your AI assistants:
# ✓ Claude Code
# ✓ Cursor
# ✗ Windsurf
# ✗ GitHub Copilot

# Generates optimized rules for selected platforms
```

### Migration Example

```bash
# Project with existing AI contexts
cd my-existing-project

# Check what AI contexts are detected
vdk status
# Found: CLAUDE.md, .cursorrules, .github/copilot-instructions.md

# Preview migration without creating files
vdk migrate --dry-run
# Would migrate: 3 contexts with high confidence

# Perform migration
vdk migrate
# Migrated: 3 contexts → 15+ VDK blueprints in vdk-migration/
# Deployed: Rules to Claude Code, Cursor integrations
```

### Advanced Usage

```bash
# Re-analyze after adding new dependencies
npm install prisma
vdk scan

# Check what VDK detected
vdk status

# Validate all generated rules
vdk validate
```

## Real Impact

Teams using VDK CLI v2.0 report:

- **60% faster** initial AI suggestions with enhanced technology detection
- **85% more relevant** code completions with framework-specific rules
- **40% fewer** back-and-forth clarifications through precise context
- **90% consistency** in code patterns across team members
- **100% accuracy** in package manager and build tool detection

## Documentation

- **[Getting Started Guide](./docs/Getting-Started-Guide.md)** - Complete setup instructions
- **[Supported IDEs & AI Tools](./SUPPORTED_IDES_AND_AI_TOOLS.md)** - Complete compatibility list
- **[CLI Reference](./docs/CLI-Reference.md)** - All commands and options
- **[Rule Authoring Guide](./docs/Rule-Authoring-Guide.md)** - Create custom rules
- **[Troubleshooting Guide](./docs/Troubleshooting-Guide.md)** - Common issues and solutions
- **[Scanner Documentation](./src/scanner/README.md)** - Technical scanner details

## Contributing

We welcome contributions! Please see our [Contributing Guide](./CONTRIBUTING.md) for details.

- [Report bugs](https://github.com/entro314-labs/VibeKit-VDK-CLI/issues)
- [Request features](https://github.com/entro314-labs/VibeKit-VDK-CLI/issues)
- [Improve documentation](./docs/)
- [Submit pull requests](https://github.com/entro314-labs/VibeKit-VDK-CLI/pulls)

## Roadmap

- [x] **v2.0** - Enhanced technology detection, improved AI integrations
- [x] **v2.9** - AI context migration system with multi-platform support
- [ ] **v2.2** - VDK Hub integration for cloud-based rule management
- [ ] **v2.3** - Visual Studio Code extension for seamless IDE integration
- [ ] **v3.0** - Team collaboration features and shared rule repositories

## Requirements

- **Node.js**: >= 22.0.0
- **npm**: >= 8.0.0 or **pnpm** >= 7.0.0
- **Operating System**: Windows, macOS, Linux

## License

MIT License - see the [LICENSE](LICENSE) file for details.

### Project Evolution & Attribution

VDK CLI is the evolution of a rich history of AI-assisted development tooling:

- **Original DevRules** by [Seth Rose](https://github.com/TheSethRose) - Established the foundational concept of structured AI assistant rules
- **AIRules** - Major enhancement adding 51+ specialized tasks, memory management, and multi-platform support
- **VibeKit VDK** - The current evolution, a comprehensive toolkit for making AI assistants project-aware

For detailed history and contributions, see [Project History & Attribution](docs/Project-History-Attribution.md).

## Support

- **GitHub**: [Issues & Feature Requests](https://github.com/entro314-labs/VibeKit-VDK-CLI/issues)
- **Documentation**: [Complete Docs](./docs/)
- **Community**: [VDK Hub](https://vdk.tools)
- **Email**: For enterprise support inquiries

---

**Made with ❤️ by the VibeKit VDK community**

[GitHub](https://github.com/entro314-labs/VibeKit-VDK-CLI) • [Documentation](./docs/) • [VDK Hub](https://vdk.tools) • [NPM](https://www.npmjs.com/package/@vibe-dev-kit/cli)