ateschh-kit 1.0.0 → 1.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ateschh-kit",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "A structured AI development system for Claude Code and Antigravity",
5
5
  "keywords": [
6
6
  "claude",
@@ -0,0 +1,642 @@
1
+ ---
2
+ name: build
3
+ description: build
4
+ ---
5
+
6
+ ---
7
+ name: build
8
+ description: Feature development pipeline - research, plan, track, and implement major features.
9
+ argument-hint: [subcommand] [name]
10
+ metadata:
11
+ author: Shpigford
12
+ version: "1.0"
13
+ ---
14
+
15
+ Feature development pipeline - research, plan, track, and implement major features.
16
+
17
+ ## Instructions
18
+
19
+ This command manages a 4-phase feature development workflow for building major features. Parse `$ARGUMENTS` to determine which subcommand to run.
20
+
21
+ **Arguments provided:** $ARGUMENTS
22
+
23
+ ### Argument Parsing
24
+
25
+ Parse the first word of $ARGUMENTS to determine the subcommand:
26
+
27
+ - `research [name]` → Run the Research phase
28
+ - `implementation [name]` → Run the Implementation phase
29
+ - `progress [name]` → Run the Progress phase
30
+ - `phase [n] [name]` → Run Phase n of the implementation
31
+ - `status [name]` → Show current status and suggest next step
32
+ - (empty or unrecognized) → Show usage help
33
+
34
+ If the feature name is not provided in arguments, you MUST use AskUserQuestion to prompt for it.
35
+
36
+ ---
37
+
38
+ ## Subcommand: Help (empty args)
39
+
40
+ If no arguments provided, display this help:
41
+
42
+ ```
43
+ /build - Feature Development Pipeline
44
+
45
+ Subcommands:
46
+ /build research [name] Deep research on a feature idea
47
+ /build implementation [name] Create phased implementation plan
48
+ /build progress [name] Set up progress tracking
49
+ /build phase [n] [name] Execute implementation phase n
50
+ /build status [name] Show status and next steps
51
+
52
+ Example workflow:
53
+ /build research chat-interface
54
+ /build implementation chat-interface
55
+ /build progress chat-interface
56
+ /build phase 1 chat-interface
57
+ ```
58
+
59
+ Then use AskUserQuestion to ask what they'd like to do:
60
+
61
+ - question: "What would you like to do?"
62
+ - header: "Action"
63
+ - multiSelect: false
64
+ - options:
65
+ - label: "Start new feature research"
66
+ description: "Begin deep research on a new feature idea"
67
+ - label: "Continue existing feature"
68
+ description: "Work on a feature already in progress"
69
+ - label: "Check status"
70
+ description: "See what step to do next for a feature"
71
+
72
+ ---
73
+
74
+ ## Subcommand: research
75
+
76
+ ### Step 1: Get Feature Name
77
+
78
+ If feature name not in arguments, use AskUserQuestion:
79
+
80
+ - question: "What's a short identifier for this feature? (lowercase, hyphens ok - e.g., 'chat-interface', 'user-auth', 'data-export'). Use 'Other' to type it."
81
+ - header: "Feature name"
82
+ - multiSelect: false
83
+ - options:
84
+ - label: "I'll type the name"
85
+ description: "Enter a short, kebab-case identifier for the feature"
86
+
87
+ ### Step 2: Check for Existing Research
88
+
89
+ Check if `docs/{name}/RESEARCH.md` already exists.
90
+
91
+ If it exists, use AskUserQuestion:
92
+
93
+ - question: "A RESEARCH.md already exists for this feature. What would you like to do?"
94
+ - header: "Existing doc"
95
+ - multiSelect: false
96
+ - options:
97
+ - label: "Overwrite"
98
+ description: "Replace existing research with fresh exploration"
99
+ - label: "Append"
100
+ description: "Add new research below existing content"
101
+ - label: "Skip"
102
+ description: "Keep existing research, suggest next step"
103
+
104
+ If "Skip" selected, suggest running `/build implementation {name}` and exit.
105
+
106
+ ### Step 3: Gather Feature Context
107
+
108
+ Use AskUserQuestion to understand the feature:
109
+
110
+ - question: "Describe the feature you want to build. What problem does it solve? What should it do? (Use 'Other' to describe)"
111
+ - header: "Description"
112
+ - multiSelect: false
113
+ - options:
114
+ - label: "I'll describe it"
115
+ description: "Provide a detailed description of the feature"
116
+
117
+ ### Step 4: Research Scope
118
+
119
+ Use AskUserQuestion:
120
+
121
+ - question: "What aspects should the research focus on?"
122
+ - header: "Focus areas"
123
+ - multiSelect: true
124
+ - options:
125
+ - label: "Technical implementation"
126
+ description: "APIs, libraries, architecture patterns"
127
+ - label: "UI/UX design"
128
+ description: "Interface design, user flows, interactions"
129
+ - label: "Data requirements"
130
+ description: "What data to store, schemas, privacy"
131
+ - label: "Platform capabilities"
132
+ description: "OS APIs, system integrations, permissions"
133
+
134
+ ### Step 5: Conduct Deep Research
135
+
136
+ Now conduct DEEP research on the feature:
137
+
138
+ 1. **Codebase exploration**: Understand existing patterns, similar features, relevant code
139
+ 2. **Web search**: Research best practices, similar implementations, relevant APIs
140
+ 3. **Technical deep-dive**: Explore specific technologies, libraries, frameworks
141
+ 4. **Use AskUserQuestion FREQUENTLY**: Validate assumptions, clarify requirements, get input on decisions
142
+
143
+ Research should cover:
144
+ - Problem definition and user needs
145
+ - Technical approaches and trade-offs
146
+ - Required data models and storage
147
+ - UI/UX considerations
148
+ - Integration points with existing code
149
+ - Potential challenges and risks
150
+ - Recommended approach with rationale
151
+
152
+ ### Step 6: Write Research Document
153
+
154
+ Create the directory if needed: `docs/{name}/`
155
+
156
+ Write findings to `docs/{name}/RESEARCH.md` with this structure:
157
+
158
+ ```markdown
159
+ # {Feature Name} Research
160
+
161
+ ## Overview
162
+ [Brief description of the feature and its purpose]
163
+
164
+ ## Problem Statement
165
+ [What problem this solves, why it matters]
166
+
167
+ ## User Stories / Use Cases
168
+ [Concrete examples of how users will use this]
169
+
170
+ ## Technical Research
171
+
172
+ ### Approach Options
173
+ [Different ways to implement this, with pros/cons]
174
+
175
+ ### Recommended Approach
176
+ [The approach you recommend and why]
177
+
178
+ ### Required Technologies
179
+ [APIs, libraries, frameworks needed]
180
+
181
+ ### Data Requirements
182
+ [What data needs to be stored/tracked]
183
+
184
+ ## UI/UX Considerations
185
+ [Interface design thoughts, user flows]
186
+
187
+ ## Integration Points
188
+ [How this connects to existing code/features]
189
+
190
+ ## Risks and Challenges
191
+ [Potential issues and mitigation strategies]
192
+
193
+ ## Open Questions
194
+ [Things that still need to be decided]
195
+
196
+ ## References
197
+ [Links to relevant documentation, examples, articles]
198
+ ```
199
+
200
+ ### Step 7: Next Step
201
+
202
+ After writing the research doc, inform the user:
203
+
204
+ "Research complete! Document saved to `docs/{name}/RESEARCH.md`
205
+
206
+ **Next step:** Run `/build implementation {name}` to create a phased implementation plan."
207
+
208
+ ---
209
+
210
+ ## Subcommand: implementation
211
+
212
+ ### Step 1: Get Feature Name
213
+
214
+ If feature name not in arguments, use AskUserQuestion to prompt for it (same as research phase).
215
+
216
+ ### Step 2: Verify Research Exists
217
+
218
+ Check if `docs/{name}/RESEARCH.md` exists.
219
+
220
+ If it does NOT exist:
221
+ - Inform user: "No research document found at `docs/{name}/RESEARCH.md`"
222
+ - Suggest: "Run `/build research {name}` first to create the research document."
223
+ - Exit
224
+
225
+ ### Step 3: Check for Existing Implementation Doc
226
+
227
+ Check if `docs/{name}/IMPLEMENTATION.md` already exists.
228
+
229
+ If it exists, use AskUserQuestion:
230
+
231
+ - question: "An IMPLEMENTATION.md already exists. What would you like to do?"
232
+ - header: "Existing doc"
233
+ - multiSelect: false
234
+ - options:
235
+ - label: "Overwrite"
236
+ description: "Create a fresh implementation plan"
237
+ - label: "Append"
238
+ description: "Add new phases below existing content"
239
+ - label: "Skip"
240
+ description: "Keep existing plan, suggest next step"
241
+
242
+ If "Skip" selected, suggest running `/build progress {name}` and exit.
243
+
244
+ ### Step 4: Read Research Document
245
+
246
+ Read `docs/{name}/RESEARCH.md` to understand:
247
+ - The recommended approach
248
+ - Technical requirements
249
+ - Data models needed
250
+ - UI/UX design
251
+ - Integration points
252
+
253
+ ### Step 5: Design Implementation Phases
254
+
255
+ Break the research into practical implementation phases. Each phase should:
256
+ - Be independently valuable (deliver something usable)
257
+ - Be small enough to complete in a focused session
258
+ - Build on previous phases
259
+ - Have clear success criteria
260
+
261
+ Use AskUserQuestion to validate phase breakdown:
262
+
263
+ - question: "How granular should the implementation phases be?"
264
+ - header: "Phase size"
265
+ - multiSelect: false
266
+ - options:
267
+ - label: "Small phases (1-2 hours)"
268
+ description: "Many focused phases, easier to track progress"
269
+ - label: "Medium phases (half day)"
270
+ description: "Balanced approach, moderate number of phases"
271
+ - label: "Large phases (full day)"
272
+ description: "Fewer phases, each delivering significant functionality"
273
+
274
+ ### Step 6: Conduct Phase Research
275
+
276
+ For each phase you're planning, do targeted research:
277
+ - Web search for implementation specifics
278
+ - Review relevant code in the codebase
279
+ - Identify dependencies between phases
280
+
281
+ Use AskUserQuestion for any uncertainties about phase ordering or scope.
282
+
283
+ ### Step 7: Write Implementation Document
284
+
285
+ Write to `docs/{name}/IMPLEMENTATION.md` with this structure:
286
+
287
+ ```markdown
288
+ # {Feature Name} Implementation Plan
289
+
290
+ ## Overview
291
+ [Brief recap of what we're building and the approach from research]
292
+
293
+ ## Prerequisites
294
+ [What needs to be in place before starting]
295
+
296
+ ## Phase Summary
297
+ [Quick overview of all phases]
298
+
299
+ ---
300
+
301
+ ## Phase 1: [Phase Title]
302
+
303
+ ### Objective
304
+ [What this phase accomplishes]
305
+
306
+ ### Rationale
307
+ [Why this phase comes first, what it enables]
308
+
309
+ ### Tasks
310
+ - [ ] Task 1
311
+ - [ ] Task 2
312
+ - [ ] Task 3
313
+
314
+ ### Success Criteria
315
+ [How to verify this phase is complete]
316
+
317
+ ### Files Likely Affected
318
+ [List of files that will probably need changes]
319
+
320
+ ---
321
+
322
+ ## Phase 2: [Phase Title]
323
+
324
+ [Same structure as Phase 1]
325
+
326
+ ---
327
+
328
+ [Continue for all phases]
329
+
330
+ ---
331
+
332
+ ## Post-Implementation
333
+ - [ ] Documentation updates
334
+ - [ ] Testing strategy
335
+ - [ ] Performance validation
336
+
337
+ ## Notes
338
+ [Any additional context or decisions made during planning]
339
+ ```
340
+
341
+ ### Step 8: Next Step
342
+
343
+ After writing the implementation doc, inform the user:
344
+
345
+ "Implementation plan complete! Document saved to `docs/{name}/IMPLEMENTATION.md`
346
+
347
+ **Next step:** Run `/build progress {name}` to set up progress tracking."
348
+
349
+ ---
350
+
351
+ ## Subcommand: progress
352
+
353
+ ### Step 1: Get Feature Name
354
+
355
+ If feature name not in arguments, use AskUserQuestion to prompt for it.
356
+
357
+ ### Step 2: Verify Implementation Doc Exists
358
+
359
+ Check if `docs/{name}/IMPLEMENTATION.md` exists.
360
+
361
+ If it does NOT exist:
362
+ - Inform user: "No implementation document found at `docs/{name}/IMPLEMENTATION.md`"
363
+ - Suggest: "Run `/build implementation {name}` first."
364
+ - Exit
365
+
366
+ ### Step 3: Check for Existing Progress Doc
367
+
368
+ Check if `docs/{name}/PROGRESS.md` already exists.
369
+
370
+ If it exists, use AskUserQuestion:
371
+
372
+ - question: "A PROGRESS.md already exists. What would you like to do?"
373
+ - header: "Existing doc"
374
+ - multiSelect: false
375
+ - options:
376
+ - label: "Overwrite"
377
+ description: "Start fresh progress tracking"
378
+ - label: "Keep existing"
379
+ description: "Keep current progress, suggest next step"
380
+
381
+ If "Keep existing" selected, read the progress doc and suggest the next incomplete phase.
382
+
383
+ ### Step 4: Read Implementation Document
384
+
385
+ Read `docs/{name}/IMPLEMENTATION.md` to extract:
386
+ - All phase titles
387
+ - Tasks within each phase
388
+ - Success criteria
389
+
390
+ ### Step 5: Create Progress Document
391
+
392
+ Write to `docs/{name}/PROGRESS.md` with this structure:
393
+
394
+ ```markdown
395
+ # {Feature Name} Progress
396
+
397
+ ## Status: Phase 1 - Not Started
398
+
399
+ ## Quick Reference
400
+ - Research: `docs/{name}/RESEARCH.md`
401
+ - Implementation: `docs/{name}/IMPLEMENTATION.md`
402
+
403
+ ---
404
+
405
+ ## Phase Progress
406
+
407
+ ### Phase 1: [Title from Implementation]
408
+ **Status:** Not Started
409
+
410
+ #### Tasks Completed
411
+ - (none yet)
412
+
413
+ #### Decisions Made
414
+ - (none yet)
415
+
416
+ #### Blockers
417
+ - (none)
418
+
419
+ ---
420
+
421
+ ### Phase 2: [Title]
422
+ **Status:** Not Started
423
+
424
+ [Same structure]
425
+
426
+ ---
427
+
428
+ [Continue for all phases]
429
+
430
+ ---
431
+
432
+ ## Session Log
433
+
434
+ ### [Date will be added as work happens]
435
+ - Work completed
436
+ - Decisions made
437
+ - Notes for next session
438
+
439
+ ---
440
+
441
+ ## Files Changed
442
+ (Will be updated as implementation progresses)
443
+
444
+ ## Architectural Decisions
445
+ (Major technical decisions and rationale)
446
+
447
+ ## Lessons Learned
448
+ (What worked, what didn't, what to do differently)
449
+ ```
450
+
451
+ ### Step 6: Next Step
452
+
453
+ After creating progress doc:
454
+
455
+ "Progress tracking set up! Document saved to `docs/{name}/PROGRESS.md`
456
+
457
+ **Next step:** Run `/build phase 1 {name}` to begin implementation."
458
+
459
+ ---
460
+
461
+ ## Subcommand: phase
462
+
463
+ ### Step 1: Parse Arguments
464
+
465
+ Parse arguments to extract:
466
+ - Phase number (if provided)
467
+ - Feature name (if provided)
468
+
469
+ If neither provided, prompt for both using AskUserQuestion.
470
+
471
+ ### Step 2: Get Feature Name
472
+
473
+ If feature name not determined, use AskUserQuestion to prompt for it.
474
+
475
+ ### Step 3: Verify All Docs Exist
476
+
477
+ Check that all three docs exist:
478
+ - `docs/{name}/RESEARCH.md`
479
+ - `docs/{name}/IMPLEMENTATION.md`
480
+ - `docs/{name}/PROGRESS.md`
481
+
482
+ If any missing, inform user which doc is missing and suggest the appropriate `/build` command to create it.
483
+
484
+ ### Step 4: Get Phase Number
485
+
486
+ If phase number not in arguments:
487
+
488
+ Read `docs/{name}/IMPLEMENTATION.md` to extract available phases.
489
+
490
+ Use AskUserQuestion to let user select:
491
+
492
+ - question: "Which phase would you like to work on?"
493
+ - header: "Phase"
494
+ - multiSelect: false
495
+ - options: [dynamically generated from phases found in IMPLEMENTATION.md, marking completed ones]
496
+
497
+ ### Step 5: Read All Context
498
+
499
+ Read all three documents to fully understand:
500
+ - The research and rationale (RESEARCH.md)
501
+ - The specific phase tasks and success criteria (IMPLEMENTATION.md)
502
+ - Current progress and decisions made (PROGRESS.md)
503
+
504
+ ### Step 6: Deep Research on Phase
505
+
506
+ Before starting implementation:
507
+
508
+ 1. **Web search** for specific implementation details relevant to this phase
509
+ 2. **Codebase exploration** for relevant existing code
510
+ 3. **Use AskUserQuestion** to clarify any ambiguities about the phase requirements
511
+
512
+ ### Step 7: Execute Phase Work
513
+
514
+ Begin implementing the phase:
515
+
516
+ 1. Work through each task in the phase
517
+ 2. Use AskUserQuestion frequently for implementation decisions
518
+ 3. Follow the "Always Works" philosophy - test as you go
519
+ 4. Document decisions in PROGRESS.md as you make them
520
+
521
+ ### Step 8: Update Progress Document
522
+
523
+ As you work, update `docs/{name}/PROGRESS.md`:
524
+
525
+ - Mark tasks as completed
526
+ - Record decisions made and why
527
+ - Note any blockers encountered
528
+ - List files changed
529
+ - Add architectural decisions
530
+ - Update the session log with today's work
531
+
532
+ Update the phase status:
533
+ - "In Progress" when starting
534
+ - "Completed" when all tasks done and success criteria met
535
+
536
+ ### Step 9: Next Step
537
+
538
+ After completing the phase:
539
+
540
+ 1. Read PROGRESS.md to determine next incomplete phase
541
+ 2. Inform user of completion and suggest next action:
542
+
543
+ "Phase {n} complete! Progress updated in `docs/{name}/PROGRESS.md`
544
+
545
+ **Next step:** Run `/build phase {n+1} {name}` to continue with [next phase title]."
546
+
547
+ Or if all phases complete:
548
+
549
+ "All phases complete! The {feature name} feature implementation is done.
550
+
551
+ Consider:
552
+ - Running tests to verify everything works
553
+ - Updating documentation
554
+ - Creating a PR for review"
555
+
556
+ ---
557
+
558
+ ## Subcommand: status
559
+
560
+ ### Step 1: Get Feature Name
561
+
562
+ If feature name not in arguments, use AskUserQuestion to prompt for it.
563
+
564
+ ### Step 2: Check Which Docs Exist
565
+
566
+ Check for existence of:
567
+ - `docs/{name}/RESEARCH.md`
568
+ - `docs/{name}/IMPLEMENTATION.md`
569
+ - `docs/{name}/PROGRESS.md`
570
+
571
+ ### Step 3: Determine Status and Next Step
572
+
573
+ Based on which docs exist:
574
+
575
+ **No docs exist:**
576
+ "No documents found for feature '{name}'.
577
+ **Next step:** Run `/build research {name}` to start."
578
+
579
+ **Only RESEARCH.md exists:**
580
+ "Research complete for '{name}'.
581
+ **Next step:** Run `/build implementation {name}` to create implementation plan."
582
+
583
+ **RESEARCH.md and IMPLEMENTATION.md exist:**
584
+ "Research and implementation plan complete for '{name}'.
585
+ **Next step:** Run `/build progress {name}` to set up progress tracking."
586
+
587
+ **All three exist:**
588
+ Read PROGRESS.md to find current phase status.
589
+ "Feature '{name}' is in progress.
590
+ **Current status:** [Phase X - status]
591
+ **Next step:** Run `/build phase {next incomplete phase} {name}` to continue."
592
+
593
+ If all phases complete:
594
+ "Feature '{name}' implementation is complete!"
595
+
596
+ ---
597
+
598
+ ## Important Guidelines
599
+
600
+ ### Use AskUserQuestion Liberally
601
+
602
+ Throughout all phases, use AskUserQuestion whenever:
603
+ - There's ambiguity in requirements
604
+ - Multiple approaches are possible
605
+ - You need to validate an assumption
606
+ - A decision will significantly impact the implementation
607
+ - You're unsure about scope or priority
608
+
609
+ ### Deep Research Expectations
610
+
611
+ "Deep research" means:
612
+ - Multiple web searches on different aspects
613
+ - Thorough codebase exploration
614
+ - Reading relevant documentation
615
+ - Considering multiple approaches
616
+ - Understanding trade-offs
617
+
618
+ Don't rush through research - it's the foundation for good implementation.
619
+
620
+ ### Progress Tracking
621
+
622
+ Keep PROGRESS.md updated in real-time during phase work:
623
+ - Don't wait until the end to update
624
+ - Record decisions as they're made
625
+ - Note blockers immediately
626
+ - This creates valuable context for future sessions
627
+
628
+ ### Scope Management
629
+
630
+ A key purpose of this workflow is preventing scope creep:
631
+ - Each phase should have clear boundaries
632
+ - If new requirements emerge, note them for future phases
633
+ - Don't expand the current phase's scope mid-implementation
634
+ - Use AskUserQuestion to validate if something is in/out of scope
635
+
636
+ ### Always Works Philosophy
637
+
638
+ When implementing phases:
639
+ - Test changes as you make them
640
+ - Don't assume code works - verify it
641
+ - If something doesn't work, fix it before moving on
642
+ - The goal is working software, not just written code