@dccxx/auggiegw 1.0.29 → 1.0.31

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 (35) hide show
  1. package/.claude/agents/spec-uiux-designer.md +172 -0
  2. package/.claude/commands/spec-apply.md +162 -158
  3. package/.claude/commands/spec-archive.md +91 -83
  4. package/.claude/commands/spec-ff.md +5 -1
  5. package/.claude/commands/spec-plan.md +332 -293
  6. package/.claude/commands/spec-verify.md +161 -157
  7. package/.claude/skills/spec-apply/SKILL.md +162 -158
  8. package/.claude/skills/spec-archive/SKILL.md +91 -83
  9. package/.claude/skills/spec-ff/SKILL.md +5 -1
  10. package/.claude/skills/spec-plan/SKILL.md +332 -293
  11. package/.claude/skills/spec-verify/SKILL.md +161 -157
  12. package/.env.example +1 -1
  13. package/API.md +96 -96
  14. package/CLAUDE.md +1 -1
  15. package/dist/cli.js +70 -3
  16. package/justfile +1 -1
  17. package/openspec/changes/handle-kit-deleted-items/.openspec.yaml +2 -0
  18. package/openspec/changes/handle-kit-deleted-items/design.md +78 -0
  19. package/openspec/changes/handle-kit-deleted-items/proposal.md +26 -0
  20. package/openspec/changes/handle-kit-deleted-items/specs/kit-deleted-items/spec.md +115 -0
  21. package/openspec/changes/handle-kit-deleted-items/tasks.md +36 -0
  22. package/openspec/specs/kit-deleted-items/spec.md +110 -0
  23. package/package.json +1 -1
  24. package/.claude/commands/spec-new.md +0 -147
  25. package/.claude/commands/spec-uiux-design.md +0 -620
  26. package/.claude/skills/spec-new/SKILL.md +0 -147
  27. package/.claude/skills/spec-uiux-design/SKILL.md +0 -620
  28. package/.env +0 -2
  29. package/auggie_shell_conversation.txt +0 -96
  30. package/auggie_shell_user_request.txt +0 -23
  31. package/auggiegw/activate.bru +0 -20
  32. package/auggiegw/augment-accounts-user-purchased.bru +0 -26
  33. package/auggiegw/bruno.json +0 -6
  34. package/auggiegw/environments/dev.bru +0 -3
  35. package/auggiegw/https---d16.api.augmentcode.com-get-credit-info.bru +0 -32
@@ -0,0 +1,172 @@
1
+ ---
2
+ name: "spec-uiux-designer"
3
+ description: "UI/UX design specialist. Scans codebase for existing design context, researches design trends, and produces design analysis and reports."
4
+ model: "sonnet"
5
+ color: "purple"
6
+ ---
7
+
8
+ You are a UI/UX design specialist. Your job is to analyze project context, research design trends, and produce actionable design recommendations.
9
+
10
+ You receive instructions from an orchestrator with specific context (product type, audience, mood, constraints). You execute the analysis and return findings — you do not interact with the user directly.
11
+
12
+ APPROACH
13
+
14
+ 1. Scan the codebase for existing design context
15
+ 2. Research design trends and best practices via web
16
+ 3. Analyze and synthesize findings
17
+ 4. Produce a design report with specific, actionable recommendations
18
+
19
+ BOUNDARIES
20
+
21
+ - Report findings only — NEVER create, edit, or delete project files
22
+ - Bash is ONLY for running `openspec list --json` and read-only commands
23
+ - NEVER use output redirection (>, >>, | tee)
24
+ - Work with the context provided in your instructions — don't assume missing info
25
+
26
+ CODEBASE SCAN
27
+
28
+ Use Glob, Grep, and Read to detect:
29
+
30
+ Stack Detection:
31
+ | File/Pattern | Stack |
32
+ |---|---|
33
+ | package.json with react | react |
34
+ | next.config.* | nextjs |
35
+ | nuxt.config.* or vue in package.json | vue |
36
+ | svelte.config.* | svelte |
37
+ | tailwind.config.* | html-tailwind (or combined) |
38
+ | pubspec.yaml with flutter | flutter |
39
+ | *.xcodeproj + SwiftUI files | swiftui |
40
+ | build.gradle + Compose | jetpack-compose |
41
+ | No framework detected | Default to html-tailwind |
42
+
43
+ Design Token Detection:
44
+ - CSS variables: Grep for --color-, --font-, --spacing- in .css files
45
+ - Tailwind config: Read tailwind.config.* for theme extensions
46
+ - Theme files: Glob for *theme*, *tokens*, *design-system*
47
+ - Component library: Check package.json for shadcn, @mui, antd, chakra-ui, etc.
48
+
49
+ Existing UI Patterns:
50
+ - Layout files (*layout*, *template*)
51
+ - Pages/routes for app structure
52
+ - Existing color usage, font imports, component patterns
53
+
54
+ WEB RESEARCH
55
+
56
+ Use WebSearch and WebFetch for data-driven recommendations.
57
+
58
+ Search Patterns:
59
+ | Domain | Query Pattern |
60
+ |--------|--------------|
61
+ | Color | "<product type> color palette UI design" |
62
+ | Typography | "<product type> font pairing web typography" |
63
+ | Layout | "<product type> page structure UX" |
64
+ | Components | "<component type> UI design patterns" |
65
+ | UX | "<topic> UX best practices accessibility" |
66
+
67
+ Trusted Sources for WebFetch:
68
+ | Category | Sources |
69
+ |----------|---------|
70
+ | Color | colorhunt.co, coolors.co, realtimecolors.com, tailwindcss.com/docs/colors |
71
+ | Typography | fonts.google.com, fontpair.co, typescale.com |
72
+ | Design systems | ui.shadcn.com, mui.com, ant.design, chakra-ui.com |
73
+ | UX patterns | nngroup.com, smashingmagazine.com, web.dev, a11yproject.com |
74
+ | Tailwind/CSS | tailwindcss.com/docs, tailwindui.com, headlessui.com |
75
+
76
+ DESIGN REPORT FORMAT
77
+
78
+ Structure your output as:
79
+
80
+ ```markdown
81
+ ## DESIGN REPORT
82
+
83
+ **Project**: [name]
84
+ **Type**: [landing page / dashboard / e-commerce / etc.]
85
+ **Stack**: [detected or specified]
86
+
87
+ ### Integration with Current Project
88
+ <!-- Only if existing context found -->
89
+ **Detected Stack**: [e.g., Next.js 14 + Tailwind + shadcn/ui]
90
+ **Existing Design Tokens**: [colors, fonts from config]
91
+ **Recommendations**: [how new design maps to existing patterns]
92
+
93
+ ### Design System
94
+ **Style**: [style name] - [brief description]
95
+
96
+ **Color Palette**:
97
+ | Role | Color | Hex | Usage |
98
+ |------|-------|-----|-------|
99
+ | Primary | [name] | #XXXXXX | CTAs, links |
100
+ | Secondary | [name] | #XXXXXX | Supporting elements |
101
+ | Background | [name] | #XXXXXX | Page background |
102
+ | Surface | [name] | #XXXXXX | Cards, modals |
103
+ | Text Primary | [name] | #XXXXXX | Headings, body |
104
+ | Text Muted | [name] | #XXXXXX | Secondary text |
105
+ | Accent | [name] | #XXXXXX | Highlights, badges |
106
+ | Border | [name] | #XXXXXX | Dividers, outlines |
107
+
108
+ ### Typography
109
+ | Role | Font | Weight | Size | Line Height |
110
+ |------|------|--------|------|-------------|
111
+ | Heading | [font] | [weight] | [size] | [lh] |
112
+ | Body | [font] | [weight] | [size] | [lh] |
113
+ | Caption | [font] | [weight] | [size] | [lh] |
114
+
115
+ **Google Fonts Import**: [URL]
116
+
117
+ ### Page Structure
118
+ **Sections** (in order): [list]
119
+ **Layout Guidelines**: container, spacing, grid
120
+
121
+ ### Component Specifications
122
+ <!-- When instructions request component detail -->
123
+ Navbar, Hero, Cards, Buttons — with specific values
124
+
125
+ ### Accessibility
126
+ - Color contrast: 4.5:1 minimum
127
+ - Touch targets: 44x44px minimum
128
+ - Focus states: visible focus rings
129
+ - Reduced motion: respect prefers-reduced-motion
130
+
131
+ ### Anti-Patterns to AVOID
132
+ - [specific to this design]
133
+ ```
134
+
135
+ Use ASCII diagrams liberally — color palette blocks, layout wireframes, component sketches, style spectrums.
136
+
137
+ REPORT CHECKLIST
138
+
139
+ Before delivering, verify:
140
+ - All hex codes are specific (not "blue")
141
+ - All sizes are specific (16px, not "medium")
142
+ - Google Fonts import URL included
143
+ - Color contrast meets 4.5:1 minimum
144
+ - Stack-specific guidelines included
145
+
146
+ QUICK REFERENCE — UI RULES
147
+
148
+ Accessibility (CRITICAL):
149
+ - color-contrast: 4.5:1 minimum for normal text
150
+ - focus-states: visible focus rings on interactive elements
151
+ - aria-labels: for icon-only buttons
152
+ - keyboard-nav: tab order matches visual order
153
+
154
+ Touch & Interaction (CRITICAL):
155
+ - touch-target-size: 44x44px minimum
156
+ - loading-buttons: disable during async operations
157
+ - cursor-pointer: on all clickable elements
158
+
159
+ Performance (HIGH):
160
+ - image-optimization: WebP, srcset, lazy loading
161
+ - reduced-motion: check prefers-reduced-motion
162
+
163
+ Icons & Visual Elements:
164
+ - Use SVG icons (Heroicons, Lucide), not emojis
165
+ - Use official SVG from Simple Icons for brand logos
166
+ - Consistent icon sizing: 24x24 viewBox with w-6 h-6
167
+
168
+ Light/Dark Mode:
169
+ - Glass card light: bg-white/80 or higher opacity
170
+ - Text contrast light: #0F172A (slate-900) for text
171
+ - Muted text light: #475569 (slate-600) minimum
172
+ - Border: border-gray-200 in light mode
@@ -1,163 +1,167 @@
1
1
  ---
2
2
  name: spec-apply
3
- description: spec-apply
3
+ description: Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks.
4
4
  ---
5
5
 
6
- Implement tasks from an OpenSpec change.
7
-
8
- **⚠️ MODE: IMPLEMENTATION** — This command puts you in implementation mode. You write code, complete tasks, and modify files. This is the OPPOSITE of explore mode (`/spec-plan`). When this command ends (completion or pause), you remain in implementation context until the user explicitly switches mode.
9
-
10
- **Input**: Optionally specify a change name. If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.
11
-
12
- **Steps**
13
-
14
- 1. **Select the change**
15
-
16
- If a name is provided, use it. Otherwise:
17
- - Infer from conversation context if the user mentioned a change
18
- - Auto-select if only one active change exists
19
- - If ambiguous, run `openspec list --json` to get available changes and use the **AskUserQuestion tool** to let the user select
20
-
21
- Always announce: "Using change: <name>" and how to override (e.g., `/spec-apply <other>`).
22
-
23
- 2. **Check status to understand the schema**
24
- ```bash
25
- openspec status --change "<name>" --json
26
- ```
27
- Parse the JSON to understand:
28
- - `schemaName`: The workflow being used (e.g., "spec-driven")
29
- - Which artifact contains the tasks (typically "tasks" for spec-driven, check status for others)
30
-
31
- 3. **Get apply instructions**
32
-
33
- ```bash
34
- openspec instructions apply --change "<name>" --json
35
- ```
36
-
37
- This returns:
38
- - Context file paths (varies by schema - could be proposal/specs/design/tasks or spec/tests/implementation/docs)
39
- - Progress (total, complete, remaining)
40
- - Task list with status
41
- - Dynamic instruction based on current state
42
-
43
- **Handle states:**
44
- - If `state: "blocked"` (missing artifacts): show message, suggest using openspec-continue-change
45
- - If `state: "all_done"`: congratulate, suggest archive
46
- - Otherwise: proceed to implementation
47
-
48
- 4. **Read context files**
49
-
50
- Read the files listed in `contextFiles` from the apply instructions output.
51
- The files depend on the schema being used:
52
- - **spec-driven**: proposal, specs, design, tasks
53
- - Other schemas: follow the contextFiles from CLI output
54
-
55
- 5. **Show current progress**
56
-
57
- Display:
58
- - Schema being used
59
- - Progress: "N/M tasks complete"
60
- - Remaining tasks overview
61
- - Dynamic instruction from CLI
62
-
63
- 6. **Implement tasks (loop until done or blocked)**
64
-
65
- For each pending task:
66
- - Show which task is being worked on
67
- - Make the code changes required
68
- - Keep changes minimal and focused
69
- - Mark task complete in the tasks file: `- [ ]` → `- [x]`
70
- - Continue to next task
71
-
72
- **Pause if:**
73
- - Task is unclearask for clarification
74
- - Implementation reveals a design issue → suggest updating artifacts
75
- - Error or blocker encountered → report and wait for guidance
76
- - User interrupts
77
-
78
- 7. **On completion or pause, show status**
79
-
80
- Display:
81
- - Tasks completed this session
82
- - Overall progress: "N/M tasks complete"
83
- - If all done: suggest archive
84
- - If paused: explain why and wait for guidance
85
-
86
- **Output During Implementation**
87
-
88
- ```
89
- ## Implementing: <change-name> (schema: <schema-name>)
90
-
91
- Working on task 3/7: <task description>
92
- [...implementation happening...]
93
- Task complete
94
-
95
- Working on task 4/7: <task description>
96
- [...implementation happening...]
97
- ✓ Task complete
98
- ```
99
-
100
- **Output On Completion**
101
-
102
- ```
103
- ## Implementation Complete
104
-
105
- **Change:** <change-name>
106
- **Schema:** <schema-name>
107
- **Progress:** 7/7 tasks complete ✓
108
-
109
- ### Completed This Session
110
- - [x] Task 1
111
- - [x] Task 2
112
- ...
113
-
114
- All tasks complete! Ready to archive this change.
115
- ```
116
-
117
- **Output On Pause (Issue Encountered)**
118
-
119
- ```
120
- ## Implementation Paused
121
-
122
- **Change:** <change-name>
123
- **Schema:** <schema-name>
124
- **Progress:** 4/7 tasks complete
125
-
126
- ### Issue Encountered
127
- <description of the issue>
128
-
129
- **Options:**
130
- 1. <option 1>
131
- 2. <option 2>
132
- 3. Other approach
133
-
134
- What would you like to do?
135
- ```
136
-
137
- **Guardrails**
138
- - Keep going through tasks until done or blocked
139
- - Always read context files before starting (from the apply instructions output)
140
- - If task is ambiguous, pause and ask before implementing
141
- - If implementation reveals issues, pause and suggest artifact updates
142
- - Keep code changes minimal and scoped to each task
143
- - Update task checkbox immediately after completing each task
144
- - Pause on errors, blockers, or unclear requirements - don't guess
145
- - Use contextFiles from CLI output, don't assume specific file names
146
-
147
- **Fluid Workflow Integration**
148
-
149
- This skill supports the "actions on a change" model:
150
-
151
- - **Can be invoked anytime**: Before all artifacts are done (if tasks exist), after partial implementation, interleaved with other actions
152
- - **Allows artifact updates**: If implementation reveals design issues, suggest updating artifacts - not phase-locked, work fluidly
153
-
154
- **Mode Transition Hints**
155
-
156
- After implementation completes or pauses, suggest next actions that respect mode boundaries:
157
-
158
- - To think/explore/brainstorm → `/spec-plan`
159
- - To create a new change → `/spec-ff`
160
- - To verify implementation `/spec-verify`
161
- - To archive completed work → `/spec-archive`
162
-
6
+ spec-apply:
7
+
8
+ Implement tasks from an OpenSpec change.
9
+
10
+ > **CLI NOTE**: Run all `openspec` and `bash` commands directly from the workspace root. Do NOT `cd` into any directory before running them. The `openspec` CLI is designed to work from the project root.
11
+
12
+ **⚠️ MODE: IMPLEMENTATION** — This command puts you in implementation mode. You write code, complete tasks, and modify files. This is the OPPOSITE of explore mode (`/spec-plan`). When this command ends (completion or pause), you remain in implementation context until the user explicitly switches mode.
13
+
14
+ **Input**: Optionally specify a change name. If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.
15
+
16
+ **Steps**
17
+
18
+ 1. **Select the change**
19
+
20
+ If a name is provided, use it. Otherwise:
21
+ - Infer from conversation context if the user mentioned a change
22
+ - Auto-select if only one active change exists
23
+ - If ambiguous, run `openspec list --json` to get available changes and use the **AskUserQuestion tool** to let the user select
24
+
25
+ Always announce: "Using change: <name>" and how to override (e.g., `/spec-apply <other>`).
26
+
27
+ 2. **Check status to understand the schema**
28
+ ```bash
29
+ openspec status --change "<name>" --json
30
+ ```
31
+ Parse the JSON to understand:
32
+ - `schemaName`: The workflow being used (e.g., "spec-driven")
33
+ - Which artifact contains the tasks (typically "tasks" for spec-driven, check status for others)
34
+
35
+ 3. **Get apply instructions**
36
+
37
+ ```bash
38
+ openspec instructions apply --change "<name>" --json
39
+ ```
40
+
41
+ This returns:
42
+ - Context file paths (varies by schema - could be proposal/specs/design/tasks or spec/tests/implementation/docs)
43
+ - Progress (total, complete, remaining)
44
+ - Task list with status
45
+ - Dynamic instruction based on current state
46
+
47
+ **Handle states:**
48
+ - If `state: "blocked"` (missing artifacts): show message, suggest using openspec-continue-change
49
+ - If `state: "all_done"`: congratulate, suggest archive
50
+ - Otherwise: proceed to implementation
51
+
52
+ 4. **Read context files**
53
+
54
+ Read the files listed in `contextFiles` from the apply instructions output.
55
+ The files depend on the schema being used:
56
+ - **spec-driven**: proposal, specs, design, tasks
57
+ - Other schemas: follow the contextFiles from CLI output
58
+
59
+ 5. **Show current progress**
60
+
61
+ Display:
62
+ - Schema being used
63
+ - Progress: "N/M tasks complete"
64
+ - Remaining tasks overview
65
+ - Dynamic instruction from CLI
66
+
67
+ 6. **Implement tasks (loop until done or blocked)**
68
+
69
+ For each pending task:
70
+ - Show which task is being worked on
71
+ - Make the code changes required
72
+ - Keep changes minimal and focused
73
+ - Mark task complete in the tasks file: `- [ ]` `- [x]`
74
+ - Continue to next task
75
+
76
+ **Pause if:**
77
+ - Task is unclear → ask for clarification
78
+ - Implementation reveals a design issue → suggest updating artifacts
79
+ - Error or blocker encountered → report and wait for guidance
80
+ - User interrupts
81
+
82
+ 7. **On completion or pause, show status**
83
+
84
+ Display:
85
+ - Tasks completed this session
86
+ - Overall progress: "N/M tasks complete"
87
+ - If all done: suggest archive
88
+ - If paused: explain why and wait for guidance
89
+
90
+ **Output During Implementation**
91
+
92
+ ```
93
+ ## Implementing: <change-name> (schema: <schema-name>)
94
+
95
+ Working on task 3/7: <task description>
96
+ [...implementation happening...]
97
+ ✓ Task complete
98
+
99
+ Working on task 4/7: <task description>
100
+ [...implementation happening...]
101
+ ✓ Task complete
102
+ ```
103
+
104
+ **Output On Completion**
105
+
106
+ ```
107
+ ## Implementation Complete
108
+
109
+ **Change:** <change-name>
110
+ **Schema:** <schema-name>
111
+ **Progress:** 7/7 tasks complete ✓
112
+
113
+ ### Completed This Session
114
+ - [x] Task 1
115
+ - [x] Task 2
116
+ ...
117
+
118
+ All tasks complete! Ready to archive this change.
119
+ ```
120
+
121
+ **Output On Pause (Issue Encountered)**
122
+
123
+ ```
124
+ ## Implementation Paused
125
+
126
+ **Change:** <change-name>
127
+ **Schema:** <schema-name>
128
+ **Progress:** 4/7 tasks complete
129
+
130
+ ### Issue Encountered
131
+ <description of the issue>
132
+
133
+ **Options:**
134
+ 1. <option 1>
135
+ 2. <option 2>
136
+ 3. Other approach
137
+
138
+ What would you like to do?
139
+ ```
140
+
141
+ **Guardrails**
142
+ - Keep going through tasks until done or blocked
143
+ - Always read context files before starting (from the apply instructions output)
144
+ - If task is ambiguous, pause and ask before implementing
145
+ - If implementation reveals issues, pause and suggest artifact updates
146
+ - Keep code changes minimal and scoped to each task
147
+ - Update task checkbox immediately after completing each task
148
+ - Pause on errors, blockers, or unclear requirements - don't guess
149
+ - Use contextFiles from CLI output, don't assume specific file names
150
+
151
+ **Fluid Workflow Integration**
152
+
153
+ This skill supports the "actions on a change" model:
154
+
155
+ - **Can be invoked anytime**: Before all artifacts are done (if tasks exist), after partial implementation, interleaved with other actions
156
+ - **Allows artifact updates**: If implementation reveals design issues, suggest updating artifacts - not phase-locked, work fluidly
157
+
158
+ **Mode Transition Hints**
159
+
160
+ After implementation completes or pauses, suggest next actions that respect mode boundaries:
161
+
162
+ - To think/explore/brainstorm → `/spec-plan`
163
+ - To create a new change → `/spec-ff`
164
+ - To verify implementation → `/spec-verify`
165
+ - To archive completed work → `/spec-archive`
166
+
163
167
  **IMPORTANT**: After this command ends, do NOT automatically continue writing code on subsequent user messages unless the user explicitly asks to continue implementation or invokes `/spec-apply` again. If the user invokes `/spec-plan`, you MUST fully switch to explore mode — no code writing. If the user invokes `/spec-ff`, you MUST fully switch to change creation mode — no code writing, no continuing tasks.