@orderful/droid 0.36.0 → 0.38.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 +49 -0
- package/AGENTS.md +4 -0
- package/CHANGELOG.md +59 -0
- package/README.md +53 -39
- package/dist/bin/droid.js +525 -212
- 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/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/commands/brain.md +3 -2
- package/dist/tools/brain/skills/brain/SKILL.md +41 -10
- package/dist/tools/brain/skills/brain/references/templates.md +61 -0
- package/dist/tools/brain/skills/brain/references/workflows.md +78 -9
- 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 +7 -1
- package/dist/tools/comments/TOOL.yaml +1 -1
- package/dist/tools/comments/skills/comments/SKILL.md +11 -4
- 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 +7 -1
- package/dist/tools/plan/TOOL.yaml +1 -1
- package/dist/tools/plan/commands/plan.md +3 -1
- package/dist/tools/plan/skills/plan/SKILL.md +23 -9
- package/dist/tools/plan/skills/plan/references/workflows.md +57 -20
- package/dist/tools/project/.claude-plugin/plugin.json +6 -0
- package/dist/tools/project/skills/project/SKILL.md +3 -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 +45 -13
- 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 +16 -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/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/commands/brain.md +3 -2
- package/src/tools/brain/skills/brain/SKILL.md +41 -10
- package/src/tools/brain/skills/brain/references/templates.md +61 -0
- package/src/tools/brain/skills/brain/references/workflows.md +78 -9
- 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 +7 -1
- package/src/tools/comments/TOOL.yaml +1 -1
- package/src/tools/comments/skills/comments/SKILL.md +11 -4
- 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 +7 -1
- package/src/tools/plan/TOOL.yaml +1 -1
- package/src/tools/plan/commands/plan.md +3 -1
- package/src/tools/plan/skills/plan/SKILL.md +23 -9
- package/src/tools/plan/skills/plan/references/workflows.md +57 -20
- package/src/tools/project/.claude-plugin/plugin.json +6 -0
- package/src/tools/project/skills/project/SKILL.md +3 -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 +45 -13
- 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
|
@@ -50,14 +50,40 @@ The codex skill will:
|
|
|
50
50
|
- UI/UX considerations (from DESIGN.md if present)
|
|
51
51
|
- Key constraints or requirements
|
|
52
52
|
|
|
53
|
-
### 3. Create
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
### 3. Create Unified Tech Design Folder
|
|
54
|
+
|
|
55
|
+
Create a single folder to hold all tech design artifacts:
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
# Get brain config
|
|
59
|
+
brain_config=$(droid config --get tools.brain)
|
|
60
|
+
brain_dir=$(echo "$brain_config" | grep -o '"brain_dir": *"[^"]*"' | cut -d'"' -f4)
|
|
61
|
+
inbox_folder=$(echo "$brain_config" | grep -o '"inbox_folder": *"[^"]*"' | cut -d'"' -f4)
|
|
62
|
+
|
|
63
|
+
# Determine base path
|
|
64
|
+
if [ -n "$inbox_folder" ]; then
|
|
65
|
+
base_path="$inbox_folder"
|
|
66
|
+
else
|
|
67
|
+
base_path="$brain_dir"
|
|
68
|
+
fi
|
|
69
|
+
|
|
70
|
+
# Create folder structure
|
|
71
|
+
design_folder="$base_path/tech-designs/{project}"
|
|
72
|
+
mkdir -p "$design_folder"
|
|
73
|
+
```
|
|
56
74
|
|
|
75
|
+
**Folder structure:**
|
|
57
76
|
```
|
|
58
|
-
/
|
|
77
|
+
{brain_dir}/{inbox?}/tech-designs/{project}/
|
|
78
|
+
├── research.md
|
|
79
|
+
├── thought-doc.md
|
|
80
|
+
└── [diagrams, artifacts as needed]
|
|
59
81
|
```
|
|
60
82
|
|
|
83
|
+
### 4. Create Research Doc
|
|
84
|
+
|
|
85
|
+
Create `research.md` in the design folder:
|
|
86
|
+
|
|
61
87
|
**Research doc template:**
|
|
62
88
|
|
|
63
89
|
```markdown
|
|
@@ -81,7 +107,7 @@ Research for tech design: {brief description from PRD}
|
|
|
81
107
|
|
|
82
108
|
## Codebase Discoveries
|
|
83
109
|
|
|
84
|
-
{This section populated in step
|
|
110
|
+
{This section populated in step 5}
|
|
85
111
|
|
|
86
112
|
## Key Findings
|
|
87
113
|
|
|
@@ -174,13 +200,9 @@ Update the "Codebase Discoveries" section with specific discoveries:
|
|
|
174
200
|
- Testing: {e.g., unit test setup, integration test patterns}
|
|
175
201
|
```
|
|
176
202
|
|
|
177
|
-
### 5. Create Thought Doc
|
|
178
|
-
|
|
179
|
-
Use the brain skill to create the planning document:
|
|
203
|
+
### 5. Create Thought Doc
|
|
180
204
|
|
|
181
|
-
|
|
182
|
-
/brain plan tech-design-{project}
|
|
183
|
-
```
|
|
205
|
+
Create `thought-doc.md` in the same folder:
|
|
184
206
|
|
|
185
207
|
**Thought doc template:**
|
|
186
208
|
|
|
@@ -191,7 +213,7 @@ Use the brain skill to create the planning document:
|
|
|
191
213
|
**Status:** exploring
|
|
192
214
|
**Created:** {current date}
|
|
193
215
|
**PRD:** [[codex:projects/{project}/PRD]]
|
|
194
|
-
**Research:** [[
|
|
216
|
+
**Research:** [[research|Research doc in same folder]]
|
|
195
217
|
|
|
196
218
|
Tech design for {project}.
|
|
197
219
|
|
|
@@ -203,7 +225,7 @@ Tech design for {project}.
|
|
|
203
225
|
- Who it's for and why it matters
|
|
204
226
|
- Key constraints or requirements
|
|
205
227
|
|
|
206
|
-
See research
|
|
228
|
+
See research.md for codebase context and discovered patterns.
|
|
207
229
|
|
|
208
230
|
## Proposal
|
|
209
231
|
|
|
@@ -214,15 +236,18 @@ See research doc for codebase context and discovered patterns.
|
|
|
214
236
|
{What we don't know yet - to be explored}
|
|
215
237
|
```
|
|
216
238
|
|
|
217
|
-
Set thought
|
|
239
|
+
Set thought-doc.md path for session tracking (active design).
|
|
218
240
|
|
|
219
241
|
### 6. Provide Links to User
|
|
220
242
|
|
|
221
|
-
After creating both docs, give the user the
|
|
243
|
+
After creating both docs, give the user the folder path:
|
|
222
244
|
|
|
223
245
|
```
|
|
224
|
-
✓
|
|
225
|
-
|
|
246
|
+
✓ Tech design folder created: {design_folder}/
|
|
247
|
+
|
|
248
|
+
Files:
|
|
249
|
+
• research.md - Codex context and codebase discoveries
|
|
250
|
+
• thought-doc.md - Design iteration workspace (active)
|
|
226
251
|
|
|
227
252
|
Research doc includes:
|
|
228
253
|
• Codex project context from {project}
|
|
@@ -230,6 +255,7 @@ Research doc includes:
|
|
|
230
255
|
• Technical stack notes
|
|
231
256
|
|
|
232
257
|
You can continue working on this with:
|
|
258
|
+
• /tech-design search {project} - Resume this design later
|
|
233
259
|
• /tech-design draft - Auto-generate sections from research
|
|
234
260
|
• /tech-design think {topic} - Explore specific ideas
|
|
235
261
|
• /brain add {text} - Quick additions to active doc
|
|
@@ -243,7 +269,7 @@ What would you like to do next?
|
|
|
243
269
|
- **Brain not configured:** "Brain skill not configured. Please run `/brain` to set up your brain directory first."
|
|
244
270
|
- **Codex not configured:** "Codex skill not configured. Please run `/codex` to set up your codex repository first."
|
|
245
271
|
- **PRD missing:** Offer to create via `/codex new {project}` or continue without context
|
|
246
|
-
- **
|
|
272
|
+
- **Folder already exists:** "Tech design for '{project}' already exists at {path}. Resume with `/tech-design search {project}` or create with different name?"
|
|
247
273
|
- **Codebase exploration fails:** Gracefully note what couldn't be found, continue with what's available
|
|
248
274
|
|
|
249
275
|
## Example Output
|
|
@@ -257,8 +283,11 @@ Research findings:
|
|
|
257
283
|
🔗 Identified 5 integration points (validation, storage, API)
|
|
258
284
|
📦 Dependencies: 2 already available, 1 to add
|
|
259
285
|
|
|
260
|
-
✓
|
|
261
|
-
|
|
286
|
+
✓ Tech design folder created: {brain_dir}/0-Inbox/tech-designs/transaction-templates/
|
|
287
|
+
|
|
288
|
+
Files:
|
|
289
|
+
• research.md - Codex context and codebase discoveries
|
|
290
|
+
• thought-doc.md - Design iteration workspace (active)
|
|
262
291
|
|
|
263
292
|
Research doc includes:
|
|
264
293
|
• Codex project context from transaction-templates
|
|
@@ -266,6 +295,7 @@ Research doc includes:
|
|
|
266
295
|
• Technical stack notes
|
|
267
296
|
|
|
268
297
|
You can continue working on this with:
|
|
298
|
+
• /tech-design search transaction-templates - Resume this design later
|
|
269
299
|
• /tech-design draft - Auto-generate sections from research
|
|
270
300
|
• /tech-design think {topic} - Explore specific ideas
|
|
271
301
|
• /brain add {text} - Quick additions to active doc
|
|
@@ -18,6 +18,8 @@ Wrapup has no configuration of its own. It reads config from other installed too
|
|
|
18
18
|
|
|
19
19
|
If these tools aren't configured, wrapup skips those artifacts and focuses on git state and conversation summary.
|
|
20
20
|
|
|
21
|
+
**Overrides:** This skill supports user-defined overrides. See `/droid` skill § Skill Overrides.
|
|
22
|
+
|
|
21
23
|
## Context Lifeboat Pattern
|
|
22
24
|
|
|
23
25
|
This skill runs at the END of sessions when context pressure is highest.
|