pmp-gywd 3.3.0
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/LICENSE +27 -0
- package/README.md +567 -0
- package/bin/install.js +348 -0
- package/commands/gywd/add-phase.md +207 -0
- package/commands/gywd/anticipate.md +271 -0
- package/commands/gywd/bootstrap.md +336 -0
- package/commands/gywd/challenge.md +344 -0
- package/commands/gywd/check-drift.md +144 -0
- package/commands/gywd/complete-milestone.md +106 -0
- package/commands/gywd/consider-issues.md +202 -0
- package/commands/gywd/context.md +93 -0
- package/commands/gywd/create-roadmap.md +115 -0
- package/commands/gywd/deps.md +169 -0
- package/commands/gywd/digest.md +138 -0
- package/commands/gywd/discuss-milestone.md +47 -0
- package/commands/gywd/discuss-phase.md +60 -0
- package/commands/gywd/execute-plan.md +161 -0
- package/commands/gywd/extract-decisions.md +325 -0
- package/commands/gywd/health.md +150 -0
- package/commands/gywd/help.md +556 -0
- package/commands/gywd/history.md +278 -0
- package/commands/gywd/impact.md +317 -0
- package/commands/gywd/init.md +95 -0
- package/commands/gywd/insert-phase.md +227 -0
- package/commands/gywd/list-phase-assumptions.md +50 -0
- package/commands/gywd/map-codebase.md +84 -0
- package/commands/gywd/memory.md +159 -0
- package/commands/gywd/new-milestone.md +59 -0
- package/commands/gywd/new-project.md +315 -0
- package/commands/gywd/pause-work.md +123 -0
- package/commands/gywd/plan-fix.md +205 -0
- package/commands/gywd/plan-phase.md +93 -0
- package/commands/gywd/preview-plan.md +139 -0
- package/commands/gywd/profile.md +363 -0
- package/commands/gywd/progress.md +317 -0
- package/commands/gywd/remove-phase.md +338 -0
- package/commands/gywd/research-phase.md +91 -0
- package/commands/gywd/resume-work.md +40 -0
- package/commands/gywd/rollback.md +179 -0
- package/commands/gywd/status.md +42 -0
- package/commands/gywd/sync-github.md +234 -0
- package/commands/gywd/verify-work.md +71 -0
- package/commands/gywd/why.md +251 -0
- package/docs/COMMANDS.md +722 -0
- package/docs/CONTRIBUTING.md +342 -0
- package/docs/EXAMPLES.md +535 -0
- package/docs/GETTING-STARTED.md +262 -0
- package/docs/README.md +55 -0
- package/docs/RELEASING.md +159 -0
- package/get-your-work-done/core/agent-patterns.md +331 -0
- package/get-your-work-done/core/architecture.md +334 -0
- package/get-your-work-done/core/context-model-schema.json +154 -0
- package/get-your-work-done/core/decisions-schema.json +193 -0
- package/get-your-work-done/core/learning-state-schema.json +133 -0
- package/get-your-work-done/core/profile-schema.json +257 -0
- package/get-your-work-done/references/adaptive-decomposition.md +175 -0
- package/get-your-work-done/references/checkpoints.md +287 -0
- package/get-your-work-done/references/confidence-scoring.md +169 -0
- package/get-your-work-done/references/continuation-format.md +255 -0
- package/get-your-work-done/references/git-integration.md +254 -0
- package/get-your-work-done/references/plan-format.md +428 -0
- package/get-your-work-done/references/principles.md +157 -0
- package/get-your-work-done/references/questioning.md +162 -0
- package/get-your-work-done/references/research-pitfalls.md +215 -0
- package/get-your-work-done/references/scope-estimation.md +172 -0
- package/get-your-work-done/references/tdd.md +263 -0
- package/get-your-work-done/templates/codebase/architecture.md +255 -0
- package/get-your-work-done/templates/codebase/concerns.md +310 -0
- package/get-your-work-done/templates/codebase/conventions.md +307 -0
- package/get-your-work-done/templates/codebase/integrations.md +280 -0
- package/get-your-work-done/templates/codebase/stack.md +186 -0
- package/get-your-work-done/templates/codebase/structure.md +285 -0
- package/get-your-work-done/templates/codebase/testing.md +480 -0
- package/get-your-work-done/templates/config.json +18 -0
- package/get-your-work-done/templates/context.md +161 -0
- package/get-your-work-done/templates/continue-here.md +78 -0
- package/get-your-work-done/templates/discovery.md +146 -0
- package/get-your-work-done/templates/issues.md +32 -0
- package/get-your-work-done/templates/milestone-archive.md +123 -0
- package/get-your-work-done/templates/milestone-context.md +93 -0
- package/get-your-work-done/templates/milestone.md +115 -0
- package/get-your-work-done/templates/phase-prompt.md +303 -0
- package/get-your-work-done/templates/project.md +184 -0
- package/get-your-work-done/templates/research.md +529 -0
- package/get-your-work-done/templates/roadmap.md +196 -0
- package/get-your-work-done/templates/state.md +210 -0
- package/get-your-work-done/templates/summary.md +273 -0
- package/get-your-work-done/templates/uat-issues.md +143 -0
- package/get-your-work-done/workflows/complete-milestone.md +643 -0
- package/get-your-work-done/workflows/create-milestone.md +416 -0
- package/get-your-work-done/workflows/create-roadmap.md +481 -0
- package/get-your-work-done/workflows/discovery-phase.md +293 -0
- package/get-your-work-done/workflows/discuss-milestone.md +236 -0
- package/get-your-work-done/workflows/discuss-phase.md +247 -0
- package/get-your-work-done/workflows/execute-phase.md +1625 -0
- package/get-your-work-done/workflows/list-phase-assumptions.md +178 -0
- package/get-your-work-done/workflows/map-codebase.md +434 -0
- package/get-your-work-done/workflows/plan-phase.md +488 -0
- package/get-your-work-done/workflows/research-phase.md +436 -0
- package/get-your-work-done/workflows/resume-project.md +287 -0
- package/get-your-work-done/workflows/transition.md +580 -0
- package/get-your-work-done/workflows/verify-work.md +202 -0
- package/lib/automation/dependency-analyzer.js +635 -0
- package/lib/automation/doc-generator.js +643 -0
- package/lib/automation/index.js +42 -0
- package/lib/automation/test-generator.js +628 -0
- package/lib/context/context-analyzer.js +554 -0
- package/lib/context/context-cache.js +426 -0
- package/lib/context/context-predictor.js +622 -0
- package/lib/context/index.js +44 -0
- package/lib/memory/confidence-calibrator.js +484 -0
- package/lib/memory/feedback-collector.js +551 -0
- package/lib/memory/global-memory.js +465 -0
- package/lib/memory/index.js +75 -0
- package/lib/memory/pattern-aggregator.js +487 -0
- package/lib/memory/team-sync.js +501 -0
- package/lib/profile/index.js +24 -0
- package/lib/profile/pattern-learner.js +303 -0
- package/lib/profile/profile-manager.js +445 -0
- package/lib/questioning/index.js +49 -0
- package/lib/questioning/question-engine.js +311 -0
- package/lib/questioning/question-templates.js +315 -0
- package/lib/validators/command-validator.js +188 -0
- package/lib/validators/index.js +29 -0
- package/lib/validators/schema-validator.js +183 -0
- package/package.json +61 -0
package/docs/COMMANDS.md
ADDED
|
@@ -0,0 +1,722 @@
|
|
|
1
|
+
# GYWD Command Reference
|
|
2
|
+
|
|
3
|
+
> Complete documentation for all 40 GYWD commands.
|
|
4
|
+
|
|
5
|
+
## Table of Contents
|
|
6
|
+
|
|
7
|
+
- [Daily Workflow](#daily-workflow)
|
|
8
|
+
- [Project Setup](#project-setup)
|
|
9
|
+
- [Planning](#planning)
|
|
10
|
+
- [Execution](#execution)
|
|
11
|
+
- [Understanding Code](#understanding-code)
|
|
12
|
+
- [Analysis](#analysis)
|
|
13
|
+
- [Roadmap & Milestones](#roadmap--milestones)
|
|
14
|
+
- [Memory & Profile](#memory--profile)
|
|
15
|
+
- [Integration](#integration)
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Daily Workflow
|
|
20
|
+
|
|
21
|
+
Commands you'll use every day.
|
|
22
|
+
|
|
23
|
+
### /gywd:status
|
|
24
|
+
|
|
25
|
+
**Show one-line project status.**
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
/gywd:status
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Output:
|
|
32
|
+
```
|
|
33
|
+
PMP-GYWD: Phase 12/18 (api-documentation) • Plan 1/1 • 22% complete
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
### /gywd:progress
|
|
39
|
+
|
|
40
|
+
**See detailed progress and get routed to next action.**
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
/gywd:progress
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Output:
|
|
47
|
+
```
|
|
48
|
+
# PMP-GYWD
|
|
49
|
+
|
|
50
|
+
**Progress:** [██░░░░░░░░] 22% (2/9 phases)
|
|
51
|
+
|
|
52
|
+
## Recent Work
|
|
53
|
+
- Phase 10: README overhaul complete
|
|
54
|
+
- Phase 11: Getting Started guide created
|
|
55
|
+
|
|
56
|
+
## Current Position
|
|
57
|
+
Phase 12 of 18: api-documentation
|
|
58
|
+
Plan: Not started
|
|
59
|
+
|
|
60
|
+
## What's Next
|
|
61
|
+
**Phase 12: api-documentation** — Document all 40 commands
|
|
62
|
+
|
|
63
|
+
▶ /gywd:plan-phase 12
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
### /gywd:resume-work
|
|
69
|
+
|
|
70
|
+
**Restore context from previous session.**
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
/gywd:resume-work
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Loads:
|
|
77
|
+
- Last position from STATE.md
|
|
78
|
+
- Recent decisions and context
|
|
79
|
+
- Any saved handoff notes
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
### /gywd:pause-work
|
|
84
|
+
|
|
85
|
+
**Save state before stopping work.**
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
/gywd:pause-work
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
Creates `.planning/HANDOFF.md` with:
|
|
92
|
+
- Current position
|
|
93
|
+
- What was being worked on
|
|
94
|
+
- Next steps
|
|
95
|
+
- Any blockers
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
## Project Setup
|
|
100
|
+
|
|
101
|
+
Commands for starting new projects or analyzing existing code.
|
|
102
|
+
|
|
103
|
+
### /gywd:new-project
|
|
104
|
+
|
|
105
|
+
**Start a new project with guided interview.**
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
/gywd:new-project
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
GYWD asks about:
|
|
112
|
+
- Problem being solved
|
|
113
|
+
- Target users
|
|
114
|
+
- Core features
|
|
115
|
+
- Technical preferences
|
|
116
|
+
- Quality standards
|
|
117
|
+
|
|
118
|
+
Creates:
|
|
119
|
+
- `.planning/PROJECT.md`
|
|
120
|
+
- `.planning/STATE.md`
|
|
121
|
+
- Developer profile
|
|
122
|
+
|
|
123
|
+
---
|
|
124
|
+
|
|
125
|
+
### /gywd:init
|
|
126
|
+
|
|
127
|
+
**Quick start with minimal questions.**
|
|
128
|
+
|
|
129
|
+
```bash
|
|
130
|
+
/gywd:init <project-name>
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
Example:
|
|
134
|
+
```bash
|
|
135
|
+
/gywd:init habit-tracker
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
Creates basic `.planning/` structure without full interview.
|
|
139
|
+
|
|
140
|
+
---
|
|
141
|
+
|
|
142
|
+
### /gywd:bootstrap
|
|
143
|
+
|
|
144
|
+
**Analyze existing codebase completely.**
|
|
145
|
+
|
|
146
|
+
```bash
|
|
147
|
+
/gywd:bootstrap
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
Creates:
|
|
151
|
+
- `.planning/codebase/STACK.md` — Technologies
|
|
152
|
+
- `.planning/codebase/ARCHITECTURE.md` — Patterns
|
|
153
|
+
- `.planning/codebase/CONVENTIONS.md` — Standards
|
|
154
|
+
- `.planning/codebase/TESTING.md` — Test approach
|
|
155
|
+
- `.planning/core/decisions.json` — Decision graph
|
|
156
|
+
|
|
157
|
+
---
|
|
158
|
+
|
|
159
|
+
### /gywd:map-codebase
|
|
160
|
+
|
|
161
|
+
**Scan and document code structure only.**
|
|
162
|
+
|
|
163
|
+
```bash
|
|
164
|
+
/gywd:map-codebase
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
Lighter than bootstrap — creates codebase docs without decision extraction.
|
|
168
|
+
|
|
169
|
+
---
|
|
170
|
+
|
|
171
|
+
### /gywd:create-roadmap
|
|
172
|
+
|
|
173
|
+
**Generate phase breakdown for project.**
|
|
174
|
+
|
|
175
|
+
```bash
|
|
176
|
+
/gywd:create-roadmap
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
Creates `.planning/ROADMAP.md` with:
|
|
180
|
+
- Milestone overview
|
|
181
|
+
- Phase breakdown
|
|
182
|
+
- Dependencies between phases
|
|
183
|
+
|
|
184
|
+
---
|
|
185
|
+
|
|
186
|
+
## Planning
|
|
187
|
+
|
|
188
|
+
Commands for planning work before execution.
|
|
189
|
+
|
|
190
|
+
### /gywd:plan-phase
|
|
191
|
+
|
|
192
|
+
**Create detailed task plan for a phase.**
|
|
193
|
+
|
|
194
|
+
```bash
|
|
195
|
+
/gywd:plan-phase [N]
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
Example:
|
|
199
|
+
```bash
|
|
200
|
+
/gywd:plan-phase 3
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
Creates `.planning/phases/03-*/03-01-PLAN.md` with:
|
|
204
|
+
- Objective
|
|
205
|
+
- Tasks with actions
|
|
206
|
+
- Verification steps
|
|
207
|
+
- Success criteria
|
|
208
|
+
|
|
209
|
+
---
|
|
210
|
+
|
|
211
|
+
### /gywd:discuss-phase
|
|
212
|
+
|
|
213
|
+
**Clarify requirements before planning.**
|
|
214
|
+
|
|
215
|
+
```bash
|
|
216
|
+
/gywd:discuss-phase [N]
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
Interactive session to:
|
|
220
|
+
- Understand phase goals
|
|
221
|
+
- Identify unknowns
|
|
222
|
+
- Gather context
|
|
223
|
+
|
|
224
|
+
Creates `{phase}-CONTEXT.md` for reference during planning.
|
|
225
|
+
|
|
226
|
+
---
|
|
227
|
+
|
|
228
|
+
### /gywd:research-phase
|
|
229
|
+
|
|
230
|
+
**Investigate unknowns before planning.**
|
|
231
|
+
|
|
232
|
+
```bash
|
|
233
|
+
/gywd:research-phase [N]
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
For phases marked "Research: Likely" in roadmap. Explores:
|
|
237
|
+
- Technical approaches
|
|
238
|
+
- External dependencies
|
|
239
|
+
- Best practices
|
|
240
|
+
|
|
241
|
+
---
|
|
242
|
+
|
|
243
|
+
### /gywd:list-phase-assumptions
|
|
244
|
+
|
|
245
|
+
**See what Claude assumes about a phase.**
|
|
246
|
+
|
|
247
|
+
```bash
|
|
248
|
+
/gywd:list-phase-assumptions [N]
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
Surfaces assumptions before planning so you can correct them.
|
|
252
|
+
|
|
253
|
+
---
|
|
254
|
+
|
|
255
|
+
### /gywd:preview-plan
|
|
256
|
+
|
|
257
|
+
**Dry-run plan without executing.**
|
|
258
|
+
|
|
259
|
+
```bash
|
|
260
|
+
/gywd:preview-plan [path]
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
Example:
|
|
264
|
+
```bash
|
|
265
|
+
/gywd:preview-plan .planning/phases/03-auth/03-01-PLAN.md
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
Shows what would happen without making changes.
|
|
269
|
+
|
|
270
|
+
---
|
|
271
|
+
|
|
272
|
+
## Execution
|
|
273
|
+
|
|
274
|
+
Commands for building and verifying work.
|
|
275
|
+
|
|
276
|
+
### /gywd:execute-plan
|
|
277
|
+
|
|
278
|
+
**Run a plan file.**
|
|
279
|
+
|
|
280
|
+
```bash
|
|
281
|
+
/gywd:execute-plan [path]
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
Options:
|
|
285
|
+
```bash
|
|
286
|
+
/gywd:execute-plan --tasks 1-3 # Run specific tasks only
|
|
287
|
+
/gywd:execute-plan # Auto-detect next plan
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
Creates `*-SUMMARY.md` when complete.
|
|
291
|
+
|
|
292
|
+
---
|
|
293
|
+
|
|
294
|
+
### /gywd:verify-work
|
|
295
|
+
|
|
296
|
+
**Test completed work with user.**
|
|
297
|
+
|
|
298
|
+
```bash
|
|
299
|
+
/gywd:verify-work [phase]
|
|
300
|
+
```
|
|
301
|
+
|
|
302
|
+
Guided UAT session:
|
|
303
|
+
- Shows what was built
|
|
304
|
+
- Asks user to verify
|
|
305
|
+
- Records issues found
|
|
306
|
+
|
|
307
|
+
Creates `*-ISSUES.md` if problems found.
|
|
308
|
+
|
|
309
|
+
---
|
|
310
|
+
|
|
311
|
+
### /gywd:plan-fix
|
|
312
|
+
|
|
313
|
+
**Create fix plan for found issues.**
|
|
314
|
+
|
|
315
|
+
```bash
|
|
316
|
+
/gywd:plan-fix [plan]
|
|
317
|
+
```
|
|
318
|
+
|
|
319
|
+
Reads `*-ISSUES.md` and creates `*-FIX.md` with repair tasks.
|
|
320
|
+
|
|
321
|
+
---
|
|
322
|
+
|
|
323
|
+
## Understanding Code
|
|
324
|
+
|
|
325
|
+
Commands for understanding why code exists.
|
|
326
|
+
|
|
327
|
+
### /gywd:why
|
|
328
|
+
|
|
329
|
+
**Trace code to its original decisions.**
|
|
330
|
+
|
|
331
|
+
```bash
|
|
332
|
+
/gywd:why <target>
|
|
333
|
+
```
|
|
334
|
+
|
|
335
|
+
Examples:
|
|
336
|
+
```bash
|
|
337
|
+
/gywd:why src/auth/login.ts
|
|
338
|
+
/gywd:why "the retry logic in payments"
|
|
339
|
+
/gywd:why --deep src/api/orders.ts:142-158
|
|
340
|
+
```
|
|
341
|
+
|
|
342
|
+
Output:
|
|
343
|
+
```
|
|
344
|
+
## Why: src/auth/login.ts
|
|
345
|
+
|
|
346
|
+
**Answer:** JWT authentication for stateless API auth.
|
|
347
|
+
|
|
348
|
+
### The Decision
|
|
349
|
+
When: March 2024
|
|
350
|
+
Who: @alice (PR #47)
|
|
351
|
+
Confidence: 94%
|
|
352
|
+
|
|
353
|
+
### Alternatives Rejected
|
|
354
|
+
- Sessions (state management overhead)
|
|
355
|
+
- API keys (no user context)
|
|
356
|
+
|
|
357
|
+
### Trade-offs
|
|
358
|
+
✅ Stateless, scalable
|
|
359
|
+
⚠️ Token refresh complexity
|
|
360
|
+
```
|
|
361
|
+
|
|
362
|
+
---
|
|
363
|
+
|
|
364
|
+
### /gywd:history
|
|
365
|
+
|
|
366
|
+
**See how code evolved over time.**
|
|
367
|
+
|
|
368
|
+
```bash
|
|
369
|
+
/gywd:history <query>
|
|
370
|
+
```
|
|
371
|
+
|
|
372
|
+
Example:
|
|
373
|
+
```bash
|
|
374
|
+
/gywd:history "authentication"
|
|
375
|
+
```
|
|
376
|
+
|
|
377
|
+
Shows timeline of changes to authentication-related code.
|
|
378
|
+
|
|
379
|
+
---
|
|
380
|
+
|
|
381
|
+
### /gywd:extract-decisions
|
|
382
|
+
|
|
383
|
+
**Build decision graph from git history.**
|
|
384
|
+
|
|
385
|
+
```bash
|
|
386
|
+
/gywd:extract-decisions
|
|
387
|
+
```
|
|
388
|
+
|
|
389
|
+
Analyzes commits, PRs, and comments to create `.planning/core/decisions.json`.
|
|
390
|
+
|
|
391
|
+
---
|
|
392
|
+
|
|
393
|
+
### /gywd:anticipate
|
|
394
|
+
|
|
395
|
+
**Pre-load context for upcoming work.**
|
|
396
|
+
|
|
397
|
+
```bash
|
|
398
|
+
/gywd:anticipate --for "<topic>"
|
|
399
|
+
```
|
|
400
|
+
|
|
401
|
+
Example:
|
|
402
|
+
```bash
|
|
403
|
+
/gywd:anticipate --for "payment integration"
|
|
404
|
+
```
|
|
405
|
+
|
|
406
|
+
Loads relevant decisions, patterns, and files before you start.
|
|
407
|
+
|
|
408
|
+
---
|
|
409
|
+
|
|
410
|
+
### /gywd:challenge
|
|
411
|
+
|
|
412
|
+
**Get adversarial review of plan or code.**
|
|
413
|
+
|
|
414
|
+
```bash
|
|
415
|
+
/gywd:challenge [target]
|
|
416
|
+
```
|
|
417
|
+
|
|
418
|
+
Example:
|
|
419
|
+
```bash
|
|
420
|
+
/gywd:challenge .planning/phases/03-payment/03-01-PLAN.md
|
|
421
|
+
```
|
|
422
|
+
|
|
423
|
+
Spawns competing review agents:
|
|
424
|
+
- **Critic** — Finds logical flaws
|
|
425
|
+
- **Devil's Advocate** — Argues alternatives
|
|
426
|
+
- **Red Team** — Security concerns
|
|
427
|
+
- **Skeptic** — Questions assumptions
|
|
428
|
+
|
|
429
|
+
---
|
|
430
|
+
|
|
431
|
+
## Analysis
|
|
432
|
+
|
|
433
|
+
Commands for analyzing project state.
|
|
434
|
+
|
|
435
|
+
### /gywd:context
|
|
436
|
+
|
|
437
|
+
**Show context budget usage.**
|
|
438
|
+
|
|
439
|
+
```bash
|
|
440
|
+
/gywd:context
|
|
441
|
+
```
|
|
442
|
+
|
|
443
|
+
Shows how much context is loaded and what's using it.
|
|
444
|
+
|
|
445
|
+
---
|
|
446
|
+
|
|
447
|
+
### /gywd:health
|
|
448
|
+
|
|
449
|
+
**Display project health dashboard.**
|
|
450
|
+
|
|
451
|
+
```bash
|
|
452
|
+
/gywd:health
|
|
453
|
+
```
|
|
454
|
+
|
|
455
|
+
Shows:
|
|
456
|
+
- Test coverage
|
|
457
|
+
- Documentation coverage
|
|
458
|
+
- Technical debt indicators
|
|
459
|
+
- Phase completion rates
|
|
460
|
+
|
|
461
|
+
---
|
|
462
|
+
|
|
463
|
+
### /gywd:deps
|
|
464
|
+
|
|
465
|
+
**Visualize phase dependencies.**
|
|
466
|
+
|
|
467
|
+
```bash
|
|
468
|
+
/gywd:deps [N]
|
|
469
|
+
```
|
|
470
|
+
|
|
471
|
+
Shows which phases depend on which.
|
|
472
|
+
|
|
473
|
+
---
|
|
474
|
+
|
|
475
|
+
### /gywd:check-drift
|
|
476
|
+
|
|
477
|
+
**Detect spec vs implementation drift.**
|
|
478
|
+
|
|
479
|
+
```bash
|
|
480
|
+
/gywd:check-drift
|
|
481
|
+
```
|
|
482
|
+
|
|
483
|
+
Compares PROJECT.md requirements against actual implementation.
|
|
484
|
+
|
|
485
|
+
---
|
|
486
|
+
|
|
487
|
+
### /gywd:digest
|
|
488
|
+
|
|
489
|
+
**Generate compact codebase summary.**
|
|
490
|
+
|
|
491
|
+
```bash
|
|
492
|
+
/gywd:digest [area]
|
|
493
|
+
```
|
|
494
|
+
|
|
495
|
+
Example:
|
|
496
|
+
```bash
|
|
497
|
+
/gywd:digest src/auth
|
|
498
|
+
```
|
|
499
|
+
|
|
500
|
+
Creates condensed overview for quick context refresh.
|
|
501
|
+
|
|
502
|
+
---
|
|
503
|
+
|
|
504
|
+
### /gywd:consider-issues
|
|
505
|
+
|
|
506
|
+
**Triage deferred issues.**
|
|
507
|
+
|
|
508
|
+
```bash
|
|
509
|
+
/gywd:consider-issues
|
|
510
|
+
```
|
|
511
|
+
|
|
512
|
+
Reviews `.planning/ISSUES.md` and helps prioritize.
|
|
513
|
+
|
|
514
|
+
---
|
|
515
|
+
|
|
516
|
+
## Roadmap & Milestones
|
|
517
|
+
|
|
518
|
+
Commands for managing project roadmap.
|
|
519
|
+
|
|
520
|
+
### /gywd:add-phase
|
|
521
|
+
|
|
522
|
+
**Append new phase to roadmap.**
|
|
523
|
+
|
|
524
|
+
```bash
|
|
525
|
+
/gywd:add-phase <description>
|
|
526
|
+
```
|
|
527
|
+
|
|
528
|
+
Example:
|
|
529
|
+
```bash
|
|
530
|
+
/gywd:add-phase "Add export functionality"
|
|
531
|
+
```
|
|
532
|
+
|
|
533
|
+
---
|
|
534
|
+
|
|
535
|
+
### /gywd:insert-phase
|
|
536
|
+
|
|
537
|
+
**Insert urgent work between phases.**
|
|
538
|
+
|
|
539
|
+
```bash
|
|
540
|
+
/gywd:insert-phase <N> <description>
|
|
541
|
+
```
|
|
542
|
+
|
|
543
|
+
Example:
|
|
544
|
+
```bash
|
|
545
|
+
/gywd:insert-phase 5 "Critical security fix"
|
|
546
|
+
```
|
|
547
|
+
|
|
548
|
+
Creates Phase 5.1 without renumbering existing phases.
|
|
549
|
+
|
|
550
|
+
---
|
|
551
|
+
|
|
552
|
+
### /gywd:remove-phase
|
|
553
|
+
|
|
554
|
+
**Delete a future phase.**
|
|
555
|
+
|
|
556
|
+
```bash
|
|
557
|
+
/gywd:remove-phase <N>
|
|
558
|
+
```
|
|
559
|
+
|
|
560
|
+
Removes phase and renumbers subsequent phases.
|
|
561
|
+
|
|
562
|
+
---
|
|
563
|
+
|
|
564
|
+
### /gywd:new-milestone
|
|
565
|
+
|
|
566
|
+
**Start a new milestone.**
|
|
567
|
+
|
|
568
|
+
```bash
|
|
569
|
+
/gywd:new-milestone <name>
|
|
570
|
+
```
|
|
571
|
+
|
|
572
|
+
Example:
|
|
573
|
+
```bash
|
|
574
|
+
/gywd:new-milestone "v2.0 Mobile Support"
|
|
575
|
+
```
|
|
576
|
+
|
|
577
|
+
---
|
|
578
|
+
|
|
579
|
+
### /gywd:discuss-milestone
|
|
580
|
+
|
|
581
|
+
**Plan next milestone interactively.**
|
|
582
|
+
|
|
583
|
+
```bash
|
|
584
|
+
/gywd:discuss-milestone
|
|
585
|
+
```
|
|
586
|
+
|
|
587
|
+
Guided session to define milestone scope and phases.
|
|
588
|
+
|
|
589
|
+
---
|
|
590
|
+
|
|
591
|
+
### /gywd:complete-milestone
|
|
592
|
+
|
|
593
|
+
**Archive milestone and tag release.**
|
|
594
|
+
|
|
595
|
+
```bash
|
|
596
|
+
/gywd:complete-milestone
|
|
597
|
+
```
|
|
598
|
+
|
|
599
|
+
- Archives completed phases
|
|
600
|
+
- Creates git tag
|
|
601
|
+
- Updates STATE.md for next milestone
|
|
602
|
+
|
|
603
|
+
---
|
|
604
|
+
|
|
605
|
+
## Memory & Profile
|
|
606
|
+
|
|
607
|
+
Commands for managing learning and preferences.
|
|
608
|
+
|
|
609
|
+
### /gywd:memory
|
|
610
|
+
|
|
611
|
+
**Manage cross-session memory.**
|
|
612
|
+
|
|
613
|
+
```bash
|
|
614
|
+
/gywd:memory
|
|
615
|
+
```
|
|
616
|
+
|
|
617
|
+
Options:
|
|
618
|
+
```bash
|
|
619
|
+
/gywd:memory --show # View stored patterns
|
|
620
|
+
/gywd:memory --clear # Reset memory
|
|
621
|
+
/gywd:memory --export # Export for team sharing
|
|
622
|
+
```
|
|
623
|
+
|
|
624
|
+
---
|
|
625
|
+
|
|
626
|
+
### /gywd:profile
|
|
627
|
+
|
|
628
|
+
**View/edit your learned preferences.**
|
|
629
|
+
|
|
630
|
+
```bash
|
|
631
|
+
/gywd:profile
|
|
632
|
+
```
|
|
633
|
+
|
|
634
|
+
Shows your Developer Digital Twin:
|
|
635
|
+
- Coding style preferences
|
|
636
|
+
- Communication preferences
|
|
637
|
+
- Expertise areas
|
|
638
|
+
- Learned patterns
|
|
639
|
+
|
|
640
|
+
---
|
|
641
|
+
|
|
642
|
+
### /gywd:impact
|
|
643
|
+
|
|
644
|
+
**Connect code to real-world outcomes.**
|
|
645
|
+
|
|
646
|
+
```bash
|
|
647
|
+
/gywd:impact <target>
|
|
648
|
+
```
|
|
649
|
+
|
|
650
|
+
Example:
|
|
651
|
+
```bash
|
|
652
|
+
/gywd:impact src/checkout/payment.ts
|
|
653
|
+
```
|
|
654
|
+
|
|
655
|
+
Shows how code connects to business metrics and user outcomes.
|
|
656
|
+
|
|
657
|
+
---
|
|
658
|
+
|
|
659
|
+
## Integration
|
|
660
|
+
|
|
661
|
+
Commands for external integrations.
|
|
662
|
+
|
|
663
|
+
### /gywd:sync-github
|
|
664
|
+
|
|
665
|
+
**Sync with GitHub issues and PRs.**
|
|
666
|
+
|
|
667
|
+
```bash
|
|
668
|
+
/gywd:sync-github
|
|
669
|
+
```
|
|
670
|
+
|
|
671
|
+
- Creates GitHub issues from ISSUES.md
|
|
672
|
+
- Links PRs to phases
|
|
673
|
+
- Updates milestone progress
|
|
674
|
+
|
|
675
|
+
---
|
|
676
|
+
|
|
677
|
+
### /gywd:rollback
|
|
678
|
+
|
|
679
|
+
**Rollback to checkpoint safely.**
|
|
680
|
+
|
|
681
|
+
```bash
|
|
682
|
+
/gywd:rollback [target]
|
|
683
|
+
```
|
|
684
|
+
|
|
685
|
+
Example:
|
|
686
|
+
```bash
|
|
687
|
+
/gywd:rollback phase-10
|
|
688
|
+
```
|
|
689
|
+
|
|
690
|
+
Restores to a previous checkpoint.
|
|
691
|
+
|
|
692
|
+
---
|
|
693
|
+
|
|
694
|
+
### /gywd:help
|
|
695
|
+
|
|
696
|
+
**Show all available commands.**
|
|
697
|
+
|
|
698
|
+
```bash
|
|
699
|
+
/gywd:help
|
|
700
|
+
```
|
|
701
|
+
|
|
702
|
+
Lists all 40 commands with brief descriptions.
|
|
703
|
+
|
|
704
|
+
---
|
|
705
|
+
|
|
706
|
+
## Quick Reference
|
|
707
|
+
|
|
708
|
+
| Category | Commands |
|
|
709
|
+
|----------|----------|
|
|
710
|
+
| Daily | status, progress, resume-work, pause-work |
|
|
711
|
+
| Setup | new-project, init, bootstrap, map-codebase, create-roadmap |
|
|
712
|
+
| Planning | plan-phase, discuss-phase, research-phase, list-phase-assumptions, preview-plan |
|
|
713
|
+
| Execution | execute-plan, verify-work, plan-fix |
|
|
714
|
+
| Understanding | why, history, extract-decisions, anticipate, challenge |
|
|
715
|
+
| Analysis | context, health, deps, check-drift, digest, consider-issues |
|
|
716
|
+
| Roadmap | add-phase, insert-phase, remove-phase, new-milestone, discuss-milestone, complete-milestone |
|
|
717
|
+
| Memory | memory, profile, impact |
|
|
718
|
+
| Integration | sync-github, rollback, help |
|
|
719
|
+
|
|
720
|
+
---
|
|
721
|
+
|
|
722
|
+
*See also: [Getting Started](GETTING-STARTED.md) | [README](../README.md)*
|