From 8750e94d10429e0e83d2a26bf2c73d00cfc15db1 Mon Sep 17 00:00:00 2001 From: Manfred Riem <15701806+mnriem@users.noreply.github.com> Date: Fri, 24 Apr 2026 10:06:39 -0500 Subject: [PATCH] docs(presets): add lean preset README and enrich catalog metadata (#2340) * docs(presets): add lean preset README and enrich catalog metadata - Add README.md documenting the lean workflow preset, its commands, when to use it, and development instructions. - Add license, requires.speckit_version, and provides.commands fields to the lean preset catalog entry. - Add "core" tag to preset.yml for discoverability. * fix: bump catalog updated_at and add provides.templates for consistency Address PR review feedback: - Bump updated_at to reflect catalog modification time - Add provides.templates (0) to lean preset entry for consistency with catalog schema used in catalog.community.json --- presets/catalog.json | 10 ++++++++- presets/lean/README.md | 45 +++++++++++++++++++++++++++++++++++++++++ presets/lean/preset.yml | 1 + 3 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 presets/lean/README.md diff --git a/presets/catalog.json b/presets/catalog.json index 5650092ba..f27261792 100644 --- a/presets/catalog.json +++ b/presets/catalog.json @@ -1,6 +1,6 @@ { "schema_version": "1.0", - "updated_at": "2026-04-10T00:00:00Z", + "updated_at": "2026-04-24T00:00:00Z", "catalog_url": "https://raw.githubusercontent.com/github/spec-kit/main/presets/catalog.json", "presets": { "lean": { @@ -10,7 +10,15 @@ "description": "Minimal core workflow commands - just the prompt, just the artifact", "author": "github", "repository": "https://github.com/github/spec-kit", + "license": "MIT", "bundled": true, + "requires": { + "speckit_version": ">=0.6.0" + }, + "provides": { + "commands": 5, + "templates": 0 + }, "tags": [ "lean", "minimal", diff --git a/presets/lean/README.md b/presets/lean/README.md new file mode 100644 index 000000000..ab17257f9 --- /dev/null +++ b/presets/lean/README.md @@ -0,0 +1,45 @@ +# Lean Workflow + +A minimal preset that strips the Spec Kit workflow down to its essentials — just the prompt, just the artifact. + +## When to Use + +Use Lean when you want the structured specify → plan → tasks → implement pipeline without the ceremony of the full templates. Each command produces a single focused Markdown file with no boilerplate sections to fill in. + +## Commands Included + +| Command | Output | Description | +|---------|--------|-------------| +| `speckit.specify` | `spec.md` | Create a specification from a feature description | +| `speckit.plan` | `plan.md` | Create an implementation plan from the spec | +| `speckit.tasks` | `tasks.md` | Create dependency-ordered tasks from spec and plan | +| `speckit.implement` | *(code)* | Execute all tasks in order, marking progress | +| `speckit.constitution` | `constitution.md` | Create or update the project constitution | + +## What It Replaces + +Lean overrides the five core workflow commands with self-contained prompts that produce each artifact directly — no separate template files involved. The result is a shorter, more direct workflow. + +## Installation + +```bash +# Lean is a bundled preset — no download needed +specify preset add lean +``` + +## Development + +```bash +# Test from local directory +specify preset add --dev ./presets/lean + +# Verify commands resolve +specify preset resolve speckit.specify + +# Remove when done +specify preset remove lean +``` + +## License + +MIT diff --git a/presets/lean/preset.yml b/presets/lean/preset.yml index eae84928c..973b3b731 100644 --- a/presets/lean/preset.yml +++ b/presets/lean/preset.yml @@ -48,3 +48,4 @@ tags: - "lean" - "minimal" - "workflow" + - "core"