get-shit-done-cc 1.9.11 → 1.10.0-experimental.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.
Files changed (61) hide show
  1. package/README.md +10 -9
  2. package/agents/design-specialist.md +222 -0
  3. package/agents/gsd-executor.md +37 -375
  4. package/agents/gsd-planner.md +15 -108
  5. package/bin/install.js +92 -5
  6. package/commands/gsd/autopilot.md +518 -0
  7. package/commands/gsd/checkpoints.md +229 -0
  8. package/commands/gsd/design-system.md +70 -0
  9. package/commands/gsd/discuss-design.md +77 -0
  10. package/commands/gsd/extend.md +80 -0
  11. package/commands/gsd/help.md +46 -17
  12. package/commands/gsd/new-project.md +94 -8
  13. package/commands/gsd/plan-phase.md +35 -5
  14. package/get-shit-done/references/ccr-integration.md +468 -0
  15. package/get-shit-done/references/checkpoint-execution.md +369 -0
  16. package/get-shit-done/references/checkpoint-types.md +728 -0
  17. package/get-shit-done/references/deviation-rules.md +215 -0
  18. package/get-shit-done/references/framework-patterns.md +543 -0
  19. package/get-shit-done/references/ui-principles.md +258 -0
  20. package/get-shit-done/references/verification-patterns.md +1 -1
  21. package/get-shit-done/skills/gsd-extend/SKILL.md +154 -0
  22. package/get-shit-done/skills/gsd-extend/references/agent-structure.md +305 -0
  23. package/get-shit-done/skills/gsd-extend/references/extension-anatomy.md +123 -0
  24. package/get-shit-done/skills/gsd-extend/references/reference-structure.md +408 -0
  25. package/get-shit-done/skills/gsd-extend/references/template-structure.md +370 -0
  26. package/get-shit-done/skills/gsd-extend/references/validation-rules.md +140 -0
  27. package/get-shit-done/skills/gsd-extend/references/workflow-structure.md +253 -0
  28. package/get-shit-done/skills/gsd-extend/templates/agent-template.md +234 -0
  29. package/get-shit-done/skills/gsd-extend/templates/reference-template.md +239 -0
  30. package/get-shit-done/skills/gsd-extend/templates/workflow-template.md +169 -0
  31. package/get-shit-done/skills/gsd-extend/workflows/create-approach.md +332 -0
  32. package/get-shit-done/skills/gsd-extend/workflows/list-extensions.md +133 -0
  33. package/get-shit-done/skills/gsd-extend/workflows/remove-extension.md +93 -0
  34. package/get-shit-done/skills/gsd-extend/workflows/validate-extension.md +184 -0
  35. package/get-shit-done/templates/autopilot-script-simple.sh +181 -0
  36. package/get-shit-done/templates/autopilot-script.sh +1142 -0
  37. package/get-shit-done/templates/autopilot-script.sh.backup +1142 -0
  38. package/get-shit-done/templates/design-system.md +238 -0
  39. package/get-shit-done/templates/phase-design.md +205 -0
  40. package/get-shit-done/templates/phase-models-template.json +71 -0
  41. package/get-shit-done/templates/phase-prompt.md +4 -4
  42. package/get-shit-done/templates/state.md +37 -0
  43. package/get-shit-done/tui/App.tsx +169 -0
  44. package/get-shit-done/tui/README.md +107 -0
  45. package/get-shit-done/tui/build.js +37 -0
  46. package/get-shit-done/tui/components/ActivityFeed.tsx +126 -0
  47. package/get-shit-done/tui/components/PhaseCard.tsx +86 -0
  48. package/get-shit-done/tui/components/StatsBar.tsx +147 -0
  49. package/get-shit-done/tui/dist/index.js +387 -0
  50. package/get-shit-done/tui/index.tsx +12 -0
  51. package/get-shit-done/tui/package-lock.json +1074 -0
  52. package/get-shit-done/tui/package.json +22 -0
  53. package/get-shit-done/tui/utils/pipeReader.ts +129 -0
  54. package/get-shit-done/workflows/design-system.md +245 -0
  55. package/get-shit-done/workflows/discuss-design.md +330 -0
  56. package/get-shit-done/workflows/execute-phase.md +44 -1
  57. package/get-shit-done/workflows/execute-plan-auth.md +122 -0
  58. package/get-shit-done/workflows/execute-plan-checkpoints.md +541 -0
  59. package/get-shit-done/workflows/execute-plan.md +34 -856
  60. package/package.json +8 -3
  61. package/commands/gsd/whats-new.md +0 -124
@@ -0,0 +1,238 @@
1
+ ---
2
+ name: design-system-template
3
+ description: Template for project-wide design system documentation
4
+ used_by:
5
+ - design-system
6
+ placeholders:
7
+ - project_name
8
+ - aesthetic_summary
9
+ - color_palette
10
+ - typography
11
+ - spacing
12
+ - components
13
+ - patterns
14
+ ---
15
+
16
+ <template>
17
+
18
+ # Design System
19
+
20
+ **Project:** {project_name}
21
+ **Framework:** {framework}
22
+ **Created:** {date}
23
+
24
+ ## Aesthetic Direction
25
+
26
+ {aesthetic_summary}
27
+
28
+ {?inspiration}
29
+ ### Visual References
30
+
31
+ {inspiration_description}
32
+
33
+ {/inspiration}
34
+
35
+ ---
36
+
37
+ ## Color Palette
38
+
39
+ ### Brand Colors
40
+
41
+ | Name | Value | Usage |
42
+ |------|-------|-------|
43
+ {brand_colors}
44
+
45
+ ### Semantic Colors
46
+
47
+ | Purpose | Light Mode | Dark Mode |
48
+ |---------|------------|-----------|
49
+ | Success | {success_light} | {success_dark} |
50
+ | Warning | {warning_light} | {warning_dark} |
51
+ | Error | {error_light} | {error_dark} |
52
+ | Info | {info_light} | {info_dark} |
53
+
54
+ ### Neutral Scale
55
+
56
+ ```
57
+ {neutral_scale}
58
+ ```
59
+
60
+ ---
61
+
62
+ ## Typography
63
+
64
+ ### Font Stack
65
+
66
+ **Primary:** {font_primary}
67
+ **Monospace:** {font_mono}
68
+
69
+ ### Type Scale
70
+
71
+ | Name | Size | Weight | Line Height | Usage |
72
+ |------|------|--------|-------------|-------|
73
+ {type_scale}
74
+
75
+ ### Text Styles
76
+
77
+ {text_styles}
78
+
79
+ ---
80
+
81
+ ## Spacing
82
+
83
+ ### Base Unit
84
+
85
+ {spacing_base}
86
+
87
+ ### Scale
88
+
89
+ ```
90
+ {spacing_scale}
91
+ ```
92
+
93
+ ### Common Spacing Patterns
94
+
95
+ | Context | Value |
96
+ |---------|-------|
97
+ {spacing_patterns}
98
+
99
+ ---
100
+
101
+ ## Components
102
+
103
+ ### Buttons
104
+
105
+ {button_specs}
106
+
107
+ ### Inputs
108
+
109
+ {input_specs}
110
+
111
+ ### Cards
112
+
113
+ {card_specs}
114
+
115
+ {?additional_components}
116
+ ### Additional Components
117
+
118
+ {additional_components}
119
+ {/additional_components}
120
+
121
+ ---
122
+
123
+ ## Layout
124
+
125
+ ### Breakpoints
126
+
127
+ | Name | Width | Usage |
128
+ |------|-------|-------|
129
+ {breakpoints}
130
+
131
+ ### Grid
132
+
133
+ {grid_specs}
134
+
135
+ ### Content Width
136
+
137
+ {content_width}
138
+
139
+ ---
140
+
141
+ ## Interaction
142
+
143
+ ### Transitions
144
+
145
+ | Type | Duration | Easing |
146
+ |------|----------|--------|
147
+ {transitions}
148
+
149
+ ### Feedback Patterns
150
+
151
+ {feedback_patterns}
152
+
153
+ ---
154
+
155
+ ## Accessibility
156
+
157
+ ### Contrast Requirements
158
+
159
+ {contrast_requirements}
160
+
161
+ ### Focus States
162
+
163
+ {focus_states}
164
+
165
+ ### Touch Targets
166
+
167
+ {touch_targets}
168
+
169
+ ---
170
+
171
+ ## Implementation Notes
172
+
173
+ {implementation_notes}
174
+
175
+ </template>
176
+
177
+ <guidelines>
178
+
179
+ ## Filling This Template
180
+
181
+ **{aesthetic_summary}:** 2-3 sentences describing the overall visual direction. Examples:
182
+ - "Clean and minimal with generous whitespace. Emphasis on typography over decoration. Subtle shadows for depth."
183
+ - "Bold and energetic with high contrast. Geometric shapes and strong color accents. Modern and confident."
184
+
185
+ **{brand_colors}:** Table rows with color name, hex value, and where it's used. Example:
186
+ ```
187
+ | Primary | #2563EB | Buttons, links, key actions |
188
+ | Primary Light | #3B82F6 | Hover states, backgrounds |
189
+ | Accent | #8B5CF6 | Highlights, tags, badges |
190
+ ```
191
+
192
+ **{type_scale}:** Table rows for each heading level and body text. Example:
193
+ ```
194
+ | H1 | 40px | Bold | 1.2 | Page titles |
195
+ | H2 | 32px | Bold | 1.25 | Section headers |
196
+ | Body | 16px | Regular | 1.5 | Paragraphs |
197
+ | Small | 14px | Regular | 1.4 | Captions, labels |
198
+ ```
199
+
200
+ **{button_specs}:** Describe button variants with sizes, colors, states. Include code-ready values.
201
+
202
+ **{spacing_scale}:** List spacing values. Example:
203
+ ```
204
+ 4px - xs - Tight spacing, inline elements
205
+ 8px - sm - Related items, compact layouts
206
+ 16px - md - Standard padding, gaps
207
+ 24px - lg - Section spacing
208
+ 32px - xl - Major section breaks
209
+ 48px - 2xl - Page-level spacing
210
+ ```
211
+
212
+ </guidelines>
213
+
214
+ <examples>
215
+
216
+ ## Good Example
217
+
218
+ ```markdown
219
+ ## Aesthetic Direction
220
+
221
+ Professional and trustworthy with a modern edge. Clean layouts with purposeful whitespace. Subtle depth through soft shadows. Typography-driven hierarchy—minimal decorative elements.
222
+
223
+ ### Visual References
224
+
225
+ Inspired by Linear, Stripe, and Notion. Combines Linear's clean aesthetic with Stripe's attention to detail.
226
+ ```
227
+
228
+ ## Bad Example
229
+
230
+ ```markdown
231
+ ## Aesthetic Direction
232
+
233
+ Nice looking design.
234
+ ```
235
+
236
+ The bad example is too vague to guide implementation decisions.
237
+
238
+ </examples>
@@ -0,0 +1,205 @@
1
+ ---
2
+ name: phase-design-template
3
+ description: Template for phase-specific UI design documentation
4
+ used_by:
5
+ - discuss-design
6
+ placeholders:
7
+ - phase_number
8
+ - phase_name
9
+ - components
10
+ - layouts
11
+ - interactions
12
+ - mockup_files
13
+ ---
14
+
15
+ <template>
16
+
17
+ # Phase {phase_number}: {phase_name} - Design
18
+
19
+ **Created:** {date}
20
+ **Design System:** @.planning/DESIGN-SYSTEM.md
21
+
22
+ ## Overview
23
+
24
+ {design_overview}
25
+
26
+ ---
27
+
28
+ ## Components
29
+
30
+ {?new_components}
31
+ ### New Components
32
+
33
+ | Component | Purpose | States |
34
+ |-----------|---------|--------|
35
+ {new_components}
36
+
37
+ {/new_components}
38
+
39
+ {?modified_components}
40
+ ### Modified Components
41
+
42
+ | Component | Changes | Reason |
43
+ |-----------|---------|--------|
44
+ {modified_components}
45
+
46
+ {/modified_components}
47
+
48
+ ### Component Specifications
49
+
50
+ {component_specs}
51
+
52
+ ---
53
+
54
+ ## Layouts
55
+
56
+ ### Screen/Page Layouts
57
+
58
+ {layout_descriptions}
59
+
60
+ ### Responsive Behavior
61
+
62
+ | Breakpoint | Layout Changes |
63
+ |------------|----------------|
64
+ {responsive_changes}
65
+
66
+ ---
67
+
68
+ ## Interactions
69
+
70
+ ### User Flows
71
+
72
+ {user_flows}
73
+
74
+ ### States & Transitions
75
+
76
+ {state_transitions}
77
+
78
+ ### Loading States
79
+
80
+ {loading_states}
81
+
82
+ ### Error States
83
+
84
+ {error_states}
85
+
86
+ ---
87
+
88
+ ## Mockups
89
+
90
+ | File | Description | Status |
91
+ |------|-------------|--------|
92
+ {mockup_files}
93
+
94
+ ### Running Mockups
95
+
96
+ ```bash
97
+ {mockup_run_command}
98
+ ```
99
+
100
+ ---
101
+
102
+ ## Design Decisions
103
+
104
+ | Decision | Rationale |
105
+ |----------|-----------|
106
+ {design_decisions}
107
+
108
+ ---
109
+
110
+ ## Implementation Notes
111
+
112
+ {implementation_notes}
113
+
114
+ ---
115
+
116
+ ## Checklist
117
+
118
+ - [ ] All new components specified
119
+ - [ ] States defined for each component
120
+ - [ ] Responsive behavior documented
121
+ - [ ] Mockups reviewed and approved
122
+ - [ ] Follows design system
123
+ - [ ] Accessibility considered
124
+
125
+ </template>
126
+
127
+ <guidelines>
128
+
129
+ ## Filling This Template
130
+
131
+ **{design_overview}:** 2-3 sentences summarizing what UI this phase introduces or changes.
132
+
133
+ **{new_components}:** Table of components created in this phase:
134
+ ```
135
+ | PostCard | Displays a social media post | default, loading, error, empty |
136
+ | LikeButton | Heart animation on like | idle, hovering, liked, animating |
137
+ ```
138
+
139
+ **{component_specs}:** Detailed specs for each component. Include:
140
+ - Visual description
141
+ - Props/parameters
142
+ - Variants
143
+ - All states with visual differences
144
+ - Accessibility requirements
145
+
146
+ **{layout_descriptions}:** Describe how screens are structured. Include:
147
+ - Grid/flex layout approach
148
+ - Content ordering
149
+ - Key regions (header, main, sidebar, etc.)
150
+
151
+ **{user_flows}:** Describe interaction sequences:
152
+ ```
153
+ 1. User sees post in feed
154
+ 2. Hovers over like button → heart outline highlights
155
+ 3. Clicks like → heart fills with animation
156
+ 4. Like count increments
157
+ ```
158
+
159
+ **{mockup_files}:** List of mockup files created:
160
+ ```
161
+ | mockups/PostCard.tsx | Post card component preview | ✓ Approved |
162
+ | mockups/Feed.tsx | Full feed layout | ✓ Approved |
163
+ ```
164
+
165
+ </guidelines>
166
+
167
+ <examples>
168
+
169
+ ## Good Component Spec
170
+
171
+ ```markdown
172
+ ### PostCard
173
+
174
+ **Purpose:** Displays a single post in the feed with author info, content, and engagement actions.
175
+
176
+ **Structure:**
177
+ - Header: Avatar (40px), Author name, Timestamp
178
+ - Content: Text (max 280 chars), optional media
179
+ - Footer: Like, Comment, Share actions with counts
180
+
181
+ **Variants:**
182
+ - `default` - Standard post display
183
+ - `compact` - Reduced padding for dense feeds
184
+ - `featured` - Highlighted border for promoted content
185
+
186
+ **States:**
187
+ - Loading: Skeleton with pulsing animation
188
+ - Error: "Failed to load" with retry button
189
+ - Empty media: Placeholder with broken image icon
190
+
191
+ **Accessibility:**
192
+ - Author name is a link with focus ring
193
+ - Action buttons have aria-labels with counts
194
+ - Media has alt text from post data
195
+ ```
196
+
197
+ ## Bad Component Spec
198
+
199
+ ```markdown
200
+ ### PostCard
201
+
202
+ A card for posts. Has a like button.
203
+ ```
204
+
205
+ </examples>
@@ -0,0 +1,71 @@
1
+ {
2
+ "description": "Per-phase model configuration for GSD Autopilot",
3
+ "default_model": "claude-3-5-sonnet-latest",
4
+ "phases": {
5
+ "1": {
6
+ "model": "claude-3-5-sonnet-latest",
7
+ "reasoning": "Initial setup and architecture - Sonnet is cost-effective for routine tasks"
8
+ },
9
+ "2": {
10
+ "model": "claude-3-5-opus-latest",
11
+ "reasoning": "Complex implementation requiring deep reasoning"
12
+ },
13
+ "3": {
14
+ "model": "claude-3-5-sonnet-latest",
15
+ "reasoning": "Standard development work"
16
+ },
17
+ "gaps": {
18
+ "model": "claude-3-5-sonnet-latest",
19
+ "reasoning": "Gap closure typically involves straightforward fixes"
20
+ },
21
+ "continuation": {
22
+ "model": "claude-3-5-sonnet-latest",
23
+ "reasoning": "Checkpoint continuations need context but not deep reasoning"
24
+ },
25
+ "verification": {
26
+ "model": "claude-3-5-sonnet-latest",
27
+ "reasoning": "Verification is systematic testing, not complex reasoning"
28
+ },
29
+ "milestone_complete": {
30
+ "model": "claude-3-5-sonnet-latest",
31
+ "reasoning": "Completion task is straightforward"
32
+ }
33
+ },
34
+ "provider_routing": {
35
+ "claude-3-5-sonnet-latest": {
36
+ "provider": "anthropic",
37
+ "base_url": "https://api.anthropic.com"
38
+ },
39
+ "claude-3-5-opus-latest": {
40
+ "provider": "anthropic",
41
+ "base_url": "https://api.anthropic.com"
42
+ },
43
+ "glm-4.7": {
44
+ "provider": "z-ai",
45
+ "base_url": "https://open.bigmodel.cn/api/paas/v4/",
46
+ "auth_header": "Authorization"
47
+ },
48
+ "gpt-4o": {
49
+ "provider": "openai",
50
+ "base_url": "https://api.openai.com/v1"
51
+ },
52
+ "deepseek-reasoner": {
53
+ "provider": "openrouter",
54
+ "model_name": "deepseek/deepseek-reasoner",
55
+ "base_url": "https://openrouter.ai/api/v1/chat/completions"
56
+ }
57
+ },
58
+ "cost_optimization": {
59
+ "enabled": true,
60
+ "auto_downgrade_on_budget": {
61
+ "threshold_percent": 80,
62
+ "fallback_model": "claude-3-5-haiku-latest"
63
+ },
64
+ "task_type_routing": {
65
+ "research": "claude-3-5-sonnet-latest",
66
+ "planning": "claude-3-5-haiku-latest",
67
+ "coding": "claude-3-5-sonnet-latest",
68
+ "verification": "claude-3-5-haiku-latest"
69
+ }
70
+ }
71
+ }
@@ -40,7 +40,7 @@ Output: [What artifacts will be created]
40
40
  @~/.claude/get-shit-done/workflows/execute-plan.md
41
41
  @~/.claude/get-shit-done/templates/summary.md
42
42
  [If plan contains checkpoint tasks (type="checkpoint:*"), add:]
43
- @~/.claude/get-shit-done/references/checkpoints.md
43
+ @~/.claude/get-shit-done/references/checkpoint-types.md
44
44
  </execution_context>
45
45
 
46
46
  <context>
@@ -75,7 +75,7 @@ Output: [What artifacts will be created]
75
75
  <done>[Acceptance criteria]</done>
76
76
  </task>
77
77
 
78
- <!-- For checkpoint task examples and patterns, see @~/.claude/get-shit-done/references/checkpoints.md -->
78
+ <!-- For checkpoint task examples and patterns, see @~/.claude/get-shit-done/references/checkpoint-types.md -->
79
79
  <!-- Key rule: Claude starts dev server BEFORE human-verify checkpoints. User only visits URLs. -->
80
80
 
81
81
  <task type="checkpoint:decision" gate="blocking">
@@ -374,7 +374,7 @@ Output: Working dashboard component.
374
374
  <execution_context>
375
375
  @~/.claude/get-shit-done/workflows/execute-plan.md
376
376
  @~/.claude/get-shit-done/templates/summary.md
377
- @~/.claude/get-shit-done/references/checkpoints.md
377
+ @~/.claude/get-shit-done/references/checkpoint-types.md
378
378
  </execution_context>
379
379
 
380
380
  <context>
@@ -393,7 +393,7 @@ Output: Working dashboard component.
393
393
  <done>Dashboard renders without errors</done>
394
394
  </task>
395
395
 
396
- <!-- Checkpoint pattern: Claude starts server, user visits URL. See checkpoints.md for full patterns. -->
396
+ <!-- Checkpoint pattern: Claude starts server, user visits URL. See checkpoint-types.md for full patterns. -->
397
397
  <task type="auto">
398
398
  <name>Start dev server</name>
399
399
  <action>Run `npm run dev` in background, wait for ready</action>
@@ -71,6 +71,23 @@ None yet.
71
71
  Last session: [YYYY-MM-DD HH:MM]
72
72
  Stopped at: [Description of last completed action]
73
73
  Resume file: [Path to .continue-here*.md if exists, otherwise "None"]
74
+
75
+ ## Autopilot
76
+
77
+ - **Mode:** [idle | running | paused | completed | failed]
78
+ - **Started:** [timestamp or "—"]
79
+ - **Current Phase:** [phase number or "—"]
80
+ - **Phases Remaining:** [list or "none"]
81
+ - **Checkpoints Pending:** [count or "none"]
82
+ - **Last Error:** [error description or "none"]
83
+ - **Updated:** [timestamp]
84
+
85
+ ## Cost Tracking
86
+
87
+ | Phase | Tokens | Est. Cost |
88
+ |-------|--------|-----------|
89
+ | — | — | — |
90
+ | **Total** | 0 | $0.00 |
74
91
  ```
75
92
 
76
93
  <purpose>
@@ -161,6 +178,26 @@ Enables instant resumption:
161
178
  - What was last completed
162
179
  - Is there a .continue-here file to resume from
163
180
 
181
+ ### Autopilot
182
+ Tracks autonomous execution state:
183
+ - **Mode:** idle (not running), running (actively executing), paused (budget/checkpoint), completed, failed
184
+ - **Started:** When autopilot began
185
+ - **Current Phase:** Which phase is being executed
186
+ - **Phases Remaining:** Phases yet to execute
187
+ - **Checkpoints Pending:** Count of checkpoints awaiting human approval
188
+ - **Last Error:** Most recent error if failed/paused
189
+ - **Updated:** Last state change timestamp
190
+
191
+ Updated by autopilot script during execution.
192
+
193
+ ### Cost Tracking
194
+ Tracks token usage and estimated cost:
195
+ - Per-phase breakdown
196
+ - Running total
197
+ - Used for budget enforcement
198
+
199
+ Updated after each phase completes.
200
+
164
201
  </sections>
165
202
 
166
203
  <size_constraint>