You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+25-13Lines changed: 25 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,16 +8,9 @@ This repo **is** the `prd-taskmaster-v2` Claude Code skill — not a consumer of
8
8
9
9
You are working on the **v4 5-phase rewrite** on the `handoff-overhaul` branch — the canonical line. The `master` branch is the obsolete v3 12-step architecture; do not port code from it without checking against the rewrite's intent.
10
10
11
-
## Critical: branch and worktree layout
11
+
## Branch layout
12
12
13
-
This repo has two git worktrees on the same `.git`:
14
-
15
-
| Worktree | Branch | Status |
16
-
|---|---|---|
17
-
|`prd-taskmaster-v2` (folder named "v2" but really v3) |`master`|**Stale.** v3 12-step. Kept only for reference / git history. |
18
-
|`prd-taskmaster-v2-handoff-overhaul` (this folder) |`handoff-overhaul`|**Canonical.** v4 5-phase. All new work happens here. |
19
-
20
-
When in doubt, run `git worktree list`. Never commit v4 work to master.
13
+
The canonical branch is `main`. The `master` branch (`origin/master`) is the obsolete v3 12-step architecture — kept for git history only, do not commit to it. Run `git worktree list` to verify.
21
14
22
15
## v4 architecture: 5-phase pipeline
23
16
@@ -59,7 +52,10 @@ Run `python3 script.py --help` for the current subcommand list. Note: `calc-task
59
52
60
53
## Companion skills
61
54
62
-
`companion-skills/expand-tasks/` ships alongside the main skill (same SKILL.md + script.py codification). It reads `tasks.json` and launches parallel Perplexity research agents per task. Use after PRD parsing, before implementation.
55
+
`companion-skills/` ships alongside the main skill (same SKILL.md + script.py codification pattern):
56
+
57
+
-**`expand-tasks/`** — Reads `tasks.json` and launches parallel Perplexity research agents per task. Use after PRD parsing, before implementation.
58
+
-**`customise-workflow/`** — Post-handoff workflow customisation for the chosen execution mode.
Pipe through `jq` when debugging — never add human-readable output that would break the SKILL.md parsing contract.
88
86
89
-
## Install / update flow
87
+
`preflight` returns a `recommended_action` field with one of: `recover | run_setup | generate_prd | parse_prd | resume | complete` — this is the decision table that replaced ambiguous raw-field interpretation.
88
+
89
+
## Install / update / uninstall flow
90
90
91
91
`install.sh` is the public entry point (`curl | bash`). It clones/updates into `~/.claude/skills/prd-taskmaster-v2/` and supports `--check-update`. The script writes all status output to **stderr** (not stdout) so it remains visible when invoked via a pipe — preserve this when editing logging.
92
92
93
-
When changing install behavior, update `tests/test_install.py` in the same change.
93
+
`uninstall.sh` removes `~/.claude/skills/prd-taskmaster-v2/` and prunes the updates.json entry. It explicitly leaves downstream `.taskmaster/` artifacts untouched. Supports `--yes`, `--dry-run`, `--help`.
94
+
95
+
When changing install/uninstall behavior, update `tests/test_install.py` in the same change.
It also works standalone — input is any goal, output is `prd.md` + `tasks.json` in `.taskmaster/`. When editing handoff behavior, remember both consumers exist: the next pipeline stage (atlas-plan) and a human running the skill on its own.
0 commit comments