Coding & Developmentโœจgemini๐Ÿค–claudeโŒจ๏ธcursor๐ŸŒŠwindsurf๐ŸŒuniversal

LeanSpec

Lightweight, flexible Spec-Driven Development (SDD) for modern AI-powered development

Quick Start

Install this Skill

npx skills add codervisor/lean-spec
# LeanSpec

<p align="center">
  <img src="https://github.com/codervisor/lean-spec-docs/blob/main/static/img/logo-with-bg.svg" alt="LeanSpec Logo" width="120" height="120">
</p>

<p align="center">
  <a href="https://github.com/codervisor/lean-spec/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/codervisor/lean-spec/ci.yml?branch=main" alt="CI Status"></a>
  <a href="https://www.npmjs.com/package/lean-spec"><img src="https://img.shields.io/npm/v/lean-spec.svg" alt="npm version"></a>
  <a href="https://www.npmjs.com/package/lean-spec"><img src="https://img.shields.io/npm/dm/lean-spec.svg" alt="npm downloads"></a>
  <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="License"></a>
</p>

<p align="center">
  <a href="https://www.lean-spec.dev"><strong>Documentation</strong></a>
  โ€ข
  <a href="https://www.lean-spec.dev/zh-Hans/docs/guide/"><strong>ไธญๆ–‡ๆ–‡ๆกฃ</strong></a>
  โ€ข
  <a href="https://web.lean-spec.dev"><strong>Live Examples</strong></a>
  โ€ข
  <a href="https://www.lean-spec.dev/docs/tutorials/first-spec-with-ai"><strong>Tutorials</strong></a>
</p>

---

**Ship faster with higher quality. Lean specs that both humans and AI understand.**

LeanSpec brings agile principles to SDD (Spec-Driven Development)โ€”small, focused documents (<2,000 tokens) that keep you and your AI aligned.

---

## Quick Start

```bash
# Try with a tutorial project
npx lean-spec init --example dark-theme
cd dark-theme && npm install && npm start

# Or add to your existing project
npm install -g lean-spec && lean-spec init
```

**Visualize your project:**

```bash
lean-spec board    # Kanban view
lean-spec stats    # Project metrics
lean-spec ui       # Web UI at localhost:3000
```

**Next:** [Your First Spec with AI](https://www.lean-spec.dev/docs/tutorials/first-spec-with-ai) (10 min tutorial)

---

## Why LeanSpec?

**High velocity + High quality.** Other SDD frameworks add process overhead (multi-step workflows, rigid templates). Vibe coding is fast but chaotic (no shared understanding). LeanSpec hits the sweet spot:

- **Fast iteration** - Living documents that grow with your code
- **AI performance** - Small specs = better AI output (context rot is real)
- **Always current** - Lightweight enough that you actually update them

๐Ÿ“– [Compare with Spec Kit, OpenSpec, Kiro โ†’](https://www.lean-spec.dev/docs/guide/why-leanspec)

---

## AI Integration

Works with any AI coding assistant via MCP or CLI:

```json
{
  "mcpServers": {
    "lean-spec": { "command": "npx", "args": ["@leanspec/mcp"] }
  }
}
```

**Compatible with:** VS Code Copilot, Claude Code, Gemini CLI, Cursor, Windsurf, Kiro CLI, Kimi CLI, Qodo CLI, Amp, Trae Agent, Qwen Code, Droid, and more.

๐Ÿ“– [Full AI integration guide โ†’](https://www.lean-spec.dev/docs/guide/usage/ai-coding-workflow)

---

## Agent Skills

Teach your AI assistant the Spec-Driven Development methodology:

```bash
# Recommended (uses skills.sh)
lean-spec skill install

# Or directly via skills.sh
npx skills add codervisor/lean-spec -y
```

This installs the **leanspec-sdd** skill which teaches AI agents:
- When to create specs vs. implement directly
- How to discover existing specs before creating new ones
- Best practices for context economy and progressive disclosure
- Complete SDD workflow (Discover โ†’ Design โ†’ Implement โ†’ Validate)

**Compatible with:** Claude Code, Cursor, Windsurf, GitHub Copilot, and other [Agent Skills](https://skills.sh/) compatible tools.

๐Ÿ“– [View skill documentation โ†’](skills/leanspec-sdd/SKILL.md)

---

## Features

| Feature             | Description                                                                                       |
| ------------------- | ------------------------------------------------------------------------------------------------- |
| **๐Ÿ“Š Kanban Board**  | `lean-spec board` - visual project tracking                                                       |
| **๐Ÿ” Smart Search**  | `lean-spec search` - find specs by content or metadata                                            |
| **๐Ÿ”— Dependencies**  | Track spec relationships with `depends_on` and `related`                                          |
| **๐ŸŽจ Web UI**        | `lean-spec ui` - browser-based dashboard                                                          |
| **๐Ÿ“ˆ Project Stats** | `lean-spec stats` - health metrics and bottleneck detection                                       |
| **๐Ÿค– AI-Native**     | MCP server + CLI for AI assistants                                                                |
| **๐Ÿ–ฅ๏ธ Desktop App**   | Desktop app repo: [codervisor/lean-spec-desktop](https://github.com/codervisor/lean-spec-desktop) |

<p align="center">
  <img src="https://github.com/codervisor/lean-spec-docs/blob/main/static/img/ui/ui-board-view.png" alt="Kanban Board View" width="800">
</p>

---

## Requirements

### Runtime
- **Node.js**: `>= 20.0.0`
- **pnpm**: `>= 10.0.0` (preferred package manager)

### Development


... (truncated)
Repository
186stars
13forks
View on GitHub
Details
DiscoveredMar 1, 2026
Last UpdatedMar 1, 2026
Quality Score
58/100