@pdlc-os/pdlc 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/commands/brainstorm.md +14 -2
- package/.claude/commands/build.md +17 -5
- package/.claude/commands/init.md +22 -1
- package/CLAUDE.md +1 -1
- package/README.md +38 -3
- package/package.json +1 -1
- /package/skills/{reflect.md → reflect/SKILL.md} +0 -0
- /package/skills/{repo-scan.md → repo-scan/SKILL.md} +0 -0
- /package/skills/{review.md → review/SKILL.md} +0 -0
- /package/skills/{safety-guardrails.md → safety-guardrails/SKILL.md} +0 -0
- /package/skills/{ship.md → ship/SKILL.md} +0 -0
- /package/skills/{tdd.md → tdd/SKILL.md} +0 -0
- /package/skills/{test.md → test/SKILL.md} +0 -0
|
@@ -345,9 +345,21 @@ Append to Phase History:
|
|
|
345
345
|
> - PRD: `docs/pdlc/prds/PRD_[feature-name]_[YYYY-MM-DD].md`
|
|
346
346
|
> - Design: `docs/pdlc/design/[feature-name]/`
|
|
347
347
|
> - Plan: `docs/pdlc/prds/plans/plan_[feature-name]_[YYYY-MM-DD].md`
|
|
348
|
-
> - Beads tasks created: [N]
|
|
348
|
+
> - Beads tasks created: [N]"
|
|
349
|
+
|
|
350
|
+
Then immediately ask:
|
|
351
|
+
|
|
352
|
+
> "Would you like to move to Construction and start building `[feature-name]` now?
|
|
349
353
|
>
|
|
350
|
-
>
|
|
354
|
+
> - Say **yes** to begin immediately
|
|
355
|
+
> - Or type `/pdlc build` at any time to start manually"
|
|
356
|
+
|
|
357
|
+
**If the user responds with "yes", "y", "sure", "go ahead", or any clear affirmative**:
|
|
358
|
+
→ Immediately begin executing the `/pdlc build` flow without waiting for the user to type the command.
|
|
359
|
+
|
|
360
|
+
**If the user responds with "no", "not yet", "later", or any deferral**:
|
|
361
|
+
→ Acknowledge and stop:
|
|
362
|
+
> "No problem. When you're ready, run `/pdlc build` to begin Construction."
|
|
351
363
|
|
|
352
364
|
---
|
|
353
365
|
|
|
@@ -139,7 +139,7 @@ If the user chose **B**: proceed as a single focused sub-agent.
|
|
|
139
139
|
|
|
140
140
|
### Step 9 — TDD: Build the task
|
|
141
141
|
|
|
142
|
-
Follow the TDD protocol from `skills/tdd.md` exactly. The key steps:
|
|
142
|
+
Follow the TDD protocol from `skills/tdd/SKILL.md` exactly. The key steps:
|
|
143
143
|
|
|
144
144
|
**9a. Read the task context:**
|
|
145
145
|
- Run `bd show [task-id]` to get the full task with acceptance criteria
|
|
@@ -214,7 +214,7 @@ Once `bd ready` is empty (all tasks complete):
|
|
|
214
214
|
|
|
215
215
|
### Step 12 — Run the review protocol
|
|
216
216
|
|
|
217
|
-
Follow `skills/review.md` exactly.
|
|
217
|
+
Follow `skills/review/SKILL.md` exactly.
|
|
218
218
|
|
|
219
219
|
**Context to load:**
|
|
220
220
|
- The full list of tasks completed (from Phase History in STATE.md)
|
|
@@ -276,7 +276,7 @@ Update `docs/pdlc/memory/STATE.md`:
|
|
|
276
276
|
|
|
277
277
|
### Step 15 — Run each test layer
|
|
278
278
|
|
|
279
|
-
Run the test layers per `skills/test.md` (when available). Check CONSTITUTION.md §7 for which gates are required.
|
|
279
|
+
Run the test layers per `skills/test/SKILL.md` (when available). Check CONSTITUTION.md §7 for which gates are required.
|
|
280
280
|
|
|
281
281
|
Run each layer in this order:
|
|
282
282
|
|
|
@@ -367,9 +367,21 @@ Append to Phase History:
|
|
|
367
367
|
>
|
|
368
368
|
> - All [N] tasks done in Beads
|
|
369
369
|
> - Review approved: `docs/pdlc/reviews/REVIEW_[feature-name]_[YYYY-MM-DD].md`
|
|
370
|
-
> - Episode draft: `docs/pdlc/memory/episodes/[NNN]_[feature-name]_[YYYY-MM-DD].md`
|
|
370
|
+
> - Episode draft ready: `docs/pdlc/memory/episodes/[NNN]_[feature-name]_[YYYY-MM-DD].md`"
|
|
371
|
+
|
|
372
|
+
Then immediately ask:
|
|
373
|
+
|
|
374
|
+
> "Would you like to move to Operation and ship `[feature-name]` now?
|
|
371
375
|
>
|
|
372
|
-
>
|
|
376
|
+
> - Say **yes** to begin immediately
|
|
377
|
+
> - Or type `/pdlc ship` at any time to start manually"
|
|
378
|
+
|
|
379
|
+
**If the user responds with "yes", "y", "sure", "go ahead", or any clear affirmative**:
|
|
380
|
+
→ Immediately begin executing the `/pdlc ship` flow without waiting for the user to type the command.
|
|
381
|
+
|
|
382
|
+
**If the user responds with "no", "not yet", "later", or any deferral**:
|
|
383
|
+
→ Acknowledge and stop:
|
|
384
|
+
> "No problem. The episode draft is ready for your review. Run `/pdlc ship` when you're ready to deploy."
|
|
373
385
|
|
|
374
386
|
---
|
|
375
387
|
|
package/.claude/commands/init.md
CHANGED
|
@@ -56,7 +56,7 @@ For a brownfield project, tell the user:
|
|
|
56
56
|
> - **Yes** — I'll analyse the codebase and pre-populate your memory files. You'll review and approve my findings before anything is written.
|
|
57
57
|
> - **No** — We'll continue with the standard Socratic questions and blank templates."
|
|
58
58
|
|
|
59
|
-
**If the user says yes:** run the full `skills/repo-scan.md` protocol now. The repo scan will:
|
|
59
|
+
**If the user says yes:** run the full `skills/repo-scan/SKILL.md` protocol now. The repo scan will:
|
|
60
60
|
1. Map the repo structure and read key files
|
|
61
61
|
2. Synthesise findings into a structured summary
|
|
62
62
|
3. Present the summary for your review and approval
|
|
@@ -365,6 +365,27 @@ Replace counts (e.g. `[N] decisions`) with actual numbers from the scan.
|
|
|
365
365
|
|
|
366
366
|
---
|
|
367
367
|
|
|
368
|
+
## Step 10 — Prompt for next phase
|
|
369
|
+
|
|
370
|
+
After printing the initialization summary, ask the user:
|
|
371
|
+
|
|
372
|
+
> "Would you like to start Inception now and brainstorm your first feature?
|
|
373
|
+
>
|
|
374
|
+
> - Say **yes** (or provide a feature name) to begin immediately
|
|
375
|
+
> - Or type `/pdlc brainstorm <feature-name>` at any time to start manually"
|
|
376
|
+
|
|
377
|
+
**If the user responds with "yes", "y", "sure", "go ahead", or any clear affirmative** (with or without a feature name):
|
|
378
|
+
→ Ask "What feature would you like to start with?" if no feature name was given, then immediately begin executing the `/pdlc brainstorm` flow.
|
|
379
|
+
|
|
380
|
+
**If the user provides a feature name directly** (e.g. "yes, user-auth" or just "user-auth"):
|
|
381
|
+
→ Immediately begin executing `/pdlc brainstorm user-auth` without any further prompting.
|
|
382
|
+
|
|
383
|
+
**If the user responds with "no", "not yet", "later", or any deferral**:
|
|
384
|
+
→ Acknowledge and stop:
|
|
385
|
+
> "No problem. When you're ready, run `/pdlc brainstorm <feature-name>` to start Inception."
|
|
386
|
+
|
|
387
|
+
---
|
|
388
|
+
|
|
368
389
|
## Safety notes
|
|
369
390
|
|
|
370
391
|
- This command is safe to run only once. If `docs/pdlc/memory/CONSTITUTION.md` already exists, warn the user: "PDLC appears to already be initialized (docs/pdlc/memory/CONSTITUTION.md exists). Re-running init will overwrite the memory files. Are you sure? (yes/no)" — wait for confirmation before proceeding.
|
package/CLAUDE.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# PDLC — Product Development Lifecycle
|
|
2
2
|
|
|
3
|
-
You are operating within the PDLC (Product Development Lifecycle) framework, a structured Claude Code plugin designed for small startup teams (2–5 engineers). PDLC guides every feature from raw idea through shipping and retrospective across four phases: Initialization, Inception, Construction, and Operation. The framework combines methodology discipline (TDD, systematic debugging, subagent reviews), specialist agent roles, context-rot prevention, spec-driven execution, and file-based persistent memory. Every session begins by reading `docs/pdlc/memory/STATE.md` to determine where work left off, then resumes automatically from the last checkpoint. All rules, standards, and overrides live in `docs/pdlc/memory/CONSTITUTION.md` — the Constitution always wins.
|
|
3
|
+
You are operating within the PDLC (Product Development Lifecycle) framework, a structured Claude Code plugin designed for small startup-style teams (2–5 engineers). PDLC guides every feature from raw idea through shipping and retrospective across four phases: Initialization, Inception, Construction, and Operation. The framework combines methodology discipline (TDD, systematic debugging, subagent reviews), specialist agent roles, context-rot prevention, spec-driven execution, and file-based persistent memory. Every session begins by reading `docs/pdlc/memory/STATE.md` to determine where work left off, then resumes automatically from the last checkpoint. All rules, standards, and overrides live in `docs/pdlc/memory/CONSTITUTION.md` — the Constitution always wins.
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# PDLC — Product Development Lifecycle
|
|
2
2
|
|
|
3
|
-
A Claude Code plugin that guides small startup teams (2–5 engineers) through the full arc of feature development — from raw idea to shipped, production feature — using structured phases, a named specialist agent team, persistent memory, and safety guardrails.
|
|
3
|
+
A Claude Code plugin that guides small startup-style teams (2–5 engineers) through the full arc of feature development — from raw idea to shipped, production feature — using structured phases, a named specialist agent team, persistent memory, and safety guardrails.
|
|
4
4
|
|
|
5
5
|
PDLC combines the best of three Claude Code workflows:
|
|
6
6
|
- **[obra/superpowers](https://github.com/obra/superpowers)** — TDD discipline, systematic debugging, visual brainstorming companion
|
|
@@ -35,14 +35,36 @@ PDLC combines the best of three Claude Code workflows:
|
|
|
35
35
|
npx @pdlc-os/pdlc install
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
### Option B — global install
|
|
38
|
+
### Option B — global npm install
|
|
39
39
|
|
|
40
40
|
```bash
|
|
41
41
|
npm install -g @pdlc-os/pdlc
|
|
42
42
|
pdlc install
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
### Option C — directly from GitHub (always latest)
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
npm install -g pdlc-os/pdlc
|
|
49
|
+
pdlc install
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Pin to a specific release tag:
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
npm install -g pdlc-os/pdlc#v0.1.0
|
|
56
|
+
pdlc install
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### Option D — clone and install
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
git clone https://github.com/pdlc-os/pdlc.git
|
|
63
|
+
cd pdlc
|
|
64
|
+
node bin/pdlc.js install
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
All options register PDLC's hooks and status bar in `~/.claude/settings.json`. Start a new Claude Code session to activate.
|
|
46
68
|
|
|
47
69
|
### Verify installation
|
|
48
70
|
|
|
@@ -59,7 +81,11 @@ npx @pdlc-os/pdlc uninstall
|
|
|
59
81
|
### Keep up to date
|
|
60
82
|
|
|
61
83
|
```bash
|
|
84
|
+
# From npm
|
|
62
85
|
npx @pdlc-os/pdlc@latest install
|
|
86
|
+
|
|
87
|
+
# From GitHub (latest main)
|
|
88
|
+
npm install -g pdlc-os/pdlc && pdlc install
|
|
63
89
|
```
|
|
64
90
|
|
|
65
91
|
Re-running `install` is idempotent — it strips old hook paths and re-registers with the current version.
|
|
@@ -233,6 +259,8 @@ All inferred content is clearly marked `(inferred — please verify)` so the tea
|
|
|
233
259
|
|
|
234
260
|
Four sub-phases, each with a human approval gate:
|
|
235
261
|
|
|
262
|
+
At any point during Socratic questioning, type **`skip`** to stop questions and proceed immediately with the information collected so far.
|
|
263
|
+
|
|
236
264
|
| Sub-phase | Output |
|
|
237
265
|
|-----------|--------|
|
|
238
266
|
| **Discover** | Socratic Q&A + external context (web, Figma, Notion, OneDrive) + visual companion |
|
|
@@ -415,6 +443,13 @@ The server shuts down automatically when Inception ends or after 30 minutes of i
|
|
|
415
443
|
|
|
416
444
|
## pdlc-os Marketplace
|
|
417
445
|
|
|
446
|
+
| Resource | URL |
|
|
447
|
+
|----------|-----|
|
|
448
|
+
| GitHub org | https://github.com/pdlc-os |
|
|
449
|
+
| Core package | https://www.npmjs.com/package/@pdlc-os/pdlc |
|
|
450
|
+
| Registry index | https://github.com/pdlc-os/registry |
|
|
451
|
+
| Contribution guide | https://github.com/pdlc-os/registry/blob/main/CONTRIBUTING.md |
|
|
452
|
+
|
|
418
453
|
The `pdlc-os` GitHub organisation hosts community-contributed extensions that extend PDLC's built-in capabilities. All packages are published under the `@pdlc-os/` npm scope.
|
|
419
454
|
|
|
420
455
|
**What the marketplace hosts:**
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|