@orderful/droid 0.37.0 → 0.39.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/.claude-plugin/marketplace.json +1 -118
- package/.claude-plugin/plugin.json +51 -0
- package/AGENTS.md +4 -0
- package/CHANGELOG.md +53 -0
- package/README.md +70 -39
- package/dist/bin/droid.js +658 -212
- package/dist/commands/auth.d.ts +3 -0
- package/dist/commands/auth.d.ts.map +1 -0
- package/dist/commands/setup.d.ts.map +1 -1
- package/dist/commands/tui/components/PlatformBadges.d.ts.map +1 -1
- package/dist/commands/tui/components/SettingsDetails.d.ts.map +1 -1
- package/dist/commands/tui/hooks/useAppUpdate.d.ts.map +1 -1
- package/dist/commands/tui/views/SetupScreen.d.ts.map +1 -1
- package/dist/commands/update.d.ts.map +1 -1
- package/dist/index.js +345 -186
- package/dist/lib/agents.d.ts +4 -2
- package/dist/lib/agents.d.ts.map +1 -1
- package/dist/lib/migrations.d.ts.map +1 -1
- package/dist/lib/platform.codex.d.ts +36 -0
- package/dist/lib/platform.codex.d.ts.map +1 -0
- package/dist/lib/platforms.d.ts +30 -24
- package/dist/lib/platforms.d.ts.map +1 -1
- package/dist/lib/secrets.d.ts +7 -0
- package/dist/lib/secrets.d.ts.map +1 -0
- package/dist/lib/skills.d.ts +4 -2
- package/dist/lib/skills.d.ts.map +1 -1
- package/dist/lib/types.d.ts +2 -1
- package/dist/lib/types.d.ts.map +1 -1
- package/dist/tools/brain/.claude-plugin/plugin.json +8 -1
- package/dist/tools/brain/TOOL.yaml +1 -1
- package/dist/tools/brain/skills/brain/SKILL.md +6 -3
- package/dist/tools/brain/skills/brain/references/workflows.md +9 -5
- package/dist/tools/brain/skills/brain-obsidian/SKILL.md +2 -0
- package/dist/tools/coach/.claude-plugin/plugin.json +6 -0
- package/dist/tools/coach/skills/coach/SKILL.md +3 -0
- package/dist/tools/code-review/.claude-plugin/plugin.json +12 -0
- package/dist/tools/code-review/skills/code-review/SKILL.md +2 -0
- package/dist/tools/codex/.claude-plugin/plugin.json +9 -0
- package/dist/tools/codex/skills/codex/SKILL.md +3 -0
- package/dist/tools/comments/.claude-plugin/plugin.json +6 -0
- package/dist/tools/comments/skills/comments/SKILL.md +5 -0
- package/dist/tools/droid/.claude-plugin/plugin.json +8 -1
- package/dist/tools/droid/TOOL.yaml +4 -2
- package/dist/tools/droid/commands/setup.md +125 -0
- package/dist/tools/droid/skills/droid/SKILL.md +117 -2
- package/dist/tools/plan/.claude-plugin/plugin.json +6 -0
- package/dist/tools/plan/skills/plan/SKILL.md +2 -0
- package/dist/tools/project/.claude-plugin/plugin.json +6 -0
- package/dist/tools/project/skills/project/SKILL.md +3 -0
- package/dist/tools/status-update/.claude-plugin/plugin.json +22 -0
- package/dist/tools/status-update/TOOL.yaml +21 -0
- package/dist/tools/status-update/commands/status-update.md +27 -0
- package/dist/tools/status-update/skills/status-update/SKILL.md +253 -0
- package/dist/tools/status-update/skills/status-update/references/formatting.md +203 -0
- package/dist/tools/tech-design/.claude-plugin/plugin.json +7 -1
- package/dist/tools/tech-design/TOOL.yaml +1 -1
- package/dist/tools/tech-design/commands/tech-design.md +2 -0
- package/dist/tools/tech-design/skills/tech-design/SKILL.md +39 -9
- package/dist/tools/tech-design/skills/tech-design/references/publish.md +272 -216
- package/dist/tools/tech-design/skills/tech-design/references/start.md +50 -20
- package/dist/tools/wrapup/.claude-plugin/plugin.json +6 -0
- package/dist/tools/wrapup/skills/wrapup/SKILL.md +2 -0
- package/package.json +1 -1
- package/scripts/build-plugins.ts +154 -6
- package/src/bin/droid.ts +35 -0
- package/src/commands/auth.ts +150 -0
- package/src/commands/setup.ts +107 -2
- package/src/commands/tui/components/PlatformBadges.tsx +1 -0
- package/src/commands/tui/components/SettingsDetails.tsx +1 -0
- package/src/commands/tui/hooks/useAppUpdate.ts +21 -1
- package/src/commands/tui/views/SetupScreen.tsx +10 -1
- package/src/commands/update.ts +21 -1
- package/src/lib/agents.ts +13 -2
- package/src/lib/migrations.ts +81 -9
- package/src/lib/platform.codex.ts +131 -0
- package/src/lib/platforms.ts +127 -6
- package/src/lib/secrets.ts +12 -0
- package/src/lib/skills.ts +53 -6
- package/src/lib/types.ts +1 -0
- package/src/tools/brain/.claude-plugin/plugin.json +8 -1
- package/src/tools/brain/TOOL.yaml +1 -1
- package/src/tools/brain/skills/brain/SKILL.md +6 -3
- package/src/tools/brain/skills/brain/references/workflows.md +9 -5
- package/src/tools/brain/skills/brain-obsidian/SKILL.md +2 -0
- package/src/tools/coach/.claude-plugin/plugin.json +6 -0
- package/src/tools/coach/skills/coach/SKILL.md +3 -0
- package/src/tools/code-review/.claude-plugin/plugin.json +12 -0
- package/src/tools/code-review/skills/code-review/SKILL.md +2 -0
- package/src/tools/codex/.claude-plugin/plugin.json +9 -0
- package/src/tools/codex/skills/codex/SKILL.md +3 -0
- package/src/tools/comments/.claude-plugin/plugin.json +6 -0
- package/src/tools/comments/skills/comments/SKILL.md +5 -0
- package/src/tools/droid/.claude-plugin/plugin.json +8 -1
- package/src/tools/droid/TOOL.yaml +4 -2
- package/src/tools/droid/commands/setup.md +125 -0
- package/src/tools/droid/skills/droid/SKILL.md +117 -2
- package/src/tools/plan/.claude-plugin/plugin.json +6 -0
- package/src/tools/plan/skills/plan/SKILL.md +2 -0
- package/src/tools/project/.claude-plugin/plugin.json +6 -0
- package/src/tools/project/skills/project/SKILL.md +3 -0
- package/src/tools/status-update/.claude-plugin/plugin.json +22 -0
- package/src/tools/status-update/TOOL.yaml +21 -0
- package/src/tools/status-update/commands/status-update.md +27 -0
- package/src/tools/status-update/skills/status-update/SKILL.md +253 -0
- package/src/tools/status-update/skills/status-update/references/formatting.md +203 -0
- package/src/tools/tech-design/.claude-plugin/plugin.json +7 -1
- package/src/tools/tech-design/TOOL.yaml +1 -1
- package/src/tools/tech-design/commands/tech-design.md +2 -0
- package/src/tools/tech-design/skills/tech-design/SKILL.md +39 -9
- package/src/tools/tech-design/skills/tech-design/references/publish.md +272 -216
- package/src/tools/tech-design/skills/tech-design/references/start.md +50 -20
- package/src/tools/wrapup/.claude-plugin/plugin.json +6 -0
- package/src/tools/wrapup/skills/wrapup/SKILL.md +2 -0
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
# Formatting Reference
|
|
2
|
+
|
|
3
|
+
Detailed formatting rules for status updates.
|
|
4
|
+
|
|
5
|
+
## Status Emoji
|
|
6
|
+
|
|
7
|
+
| Status | Emoji | Display Text |
|
|
8
|
+
|--------|-------|--------------|
|
|
9
|
+
| `on_track` | `:large_green_circle:` | On track |
|
|
10
|
+
| `at_risk` | `:large_yellow_circle:` | At risk |
|
|
11
|
+
| `blocked` | `:red_circle:` | Blocked |
|
|
12
|
+
|
|
13
|
+
## Phase Checklist
|
|
14
|
+
|
|
15
|
+
### Phases in Order
|
|
16
|
+
|
|
17
|
+
1. `discovery` - Research and requirements gathering
|
|
18
|
+
2. `post_discovery_feedback` - Incorporating discovery feedback
|
|
19
|
+
3. `design` - Prototype and design work
|
|
20
|
+
4. `post_design_feedback` - Incorporating design feedback
|
|
21
|
+
5. `prd` - Writing PRD
|
|
22
|
+
6. `tech_design` - Writing Tech Design
|
|
23
|
+
7. `development` - Active implementation
|
|
24
|
+
8. `qa` - QA & Testing
|
|
25
|
+
9. `release` - Released to production
|
|
26
|
+
|
|
27
|
+
### Phase Emoji
|
|
28
|
+
|
|
29
|
+
| State | Emoji |
|
|
30
|
+
|-------|-------|
|
|
31
|
+
| completed | `:check:` |
|
|
32
|
+
| current | `:work-in-progress-sign:` |
|
|
33
|
+
| upcoming | `:waiting-to-start:` |
|
|
34
|
+
|
|
35
|
+
### Collapsed Groups
|
|
36
|
+
|
|
37
|
+
When all phases in a group are completed or upcoming (not current), collapse them:
|
|
38
|
+
|
|
39
|
+
| Group | Phases | Collapsed Name |
|
|
40
|
+
|-------|--------|----------------|
|
|
41
|
+
| 1 | discovery, post_discovery_feedback | "Discovery & Post-Discovery Feedback" |
|
|
42
|
+
| 2 | design, post_design_feedback | "Prototype, Design & Post-Design Feedback" |
|
|
43
|
+
| 3 | prd, tech_design | "PRD & Tech Design" |
|
|
44
|
+
| 4 | development | "Development" |
|
|
45
|
+
| 5 | qa, release | "QA → Release" |
|
|
46
|
+
|
|
47
|
+
### Display Rules
|
|
48
|
+
|
|
49
|
+
1. **Completed phases** - Collapse into groups, show with `:check:`
|
|
50
|
+
2. **Current phase** - Show on its own line with `:work-in-progress-sign:` and **bold**
|
|
51
|
+
3. **Upcoming phases** - Collapse into chain with `→`, show with `:waiting-to-start:`
|
|
52
|
+
|
|
53
|
+
### Examples
|
|
54
|
+
|
|
55
|
+
**Current = `development`:**
|
|
56
|
+
```
|
|
57
|
+
*Where we're at*
|
|
58
|
+
:check: Discovery & Post-Discovery Feedback
|
|
59
|
+
:check: Prototype, Design & Post-Design Feedback
|
|
60
|
+
:check: PRD & Tech Design
|
|
61
|
+
:work-in-progress-sign: *Development*
|
|
62
|
+
:waiting-to-start: QA → Release
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
**Current = `prd`:**
|
|
66
|
+
```
|
|
67
|
+
*Where we're at*
|
|
68
|
+
:check: Discovery & Post-Discovery Feedback
|
|
69
|
+
:check: Prototype, Design & Post-Design Feedback
|
|
70
|
+
:work-in-progress-sign: *PRD*
|
|
71
|
+
:waiting-to-start: Tech Design → Development → QA → Release
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
**Current = `post_discovery_feedback`:**
|
|
75
|
+
```
|
|
76
|
+
*Where we're at*
|
|
77
|
+
:check: Discovery
|
|
78
|
+
:work-in-progress-sign: *Post-Discovery Feedback*
|
|
79
|
+
:waiting-to-start: Prototype, Design & Post-Design Feedback → PRD & Tech Design → Development → QA → Release
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
**Current = `design`:**
|
|
83
|
+
```
|
|
84
|
+
*Where we're at*
|
|
85
|
+
:check: Discovery & Post-Discovery Feedback
|
|
86
|
+
:work-in-progress-sign: *Prototype/Design*
|
|
87
|
+
:waiting-to-start: Post-Design Feedback → PRD & Tech Design → Development → QA → Release
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
## Links Footer
|
|
91
|
+
|
|
92
|
+
Only include links that are configured in project metadata:
|
|
93
|
+
|
|
94
|
+
```
|
|
95
|
+
:link: <{prd_url}|PRD> · <{tech_design_url}|Tech Design> · <{figma_url}|Figma>
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
Omit any link that isn't set. If no links configured, omit the entire footer.
|
|
99
|
+
|
|
100
|
+
## Full Message Template
|
|
101
|
+
|
|
102
|
+
```
|
|
103
|
+
*Status:* {status_emoji} *{status_text}*
|
|
104
|
+
|
|
105
|
+
*Where we're at*
|
|
106
|
+
{phase_checklist}
|
|
107
|
+
|
|
108
|
+
*In flight this week*
|
|
109
|
+
• {bullet 1}
|
|
110
|
+
• {bullet 2}
|
|
111
|
+
|
|
112
|
+
*Up next*
|
|
113
|
+
• {bullet 1}
|
|
114
|
+
• {bullet 2}
|
|
115
|
+
|
|
116
|
+
{links_footer}
|
|
117
|
+
|
|
118
|
+
Posted with help from :droid:{ & :codex: if used}
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
## Crosspost Template (Summary Version)
|
|
122
|
+
|
|
123
|
+
```
|
|
124
|
+
*{project_title}*
|
|
125
|
+
|
|
126
|
+
{status_line}
|
|
127
|
+
{current_phase_only - e.g., ":work-in-progress-sign: *Development*"}
|
|
128
|
+
|
|
129
|
+
{in_flight_section}
|
|
130
|
+
|
|
131
|
+
:link: <{message_url}|View full update>
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
## Example Full Output
|
|
135
|
+
|
|
136
|
+
**Example 1: Development phase, on track**
|
|
137
|
+
```
|
|
138
|
+
*Status:* :large_green_circle: *On track*
|
|
139
|
+
|
|
140
|
+
*Where we're at*
|
|
141
|
+
:check: Discovery & Post-Discovery Feedback
|
|
142
|
+
:check: Prototype, Design & Post-Design Feedback
|
|
143
|
+
:check: PRD & Tech Design
|
|
144
|
+
:work-in-progress-sign: *Development*
|
|
145
|
+
:waiting-to-start: QA → Release
|
|
146
|
+
|
|
147
|
+
*In flight this week*
|
|
148
|
+
• Implementing scenario template API
|
|
149
|
+
• Adding copy endpoint for templates
|
|
150
|
+
|
|
151
|
+
*Up next*
|
|
152
|
+
• Fan-out orchestration design
|
|
153
|
+
• Integration tests
|
|
154
|
+
|
|
155
|
+
:link: <url|PRD> · <url|Tech Design> · <url|Figma>
|
|
156
|
+
|
|
157
|
+
Posted with help from :droid: & :codex:
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
**Example 2: PRD phase, at risk**
|
|
161
|
+
```
|
|
162
|
+
*Status:* :large_yellow_circle: *At risk*
|
|
163
|
+
|
|
164
|
+
*Where we're at*
|
|
165
|
+
:check: Discovery & Post-Discovery Feedback
|
|
166
|
+
:check: Prototype, Design & Post-Design Feedback
|
|
167
|
+
:work-in-progress-sign: *PRD*
|
|
168
|
+
:waiting-to-start: Tech Design → Development → QA → Release
|
|
169
|
+
|
|
170
|
+
*In flight this week*
|
|
171
|
+
• Finalising requirements with stakeholders
|
|
172
|
+
• Waiting on legal review for data handling
|
|
173
|
+
|
|
174
|
+
*Up next*
|
|
175
|
+
• Tech design kickoff
|
|
176
|
+
|
|
177
|
+
:link: <url|PRD>
|
|
178
|
+
|
|
179
|
+
Posted with help from :droid: & :codex:
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
**Example 3: No Slack, printed to terminal**
|
|
183
|
+
```
|
|
184
|
+
Status: On track
|
|
185
|
+
|
|
186
|
+
Where we're at
|
|
187
|
+
✓ Discovery & Post-Discovery Feedback
|
|
188
|
+
✓ Prototype, Design & Post-Design Feedback
|
|
189
|
+
→ Development
|
|
190
|
+
○ QA → Release
|
|
191
|
+
|
|
192
|
+
In flight this week
|
|
193
|
+
• Building the feature
|
|
194
|
+
• Writing tests
|
|
195
|
+
|
|
196
|
+
Up next
|
|
197
|
+
• Code review
|
|
198
|
+
• QA handoff
|
|
199
|
+
|
|
200
|
+
---
|
|
201
|
+
Tip: To post this to Slack, add slack.channel to your project's CONTEXT.md
|
|
202
|
+
and set SLACK_USER_TOKEN in your environment.
|
|
203
|
+
```
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "droid-tech-design",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Technical design authoring tool for engineers. Create structured tech design docs with /tech-design start, iterate in brain, publish to codex. Three-document approach: research doc (codebase discoveries) + thought doc (design workspace) + roll-up (clean summary for review).",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Orderful",
|
|
@@ -12,5 +12,11 @@
|
|
|
12
12
|
"droid",
|
|
13
13
|
"ai",
|
|
14
14
|
"tech-design"
|
|
15
|
+
],
|
|
16
|
+
"skills": [
|
|
17
|
+
"./skills/tech-design/SKILL.md"
|
|
18
|
+
],
|
|
19
|
+
"commands": [
|
|
20
|
+
"./commands/tech-design.md"
|
|
15
21
|
]
|
|
16
22
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
name: tech-design
|
|
2
2
|
description: "Technical design authoring tool for engineers. Create structured tech design docs with /tech-design start, iterate in brain, publish to codex. Three-document approach: research doc (codebase discoveries) + thought doc (design workspace) + roll-up (clean summary for review)."
|
|
3
|
-
version: 0.
|
|
3
|
+
version: 0.3.0
|
|
4
4
|
status: beta
|
|
5
5
|
|
|
6
6
|
includes:
|
|
@@ -13,6 +13,7 @@ argument-hint: "[start --from codex:{project} | draft [section] | think [topic]
|
|
|
13
13
|
## Examples
|
|
14
14
|
|
|
15
15
|
- `/tech-design start --from codex:billing-v2` → Create research + thought docs from codex project
|
|
16
|
+
- `/tech-design search billing` → Find and resume existing billing design
|
|
16
17
|
- `/tech-design draft rollout` → Auto-generate the rollout section
|
|
17
18
|
- `/tech-design think API design` → Guided exploration of API design, update research doc
|
|
18
19
|
- `/tech-design gaps` → Show checklist of missing/empty sections
|
|
@@ -22,6 +23,7 @@ argument-hint: "[start --from codex:{project} | draft [section] | think [topic]
|
|
|
22
23
|
|
|
23
24
|
```
|
|
24
25
|
/tech-design start --from codex:{project} # Create research + thought docs
|
|
26
|
+
/tech-design search {term} # Find and resume existing design
|
|
25
27
|
/tech-design draft [section] # Auto-generate section
|
|
26
28
|
/tech-design think [topic] # Guided exploration
|
|
27
29
|
/tech-design gaps # Missing sections checklist
|
|
@@ -45,13 +45,15 @@ Tech-design has no configuration of its own. It delegates to:
|
|
|
45
45
|
- **Brain skill** for research + thought doc location (`brain_dir`, `inbox_folder`)
|
|
46
46
|
- **Codex skill** for repository location (`codex_repo`)
|
|
47
47
|
|
|
48
|
+
**Overrides:** This skill supports user-defined overrides. See `/droid` skill § Skill Overrides.
|
|
49
|
+
|
|
48
50
|
## Three-Document Approach
|
|
49
51
|
|
|
50
|
-
| Document | Created When | Purpose | Location
|
|
51
|
-
| --------------- | ------------ | ----------------------------------------------- |
|
|
52
|
-
| **Research** | `/start` | Deep dive: codex project + codebase discoveries |
|
|
53
|
-
| **Thought doc** | `/start` | Design iteration: decisions, @mentions, drafts |
|
|
54
|
-
| **Roll-up** | `/publish` | Clean summary: decisions only, reviewable |
|
|
52
|
+
| Document | Created When | Purpose | Location | Audience |
|
|
53
|
+
| --------------- | ------------ | ----------------------------------------------- | ------------------------------------------------ | ----------- |
|
|
54
|
+
| **Research** | `/start` | Deep dive: codex project + codebase discoveries | `{brain_dir}/{inbox?}/tech-designs/{name}/` | Author + AI |
|
|
55
|
+
| **Thought doc** | `/start` | Design iteration: decisions, @mentions, drafts | `{brain_dir}/{inbox?}/tech-designs/{name}/` | Author + AI |
|
|
56
|
+
| **Roll-up** | `/publish` | Clean summary: decisions only, reviewable | `{codex_repo}/projects/{name}/TECH-DESIGN.md` | Reviewers |
|
|
55
57
|
|
|
56
58
|
**Why three documents?**
|
|
57
59
|
|
|
@@ -91,10 +93,11 @@ Both thought doc and roll-up are published to codex. Research doc stays in brain
|
|
|
91
93
|
| Command | Action |
|
|
92
94
|
| ------------------------------------------- | -------------------------------------------------------- |
|
|
93
95
|
| `/tech-design start --from codex:{project}` | Create research + thought docs, pull PRD/DESIGN context |
|
|
96
|
+
| `/tech-design search {term}` | Find and resume existing design by name |
|
|
94
97
|
| `/tech-design draft [section]` | Auto-generate from research doc + codebase exploration |
|
|
95
98
|
| `/tech-design think [topic]` | Guided exploration, updates research doc with findings |
|
|
96
99
|
| `/tech-design gaps` | Checklist of missing/empty sections |
|
|
97
|
-
| `/tech-design publish` |
|
|
100
|
+
| `/tech-design publish` | Draft or ready publish to codex with GitHub PR |
|
|
98
101
|
|
|
99
102
|
## Conversational Skill Matching
|
|
100
103
|
|
|
@@ -113,10 +116,37 @@ Commands are explicit entry points, but most usage will be natural conversation.
|
|
|
113
116
|
|
|
114
117
|
**Trigger:** `/tech-design start --from codex:{project}` or user wants to start a new tech design
|
|
115
118
|
|
|
116
|
-
**TLDR:** Create research + thought docs
|
|
119
|
+
**TLDR:** Create unified folder `{brain_dir}/{inbox?}/tech-designs/{name}/` with research + thought docs, pull PRD/DESIGN context from codex, perform deep codebase dive, set as active.
|
|
117
120
|
|
|
118
121
|
**Full procedure:** See `references/start.md` for detailed implementation steps, error handling, and examples.
|
|
119
122
|
|
|
123
|
+
## Finding Existing Designs
|
|
124
|
+
|
|
125
|
+
**Trigger:** `/tech-design search {term}` or user wants to resume existing design
|
|
126
|
+
|
|
127
|
+
**TLDR:** Glob `{brain_dir}/{inbox?}/tech-designs/*/`, fuzzy match on name, read thought-doc.md, list folder contents, set as active.
|
|
128
|
+
|
|
129
|
+
**Procedure:**
|
|
130
|
+
|
|
131
|
+
1. Get brain config: `droid config --get tools.brain`
|
|
132
|
+
2. Parse `brain_dir` and `inbox_folder` from JSON
|
|
133
|
+
3. Construct search path:
|
|
134
|
+
- If `inbox_folder` set: Use full inbox path
|
|
135
|
+
- Otherwise: Search directly in `{brain_dir}/tech-designs/`
|
|
136
|
+
4. Glob for designs: `{search_path}/tech-designs/*/`
|
|
137
|
+
5. Fuzzy match folder names against search term
|
|
138
|
+
6. If multiple matches: Prompt user to select
|
|
139
|
+
7. If single match or after selection:
|
|
140
|
+
- Read `thought-doc.md` fully
|
|
141
|
+
- List all files in folder
|
|
142
|
+
- Set thought-doc as active for session
|
|
143
|
+
8. Output paths and available commands
|
|
144
|
+
|
|
145
|
+
**Error handling:**
|
|
146
|
+
- No matches: "No tech designs found matching '{term}'. Start new with `/tech-design start`"
|
|
147
|
+
- Brain not configured: Direct to `/brain` command
|
|
148
|
+
- thought-doc.md missing: "Found folder but no thought-doc.md - folder may be incomplete"
|
|
149
|
+
|
|
120
150
|
## Drafting Content
|
|
121
151
|
|
|
122
152
|
**Trigger:** `/tech-design draft [section]` or user wants to generate content
|
|
@@ -147,9 +177,9 @@ Commands are explicit entry points, but most usage will be natural conversation.
|
|
|
147
177
|
|
|
148
178
|
**Trigger:** `/tech-design publish` or user wants to create PR for review
|
|
149
179
|
|
|
150
|
-
**TLDR:**
|
|
180
|
+
**TLDR:** Draft (share for feedback) or Ready (complete design). Draft copies tech-design/ folder only → draft PR. Ready generates rollup + copies all files → regular PR. Brain files never deleted.
|
|
151
181
|
|
|
152
|
-
**Full procedure:** See `references/publish.md` for roll-up generation, git workflow,
|
|
182
|
+
**Full procedure:** See `references/publish.md` for draft/ready workflows, roll-up generation, git workflow, and examples.
|
|
153
183
|
|
|
154
184
|
## Active Doc Tracking
|
|
155
185
|
|