๐ŸŽฏ

leanspec-sdd

๐ŸŽฏSkill

from codervisor/lean-spec

VibeIndex|
What it does

Generates and manages lightweight, AI-friendly software design documents (specs) to improve development speed and code quality through focused, iterative specification.

๐Ÿ“ฆ

Part of

codervisor/lean-spec(5 items)

leanspec-sdd

Installation

npxRun with npx
npx lean-spec init --example dark-theme
pnpmRun with pnpm
pnpm install
pnpmRun with pnpm
pnpm dev:desktop
pnpmRun with pnpm
pnpm install # Install dependencies
pnpmRun with pnpm
pnpm dev # Start dev mode (UI + Core)

+ 3 more commands

Claude Desktop ConfigurationAdd this to your claude_desktop_config.json
{ "mcpServers": { "lean-spec": { "command": "npx", "args": ["@leanspec/mcp...
๐Ÿ“– Extracted from docs: codervisor/lean-spec
3Installs
-
AddedFeb 4, 2026

Skill Details

SKILL.md

Overview

# LeanSpec

LeanSpec Logo

CI Status

npm version

npm downloads

License

Documentation

โ€ข

ไธญๆ–‡ๆ–‡ๆกฃ

โ€ข

Live Examples

โ€ข

Tutorials

---

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 | Native Tauri shell with tray + shortcuts (pnpm dev:desktop) |

Kanban Board View

---

Requirements

Runtime

  • Node.js: >= 20.0.0
  • pnpm: >= 10.0.0 (preferred package manager)

Development

  • Node.js: >= 20.0.0
  • Rust: >= 1.70 (for building CLI/MCP/HTTP binaries)
  • pnpm: >= 10.0.0

Quick Check:

```bash

node --version # Should be v20.0.0 or higher

pnpm --version # Should be 10.0.0 or higher

rustc --version # Should be 1.70 or higher (dev only)

```

---

Desktop App

The @leanspec/desktop package wraps the Vite UI (@leanspec/ui) in a lightweight Tauri shell for local, multi-project workflows backed by Rust commands:

```bash

# Launch the desktop shell with hot reload

pnpm install

pnpm dev:desktop

# Produce signed installers + embedded UI bundle

pnpm build:desktop

```

Key capabilities:

  • Frameless window with custom title bar + native controls
  • Global shortcuts (Cmd/Ctrl+Shift+L to toggle, Cmd/Ctrl+Shift+K to open the project switcher, Cmd/Ctrl+Shift+N to add a spec)
  • Shared project registry + native folder picker backed by ~/.lean-spec/projects.json
  • System tray with recent projects, background notifications, and update checks
  • Embedded Vite static build + Rust HTTP server for offline packaging (macOS .dmg, Windows .msi/.exe, Linux .AppImage/.deb/.rpm)

See [packages/desktop/README.md](packages/desktop/README.md) for configuration details.

---

Developer Workflow

Common development tasks using pnpm:

```bash

# Development

pnpm install # Install dependencies

pnpm build # Build all packages

pnpm dev # Start dev mode (UI + Core)

pnpm dev:web # UI only

pnpm dev:cli # CLI only

pnpm dev:desktop # Desktop app

# Testing

pnpm test # Run all tests

pnpm test:ui # Tests with UI

pnpm test:coverage # Coverage report

pnpm typecheck # Type check all packages

# Rust

pnpm rust:build # Build Rust packages (release)

pnpm rust:build:dev # Build Rust (dev, faster)

pnpm rust:test # Run Rust tests

pnpm rust:check # Quick Rust check

pnpm rust:clippy # Rust linting

pnpm rust:fmt # Format Rust code

# CLI (run locally)

pnpm cli board # Show spec board

pnpm cli list # List specs

pnpm cli create my-feat # Create new spec

pnpm cli validate # Validate specs

# Documentation

pnpm docs:dev # Start docs site

pnpm docs:build # Build docs

# Release

pnpm pre-release # Run all pre-release checks

pnpm prepare-publish # Prepare for npm publish

pnpm restore-packages # Restore after publish

```

See [package.json](package.json) for all available scripts.

---

Documentation

๐Ÿ“– [Full Documentation](https://www.lean-spec.dev) ยท [CLI Reference](https://www.lean-spec.dev/docs/reference/cli) ยท [First Principles](https://www.lean-spec.dev/docs/advanced/first-principles) ยท [FAQ](https://www.lean-spec.dev/docs/faq) ยท [ไธญๆ–‡ๆ–‡ๆกฃ](https://www.lean-spec.dev/zh-Hans/)

Community

๐Ÿ’ฌ [Discussions](https://github.com/codervisor/lean-spec/discussions) ยท ๐Ÿ› [Issues](https://github.com/codervisor/lean-spec/issues) ยท ๐Ÿค [Contributing](CONTRIBUTING.md) ยท ๐Ÿ“‹ [Changelog](CHANGELOG.md) ยท ๐Ÿ“„ [LICENSE](LICENSE)

---

Contact Me | ่”็ณปๆˆ‘

If you find LeanSpec helpful, feel free to add me on WeChat (note "LeanSpec") to join the discussion group.

ๅฆ‚ๆžœๆ‚จ่ง‰ๅพ— LeanSpec ๅฏนๆ‚จๆœ‰ๅธฎๅŠฉ๏ผŒๆฌข่ฟŽๆทปๅŠ ๅพฎไฟก๏ผˆๅค‡ๆณจ "LeanSpec"๏ผ‰ๅŠ ๅ…ฅไบคๆต็พคใ€‚