Skip to main content

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 --> 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 should be filled with useful information as you work through your development cycles. This will be picked up by GSD-Lean phases /gsd-lean:discuss and /gsd-lean:plan. Example:

## Constraints

- (none yet)

## Notes

- Use skills `/ai-sdk` (.claude/skills/ai-sdk/SKILL.md) and `/mastra` (.claude/skills/mastra/SKILL.md) when working on agentic features
- Use skill `/vercel-react-best-practices` (.claude/skills/vercel-react-best-practices/SKILL.md) when working on React and Next.js applications
- If env variables are introduced in a development cycle, remember to include them in `.env.example`

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.

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 /plan phases 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.md contains 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gsd_lean-0.8.1.tar.gz (136.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gsd_lean-0.8.1-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

Details for the file gsd_lean-0.8.1.tar.gz.

File metadata

  • Download URL: gsd_lean-0.8.1.tar.gz
  • Upload date:
  • Size: 136.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gsd_lean-0.8.1.tar.gz
Algorithm Hash digest
SHA256 1d5bfb813b40e59c7663e3e5132959db13b375a4d42d0472f03f17c12d05c705
MD5 f3559db3196884b631b045c87a763698
BLAKE2b-256 55f321fd4d74ee859ca1e1d397ca6846ac0b7cad79d0589050661ef1c87179db

See more details on using hashes here.

Provenance

The following attestation bundles were made for gsd_lean-0.8.1.tar.gz:

Publisher: ci.yml on Bifurcate-Loops/gsd-lean

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gsd_lean-0.8.1-py3-none-any.whl.

File metadata

  • Download URL: gsd_lean-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 22.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gsd_lean-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 93376c2c87abf1e0218f488ee76831605ec656d12475dc9ff75f4bf6c19bc772
MD5 7e9a70cd9618a5b2bdfc578a4e305ae9
BLAKE2b-256 8d2ba4e594ee184964e66fb5aad21706ad8d848c29a29dfc8814038def9a2105

See more details on using hashes here.

Provenance

The following attestation bundles were made for gsd_lean-0.8.1-py3-none-any.whl:

Publisher: ci.yml on Bifurcate-Loops/gsd-lean

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page