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
Details
Related Skills
More coding & development skills you might like
Reticle
Coding & DevelopmentAI agents can generate code, but still struggle to understand what they build. Reticle brings Jev-style machine-native runtime perception to web & desktop applications.
๐คclaude๐universal
1.2k
190
View
agentscope-java
Coding & DevelopmentExpert Java developer skill for AgentScope Java framework - a reactive, message-driven multi-agent system built on Project Reactor. Use when working with reactive programming, LLM integration, agent orchestration, multi-agent systems, or when the user mentions AgentScope, ReActAgent, Mono/Flux, Project Reactor, or Java agent development. Specializes in non-blocking code, tool integration, hooks, pipelines, and production-ready agent applications.
๐universal
6.0k
1.5k
View
ospec
Coding & DevelopmentDocument-driven OSpec workflow for initialization, change/goal routing, validation, archiving, and durable project knowledge.
โจgemini๐คclaude๐ฌgpt๐universal
524
34
View
misakanet-failure-memory
Coding & Development๐ A zero-dependency, git-backed micro-lesson library for AI Agents to asynchronously share and search verified debugging experience. Python stdlib only. | https://misakanet.org
๐คclaudeโจ๏ธcursor๐universal
424
158
View