@orderful/droid 0.25.2 → 0.27.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 (159) hide show
  1. package/.claude-plugin/marketplace.json +114 -0
  2. package/.github/workflows/ci.yml +20 -0
  3. package/AGENTS.md +75 -18
  4. package/CHANGELOG.md +73 -0
  5. package/README.md +30 -4
  6. package/dist/bin/droid.js +164 -75
  7. package/dist/index.js +68 -26
  8. package/dist/lib/migrations.d.ts +8 -0
  9. package/dist/lib/migrations.d.ts.map +1 -1
  10. package/dist/lib/skill-config.d.ts.map +1 -1
  11. package/dist/lib/skills.d.ts.map +1 -1
  12. package/dist/lib/tools.d.ts.map +1 -1
  13. package/dist/lib/types.d.ts +10 -2
  14. package/dist/lib/types.d.ts.map +1 -1
  15. package/dist/tools/README.md +1 -1
  16. package/dist/tools/brain/.claude-plugin/plugin.json +16 -0
  17. package/dist/tools/brain/TOOL.yaml +7 -5
  18. package/dist/tools/brain/commands/brain.md +17 -49
  19. package/dist/tools/brain/commands/scratchpad.md +13 -50
  20. package/{src/tools/brain/skills/droid-brain → dist/tools/brain/skills/brain}/SKILL.md +6 -6
  21. package/dist/tools/brain/skills/{droid-brain-obsidian → brain-obsidian}/SKILL.md +9 -9
  22. package/dist/tools/coach/.claude-plugin/plugin.json +16 -0
  23. package/dist/tools/coach/TOOL.yaml +4 -3
  24. package/dist/tools/coach/commands/coach.md +14 -54
  25. package/{src/tools/coach/skills/droid-coach → dist/tools/coach/skills/coach}/SKILL.md +5 -4
  26. package/dist/tools/code-review/.claude-plugin/plugin.json +16 -0
  27. package/dist/tools/code-review/TOOL.yaml +4 -3
  28. package/dist/tools/code-review/commands/code-review.md +18 -102
  29. package/dist/tools/code-review/skills/code-review/SKILL.md +154 -0
  30. package/dist/tools/codex/.claude-plugin/plugin.json +16 -0
  31. package/dist/tools/codex/TOOL.yaml +5 -4
  32. package/dist/tools/codex/commands/codex.md +18 -65
  33. package/dist/tools/codex/skills/{droid-codex → codex}/SKILL.md +64 -45
  34. package/{src/tools/codex/skills/droid-codex → dist/tools/codex/skills/codex}/references/loading.md +94 -55
  35. package/dist/tools/codex/skills/codex/scripts/git-finish-write.d.ts.map +1 -0
  36. package/dist/tools/codex/skills/codex/scripts/git-preamble.d.ts.map +1 -0
  37. package/dist/tools/codex/skills/codex/scripts/git-start-write.d.ts.map +1 -0
  38. package/dist/tools/comments/.claude-plugin/plugin.json +16 -0
  39. package/dist/tools/comments/TOOL.yaml +4 -3
  40. package/dist/tools/comments/commands/comments.md +12 -14
  41. package/{src/tools/comments/skills/droid-comments → dist/tools/comments/skills/comments}/SKILL.md +4 -2
  42. package/dist/tools/droid/.claude-plugin/plugin.json +15 -0
  43. package/dist/tools/droid/TOOL.yaml +1 -1
  44. package/dist/tools/droid/skills/droid/SKILL.md +1 -1
  45. package/dist/tools/project/.claude-plugin/plugin.json +16 -0
  46. package/dist/tools/project/TOOL.yaml +4 -3
  47. package/dist/tools/project/commands/project.md +12 -27
  48. package/dist/tools/project/skills/{droid-project → project}/SKILL.md +13 -12
  49. package/dist/tools/tech-design/.claude-plugin/plugin.json +16 -0
  50. package/dist/tools/tech-design/TOOL.yaml +19 -0
  51. package/dist/tools/tech-design/commands/tech-design.md +31 -0
  52. package/dist/tools/tech-design/skills/tech-design/SKILL.md +218 -0
  53. package/dist/tools/tech-design/skills/tech-design/references/draft.md +321 -0
  54. package/dist/tools/tech-design/skills/tech-design/references/gaps.md +328 -0
  55. package/dist/tools/tech-design/skills/tech-design/references/publish.md +409 -0
  56. package/dist/tools/tech-design/skills/tech-design/references/research-doc-template.md +129 -0
  57. package/dist/tools/tech-design/skills/tech-design/references/rollup-template.md +55 -0
  58. package/dist/tools/tech-design/skills/tech-design/references/start.md +353 -0
  59. package/dist/tools/tech-design/skills/tech-design/references/think.md +356 -0
  60. package/dist/tools/tech-design/skills/tech-design/references/thought-doc-template.md +72 -0
  61. package/package.json +3 -2
  62. package/scripts/build-plugins.ts +207 -0
  63. package/src/commands/tui/components/Badge.test.tsx +10 -4
  64. package/src/commands/tui.tsx +4 -4
  65. package/src/lib/migrations.ts +95 -4
  66. package/src/lib/skill-config.ts +95 -57
  67. package/src/lib/skills.test.ts +199 -74
  68. package/src/lib/skills.ts +57 -56
  69. package/src/lib/tools.ts +19 -12
  70. package/src/lib/types.ts +20 -5
  71. package/src/tools/README.md +1 -1
  72. package/src/tools/brain/.claude-plugin/plugin.json +16 -0
  73. package/src/tools/brain/TOOL.yaml +7 -5
  74. package/src/tools/brain/commands/brain.md +17 -49
  75. package/src/tools/brain/commands/scratchpad.md +13 -50
  76. package/{dist/tools/brain/skills/droid-brain → src/tools/brain/skills/brain}/SKILL.md +6 -6
  77. package/src/tools/brain/skills/{droid-brain-obsidian → brain-obsidian}/SKILL.md +9 -9
  78. package/src/tools/coach/.claude-plugin/plugin.json +16 -0
  79. package/src/tools/coach/TOOL.yaml +4 -3
  80. package/src/tools/coach/commands/coach.md +14 -54
  81. package/{dist/tools/coach/skills/droid-coach → src/tools/coach/skills/coach}/SKILL.md +5 -4
  82. package/src/tools/code-review/.claude-plugin/plugin.json +16 -0
  83. package/src/tools/code-review/TOOL.yaml +4 -3
  84. package/src/tools/code-review/commands/code-review.md +18 -102
  85. package/src/tools/code-review/skills/code-review/SKILL.md +154 -0
  86. package/src/tools/codex/.claude-plugin/plugin.json +16 -0
  87. package/src/tools/codex/TOOL.yaml +5 -4
  88. package/src/tools/codex/commands/codex.md +18 -65
  89. package/src/tools/codex/skills/{droid-codex → codex}/SKILL.md +64 -45
  90. package/{dist/tools/codex/skills/droid-codex → src/tools/codex/skills/codex}/references/loading.md +94 -55
  91. package/src/tools/comments/.claude-plugin/plugin.json +16 -0
  92. package/src/tools/comments/TOOL.yaml +4 -3
  93. package/src/tools/comments/commands/comments.md +12 -14
  94. package/{dist/tools/comments/skills/droid-comments → src/tools/comments/skills/comments}/SKILL.md +4 -2
  95. package/src/tools/droid/.claude-plugin/plugin.json +15 -0
  96. package/src/tools/droid/TOOL.yaml +1 -1
  97. package/src/tools/droid/skills/droid/SKILL.md +1 -1
  98. package/src/tools/project/.claude-plugin/plugin.json +16 -0
  99. package/src/tools/project/TOOL.yaml +4 -3
  100. package/src/tools/project/commands/project.md +12 -27
  101. package/src/tools/project/skills/{droid-project → project}/SKILL.md +13 -12
  102. package/src/tools/tech-design/.claude-plugin/plugin.json +16 -0
  103. package/src/tools/tech-design/TOOL.yaml +19 -0
  104. package/src/tools/tech-design/commands/tech-design.md +31 -0
  105. package/src/tools/tech-design/skills/tech-design/SKILL.md +218 -0
  106. package/src/tools/tech-design/skills/tech-design/references/draft.md +321 -0
  107. package/src/tools/tech-design/skills/tech-design/references/gaps.md +328 -0
  108. package/src/tools/tech-design/skills/tech-design/references/publish.md +409 -0
  109. package/src/tools/tech-design/skills/tech-design/references/research-doc-template.md +129 -0
  110. package/src/tools/tech-design/skills/tech-design/references/rollup-template.md +55 -0
  111. package/src/tools/tech-design/skills/tech-design/references/start.md +353 -0
  112. package/src/tools/tech-design/skills/tech-design/references/think.md +356 -0
  113. package/src/tools/tech-design/skills/tech-design/references/thought-doc-template.md +72 -0
  114. package/dist/tools/code-review/skills/droid-code-review/SKILL.md +0 -55
  115. package/dist/tools/codex/skills/droid-codex/scripts/git-finish-write.d.ts.map +0 -1
  116. package/dist/tools/codex/skills/droid-codex/scripts/git-preamble.d.ts.map +0 -1
  117. package/dist/tools/codex/skills/droid-codex/scripts/git-start-write.d.ts.map +0 -1
  118. package/src/tools/code-review/skills/droid-code-review/SKILL.md +0 -55
  119. /package/dist/tools/brain/skills/{droid-brain → brain}/references/metadata.md +0 -0
  120. /package/dist/tools/brain/skills/{droid-brain → brain}/references/naming.md +0 -0
  121. /package/dist/tools/brain/skills/{droid-brain → brain}/references/templates.md +0 -0
  122. /package/dist/tools/brain/skills/{droid-brain → brain}/references/workflows.md +0 -0
  123. /package/dist/tools/brain/skills/{droid-brain-obsidian → brain-obsidian}/references/templates.md +0 -0
  124. /package/dist/tools/brain/skills/{droid-brain-obsidian → brain-obsidian}/references/workflows.md +0 -0
  125. /package/dist/tools/codex/skills/{droid-codex → codex}/references/creating.md +0 -0
  126. /package/dist/tools/codex/skills/{droid-codex → codex}/references/decisions.md +0 -0
  127. /package/dist/tools/codex/skills/{droid-codex → codex}/references/topics.md +0 -0
  128. /package/dist/tools/codex/skills/{droid-codex → codex}/scripts/git-finish-write.d.ts +0 -0
  129. /package/dist/tools/codex/skills/{droid-codex → codex}/scripts/git-finish-write.ts +0 -0
  130. /package/dist/tools/codex/skills/{droid-codex → codex}/scripts/git-preamble.d.ts +0 -0
  131. /package/dist/tools/codex/skills/{droid-codex → codex}/scripts/git-preamble.ts +0 -0
  132. /package/dist/tools/codex/skills/{droid-codex → codex}/scripts/git-scripts.test.ts +0 -0
  133. /package/dist/tools/codex/skills/{droid-codex → codex}/scripts/git-start-write.d.ts +0 -0
  134. /package/dist/tools/codex/skills/{droid-codex → codex}/scripts/git-start-write.ts +0 -0
  135. /package/dist/tools/project/skills/{droid-project → project}/references/changelog.md +0 -0
  136. /package/dist/tools/project/skills/{droid-project → project}/references/creating.md +0 -0
  137. /package/dist/tools/project/skills/{droid-project → project}/references/loading.md +0 -0
  138. /package/dist/tools/project/skills/{droid-project → project}/references/templates.md +0 -0
  139. /package/dist/tools/project/skills/{droid-project → project}/references/updating.md +0 -0
  140. /package/dist/tools/project/skills/{droid-project → project}/references/versioning.md +0 -0
  141. /package/src/tools/brain/skills/{droid-brain → brain}/references/metadata.md +0 -0
  142. /package/src/tools/brain/skills/{droid-brain → brain}/references/naming.md +0 -0
  143. /package/src/tools/brain/skills/{droid-brain → brain}/references/templates.md +0 -0
  144. /package/src/tools/brain/skills/{droid-brain → brain}/references/workflows.md +0 -0
  145. /package/src/tools/brain/skills/{droid-brain-obsidian → brain-obsidian}/references/templates.md +0 -0
  146. /package/src/tools/brain/skills/{droid-brain-obsidian → brain-obsidian}/references/workflows.md +0 -0
  147. /package/src/tools/codex/skills/{droid-codex → codex}/references/creating.md +0 -0
  148. /package/src/tools/codex/skills/{droid-codex → codex}/references/decisions.md +0 -0
  149. /package/src/tools/codex/skills/{droid-codex → codex}/references/topics.md +0 -0
  150. /package/src/tools/codex/skills/{droid-codex → codex}/scripts/git-finish-write.ts +0 -0
  151. /package/src/tools/codex/skills/{droid-codex → codex}/scripts/git-preamble.ts +0 -0
  152. /package/src/tools/codex/skills/{droid-codex → codex}/scripts/git-scripts.test.ts +0 -0
  153. /package/src/tools/codex/skills/{droid-codex → codex}/scripts/git-start-write.ts +0 -0
  154. /package/src/tools/project/skills/{droid-project → project}/references/changelog.md +0 -0
  155. /package/src/tools/project/skills/{droid-project → project}/references/creating.md +0 -0
  156. /package/src/tools/project/skills/{droid-project → project}/references/loading.md +0 -0
  157. /package/src/tools/project/skills/{droid-project → project}/references/templates.md +0 -0
  158. /package/src/tools/project/skills/{droid-project → project}/references/updating.md +0 -0
  159. /package/src/tools/project/skills/{droid-project → project}/references/versioning.md +0 -0
@@ -36,6 +36,7 @@ Detailed procedure for loading entries from the codex.
36
36
  - Multiple matches → show list with category, let user pick
37
37
 
38
38
  **Fallback:** If `index.yaml` doesn't exist, fall back to directory scanning:
39
+
39
40
  ```bash
40
41
  ls {codex_repo}/projects/ | grep -i {name}
41
42
  ls {codex_repo}/domains/ | grep -i {name}
@@ -59,11 +60,11 @@ projects/transaction-templates/
59
60
 
60
61
  CONTEXT.md is the **first layer** - a synthesised summary that's enough for most queries. Only load full documents when deeper detail is needed.
61
62
 
62
- | Layer | What | When to use |
63
- |-------|------|-------------|
64
- | 1 | CONTEXT.md (~2KB) | General questions, getting oriented, "what is this project?" |
65
- | 2 | Specific file | Deep dives - "show me the full technical architecture" |
66
- | 3 | All files | Comprehensive review, major updates, onboarding |
63
+ | Layer | What | When to use |
64
+ | ----- | ----------------- | ------------------------------------------------------------ |
65
+ | 1 | CONTEXT.md (~2KB) | General questions, getting oriented, "what is this project?" |
66
+ | 2 | Specific file | Deep dives - "show me the full technical architecture" |
67
+ | 3 | All files | Comprehensive review, major updates, onboarding |
67
68
 
68
69
  ### Procedure
69
70
 
@@ -71,6 +72,7 @@ CONTEXT.md is the **first layer** - a synthesised summary that's enough for most
71
72
  2. **Check for CONTEXT.md:**
72
73
 
73
74
  **If CONTEXT.md exists:**
75
+
74
76
  ```
75
77
  📂 Loading transaction-templates
76
78
 
@@ -85,6 +87,7 @@ CONTEXT.md is the **first layer** - a synthesised summary that's enough for most
85
87
  - TECH-DESIGN.md - Architecture and implementation
86
88
  - DECISIONS.md - Decision log
87
89
  ```
90
+
88
91
  Load CONTEXT.md automatically. Only load additional files if user asks.
89
92
 
90
93
  **If no CONTEXT.md:**
@@ -125,83 +128,116 @@ topics/organization-hierarchy.md
125
128
 
126
129
  ## Auto-Generating CONTEXT.md
127
130
 
128
- If loading a project and no CONTEXT.md exists, generate it **asynchronously** so the user isn't blocked.
131
+ If loading a project and no CONTEXT.md exists, generate it immediately.
129
132
 
130
133
  **User sees:**
134
+
131
135
  ```
132
136
  📂 Loading transaction-templates
133
137
 
134
- No CONTEXT.md found - I'll generate one in the background.
135
- Meanwhile, which file do you want to load?
138
+ No CONTEXT.md found - generating summary from available artifacts...
136
139
 
137
- Available files:
138
- - PRD.md - Full requirements and goals
139
- - TECH-DESIGN.md - Architecture and implementation
140
- - DECISIONS.md - Decision log
140
+ Reading PRD.md...
141
+ Extracting problem statement, goals, success metrics
142
+ Reading TECH-DESIGN.md...
143
+ Extracting architecture overview, key decisions
144
+ Reading DECISIONS.md...
145
+ → Extracting decision log summary
146
+
147
+ Synthesising unified context...
141
148
  ```
142
149
 
143
150
  **Procedure:**
144
151
 
152
+ Generate CONTEXT.md either synchronously or asynchronously:
153
+
154
+ ### Option A: Synchronous (works everywhere)
155
+
156
+ 1. **Inform user:** "No CONTEXT.md found - generating summary from available artifacts"
157
+ 2. **Read all available files:** PRD.md, TECH-DESIGN.md, DECISIONS.md
158
+ 3. **Generate unified summary** (see template below)
159
+ 4. **Create PR** (see git workflow below)
160
+ 5. **Output the new CONTEXT.md** with "need more detail?" options
161
+
162
+ ### Option B: Asynchronous (Claude Code only, optional)
163
+
145
164
  1. **Spawn background agent** to synthesize CONTEXT.md (non-blocking):
146
165
  ```
147
- Use Task tool with subagent_type: "general-purpose" and run_in_background: true
166
+ Use Task tool with subagent_type: "general" and run_in_background: true
148
167
  Prompt: "Generate CONTEXT.md for {project} from PRD.md, TECH-DESIGN.md, DECISIONS.md. Create branch, commit, open PR."
149
168
  ```
150
169
  2. **Immediately ask user** which file to load (don't wait for synthesis)
151
170
  3. **Load selected file** and continue working
152
171
  4. **When background agent completes**, inform user: "CONTEXT.md ready - PR #{number}"
153
172
 
154
- ### Background Agent Task
173
+ **Choose whichever approach works best.** Synchronous is simpler and works everywhere. Asynchronous avoids blocking but requires background agent support.
155
174
 
156
- The background agent should:
175
+ ### CONTEXT.md Template
157
176
 
158
- 1. **Read all available files:** PRD.md, TECH-DESIGN.md, DECISIONS.md
159
- 2. **Generate unified summary:**
160
- ```markdown
161
- ---
162
- title: {Project Name}
163
- type: context
164
- created: {today}
165
- updated: {today}
166
- confidence: high
167
- source: implementation
168
- ---
177
+ Generate a unified summary from the project files:
169
178
 
170
- # {Project Name} - Context
179
+ ```markdown
180
+ ---
181
+ title: { Project Name }
182
+ type: context
183
+ created: { today }
184
+ updated: { today }
185
+ confidence: high
186
+ source: implementation
187
+ ---
171
188
 
172
- ## Overview
173
- {Synthesised from PRD problem statement + goals}
189
+ # {Project Name} - Context
174
190
 
175
- ## Technical Approach
176
- {Synthesised from TECH-DESIGN architecture + key decisions}
191
+ ## Overview
177
192
 
178
- ## Key Decisions
179
- {Summarised from DECISIONS.md}
193
+ {Synthesised from PRD problem statement + goals}
180
194
 
181
- ## Current Status
182
- {Inferred from most recent updates}
195
+ ## Technical Approach
183
196
 
184
- ---
185
- *Auto-generated from PRD.md, TECH-DESIGN.md, and DECISIONS.md*
186
- ```
187
- 4. **Create PR:**
188
- ```bash
189
- cd {codex_repo}
190
- git checkout -b auto/context-{project-name}
191
- # Write CONTEXT.md
192
- git add projects/{project}/CONTEXT.md
193
- git commit -F - <<EOF
194
- feat: auto-generate CONTEXT.md for {project}
195
- EOF
196
- git push -u origin auto/context-{project-name}
197
- gh pr create --title "Auto-generated CONTEXT.md for {project}" --body "Synthesised from PRD, TECH-DESIGN, and DECISIONS."
198
- ```
199
- 5. **Return result** (background agent outputs to task output file):
200
- ```
201
- ✅ CONTEXT.md synthesised and PR #{number} created for {project}
202
- ```
197
+ {Synthesised from TECH-DESIGN architecture + key decisions}
198
+
199
+ ## Key Decisions
200
+
201
+ {Summarised from DECISIONS.md}
203
202
 
204
- The main conversation will be notified when the background task completes.
203
+ ## Current Status
204
+
205
+ {Inferred from most recent updates}
206
+
207
+ ---
208
+
209
+ _Auto-generated from PRD.md, TECH-DESIGN.md, and DECISIONS.md_
210
+ ```
211
+
212
+ ### Git Workflow for CONTEXT.md
213
+
214
+ After generating the CONTEXT.md content:
215
+
216
+ ```bash
217
+ cd {codex_repo}
218
+ git checkout -b auto/context-{project-name}
219
+ # Write CONTEXT.md to projects/{project}/CONTEXT.md
220
+ git add projects/{project}/CONTEXT.md
221
+ git commit -F - <<EOF
222
+ feat: auto-generate CONTEXT.md for {project}
223
+ EOF
224
+ git push -u origin auto/context-{project-name}
225
+ gh pr create --title "Auto-generated CONTEXT.md for {project}" --body "Synthesised from PRD, TECH-DESIGN, and DECISIONS."
226
+ ```
227
+
228
+ Then inform the user:
229
+
230
+ ```
231
+ ✅ CONTEXT.md created and PR #{number} opened
232
+
233
+ [Show CONTEXT.md content]
234
+
235
+ ---
236
+ Need more detail? Available files:
237
+ - PRD.md - Full requirements and goals
238
+ - TECH-DESIGN.md - Architecture and implementation
239
+ - DECISIONS.md - Decision log
240
+ ```
205
241
 
206
242
  ## Freshness Checking
207
243
 
@@ -219,16 +255,19 @@ After loading any file:
219
255
  Want me to verify it's still accurate?
220
256
  ```
221
257
  4. **Check codebase changes** (if `codebase_paths` present):
258
+
222
259
  ```bash
223
260
  cd {workspace}
224
261
  git log --oneline --since="{updated}" -- {codebase_paths}
225
262
  ```
263
+
226
264
  - If commits found:
227
265
  ```
228
266
  ⚠️ Files in {paths} have changed since this doc was updated.
229
267
  Recent commits: {list}
230
268
  Want me to review for needed updates?
231
269
  ```
270
+
232
271
  5. **Note confidence** (if `confidence: low`):
233
272
  ```
234
273
  ℹ️ This was a quick exploration and may be incomplete.
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "droid-comments",
3
+ "version": "0.3.0",
4
+ "description": "Enable inline conversations using @droid/@user markers. Tag @droid to ask the AI, AI responds with @{your-name}. Use /comments check to address markers, /comments cleanup to remove resolved threads. Ideal for code review notes and async collaboration.",
5
+ "author": {
6
+ "name": "Orderful",
7
+ "url": "https://github.com/orderful"
8
+ },
9
+ "repository": "https://github.com/orderful/droid",
10
+ "license": "MIT",
11
+ "keywords": [
12
+ "droid",
13
+ "ai",
14
+ "comments"
15
+ ]
16
+ }
@@ -1,14 +1,15 @@
1
1
  name: comments
2
2
  description: "Enable inline conversations using @droid/@user markers. Tag @droid to ask the AI, AI responds with @{your-name}. Use /comments check to address markers, /comments cleanup to remove resolved threads. Ideal for code review notes and async collaboration."
3
- version: 0.2.6
3
+ version: 0.3.0
4
4
  status: beta
5
5
 
6
6
  includes:
7
7
  skills:
8
- - name: droid-comments
8
+ - name: comments
9
9
  required: true
10
10
  commands:
11
- - comments
11
+ - name: comments
12
+ is_alias: false
12
13
  agents: []
13
14
 
14
15
  dependencies: []
@@ -1,29 +1,27 @@
1
1
  ---
2
- description: Check and respond to inline @droid comments in code and docs
2
+ name: comments
3
+ description: "Check and respond to inline @droid comments in code and docs"
3
4
  argument-hint: "[check [{path}] | cleanup]"
4
- allowed-tools: Read, Edit, Grep, Glob, Bash(git diff:*), Bash(git status:*)
5
5
  ---
6
6
 
7
- # /comments - Check and respond to inline comments
7
+ # /comments
8
8
 
9
- Entry point for inline comment workflows. See the **comments skill** for full behavior.
9
+ **User invoked:** `/comments $ARGUMENTS`
10
10
 
11
- ## Arguments
11
+ **Your task:** Invoke the **comments skill** with these arguments.
12
12
 
13
- $ARGUMENTS
13
+ ## Examples
14
14
 
15
- ## Usage
15
+ - `/comments` → Check all files in current directory for @droid markers
16
+ - `/comments check src/lib` → Check specific directory for @droid markers
17
+ - `/comments cleanup` → Remove resolved comment threads
18
+
19
+ ## Quick Reference
16
20
 
17
21
  ```
18
22
  /comments # Check all files in cwd
19
- /comments check # Same as above
20
23
  /comments check {path} # Check specific file or directory
21
24
  /comments cleanup # Remove resolved comment threads
22
25
  ```
23
26
 
24
- ## Behavior
25
-
26
- Refer to the comments skill for:
27
- - **Check**: How to find markers, determine intent (action vs question), respond appropriately
28
- - **Cleanup**: How to identify resolved threads and summarize decisions
29
- - **Configuration**: `user_mention`, `ai_mentions`, `preserve_comments` settings
27
+ See the **comments skill** for complete documentation and procedures.
@@ -1,10 +1,10 @@
1
1
  ---
2
- name: droid-comments
2
+ name: comments
3
3
  description: "Inline conversations using @droid/@user markers in any file. Use when leaving async questions in code or having discussion that should stay near the code. User prompts like 'check for comments', 'address the @droid markers', 'clean up resolved comments'."
4
4
  globs:
5
5
  - "**/*"
6
6
  alwaysApply: false
7
- allowed-tools: Read, Grep, Glob, Edit
7
+ allowed-tools: [Read, Grep, Glob, Edit]
8
8
  ---
9
9
 
10
10
  # Comments Skill
@@ -83,6 +83,7 @@ When you find a `@droid` marker:
83
83
  **Use a two-pass approach for coherent responses:**
84
84
 
85
85
  #### Pass 1: Read & Analyse
86
+
86
87
  1. **Read config first:** Check `~/.droid/skills/comments/overrides.yaml` for `preserve_comments` setting (default: `true`)
87
88
  2. Search for ALL `> @droid` comments (and any configured `ai_mentions`) in the specified scope
88
89
  3. If there's a `git diff`, check those files first for relevant context
@@ -91,6 +92,7 @@ When you find a `@droid` marker:
91
92
  6. Note any contradictions or tensions to address
92
93
 
93
94
  #### Pass 2: Respond & Write
95
+
94
96
  1. For each comment, determine intent:
95
97
  - **Action request** ("do X", "add Y", "fix Z") → Execute the action
96
98
  - **Question** ("what do you think", "should we") → Respond with `> @{user_mention}`
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "droid",
3
+ "version": "0.4.0",
4
+ "description": "Core droid meta-skill for update awareness and tool discovery. Checks for updates and helps users find the right tools.",
5
+ "author": {
6
+ "name": "Orderful",
7
+ "url": "https://github.com/orderful"
8
+ },
9
+ "repository": "https://github.com/orderful/droid",
10
+ "license": "MIT",
11
+ "keywords": [
12
+ "droid",
13
+ "ai"
14
+ ]
15
+ }
@@ -1,6 +1,6 @@
1
1
  name: droid
2
2
  description: "Core droid meta-skill for update awareness and tool discovery. Checks for updates and helps users find the right tools."
3
- version: 0.2.1
3
+ version: 0.4.0
4
4
  status: beta
5
5
 
6
6
  # System tool - always stays current regardless of auto-update settings
@@ -4,7 +4,7 @@ description: "Core droid meta-skill for updates and tool discovery. Use when che
4
4
  globs:
5
5
  - "**/*"
6
6
  alwaysApply: false
7
- allowed-tools: Bash
7
+ allowed-tools: [Bash]
8
8
  ---
9
9
 
10
10
  # Droid
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "droid-project",
3
+ "version": "0.3.0",
4
+ "description": "Manage project context files for persistent AI memory across sessions. Load, update, or create project context before working on multi-session features.",
5
+ "author": {
6
+ "name": "Orderful",
7
+ "url": "https://github.com/orderful"
8
+ },
9
+ "repository": "https://github.com/orderful/droid",
10
+ "license": "MIT",
11
+ "keywords": [
12
+ "droid",
13
+ "ai",
14
+ "project"
15
+ ]
16
+ }
@@ -1,14 +1,15 @@
1
1
  name: project
2
2
  description: "Manage project context files for persistent AI memory across sessions. Load, update, or create project context before working on multi-session features."
3
- version: 0.2.0
3
+ version: 0.3.0
4
4
  status: beta
5
5
 
6
6
  includes:
7
7
  skills:
8
- - name: droid-project
8
+ - name: project
9
9
  required: true
10
10
  commands:
11
- - project
11
+ - name: project
12
+ is_alias: false
12
13
  agents: []
13
14
 
14
15
  dependencies: []
@@ -1,45 +1,30 @@
1
1
  ---
2
- description: Manage project context files for persistent AI memory across sessions
2
+ name: project
3
+ description: "Manage project context files for persistent AI memory across sessions"
3
4
  argument-hint: "[{keywords} | update | create {name}]"
4
- allowed-tools: Read, Write, Edit, Glob, Bash(mkdir:*), Bash(ls:*)
5
5
  ---
6
6
 
7
7
  # /project
8
8
 
9
- Entry point for project context management. See the **project skill** for full behavior.
9
+ **User invoked:** `/project $ARGUMENTS`
10
10
 
11
- ## Arguments
11
+ **Your task:** Invoke the **project skill** with these arguments.
12
12
 
13
- $ARGUMENTS
13
+ ## Example
14
14
 
15
- ## Default Behavior
15
+ If user typed `/project droid`, you should interpret this as: "Search for and load a project matching 'droid'"
16
16
 
17
- **IMPORTANT:** When given keywords (e.g., `/project audit-log`), the default action is to **SEARCH** for existing projects, NOT create. Only create a project when the `create` keyword is explicitly used.
17
+ If user typed `/project create new-feature`, interpret as: "Create a new project named 'new-feature'"
18
18
 
19
- ## Usage
19
+ ## Quick Reference
20
20
 
21
21
  ```
22
22
  /project # List and select a project
23
- /project {keywords} # SEARCH: Fuzzy-match and load existing project
23
+ /project {keywords} # SEARCH for existing project (default action)
24
24
  /project update # Update from conversation context
25
- /project update {name} # Update specific project
26
- /project create # Create new project interactively
27
- /project create {name} # Create with name (requires "create" keyword)
25
+ /project create {name} # CREATE new project
28
26
  ```
29
27
 
30
- ## Configuration
28
+ **Default behavior:** When given keywords, SEARCH first (don't create unless "create" keyword is present).
31
29
 
32
- **ALWAYS read `~/.droid/skills/project/overrides.yaml` first.**
33
-
34
- - If `projects_dir` is set → use **ONLY** that path (do NOT also search defaults)
35
- - If not configured → use the default for current AI tool
36
- - `preset` - Template format: `markdown` or `obsidian`
37
-
38
- ## Behavior
39
-
40
- Refer to the project skill for:
41
- - **Loading**: How to fuzzy-match, handle multiple matches, summarize after load
42
- - **Updating**: What to extract from conversation, versioning rules, changelog format
43
- - **Creating**: Template structure by preset, required files
44
-
45
- The skill's `references/` folder contains detailed specs for versioning, changelog formatting, and templates.
30
+ See the **project skill** for complete documentation and procedures.
@@ -1,10 +1,10 @@
1
1
  ---
2
- name: droid-project
2
+ name: project
3
3
  description: "Persistent project context for AI memory across sessions. Use when working on multi-session features, refactors, or any work that benefits from accumulated context. User prompts like 'load the project', 'update project context', 'what's the current project?'."
4
4
  globs:
5
5
  - "**/PROJECT.md"
6
6
  alwaysApply: false
7
- allowed-tools: Read, Write, Glob, Grep
7
+ allowed-tools: [Read, Write, Glob, Grep]
8
8
  ---
9
9
 
10
10
  # Project Skill
@@ -33,24 +33,25 @@ Chat history disappears. Projects persist.
33
33
  - If `projects_dir` is configured → use **ONLY** that path (do NOT also search defaults)
34
34
  - If not configured → use the default for current AI tool
35
35
 
36
- | Setting | Default | Description |
37
- |---------|---------|-------------|
36
+ | Setting | Default | Description |
37
+ | -------------- | ----------- | ------------------------------------------------- |
38
38
  | `projects_dir` | (see below) | Where projects are stored (use ONE location only) |
39
- | `preset` | `markdown` | Output format: `markdown` or `obsidian` |
39
+ | `preset` | `markdown` | Output format: `markdown` or `obsidian` |
40
40
 
41
41
  Default `projects_dir` by AI tool (only if overrides.yaml is missing or lacks `projects_dir`):
42
+
42
43
  - **claude-code**: `~/.claude/projects`
43
44
  - **opencode**: `~/.config/opencode/projects`
44
45
 
45
46
  ## Commands
46
47
 
47
- | Command | Action |
48
- |---------|--------|
49
- | `/project` | List and select a project |
50
- | `/project {keywords}` | **Search** for existing project (fuzzy-match and load) |
51
- | `/project create {name}` | Create new project (requires `create` keyword) |
52
- | `/project create --from codex:{name}` | Create project seeded with codex context |
53
- | `/project update` | Update from conversation context |
48
+ | Command | Action |
49
+ | ------------------------------------- | ------------------------------------------------------ |
50
+ | `/project` | List and select a project |
51
+ | `/project {keywords}` | **Search** for existing project (fuzzy-match and load) |
52
+ | `/project create {name}` | Create new project (requires `create` keyword) |
53
+ | `/project create --from codex:{name}` | Create project seeded with codex context |
54
+ | `/project update` | Update from conversation context |
54
55
 
55
56
  **IMPORTANT:** The default action for `/project {keywords}` is to **SEARCH** for existing projects, NOT create. Only use `/project create {name}` when the user explicitly wants to create a new project.
56
57
 
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "droid-tech-design",
3
+ "version": "0.2.0",
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
+ "author": {
6
+ "name": "Orderful",
7
+ "url": "https://github.com/orderful"
8
+ },
9
+ "repository": "https://github.com/orderful/droid",
10
+ "license": "MIT",
11
+ "keywords": [
12
+ "droid",
13
+ "ai",
14
+ "tech-design"
15
+ ]
16
+ }
@@ -0,0 +1,19 @@
1
+ name: tech-design
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.2.0
4
+ status: beta
5
+
6
+ includes:
7
+ skills:
8
+ - name: tech-design
9
+ required: true
10
+ commands:
11
+ - name: tech-design
12
+ is_alias: false
13
+ agents: []
14
+
15
+ dependencies:
16
+ - brain
17
+ - codex
18
+
19
+ config_schema: {}
@@ -0,0 +1,31 @@
1
+ ---
2
+ name: tech-design
3
+ description: "Write, iterate, and publish technical design documents using a three-document approach - research doc, thought doc, and roll-up"
4
+ argument-hint: "[start --from codex:{project} | draft [section] | think [topic] | gaps | publish]"
5
+ ---
6
+
7
+ # /tech-design
8
+
9
+ **User invoked:** `/tech-design $ARGUMENTS`
10
+
11
+ **Your task:** Invoke the **tech-design skill** with these arguments.
12
+
13
+ ## Examples
14
+
15
+ - `/tech-design start --from codex:billing-v2` → Create research + thought docs from codex project
16
+ - `/tech-design draft rollout` → Auto-generate the rollout section
17
+ - `/tech-design think API design` → Guided exploration of API design, update research doc
18
+ - `/tech-design gaps` → Show checklist of missing/empty sections
19
+ - `/tech-design publish` → Generate roll-up and publish to codex
20
+
21
+ ## Quick Reference
22
+
23
+ ```
24
+ /tech-design start --from codex:{project} # Create research + thought docs
25
+ /tech-design draft [section] # Auto-generate section
26
+ /tech-design think [topic] # Guided exploration
27
+ /tech-design gaps # Missing sections checklist
28
+ /tech-design publish # Publish to codex
29
+ ```
30
+
31
+ See the **tech-design skill** for complete documentation and procedures.