Lightweight meta-prompting and spec-driven development plugin for Claude Code
Project description
GSD-Lean
A lightweight reimplementation of Get-Shit-Done — a complement to the original GSD system
What is GSD?
GSD is a meta-prompting, context engineering, and spec-driven development system for Claude Code. It solves context rot by breaking projects into phases with fresh contexts per task, using a discuss → plan → execute → verify loop. Written in JavaScript.
What is GSD-Lean?
A Python reimplementation of GSD's core ideas as a lightweight plugin. Rather than the full system, GSD-Lean focuses on being minimal and easy to extend.
Status: Early development.
How It Works
GSD-Lean guides development through a 6-phase workflow:
stateDiagram-v2
[*] --> init : gsd-lean init
init --> discuss : project initialized
discuss --> plan : requirements populated
plan --> discuss : plan rejected
plan --> execute : plan verified
execute --> plan : revise plan
execute --> verify
verify --> execute : tasks remaining
verify --> complete : all tasks done
complete --> discuss : new cycle
complete --> init : re-initialize
| Phase | What Happens |
|---|---|
| init | Project scaffolded; tech stack auto-detected; PROJECT.md, CONTEXT.md, STATE.md created |
| discuss | Research subagent investigates codebase + web; user preferences probed; REQUIREMENTS.md and DECISIONS.md populated |
| plan | Requirements decomposed into tasks (T-NNN) in PLAN.md; plan-review subagent verifies completeness |
| execute | Tasks implemented one by one, status tracked in PLAN.md |
| verify | Lint, typecheck, tests run against task verification criteria |
| complete | Summary generated, cycle can restart |
Each phase is driven by a skill (/init, /discuss, /plan, /execute, /verify, /complete) that calls CLI commands (gsd-lean init, gsd-lean transition, gsd-lean plan-status) to manage state.
See PROJECT_KNOWLEDGE.md for detailed architecture — transitions, preconditions, subagents, and CLI reference.
Quick Start
0. Install plugin
Add the Bifurcate Loops marketplace, then install GSD-Lean:
/plugin marketplace add Bifurcate-Loops/bifurcate-plugins
/plugin install gsd-lean@bifurcate-plugins
1. Initialize project
/gsd-lean:init
Scaffolds the project. Claude asks clarifying questions, then writes PROJECT.md and CONTEXT.md.
Sections "Constraints" and "Notes" in PROJECT.md are read by GSD-Lean phases and injected into subagent prompts.
Constraints are mandatory rules. Prefix with [phase] to target specific phases. Untagged constraints apply to all phases.
## Constraints
- [execute] After writing `.luau` files, run `rojo sourcemap default.project.json -o sourcemap.json`
- [plan] For each development cycle, always include a last task running the `code-simplifier` subagent
- [execute][verify] If env variables are introduced, update `.env.example`
- When writing `.luau` files, run `rojo sourcemap ...`
Valid tags: [discuss], [plan], [execute], [verify]. Multiple tags allowed (e.g., [execute][verify]).
Notes are informational context injected into all phases. No phase tags needed.
## Notes
- We're migrating from REST to GraphQL next quarter — prefer GraphQL patterns where possible
- The auth module is owned by team-security; changes there need extra review
- Performance budget: no endpoint should exceed 200ms p95
2. Discuss
/gsd-lean:discuss Add user authentication with OAuth
Claude explores the codebase and web, probes for preferences, and populates REQUIREMENTS.md and DECISIONS.md.
3. Plan
/gsd-lean:plan
Decomposes requirements into structured tasks (T-NNN) in PLAN.md.
4. Execute
/gsd-lean:execute
Implements tasks sequentially — one per invocation. If requirements change mid-execution, re-invoke /plan to revise the plan while preserving task progress.
5. Verify & Complete
/gsd-lean:verify
/gsd-lean:complete
/verify runs verification against task criteria. /complete generates a summary and optionally starts a new cycle.
Caveats
- Run each GSD-Lean phase in a new Claude Code session. The
/init,/discuss, and/planphases enter Plan Mode; when prompted to accept, select Yes, auto-accept edits — do not select "Yes, clear context and auto-accept edits (shift+tab)", as that erases internal context and causes GSD-Lean to lose track. - If your project's
CLAUDE.mdcontains development workflow instructions (e.g. branching strategy, commit conventions, test-before-push rules), these can conflict with GSD-Lean's phased development cycle. Remove or comment out such instructions before running GSD-Lean.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gsd_lean-0.14.0.tar.gz.
File metadata
- Download URL: gsd_lean-0.14.0.tar.gz
- Upload date:
- Size: 200.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b47f81d3b0bc02349d104951d9abb5365d124d2bc9d75b2ed8c8071a0ff81cc5
|
|
| MD5 |
bd0ef2cf4b6a5357bdc12c18aba27521
|
|
| BLAKE2b-256 |
3ad6aeaf1336c49e3cff44cbe9106f3f320b7fe4ad3b1db1041a9640d5207997
|
Provenance
The following attestation bundles were made for gsd_lean-0.14.0.tar.gz:
Publisher:
ci.yml on Bifurcate-Loops/gsd-lean
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gsd_lean-0.14.0.tar.gz -
Subject digest:
b47f81d3b0bc02349d104951d9abb5365d124d2bc9d75b2ed8c8071a0ff81cc5 - Sigstore transparency entry: 1234314411
- Sigstore integration time:
-
Permalink:
Bifurcate-Loops/gsd-lean@d3e6206d4e89172c6a2a0130a93303c3801b9f9c -
Branch / Tag:
refs/tags/v0.14.0 - Owner: https://github.com/Bifurcate-Loops
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@d3e6206d4e89172c6a2a0130a93303c3801b9f9c -
Trigger Event:
push
-
Statement type:
File details
Details for the file gsd_lean-0.14.0-py3-none-any.whl.
File metadata
- Download URL: gsd_lean-0.14.0-py3-none-any.whl
- Upload date:
- Size: 23.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc8d8b5836e43a1266ca486f4c57bea0641b6bd37ccb5c10cf60c610f4cd9308
|
|
| MD5 |
83224e8f919b0a883aba8b41eb0552af
|
|
| BLAKE2b-256 |
4912900f66626197b725b31594758f4dba4e67c1902930169ffed24d55edf7fb
|
Provenance
The following attestation bundles were made for gsd_lean-0.14.0-py3-none-any.whl:
Publisher:
ci.yml on Bifurcate-Loops/gsd-lean
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gsd_lean-0.14.0-py3-none-any.whl -
Subject digest:
dc8d8b5836e43a1266ca486f4c57bea0641b6bd37ccb5c10cf60c610f4cd9308 - Sigstore transparency entry: 1234314502
- Sigstore integration time:
-
Permalink:
Bifurcate-Loops/gsd-lean@d3e6206d4e89172c6a2a0130a93303c3801b9f9c -
Branch / Tag:
refs/tags/v0.14.0 - Owner: https://github.com/Bifurcate-Loops
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@d3e6206d4e89172c6a2a0130a93303c3801b9f9c -
Trigger Event:
push
-
Statement type: