@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.
- package/.claude-plugin/marketplace.json +114 -0
- package/.github/workflows/ci.yml +20 -0
- package/AGENTS.md +75 -18
- package/CHANGELOG.md +73 -0
- package/README.md +30 -4
- package/dist/bin/droid.js +164 -75
- package/dist/index.js +68 -26
- package/dist/lib/migrations.d.ts +8 -0
- package/dist/lib/migrations.d.ts.map +1 -1
- package/dist/lib/skill-config.d.ts.map +1 -1
- package/dist/lib/skills.d.ts.map +1 -1
- package/dist/lib/tools.d.ts.map +1 -1
- package/dist/lib/types.d.ts +10 -2
- package/dist/lib/types.d.ts.map +1 -1
- package/dist/tools/README.md +1 -1
- package/dist/tools/brain/.claude-plugin/plugin.json +16 -0
- package/dist/tools/brain/TOOL.yaml +7 -5
- package/dist/tools/brain/commands/brain.md +17 -49
- package/dist/tools/brain/commands/scratchpad.md +13 -50
- package/{src/tools/brain/skills/droid-brain → dist/tools/brain/skills/brain}/SKILL.md +6 -6
- package/dist/tools/brain/skills/{droid-brain-obsidian → brain-obsidian}/SKILL.md +9 -9
- package/dist/tools/coach/.claude-plugin/plugin.json +16 -0
- package/dist/tools/coach/TOOL.yaml +4 -3
- package/dist/tools/coach/commands/coach.md +14 -54
- package/{src/tools/coach/skills/droid-coach → dist/tools/coach/skills/coach}/SKILL.md +5 -4
- package/dist/tools/code-review/.claude-plugin/plugin.json +16 -0
- package/dist/tools/code-review/TOOL.yaml +4 -3
- package/dist/tools/code-review/commands/code-review.md +18 -102
- package/dist/tools/code-review/skills/code-review/SKILL.md +154 -0
- package/dist/tools/codex/.claude-plugin/plugin.json +16 -0
- package/dist/tools/codex/TOOL.yaml +5 -4
- package/dist/tools/codex/commands/codex.md +18 -65
- package/dist/tools/codex/skills/{droid-codex → codex}/SKILL.md +64 -45
- package/{src/tools/codex/skills/droid-codex → dist/tools/codex/skills/codex}/references/loading.md +94 -55
- package/dist/tools/codex/skills/codex/scripts/git-finish-write.d.ts.map +1 -0
- package/dist/tools/codex/skills/codex/scripts/git-preamble.d.ts.map +1 -0
- package/dist/tools/codex/skills/codex/scripts/git-start-write.d.ts.map +1 -0
- package/dist/tools/comments/.claude-plugin/plugin.json +16 -0
- package/dist/tools/comments/TOOL.yaml +4 -3
- package/dist/tools/comments/commands/comments.md +12 -14
- package/{src/tools/comments/skills/droid-comments → dist/tools/comments/skills/comments}/SKILL.md +4 -2
- package/dist/tools/droid/.claude-plugin/plugin.json +15 -0
- package/dist/tools/droid/TOOL.yaml +1 -1
- package/dist/tools/droid/skills/droid/SKILL.md +1 -1
- package/dist/tools/project/.claude-plugin/plugin.json +16 -0
- package/dist/tools/project/TOOL.yaml +4 -3
- package/dist/tools/project/commands/project.md +12 -27
- package/dist/tools/project/skills/{droid-project → project}/SKILL.md +13 -12
- package/dist/tools/tech-design/.claude-plugin/plugin.json +16 -0
- package/dist/tools/tech-design/TOOL.yaml +19 -0
- package/dist/tools/tech-design/commands/tech-design.md +31 -0
- package/dist/tools/tech-design/skills/tech-design/SKILL.md +218 -0
- package/dist/tools/tech-design/skills/tech-design/references/draft.md +321 -0
- package/dist/tools/tech-design/skills/tech-design/references/gaps.md +328 -0
- package/dist/tools/tech-design/skills/tech-design/references/publish.md +409 -0
- package/dist/tools/tech-design/skills/tech-design/references/research-doc-template.md +129 -0
- package/dist/tools/tech-design/skills/tech-design/references/rollup-template.md +55 -0
- package/dist/tools/tech-design/skills/tech-design/references/start.md +353 -0
- package/dist/tools/tech-design/skills/tech-design/references/think.md +356 -0
- package/dist/tools/tech-design/skills/tech-design/references/thought-doc-template.md +72 -0
- package/package.json +3 -2
- package/scripts/build-plugins.ts +207 -0
- package/src/commands/tui/components/Badge.test.tsx +10 -4
- package/src/commands/tui.tsx +4 -4
- package/src/lib/migrations.ts +95 -4
- package/src/lib/skill-config.ts +95 -57
- package/src/lib/skills.test.ts +199 -74
- package/src/lib/skills.ts +57 -56
- package/src/lib/tools.ts +19 -12
- package/src/lib/types.ts +20 -5
- package/src/tools/README.md +1 -1
- package/src/tools/brain/.claude-plugin/plugin.json +16 -0
- package/src/tools/brain/TOOL.yaml +7 -5
- package/src/tools/brain/commands/brain.md +17 -49
- package/src/tools/brain/commands/scratchpad.md +13 -50
- package/{dist/tools/brain/skills/droid-brain → src/tools/brain/skills/brain}/SKILL.md +6 -6
- package/src/tools/brain/skills/{droid-brain-obsidian → brain-obsidian}/SKILL.md +9 -9
- package/src/tools/coach/.claude-plugin/plugin.json +16 -0
- package/src/tools/coach/TOOL.yaml +4 -3
- package/src/tools/coach/commands/coach.md +14 -54
- package/{dist/tools/coach/skills/droid-coach → src/tools/coach/skills/coach}/SKILL.md +5 -4
- package/src/tools/code-review/.claude-plugin/plugin.json +16 -0
- package/src/tools/code-review/TOOL.yaml +4 -3
- package/src/tools/code-review/commands/code-review.md +18 -102
- package/src/tools/code-review/skills/code-review/SKILL.md +154 -0
- package/src/tools/codex/.claude-plugin/plugin.json +16 -0
- package/src/tools/codex/TOOL.yaml +5 -4
- package/src/tools/codex/commands/codex.md +18 -65
- package/src/tools/codex/skills/{droid-codex → codex}/SKILL.md +64 -45
- package/{dist/tools/codex/skills/droid-codex → src/tools/codex/skills/codex}/references/loading.md +94 -55
- package/src/tools/comments/.claude-plugin/plugin.json +16 -0
- package/src/tools/comments/TOOL.yaml +4 -3
- package/src/tools/comments/commands/comments.md +12 -14
- package/{dist/tools/comments/skills/droid-comments → src/tools/comments/skills/comments}/SKILL.md +4 -2
- package/src/tools/droid/.claude-plugin/plugin.json +15 -0
- package/src/tools/droid/TOOL.yaml +1 -1
- package/src/tools/droid/skills/droid/SKILL.md +1 -1
- package/src/tools/project/.claude-plugin/plugin.json +16 -0
- package/src/tools/project/TOOL.yaml +4 -3
- package/src/tools/project/commands/project.md +12 -27
- package/src/tools/project/skills/{droid-project → project}/SKILL.md +13 -12
- package/src/tools/tech-design/.claude-plugin/plugin.json +16 -0
- package/src/tools/tech-design/TOOL.yaml +19 -0
- package/src/tools/tech-design/commands/tech-design.md +31 -0
- package/src/tools/tech-design/skills/tech-design/SKILL.md +218 -0
- package/src/tools/tech-design/skills/tech-design/references/draft.md +321 -0
- package/src/tools/tech-design/skills/tech-design/references/gaps.md +328 -0
- package/src/tools/tech-design/skills/tech-design/references/publish.md +409 -0
- package/src/tools/tech-design/skills/tech-design/references/research-doc-template.md +129 -0
- package/src/tools/tech-design/skills/tech-design/references/rollup-template.md +55 -0
- package/src/tools/tech-design/skills/tech-design/references/start.md +353 -0
- package/src/tools/tech-design/skills/tech-design/references/think.md +356 -0
- package/src/tools/tech-design/skills/tech-design/references/thought-doc-template.md +72 -0
- package/dist/tools/code-review/skills/droid-code-review/SKILL.md +0 -55
- package/dist/tools/codex/skills/droid-codex/scripts/git-finish-write.d.ts.map +0 -1
- package/dist/tools/codex/skills/droid-codex/scripts/git-preamble.d.ts.map +0 -1
- package/dist/tools/codex/skills/droid-codex/scripts/git-start-write.d.ts.map +0 -1
- package/src/tools/code-review/skills/droid-code-review/SKILL.md +0 -55
- /package/dist/tools/brain/skills/{droid-brain → brain}/references/metadata.md +0 -0
- /package/dist/tools/brain/skills/{droid-brain → brain}/references/naming.md +0 -0
- /package/dist/tools/brain/skills/{droid-brain → brain}/references/templates.md +0 -0
- /package/dist/tools/brain/skills/{droid-brain → brain}/references/workflows.md +0 -0
- /package/dist/tools/brain/skills/{droid-brain-obsidian → brain-obsidian}/references/templates.md +0 -0
- /package/dist/tools/brain/skills/{droid-brain-obsidian → brain-obsidian}/references/workflows.md +0 -0
- /package/dist/tools/codex/skills/{droid-codex → codex}/references/creating.md +0 -0
- /package/dist/tools/codex/skills/{droid-codex → codex}/references/decisions.md +0 -0
- /package/dist/tools/codex/skills/{droid-codex → codex}/references/topics.md +0 -0
- /package/dist/tools/codex/skills/{droid-codex → codex}/scripts/git-finish-write.d.ts +0 -0
- /package/dist/tools/codex/skills/{droid-codex → codex}/scripts/git-finish-write.ts +0 -0
- /package/dist/tools/codex/skills/{droid-codex → codex}/scripts/git-preamble.d.ts +0 -0
- /package/dist/tools/codex/skills/{droid-codex → codex}/scripts/git-preamble.ts +0 -0
- /package/dist/tools/codex/skills/{droid-codex → codex}/scripts/git-scripts.test.ts +0 -0
- /package/dist/tools/codex/skills/{droid-codex → codex}/scripts/git-start-write.d.ts +0 -0
- /package/dist/tools/codex/skills/{droid-codex → codex}/scripts/git-start-write.ts +0 -0
- /package/dist/tools/project/skills/{droid-project → project}/references/changelog.md +0 -0
- /package/dist/tools/project/skills/{droid-project → project}/references/creating.md +0 -0
- /package/dist/tools/project/skills/{droid-project → project}/references/loading.md +0 -0
- /package/dist/tools/project/skills/{droid-project → project}/references/templates.md +0 -0
- /package/dist/tools/project/skills/{droid-project → project}/references/updating.md +0 -0
- /package/dist/tools/project/skills/{droid-project → project}/references/versioning.md +0 -0
- /package/src/tools/brain/skills/{droid-brain → brain}/references/metadata.md +0 -0
- /package/src/tools/brain/skills/{droid-brain → brain}/references/naming.md +0 -0
- /package/src/tools/brain/skills/{droid-brain → brain}/references/templates.md +0 -0
- /package/src/tools/brain/skills/{droid-brain → brain}/references/workflows.md +0 -0
- /package/src/tools/brain/skills/{droid-brain-obsidian → brain-obsidian}/references/templates.md +0 -0
- /package/src/tools/brain/skills/{droid-brain-obsidian → brain-obsidian}/references/workflows.md +0 -0
- /package/src/tools/codex/skills/{droid-codex → codex}/references/creating.md +0 -0
- /package/src/tools/codex/skills/{droid-codex → codex}/references/decisions.md +0 -0
- /package/src/tools/codex/skills/{droid-codex → codex}/references/topics.md +0 -0
- /package/src/tools/codex/skills/{droid-codex → codex}/scripts/git-finish-write.ts +0 -0
- /package/src/tools/codex/skills/{droid-codex → codex}/scripts/git-preamble.ts +0 -0
- /package/src/tools/codex/skills/{droid-codex → codex}/scripts/git-scripts.test.ts +0 -0
- /package/src/tools/codex/skills/{droid-codex → codex}/scripts/git-start-write.ts +0 -0
- /package/src/tools/project/skills/{droid-project → project}/references/changelog.md +0 -0
- /package/src/tools/project/skills/{droid-project → project}/references/creating.md +0 -0
- /package/src/tools/project/skills/{droid-project → project}/references/loading.md +0 -0
- /package/src/tools/project/skills/{droid-project → project}/references/templates.md +0 -0
- /package/src/tools/project/skills/{droid-project → project}/references/updating.md +0 -0
- /package/src/tools/project/skills/{droid-project → project}/references/versioning.md +0 -0
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "droid",
|
|
3
|
+
"description": "AI-powered development tools for Claude Code",
|
|
4
|
+
"owner": {
|
|
5
|
+
"name": "Orderful",
|
|
6
|
+
"url": "https://github.com/orderful"
|
|
7
|
+
},
|
|
8
|
+
"plugins": [
|
|
9
|
+
{
|
|
10
|
+
"name": "droid",
|
|
11
|
+
"description": "Core droid meta-skill for update awareness and tool discovery. Checks for updates and helps users find the right tools.",
|
|
12
|
+
"version": "0.4.0",
|
|
13
|
+
"source": {
|
|
14
|
+
"source": "github",
|
|
15
|
+
"repo": "orderful/droid",
|
|
16
|
+
"path": "src/tools/droid"
|
|
17
|
+
},
|
|
18
|
+
"author": {
|
|
19
|
+
"name": "Orderful"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "droid-brain",
|
|
24
|
+
"description": "Your scratchpad (or brain) - a collaborative space for planning and research. Create docs with /brain plan, /brain research, or /brain review. Use @mentions for async discussion. Docs persist across sessions.",
|
|
25
|
+
"version": "0.3.0",
|
|
26
|
+
"source": {
|
|
27
|
+
"source": "github",
|
|
28
|
+
"repo": "orderful/droid",
|
|
29
|
+
"path": "src/tools/brain"
|
|
30
|
+
},
|
|
31
|
+
"author": {
|
|
32
|
+
"name": "Orderful"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "droid-coach",
|
|
37
|
+
"description": "Learning-mode AI assistance - AI as coach, not crutch. Use /coach plan for co-authored planning, /coach scaffold for structure with hints, /coach review for Socratic questions.",
|
|
38
|
+
"version": "0.2.0",
|
|
39
|
+
"source": {
|
|
40
|
+
"source": "github",
|
|
41
|
+
"repo": "orderful/droid",
|
|
42
|
+
"path": "src/tools/coach"
|
|
43
|
+
},
|
|
44
|
+
"author": {
|
|
45
|
+
"name": "Orderful"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "droid-code-review",
|
|
50
|
+
"description": "Comprehensive code review using specialized agents. Reviews PRs, staged changes, branches, or specific files with confidence scoring.",
|
|
51
|
+
"version": "0.2.0",
|
|
52
|
+
"source": {
|
|
53
|
+
"source": "github",
|
|
54
|
+
"repo": "orderful/droid",
|
|
55
|
+
"path": "src/tools/code-review"
|
|
56
|
+
},
|
|
57
|
+
"author": {
|
|
58
|
+
"name": "Orderful"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "droid-codex",
|
|
63
|
+
"description": "Shared organizational knowledge - PRDs, tech designs, domains, proposals, patterns, and explored topics. Use when loading project context, searching codex, capturing decisions, or creating new entries.",
|
|
64
|
+
"version": "0.1.6",
|
|
65
|
+
"source": {
|
|
66
|
+
"source": "github",
|
|
67
|
+
"repo": "orderful/droid",
|
|
68
|
+
"path": "src/tools/codex"
|
|
69
|
+
},
|
|
70
|
+
"author": {
|
|
71
|
+
"name": "Orderful"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "droid-comments",
|
|
76
|
+
"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.",
|
|
77
|
+
"version": "0.3.0",
|
|
78
|
+
"source": {
|
|
79
|
+
"source": "github",
|
|
80
|
+
"repo": "orderful/droid",
|
|
81
|
+
"path": "src/tools/comments"
|
|
82
|
+
},
|
|
83
|
+
"author": {
|
|
84
|
+
"name": "Orderful"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "droid-project",
|
|
89
|
+
"description": "Manage project context files for persistent AI memory across sessions. Load, update, or create project context before working on multi-session features.",
|
|
90
|
+
"version": "0.3.0",
|
|
91
|
+
"source": {
|
|
92
|
+
"source": "github",
|
|
93
|
+
"repo": "orderful/droid",
|
|
94
|
+
"path": "src/tools/project"
|
|
95
|
+
},
|
|
96
|
+
"author": {
|
|
97
|
+
"name": "Orderful"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "droid-tech-design",
|
|
102
|
+
"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).",
|
|
103
|
+
"version": "0.2.0",
|
|
104
|
+
"source": {
|
|
105
|
+
"source": "github",
|
|
106
|
+
"repo": "orderful/droid",
|
|
107
|
+
"path": "src/tools/tech-design"
|
|
108
|
+
},
|
|
109
|
+
"author": {
|
|
110
|
+
"name": "Orderful"
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
}
|
package/.github/workflows/ci.yml
CHANGED
|
@@ -50,3 +50,23 @@ jobs:
|
|
|
50
50
|
|
|
51
51
|
- name: Lint
|
|
52
52
|
run: bun run lint
|
|
53
|
+
|
|
54
|
+
plugin-manifests:
|
|
55
|
+
name: Plugin Manifests
|
|
56
|
+
runs-on: ubuntu-latest
|
|
57
|
+
steps:
|
|
58
|
+
- name: Checkout
|
|
59
|
+
uses: actions/checkout@v4
|
|
60
|
+
|
|
61
|
+
- name: Setup Bun
|
|
62
|
+
uses: oven-sh/setup-bun@v2
|
|
63
|
+
with:
|
|
64
|
+
bun-version: latest
|
|
65
|
+
|
|
66
|
+
- name: Install dependencies
|
|
67
|
+
run: bun install
|
|
68
|
+
|
|
69
|
+
- name: Check plugin manifests are up-to-date
|
|
70
|
+
run: |
|
|
71
|
+
bun run build:plugins
|
|
72
|
+
git diff --exit-code .claude-plugin/ src/tools/*/.claude-plugin/
|
package/AGENTS.md
CHANGED
|
@@ -50,12 +50,13 @@ src/
|
|
|
50
50
|
|
|
51
51
|
We use **two** terminal UI libraries for different purposes:
|
|
52
52
|
|
|
53
|
-
| Library
|
|
54
|
-
|
|
55
|
-
| **Ink**
|
|
53
|
+
| Library | Purpose | Used In |
|
|
54
|
+
| ------------ | ------------------------------------------- | ------------------------------------------ |
|
|
55
|
+
| **Ink** | Full React-based TUI dashboard | `tui.tsx`, `tui/components/`, `tui/views/` |
|
|
56
56
|
| **Inquirer** | Simple CLI prompts (select, confirm, input) | `skills.ts`, `setup.ts`, `skill-config.ts` |
|
|
57
57
|
|
|
58
58
|
**Why both?**
|
|
59
|
+
|
|
59
60
|
- **Ink** is for the interactive dashboard—stateful, component-based, keyboard navigation
|
|
60
61
|
- **Inquirer** is for quick sequential prompts ("Which tool?", "Configure now? y/n")
|
|
61
62
|
|
|
@@ -78,13 +79,12 @@ Don't consolidate them. Using Ink for simple prompts would be overkill.
|
|
|
78
79
|
|
|
79
80
|
Things that will bite you if you don't know:
|
|
80
81
|
|
|
81
|
-
| Gotcha
|
|
82
|
-
|
|
83
|
-
| Single-line YAML descriptions
|
|
84
|
-
|
|
|
85
|
-
|
|
|
86
|
-
|
|
|
87
|
-
| Changeset package name | npm package is scoped | Use `"@orderful/droid"` not `"droid"` in changesets |
|
|
82
|
+
| Gotcha | Why | What to do |
|
|
83
|
+
| -------------------------------------------- | --------------------------------------------------------------------- | -------------------------------------------------------------------------- |
|
|
84
|
+
| Single-line YAML descriptions | Claude Code's frontmatter parser doesn't handle multiline YAML (`>-`) | Use single-line quoted strings in frontmatter |
|
|
85
|
+
| Bump tool version when skill content changes | Users won't get updates otherwise | Patch bump the tool's TOOL.yaml version |
|
|
86
|
+
| Config-first in commands | User overrides must take precedence | Always read `~/.droid/skills/{skill}/overrides.yaml` before using defaults |
|
|
87
|
+
| Changeset package name | npm package is scoped | Use `"@orderful/droid"` not `"droid"` in changesets |
|
|
88
88
|
|
|
89
89
|
## Testing
|
|
90
90
|
|
|
@@ -96,6 +96,7 @@ bun run screenshot # On-demand TUI screenshot for visual verification
|
|
|
96
96
|
```
|
|
97
97
|
|
|
98
98
|
**When to run what:**
|
|
99
|
+
|
|
99
100
|
- Changed core logic (`lib/`) → `bun test src/`
|
|
100
101
|
- Changed TUI components → `bun run test:tui`
|
|
101
102
|
- Visual changes you want to verify → `bun run screenshot`
|
|
@@ -107,7 +108,7 @@ bun run screenshot # On-demand TUI screenshot for visual verification
|
|
|
107
108
|
2. Add `SKILL.md` with frontmatter:
|
|
108
109
|
```yaml
|
|
109
110
|
---
|
|
110
|
-
name:
|
|
111
|
+
name: { skill }
|
|
111
112
|
description: "{What it does}. Use when {scenarios}. User prompts like {examples}."
|
|
112
113
|
globs: []
|
|
113
114
|
alwaysApply: false
|
|
@@ -120,14 +121,70 @@ bun run screenshot # On-demand TUI screenshot for visual verification
|
|
|
120
121
|
|
|
121
122
|
**Optional:** Add `references/` for context files, `scripts/` for deterministic CLI scripts.
|
|
122
123
|
|
|
124
|
+
## Existing Tools
|
|
125
|
+
|
|
126
|
+
Each tool has a specific domain. Know where your feature belongs:
|
|
127
|
+
|
|
128
|
+
| Tool | Purpose | Add skills here when... |
|
|
129
|
+
| ------------- | --------------------------------------- | ----------------------------------------------- |
|
|
130
|
+
| `brain` | Personal scratchpad, planning docs | Working with brain vault, planning, research |
|
|
131
|
+
| `coach` | Learning-mode assistance | Educational interactions, scaffolding |
|
|
132
|
+
| `code-review` | PR and code review | Review-related features |
|
|
133
|
+
| `codex` | Shared org knowledge (PRDs, designs) | Codex content management, org context |
|
|
134
|
+
| `comments` | Inline @mentions in code | Comment handling, async collaboration |
|
|
135
|
+
| `droid` | **Meta-tool only** - updates, discovery | NEVER add skills here - create new tool instead |
|
|
136
|
+
| `project` | Personal project context | Project file management |
|
|
137
|
+
| `tech-design` | Tech design authoring | Tech design workflows |
|
|
138
|
+
|
|
139
|
+
> **Important:** The `droid` tool is special. It only handles update awareness and tool discovery.
|
|
140
|
+
> If you're building a full-featured capability (like tech-design, codex, brain), create a **new tool**.
|
|
141
|
+
|
|
142
|
+
## Adding a New Tool
|
|
143
|
+
|
|
144
|
+
Create a new tool when the feature:
|
|
145
|
+
|
|
146
|
+
- Has its own user-facing identity (e.g., `/tech-design`, `/deploy`)
|
|
147
|
+
- Doesn't naturally belong to an existing tool's domain
|
|
148
|
+
- Needs its own versioning/release cycle
|
|
149
|
+
- Is a full authoring/workflow tool (not just a helper)
|
|
150
|
+
|
|
151
|
+
**Steps:**
|
|
152
|
+
|
|
153
|
+
1. Create directory: `src/tools/{tool}/`
|
|
154
|
+
2. Add `TOOL.yaml`:
|
|
155
|
+
|
|
156
|
+
```yaml
|
|
157
|
+
name: { tool }
|
|
158
|
+
description: "What this tool does"
|
|
159
|
+
version: 0.1.0
|
|
160
|
+
status: beta
|
|
161
|
+
|
|
162
|
+
includes:
|
|
163
|
+
skills:
|
|
164
|
+
- name: { tool }
|
|
165
|
+
required: true
|
|
166
|
+
commands:
|
|
167
|
+
- name: { tool }
|
|
168
|
+
required: false
|
|
169
|
+
agents: []
|
|
170
|
+
|
|
171
|
+
dependencies: []
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
3. Create skill: `src/tools/{tool}/skills/{tool}/SKILL.md`
|
|
175
|
+
4. Create command: `src/tools/{tool}/commands/{tool}.md`
|
|
176
|
+
5. Add changeset: `.changeset/{tool}-initial.md`
|
|
177
|
+
|
|
178
|
+
**Example:** See `src/tools/codex/` or `src/tools/brain/` for reference.
|
|
179
|
+
|
|
123
180
|
## Key Architecture Decisions
|
|
124
181
|
|
|
125
182
|
Decisions that affect how you work:
|
|
126
183
|
|
|
127
|
-
| Decision
|
|
128
|
-
|
|
129
|
-
| "Scripts" not "tools" for skill CLIs
|
|
130
|
-
| Parallel skills (`{skill}-next`) for risky refactors | Dogfood new implementation alongside original, swap when confident
|
|
131
|
-
| Each .md owns its metadata
|
|
132
|
-
| Ink + Inquirer (not consolidated)
|
|
133
|
-
| Collision detection over prefixing
|
|
184
|
+
| Decision | Rationale |
|
|
185
|
+
| ---------------------------------------------------- | ---------------------------------------------------------------------------------------- |
|
|
186
|
+
| "Scripts" not "tools" for skill CLIs | Avoids terminology collision—droid "tools" are packages, skill "scripts" are executables |
|
|
187
|
+
| Parallel skills (`{skill}-next`) for risky refactors | Dogfood new implementation alongside original, swap when confident |
|
|
188
|
+
| Each .md owns its metadata | Single source of truth per artifact, contributors can bring existing skills as-is |
|
|
189
|
+
| Ink + Inquirer (not consolidated) | Ink for stateful TUI, Inquirer for simple prompts—right tool for each job |
|
|
190
|
+
| Collision detection over prefixing | Detect conflicts at install time rather than polluting command names with prefixes |
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,78 @@
|
|
|
1
1
|
# @orderful/droid
|
|
2
2
|
|
|
3
|
+
## 0.27.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#145](https://github.com/Orderful/droid/pull/145) [`8bce17d`](https://github.com/Orderful/droid/commit/8bce17d98824e796573db1f8a640a8af786fc2d1) Thanks [@frytyler](https://github.com/frytyler)! - Remove droid- prefix from skills and fix command argument passing
|
|
8
|
+
|
|
9
|
+
**Breaking internal changes:**
|
|
10
|
+
- Skills renamed: `droid-brain` → `brain`, `droid-comments` → `comments`, etc.
|
|
11
|
+
- All skill directories now use unprefixed names
|
|
12
|
+
- Automatic cleanup removes old `droid-*` directories on upgrade
|
|
13
|
+
|
|
14
|
+
**Command improvements:**
|
|
15
|
+
- Commands now use explicit instruction pattern for better argument passing in OpenCode
|
|
16
|
+
- Each command file includes examples and quick reference
|
|
17
|
+
- Alias commands (e.g., `/scratchpad`) properly documented as aliases
|
|
18
|
+
|
|
19
|
+
**Platform compatibility:**
|
|
20
|
+
- OpenCode: Receives all commands (for autocomplete)
|
|
21
|
+
- Claude Code: Receives only alias commands (relies on unified skills/commands)
|
|
22
|
+
- Both platforms get unprefixed skill names
|
|
23
|
+
|
|
24
|
+
Tools updated: brain, coach, code-review, codex, comments, project, tech-design
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- [#146](https://github.com/Orderful/droid/pull/146) [`2c87b87`](https://github.com/Orderful/droid/commit/2c87b874a38b0f52d1edf77b2995e565f155f251) Thanks [@frytyler](https://github.com/frytyler)! - fix(codex): make CONTEXT.md generation synchronous by default with optional async
|
|
29
|
+
|
|
30
|
+
Changed auto-generation from async-only (with background agents) to flexible approach where LLM can choose synchronous (works everywhere) or asynchronous (Claude Code only). This fixes the issue where CONTEXT.md files were never being generated because background agents weren't working reliably.
|
|
31
|
+
|
|
32
|
+
## 0.26.0
|
|
33
|
+
|
|
34
|
+
### Minor Changes
|
|
35
|
+
|
|
36
|
+
- [#128](https://github.com/Orderful/droid/pull/128) [`7e6f0f6`](https://github.com/Orderful/droid/commit/7e6f0f623f711738f80615851a3e3e3e8d1b9a2d) Thanks [@yanneg](https://github.com/yanneg)! - Add Claude Code native plugin support - tools can now be installed via /plugin commands
|
|
37
|
+
|
|
38
|
+
- [#134](https://github.com/Orderful/droid/pull/134) [`e3e420c`](https://github.com/Orderful/droid/commit/e3e420c47172d947a1e668917cec400c36920380) Thanks [@frytyler](https://github.com/frytyler)! - Add tech-design skill Phase 1 foundation - skill, command, and templates for writing technical design documents with two-document approach (thought docs in brain, roll-ups in codex).
|
|
39
|
+
|
|
40
|
+
- [#136](https://github.com/Orderful/droid/pull/136) [`6658faa`](https://github.com/Orderful/droid/commit/6658faabeec099fdd046529519bbb96a9ebf198c) Thanks [@frytyler](https://github.com/frytyler)! - Add tech-design skill Phase 2 - Core authoring workflows with detailed procedure docs for start, draft, think, gaps, and publish commands.
|
|
41
|
+
|
|
42
|
+
### Patch Changes
|
|
43
|
+
|
|
44
|
+
- [#137](https://github.com/Orderful/droid/pull/137) [`b01e55b`](https://github.com/Orderful/droid/commit/b01e55b5bf896929f67242c20b1baec3eddf7af9) Thanks [@frytyler](https://github.com/frytyler)! - Add tool inventory and "Adding a New Tool" section to AGENTS.md. Fix allowed-tools format for OpenCode compatibility.
|
|
45
|
+
- Documents when to create a new tool vs add a skill to an existing tool
|
|
46
|
+
- Clarifies that `droid` is a meta-tool only
|
|
47
|
+
- Converts `allowed-tools` from comma-separated strings to YAML arrays (OpenCode requires arrays)
|
|
48
|
+
|
|
49
|
+
- [#142](https://github.com/Orderful/droid/pull/142) [`f362e32`](https://github.com/Orderful/droid/commit/f362e32f5be05d2506fd62f4dfa1f79204661195) Thanks [@frytyler](https://github.com/frytyler)! - Fix skill configuration to always create overrides.yaml file.
|
|
50
|
+
- Skills expect overrides.yaml to exist, even with all defaults
|
|
51
|
+
- Changed promptForSkillConfig to always save the file when config schema exists
|
|
52
|
+
- Saves all values (including defaults) instead of filtering them out
|
|
53
|
+
- Fixes bug where codex and other skills fail when overrides file missing
|
|
54
|
+
- Bump codex tool to v0.1.5
|
|
55
|
+
|
|
56
|
+
- [#144](https://github.com/Orderful/droid/pull/144) [`fde1504`](https://github.com/Orderful/droid/commit/fde1504edae97a8df14c67a7c5aaa8eb8b550513) Thanks [@frytyler](https://github.com/frytyler)! - Fix dependency check for tools with droid- prefixed skills. Coach tool now correctly detects when the comments tool is installed, resolving "Missing dependency" error when comments was actually installed.
|
|
57
|
+
|
|
58
|
+
- [#138](https://github.com/Orderful/droid/pull/138) [`d03c576`](https://github.com/Orderful/droid/commit/d03c5767f7d6b5f885c29ec252b1ee688abdb419) Thanks [@frytyler](https://github.com/frytyler)! - Move tech-design from droid tool to standalone tool
|
|
59
|
+
|
|
60
|
+
Restructures tech-design as a standalone tool at `src/tools/tech-design/` instead of being bundled under the droid tool. This aligns with the architecture pattern used by brain and codex.
|
|
61
|
+
|
|
62
|
+
**What changed:**
|
|
63
|
+
- Created new `tech-design` tool with its own TOOL.yaml
|
|
64
|
+
- Moved `droid-tech-design` skill from `tools/droid/skills/` to `tools/tech-design/skills/`
|
|
65
|
+
- Moved `tech-design` command from `tools/droid/commands/` to `tools/tech-design/commands/`
|
|
66
|
+
- Removed tech-design entries from droid's TOOL.yaml and dependencies
|
|
67
|
+
|
|
68
|
+
**Why this matters:**
|
|
69
|
+
- tech-design has its own user-facing identity (`/tech-design`)
|
|
70
|
+
- Doesn't belong to droid's domain (droid = updates/discovery only)
|
|
71
|
+
- Needs independent versioning/release cycle
|
|
72
|
+
- Matches pattern of other full-featured authoring tools (codex, brain, code-review)
|
|
73
|
+
|
|
74
|
+
**Note:** No user impact since tech-design hasn't been released yet. This is a pre-release structural fix.
|
|
75
|
+
|
|
3
76
|
## 0.25.2
|
|
4
77
|
|
|
5
78
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -14,12 +14,28 @@ AI workflow toolkit for sharing tools, commands, and agents across the engineeri
|
|
|
14
14
|
|
|
15
15
|
## Quick Start
|
|
16
16
|
|
|
17
|
+
### Option A: Claude Code Plugin (Recommended for Claude Code users)
|
|
18
|
+
|
|
19
|
+
Install individual tools directly through Claude Code's plugin system:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
# Add the Droid marketplace
|
|
23
|
+
/plugin marketplace add orderful/droid
|
|
24
|
+
|
|
25
|
+
# Install the tools you want
|
|
26
|
+
/plugin install droid-brain@droid
|
|
27
|
+
/plugin install droid-comments@droid
|
|
28
|
+
/plugin install droid-code-review@droid
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
### Option B: TUI Dashboard (For OpenCode or if you prefer a visual interface)
|
|
32
|
+
|
|
17
33
|
```bash
|
|
18
34
|
npm install -g @orderful/droid
|
|
19
35
|
droid
|
|
20
36
|
```
|
|
21
37
|
|
|
22
|
-
|
|
38
|
+
The TUI guides you through setup and tool installation. Works with both Claude Code and OpenCode.
|
|
23
39
|
|
|
24
40
|
> **Note for nodenv/nvm/asdf users:** After global install, run `nodenv rehash` (or equivalent) to update your shims.
|
|
25
41
|
|
|
@@ -128,9 +144,12 @@ cd droid && bun install
|
|
|
128
144
|
bun run build
|
|
129
145
|
bun dist/bin/droid.js
|
|
130
146
|
|
|
131
|
-
# to test
|
|
147
|
+
# to test TUI
|
|
132
148
|
bun link
|
|
133
|
-
bun unlink
|
|
149
|
+
bun unlink
|
|
150
|
+
|
|
151
|
+
# to build plugin packages
|
|
152
|
+
bun run build:plugins
|
|
134
153
|
```
|
|
135
154
|
|
|
136
155
|
### Adding Tools
|
|
@@ -141,7 +160,14 @@ See [AGENTS.md](AGENTS.md) for detailed contributor guidance. Quick overview:
|
|
|
141
160
|
2. Add skills in `src/tools/{name}/skills/{skill}/SKILL.md` (frontmatter + instructions)
|
|
142
161
|
3. Add commands in `src/tools/{name}/commands/{command}.md` (frontmatter + instructions)
|
|
143
162
|
4. Add agents in `src/tools/{name}/agents/{agent}.md` (frontmatter + instructions)
|
|
144
|
-
5.
|
|
163
|
+
5. Run `bun run build:plugins` to generate plugin manifests
|
|
164
|
+
6. Submit a PR
|
|
165
|
+
|
|
166
|
+
The build script generates:
|
|
167
|
+
- `.claude-plugin/marketplace.json` at repo root (lists all plugins)
|
|
168
|
+
- `src/tools/{name}/.claude-plugin/plugin.json` for each tool
|
|
169
|
+
|
|
170
|
+
These must be committed for plugin installation to work.
|
|
145
171
|
|
|
146
172
|
## License
|
|
147
173
|
|