@orderful/droid 0.10.2 → 0.10.4
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/CHANGELOG.md +24 -0
- package/dist/commands/setup.d.ts.map +1 -1
- package/dist/commands/setup.js +3 -5
- package/dist/commands/setup.js.map +1 -1
- package/dist/commands/tui.d.ts.map +1 -1
- package/dist/commands/tui.js +10 -33
- package/dist/commands/tui.js.map +1 -1
- package/dist/skills/brain/SKILL.md +36 -19
- package/dist/skills/brain/commands/brain.md +19 -7
- package/dist/skills/brain/commands/scratchpad.md +19 -7
- package/dist/skills/brain/references/naming.md +14 -19
- package/dist/skills/brain/references/templates.md +3 -2
- package/dist/skills/brain/references/workflows.md +52 -36
- package/dist/skills/brain-obsidian/SKILL.md +36 -19
- package/dist/skills/brain-obsidian/references/templates.md +24 -24
- package/dist/skills/brain-obsidian/references/workflows.md +22 -12
- package/dist/skills/comments/SKILL.md +19 -11
- package/package.json +1 -1
- package/src/commands/setup.ts +3 -5
- package/src/commands/tui.tsx +9 -57
- package/src/skills/brain/SKILL.md +36 -19
- package/src/skills/brain/commands/brain.md +19 -7
- package/src/skills/brain/commands/scratchpad.md +19 -7
- package/src/skills/brain/references/naming.md +14 -19
- package/src/skills/brain/references/templates.md +3 -2
- package/src/skills/brain/references/workflows.md +52 -36
- package/src/skills/brain-obsidian/SKILL.md +36 -19
- package/src/skills/brain-obsidian/references/templates.md +24 -24
- package/src/skills/brain-obsidian/references/workflows.md +22 -12
- package/src/skills/comments/SKILL.md +19 -11
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Collaborative scratchpad for planning and research
|
|
3
|
-
argument-hint: "[{topic} | plan|research|review {topic} |
|
|
3
|
+
argument-hint: "[{topic} | plan|research|review {topic} | idea|add {text} | check|done]"
|
|
4
4
|
allowed-tools: Read, Write, Edit, Glob, Grep, Bash(mkdir:*), Bash(ls:*)
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -23,10 +23,10 @@ $ARGUMENTS
|
|
|
23
23
|
```
|
|
24
24
|
/brain # List recent docs or create new
|
|
25
25
|
/brain {topic} # SEARCH: Open existing doc (fuzzy match) → active
|
|
26
|
-
/brain plan {topic} # CREATE: New planning doc →
|
|
27
|
-
/brain research {topic} # Create research doc →
|
|
28
|
-
/brain review {topic} # Create review doc →
|
|
29
|
-
/brain
|
|
26
|
+
/brain plan {topic} # CREATE: New planning doc → plans/
|
|
27
|
+
/brain research {topic} # Create research doc → research/
|
|
28
|
+
/brain review {topic} # Create review doc → reviews/
|
|
29
|
+
/brain idea {text} # Quick capture → ideas/ (fire-and-forget)
|
|
30
30
|
/brain add {text} # Append to active doc
|
|
31
31
|
/brain check # Address @droid comments in active doc
|
|
32
32
|
/brain done # Finalize active doc
|
|
@@ -37,7 +37,19 @@ $ARGUMENTS
|
|
|
37
37
|
**ALWAYS read `~/.droid/skills/brain/overrides.yaml` first.** Use configured values if present, only fall back to defaults if missing.
|
|
38
38
|
|
|
39
39
|
- `brain_dir` - Where docs live (default varies by AI tool)
|
|
40
|
-
- `inbox_folder` -
|
|
40
|
+
- `inbox_folder` - Root for type folders (e.g., `0-Inbox`)
|
|
41
|
+
|
|
42
|
+
## Folder Structure
|
|
43
|
+
|
|
44
|
+
Docs are organized by type:
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
{brain_dir}/{inbox_folder}/
|
|
48
|
+
├── plans/
|
|
49
|
+
├── research/
|
|
50
|
+
├── reviews/
|
|
51
|
+
└── ideas/
|
|
52
|
+
```
|
|
41
53
|
|
|
42
54
|
## Behavior
|
|
43
55
|
|
|
@@ -45,7 +57,7 @@ Refer to the brain skill for:
|
|
|
45
57
|
|
|
46
58
|
- **Opening**: How to fuzzy-match, handle multiple matches, set active
|
|
47
59
|
- **Creating**: Template structure by preset, naming conventions
|
|
48
|
-
- **
|
|
60
|
+
- **Ideas**: Quick capture workflow
|
|
49
61
|
- **Adding**: Append to active doc with timestamp
|
|
50
62
|
- **Checking**: Find and address @droid comments
|
|
51
63
|
- **Finalizing**: Update status, suggest next steps
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Collaborative scratchpad for planning and research
|
|
3
|
-
argument-hint: "[{topic} | plan|research|review {topic} |
|
|
3
|
+
argument-hint: "[{topic} | plan|research|review {topic} | idea|add {text} | check|done]"
|
|
4
4
|
allowed-tools: Read, Write, Edit, Glob, Grep, Bash(mkdir:*), Bash(ls:*)
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -23,10 +23,10 @@ $ARGUMENTS
|
|
|
23
23
|
```
|
|
24
24
|
/scratchpad # List recent docs or create new
|
|
25
25
|
/scratchpad {topic} # SEARCH: Open existing doc (fuzzy match) → active
|
|
26
|
-
/scratchpad plan {topic} # CREATE: New planning doc →
|
|
27
|
-
/scratchpad research {topic} # Create research doc →
|
|
28
|
-
/scratchpad review {topic} # Create review doc →
|
|
29
|
-
/scratchpad
|
|
26
|
+
/scratchpad plan {topic} # CREATE: New planning doc → plans/
|
|
27
|
+
/scratchpad research {topic} # Create research doc → research/
|
|
28
|
+
/scratchpad review {topic} # Create review doc → reviews/
|
|
29
|
+
/scratchpad idea {text} # Quick capture → ideas/ (fire-and-forget)
|
|
30
30
|
/scratchpad add {text} # Append to active doc
|
|
31
31
|
/scratchpad check # Address @droid comments in active doc
|
|
32
32
|
/scratchpad done # Finalize active doc
|
|
@@ -37,7 +37,19 @@ $ARGUMENTS
|
|
|
37
37
|
**ALWAYS read `~/.droid/skills/brain/overrides.yaml` first.** Use configured values if present, only fall back to defaults if missing.
|
|
38
38
|
|
|
39
39
|
- `brain_dir` - Where docs live (default varies by AI tool)
|
|
40
|
-
- `inbox_folder` -
|
|
40
|
+
- `inbox_folder` - Root for type folders (e.g., `0-Inbox`)
|
|
41
|
+
|
|
42
|
+
## Folder Structure
|
|
43
|
+
|
|
44
|
+
Docs are organized by type:
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
{brain_dir}/{inbox_folder}/
|
|
48
|
+
├── plans/
|
|
49
|
+
├── research/
|
|
50
|
+
├── reviews/
|
|
51
|
+
└── ideas/
|
|
52
|
+
```
|
|
41
53
|
|
|
42
54
|
## Behavior
|
|
43
55
|
|
|
@@ -45,7 +57,7 @@ Refer to the brain skill for:
|
|
|
45
57
|
|
|
46
58
|
- **Opening**: How to fuzzy-match, handle multiple matches, set active
|
|
47
59
|
- **Creating**: Template structure by preset, naming conventions
|
|
48
|
-
- **
|
|
60
|
+
- **Ideas**: Quick capture workflow
|
|
49
61
|
- **Adding**: Append to active doc with timestamp
|
|
50
62
|
- **Checking**: Find and address @droid comments
|
|
51
63
|
- **Finalizing**: Update status, suggest next steps
|
|
@@ -4,17 +4,12 @@ Conventions for naming brain docs.
|
|
|
4
4
|
|
|
5
5
|
## Format
|
|
6
6
|
|
|
7
|
+
Since docs are organized into type folders (`plans/`, `research/`, `reviews/`, `ideas/`), filenames no longer need a type prefix:
|
|
8
|
+
|
|
7
9
|
```
|
|
8
|
-
{
|
|
10
|
+
{topic-slug}.md
|
|
9
11
|
```
|
|
10
12
|
|
|
11
|
-
## Components
|
|
12
|
-
|
|
13
|
-
| Component | Description | Examples |
|
|
14
|
-
| -------------- | ------------------------------------ | ------------------------------------- |
|
|
15
|
-
| `{type}` | Doc type: `plan`, `research`, `note` | `plan`, `research`, `note` |
|
|
16
|
-
| `{topic-slug}` | Lowercase, hyphen-separated topic | `auth-refactor`, `caching-strategies` |
|
|
17
|
-
|
|
18
13
|
## Slug Rules
|
|
19
14
|
|
|
20
15
|
1. **Lowercase** all words
|
|
@@ -25,26 +20,26 @@ Conventions for naming brain docs.
|
|
|
25
20
|
|
|
26
21
|
## Examples
|
|
27
22
|
|
|
28
|
-
| Input |
|
|
29
|
-
| -------------------------------------------- |
|
|
30
|
-
| `/brain plan Auth Refactor` | `
|
|
31
|
-
| `/brain research Caching Strategies` | `research
|
|
32
|
-
| `/brain
|
|
33
|
-
| `/brain
|
|
23
|
+
| Input | Path |
|
|
24
|
+
| -------------------------------------------- | ------------------------------------------------ |
|
|
25
|
+
| `/brain plan Auth Refactor` | `plans/auth-refactor.md` |
|
|
26
|
+
| `/brain research Caching Strategies` | `research/caching-strategies.md` |
|
|
27
|
+
| `/brain review PR 4530` | `reviews/pr-4530.md` |
|
|
28
|
+
| `/brain idea Remember to check rate limits` | `ideas/20250115-remember-to-check-rate.md` |
|
|
34
29
|
|
|
35
|
-
##
|
|
30
|
+
## Ideas (Quick Captures)
|
|
36
31
|
|
|
37
|
-
For
|
|
32
|
+
For ideas, include the date in the filename to prevent collisions:
|
|
38
33
|
|
|
39
34
|
```
|
|
40
|
-
|
|
35
|
+
{YYYYMMDD}-{slug}.md
|
|
41
36
|
```
|
|
42
37
|
|
|
43
|
-
This
|
|
38
|
+
This allows chronological sorting within the `ideas/` folder.
|
|
44
39
|
|
|
45
40
|
## Uniqueness
|
|
46
41
|
|
|
47
42
|
If a file with the generated name already exists:
|
|
48
43
|
|
|
49
44
|
1. Check if user wants to open existing doc
|
|
50
|
-
2. Or append a numeric suffix: `
|
|
45
|
+
2. Or append a numeric suffix: `auth-refactor-2.md`
|
|
@@ -8,9 +8,11 @@ Detailed procedures for each brain operation.
|
|
|
8
8
|
|
|
9
9
|
**Steps:**
|
|
10
10
|
|
|
11
|
-
1. **Read config first**
|
|
12
|
-
- Read `~/.droid/skills/brain/overrides.yaml`
|
|
13
|
-
-
|
|
11
|
+
1. **Read config first (MANDATORY)**
|
|
12
|
+
- Use the Read tool on `~/.droid/skills/brain/overrides.yaml`
|
|
13
|
+
- If file exists and contains `brain_dir:`, use that path
|
|
14
|
+
- Only use defaults if the file doesn't exist or `brain_dir` is not set
|
|
15
|
+
- **Do NOT skip this step or assume defaults**
|
|
14
16
|
|
|
15
17
|
2. **Search for matches**
|
|
16
18
|
|
|
@@ -35,24 +37,28 @@ Detailed procedures for each brain operation.
|
|
|
35
37
|
|
|
36
38
|
## Creating
|
|
37
39
|
|
|
38
|
-
**Trigger:** `/brain plan {topic}
|
|
40
|
+
**Trigger:** `/brain plan {topic}`, `/brain research {topic}`, or `/brain review {topic}`
|
|
39
41
|
|
|
40
42
|
**Steps:**
|
|
41
43
|
|
|
42
|
-
1. **Read config first**
|
|
43
|
-
- Read `~/.droid/skills/brain/overrides.yaml`
|
|
44
|
-
-
|
|
45
|
-
-
|
|
44
|
+
1. **Read config first (MANDATORY)**
|
|
45
|
+
- Use the Read tool on `~/.droid/skills/brain/overrides.yaml`
|
|
46
|
+
- If file exists and contains `brain_dir:`, use that path
|
|
47
|
+
- Also check for `inbox_folder` setting (e.g., `0-Inbox`)
|
|
48
|
+
- Only use defaults if the file doesn't exist or `brain_dir` is not set
|
|
49
|
+
- **Do NOT skip this step or assume defaults**
|
|
46
50
|
|
|
47
51
|
2. **Generate filename** using naming conventions (see `naming.md`):
|
|
48
|
-
- Format: `{
|
|
49
|
-
- Example: `
|
|
52
|
+
- Format: `{topic-slug}.md` (no type prefix - folder indicates type)
|
|
53
|
+
- Example: `auth-refactor.md` or `caching-strategies.md`
|
|
50
54
|
|
|
51
|
-
3. **Determine target path:**
|
|
52
|
-
-
|
|
53
|
-
-
|
|
55
|
+
3. **Determine target path based on type:**
|
|
56
|
+
- Base: `{brain_dir}/{inbox_folder}` (or just `{brain_dir}` if no inbox_folder)
|
|
57
|
+
- `plan` → `{base}/plans/{filename}`
|
|
58
|
+
- `research` → `{base}/research/{filename}`
|
|
59
|
+
- `review` → `{base}/reviews/{filename}`
|
|
54
60
|
|
|
55
|
-
4. **Create directory** if needed
|
|
61
|
+
4. **Create directory** if needed (type folder may not exist yet)
|
|
56
62
|
|
|
57
63
|
5. **Apply template** based on preset and type (see `templates.md`)
|
|
58
64
|
|
|
@@ -64,7 +70,7 @@ Detailed procedures for each brain operation.
|
|
|
64
70
|
7. **Add placeholder comments** for sections needing user input:
|
|
65
71
|
- Read user's mention from `~/.droid/config.yaml` → `user_mention`
|
|
66
72
|
- Use `> @{user_mention}` for placeholders (e.g., `> @fry - Please provide requirements`)
|
|
67
|
-
-
|
|
73
|
+
- **CRITICAL:** NEVER use `@droid` - that's for user-to-AI comments, not AI-to-user
|
|
68
74
|
|
|
69
75
|
8. **Write the doc** with template structure and initial context
|
|
70
76
|
|
|
@@ -72,33 +78,35 @@ Detailed procedures for each brain operation.
|
|
|
72
78
|
|
|
73
79
|
10. **Confirm creation** and summarize what was captured
|
|
74
80
|
|
|
75
|
-
##
|
|
81
|
+
## Ideas
|
|
76
82
|
|
|
77
|
-
**Trigger:** `/brain
|
|
83
|
+
**Trigger:** `/brain idea {text}`
|
|
78
84
|
|
|
79
85
|
**Steps:**
|
|
80
86
|
|
|
81
|
-
1. **Read config first**
|
|
82
|
-
- Read `~/.droid/skills/brain/overrides.yaml`
|
|
83
|
-
-
|
|
84
|
-
-
|
|
87
|
+
1. **Read config first (MANDATORY)**
|
|
88
|
+
- Use the Read tool on `~/.droid/skills/brain/overrides.yaml`
|
|
89
|
+
- If file exists and contains `brain_dir:`, use that path
|
|
90
|
+
- Also check for `inbox_folder` setting (e.g., `0-Inbox`)
|
|
91
|
+
- Only use defaults if the file doesn't exist or `brain_dir` is not set
|
|
92
|
+
- **Do NOT skip this step or assume defaults**
|
|
85
93
|
|
|
86
94
|
2. **Generate filename:**
|
|
87
|
-
- Format: `
|
|
95
|
+
- Format: `{date}-{slug}.md` where date is `YYYYMMDD`
|
|
88
96
|
- Slug from first few words of text
|
|
89
|
-
- Example: `
|
|
97
|
+
- Example: `20250115-remember-rate-limits.md`
|
|
90
98
|
|
|
91
99
|
3. **Determine target path:**
|
|
92
|
-
-
|
|
93
|
-
-
|
|
100
|
+
- Base: `{brain_dir}/{inbox_folder}` (or just `{brain_dir}` if no inbox_folder)
|
|
101
|
+
- Path: `{base}/ideas/{filename}`
|
|
94
102
|
|
|
95
|
-
4. **Create simple
|
|
103
|
+
4. **Create simple idea doc:**
|
|
96
104
|
- Markdown preset: Just the text
|
|
97
|
-
- Obsidian preset: Add frontmatter with `type:
|
|
105
|
+
- Obsidian preset: Add frontmatter with `type: idea`, `created: {date}`
|
|
98
106
|
|
|
99
107
|
5. **Write the file** - Do NOT set as active (fire-and-forget)
|
|
100
108
|
|
|
101
|
-
6. **Confirm** briefly: "Captured
|
|
109
|
+
6. **Confirm** briefly: "Captured idea to ideas/{filename}"
|
|
102
110
|
|
|
103
111
|
## Adding
|
|
104
112
|
|
|
@@ -140,19 +148,25 @@ Detailed procedures for each brain operation.
|
|
|
140
148
|
|
|
141
149
|
2. **Read active doc**
|
|
142
150
|
|
|
143
|
-
3. **
|
|
151
|
+
3. **Check preserve_comments setting:**
|
|
152
|
+
- Read `~/.droid/skills/comments/overrides.yaml` if it exists
|
|
153
|
+
- Look for `preserve_comments` (default: `true`)
|
|
154
|
+
|
|
155
|
+
4. **Find all `> @droid` comments**
|
|
144
156
|
- Pattern: Lines starting with `> @droid` (blockquote with mention)
|
|
145
157
|
|
|
146
|
-
|
|
158
|
+
5. **For each comment:**
|
|
147
159
|
- Show the comment and surrounding context
|
|
148
160
|
- Address the question/request
|
|
149
161
|
- Add response as blockquote with user's mention: `> @{user_mention} Your response here`
|
|
150
162
|
- Example: `> @fry Yes, the index covers that query pattern.`
|
|
151
|
-
-
|
|
163
|
+
- **CRITICAL:** NEVER use `@droid` in your responses. Use `@{user_mention}` from config (e.g., `@fry`)
|
|
164
|
+
- **CRITICAL:** Always include the `>` prefix to maintain blockquote formatting
|
|
165
|
+
- **CRITICAL:** If `preserve_comments: true`, keep the original `@droid` comment and add your response below it. Do NOT remove the original comment.
|
|
152
166
|
|
|
153
|
-
|
|
167
|
+
6. **Update the doc** with responses
|
|
154
168
|
|
|
155
|
-
|
|
169
|
+
7. **Summarize** what was addressed
|
|
156
170
|
|
|
157
171
|
## Finalizing
|
|
158
172
|
|
|
@@ -185,9 +199,11 @@ Detailed procedures for each brain operation.
|
|
|
185
199
|
|
|
186
200
|
**Steps:**
|
|
187
201
|
|
|
188
|
-
1. **Read config first**
|
|
189
|
-
- Read `~/.droid/skills/brain/overrides.yaml`
|
|
190
|
-
-
|
|
202
|
+
1. **Read config first (MANDATORY)**
|
|
203
|
+
- Use the Read tool on `~/.droid/skills/brain/overrides.yaml`
|
|
204
|
+
- If file exists and contains `brain_dir:`, use that path
|
|
205
|
+
- Only use defaults if the file doesn't exist or `brain_dir` is not set
|
|
206
|
+
- **Do NOT skip this step or assume defaults**
|
|
191
207
|
|
|
192
208
|
2. **Find recent docs:**
|
|
193
209
|
|
|
@@ -26,7 +26,7 @@ brain_dir: ~/path/to/your/vault
|
|
|
26
26
|
**Optional:** Configure folders in `~/.droid/skills/brain-obsidian/overrides.yaml`:
|
|
27
27
|
|
|
28
28
|
| Setting | Default | Description |
|
|
29
|
-
|
|
29
|
+
| ------------------ | ------------- | ------------------------------- |
|
|
30
30
|
| `inbox_folder` | `0-Inbox` | Where new docs are created |
|
|
31
31
|
| `archive_folder` | `4-Archives` | Where stale/done docs go |
|
|
32
32
|
| `para_structure` | `false` | Enable full PARA organization |
|
|
@@ -37,7 +37,7 @@ brain_dir: ~/path/to/your/vault
|
|
|
37
37
|
## What This Adds
|
|
38
38
|
|
|
39
39
|
| Feature | Description |
|
|
40
|
-
|
|
40
|
+
| ------------------- | ------------------------------------------ |
|
|
41
41
|
| YAML frontmatter | Type, status, dates, project links, tags |
|
|
42
42
|
| Wikilinks | `[[note-name]]` syntax for linking |
|
|
43
43
|
| Folder organization | Inbox + Archive always; full PARA optional |
|
|
@@ -45,14 +45,26 @@ brain_dir: ~/path/to/your/vault
|
|
|
45
45
|
|
|
46
46
|
## Folder Organization
|
|
47
47
|
|
|
48
|
-
**
|
|
49
|
-
- `inbox_folder` - New docs land here
|
|
50
|
-
- `archive_folder` - Stale/completed docs
|
|
48
|
+
**Docs are organized by type within the inbox:**
|
|
51
49
|
|
|
52
|
-
**With `para_structure: true`:**
|
|
53
50
|
```
|
|
54
51
|
vault/
|
|
55
|
-
|
|
52
|
+
└── {inbox_folder}/ # (default: 0-Inbox)
|
|
53
|
+
├── plans/ # Planning docs
|
|
54
|
+
├── research/ # Research docs
|
|
55
|
+
├── reviews/ # Review docs
|
|
56
|
+
└── ideas/ # Quick captures
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
**With `para_structure: true`** (adds archive + organization folders):
|
|
60
|
+
|
|
61
|
+
```
|
|
62
|
+
vault/
|
|
63
|
+
├── {inbox_folder}/ # New docs by type (default: 0-Inbox)
|
|
64
|
+
│ ├── plans/
|
|
65
|
+
│ ├── research/
|
|
66
|
+
│ ├── reviews/
|
|
67
|
+
│ └── ideas/
|
|
56
68
|
├── {projects_folder}/ # Active project docs (default: 1-Projects)
|
|
57
69
|
├── {areas_folder}/ # Area docs (default: 2-Areas)
|
|
58
70
|
├── {resources_folder}/ # Reference material (default: 3-Resources)
|
|
@@ -69,12 +81,12 @@ All docs get YAML frontmatter:
|
|
|
69
81
|
|
|
70
82
|
```yaml
|
|
71
83
|
---
|
|
72
|
-
type: plan | research | review |
|
|
84
|
+
type: plan | research | review | idea
|
|
73
85
|
status: exploring | drafting | decided | done
|
|
74
86
|
created: YYYY-MM-DD
|
|
75
87
|
updated: YYYY-MM-DD
|
|
76
|
-
project: "[[project-name]]"
|
|
77
|
-
tags: []
|
|
88
|
+
project: "[[project-name]]" # Optional
|
|
89
|
+
tags: [] # Optional
|
|
78
90
|
---
|
|
79
91
|
```
|
|
80
92
|
|
|
@@ -82,12 +94,17 @@ See `references/templates.md` for full templates.
|
|
|
82
94
|
|
|
83
95
|
### File Location
|
|
84
96
|
|
|
85
|
-
Docs are created in your vault's inbox
|
|
86
|
-
|
|
97
|
+
Docs are created in type-specific folders within your vault's inbox:
|
|
98
|
+
|
|
99
|
+
- `{brain_dir}/{inbox_folder}/plans/{filename}.md`
|
|
100
|
+
- `{brain_dir}/{inbox_folder}/research/{filename}.md`
|
|
101
|
+
- `{brain_dir}/{inbox_folder}/reviews/{filename}.md`
|
|
102
|
+
- `{brain_dir}/{inbox_folder}/ideas/{filename}.md`
|
|
87
103
|
|
|
88
104
|
### Finalizing
|
|
89
105
|
|
|
90
106
|
When running `/brain done`:
|
|
107
|
+
|
|
91
108
|
1. Updates status to `done` in frontmatter
|
|
92
109
|
2. Suggests moving to archive (or projects/resources if PARA enabled)
|
|
93
110
|
3. Confirms before moving
|
|
@@ -96,10 +113,10 @@ When running `/brain done`:
|
|
|
96
113
|
|
|
97
114
|
Same commands as brain skill, but with Obsidian output:
|
|
98
115
|
|
|
99
|
-
| Command | Obsidian Behavior
|
|
100
|
-
|
|
101
|
-
| `/brain plan {topic}` | Creates in
|
|
102
|
-
| `/brain research {topic}` | Creates in
|
|
103
|
-
| `/brain review {topic}` | Creates in
|
|
104
|
-
| `/brain
|
|
105
|
-
| `/brain done` | Updates status, suggests archive/PARA move
|
|
116
|
+
| Command | Obsidian Behavior |
|
|
117
|
+
| ------------------------- | --------------------------------------------- |
|
|
118
|
+
| `/brain plan {topic}` | Creates in `plans/` with frontmatter |
|
|
119
|
+
| `/brain research {topic}` | Creates in `research/` with frontmatter |
|
|
120
|
+
| `/brain review {topic}` | Creates in `reviews/` with frontmatter |
|
|
121
|
+
| `/brain idea {text}` | Quick capture to `ideas/` |
|
|
122
|
+
| `/brain done` | Updates status, suggests archive/PARA move |
|
|
@@ -8,8 +8,8 @@ Templates with YAML frontmatter and wikilink support.
|
|
|
8
8
|
---
|
|
9
9
|
type: plan
|
|
10
10
|
status: exploring
|
|
11
|
-
created: {date}
|
|
12
|
-
updated: {date}
|
|
11
|
+
created: { date }
|
|
12
|
+
updated: { date }
|
|
13
13
|
project: "[[{project}]]"
|
|
14
14
|
tags: []
|
|
15
15
|
---
|
|
@@ -41,8 +41,8 @@ What we chose and why.
|
|
|
41
41
|
---
|
|
42
42
|
type: research
|
|
43
43
|
status: exploring
|
|
44
|
-
created: {date}
|
|
45
|
-
updated: {date}
|
|
44
|
+
created: { date }
|
|
45
|
+
updated: { date }
|
|
46
46
|
project: "[[{project}]]"
|
|
47
47
|
tags: []
|
|
48
48
|
---
|
|
@@ -75,8 +75,8 @@ Key takeaways.
|
|
|
75
75
|
---
|
|
76
76
|
type: review
|
|
77
77
|
status: exploring
|
|
78
|
-
created: {date}
|
|
79
|
-
updated: {date}
|
|
78
|
+
created: { date }
|
|
79
|
+
updated: { date }
|
|
80
80
|
project: "[[{project}]]"
|
|
81
81
|
tags: []
|
|
82
82
|
---
|
|
@@ -102,12 +102,12 @@ Suggested changes or actions.
|
|
|
102
102
|
Overall assessment.
|
|
103
103
|
```
|
|
104
104
|
|
|
105
|
-
##
|
|
105
|
+
## Idea Template
|
|
106
106
|
|
|
107
107
|
```markdown
|
|
108
108
|
---
|
|
109
|
-
type:
|
|
110
|
-
created: {date}
|
|
109
|
+
type: idea
|
|
110
|
+
created: { date }
|
|
111
111
|
tags: []
|
|
112
112
|
---
|
|
113
113
|
|
|
@@ -118,24 +118,24 @@ tags: []
|
|
|
118
118
|
|
|
119
119
|
## Template Variables
|
|
120
120
|
|
|
121
|
-
| Variable
|
|
122
|
-
|
|
123
|
-
| `{Topic}`
|
|
124
|
-
| `{date}`
|
|
125
|
-
| `{brief description}` | Context from conversation
|
|
126
|
-
| `{project}`
|
|
127
|
-
| `{content}`
|
|
121
|
+
| Variable | Description | Example |
|
|
122
|
+
| --------------------- | ---------------------------- | --------------------------------------- |
|
|
123
|
+
| `{Topic}` | Doc title from user input | "Auth Refactor" |
|
|
124
|
+
| `{date}` | Current date (YYYY-MM-DD) | "2025-01-15" |
|
|
125
|
+
| `{brief description}` | Context from conversation | "refactoring the authentication system" |
|
|
126
|
+
| `{project}` | Active project name (if any) | "transaction-templates" |
|
|
127
|
+
| `{content}` | User-provided text | (for notes) |
|
|
128
128
|
|
|
129
129
|
## Frontmatter Fields
|
|
130
130
|
|
|
131
|
-
| Field
|
|
132
|
-
|
|
133
|
-
| `type`
|
|
134
|
-
| `status`
|
|
135
|
-
| `created` | date
|
|
136
|
-
| `updated` | date
|
|
137
|
-
| `project` | wikilink | Link to related project: `"[[project-name]]"`
|
|
138
|
-
| `tags`
|
|
131
|
+
| Field | Type | Description |
|
|
132
|
+
| --------- | -------- | -------------------------------------------------------------- |
|
|
133
|
+
| `type` | string | Doc type: `plan`, `research`, `review`, `idea` |
|
|
134
|
+
| `status` | string | Lifecycle: `exploring`, `drafting`, `decided`, `done`, `stale` |
|
|
135
|
+
| `created` | date | Creation date (YYYY-MM-DD) |
|
|
136
|
+
| `updated` | date | Last modification date |
|
|
137
|
+
| `project` | wikilink | Link to related project: `"[[project-name]]"` |
|
|
138
|
+
| `tags` | list | Tags for filtering: `[tag1, tag2]` |
|
|
139
139
|
|
|
140
140
|
## Wikilink Conventions
|
|
141
141
|
|
|
@@ -12,10 +12,13 @@ Obsidian-specific procedures that override brain defaults.
|
|
|
12
12
|
- `brain_dir` from brain skill (your vault path)
|
|
13
13
|
- `inbox_folder` from brain-obsidian (default: `0-Inbox`)
|
|
14
14
|
|
|
15
|
-
2. **
|
|
15
|
+
2. **Determine target folder based on type:**
|
|
16
|
+
- `plan` → `{brain_dir}/{inbox_folder}/plans/`
|
|
17
|
+
- `research` → `{brain_dir}/{inbox_folder}/research/`
|
|
18
|
+
- `review` → `{brain_dir}/{inbox_folder}/reviews/`
|
|
16
19
|
|
|
17
20
|
3. **Generate filename** using brain's naming conventions:
|
|
18
|
-
- Format: `{
|
|
21
|
+
- Format: `{topic-slug}.md` (no type prefix - folder indicates type)
|
|
19
22
|
|
|
20
23
|
4. **Check for active project:**
|
|
21
24
|
- If `/project` was loaded this session, use its name for `project` field
|
|
@@ -26,7 +29,7 @@ Obsidian-specific procedures that override brain defaults.
|
|
|
26
29
|
- Set `created` and `updated` to today
|
|
27
30
|
- Set `status: exploring`
|
|
28
31
|
|
|
29
|
-
6. **Create the file** in vault
|
|
32
|
+
6. **Create the file** in vault (create type folder if needed)
|
|
30
33
|
|
|
31
34
|
7. **Set as active doc** (same as brain)
|
|
32
35
|
|
|
@@ -37,6 +40,7 @@ Obsidian-specific procedures that override brain defaults.
|
|
|
37
40
|
**Steps:**
|
|
38
41
|
|
|
39
42
|
1. **Search in brain_dir** (your vault):
|
|
43
|
+
|
|
40
44
|
```
|
|
41
45
|
Glob: {brain_dir}/**/*{topic}*.md
|
|
42
46
|
```
|
|
@@ -82,25 +86,27 @@ When modifying any brain doc:
|
|
|
82
86
|
4. **Confirm move with user** before relocating
|
|
83
87
|
|
|
84
88
|
5. **Move the file** if confirmed:
|
|
89
|
+
|
|
85
90
|
```bash
|
|
86
91
|
mv "{brain_dir}/{inbox_folder}/{file}" "{brain_dir}/{destination}/{file}"
|
|
87
92
|
```
|
|
88
93
|
|
|
89
94
|
6. **Clear active doc** from session
|
|
90
95
|
|
|
91
|
-
## Quick
|
|
96
|
+
## Quick Ideas
|
|
92
97
|
|
|
93
|
-
**Overrides:** brain's
|
|
98
|
+
**Overrides:** brain's Ideas workflow
|
|
94
99
|
|
|
95
100
|
**Steps:**
|
|
96
101
|
|
|
97
|
-
1. **Create in
|
|
102
|
+
1. **Create in ideas folder:** `{brain_dir}/{inbox_folder}/ideas/{date}-{slug}.md`
|
|
103
|
+
|
|
104
|
+
2. **Use idea template** with minimal frontmatter:
|
|
98
105
|
|
|
99
|
-
2. **Use note template** with minimal frontmatter:
|
|
100
106
|
```yaml
|
|
101
107
|
---
|
|
102
|
-
type:
|
|
103
|
-
created: {date}
|
|
108
|
+
type: idea
|
|
109
|
+
created: { date }
|
|
104
110
|
tags: []
|
|
105
111
|
---
|
|
106
112
|
```
|
|
@@ -110,6 +116,7 @@ When modifying any brain doc:
|
|
|
110
116
|
## Project Integration (Optional)
|
|
111
117
|
|
|
112
118
|
**Requires:** `project` skill. If not installed, suggest:
|
|
119
|
+
|
|
113
120
|
> "Linking to projects requires the project skill. Install it with `droid` → Skills → project"
|
|
114
121
|
|
|
115
122
|
When a project is loaded via `/project {name}`:
|
|
@@ -123,6 +130,7 @@ When a project is loaded via `/project {name}`:
|
|
|
123
130
|
**Trigger:** User says "add this to the project", "link this to project", or "capture in project"
|
|
124
131
|
|
|
125
132
|
**Requires:** `project` skill. If not installed, suggest:
|
|
133
|
+
|
|
126
134
|
> "Linking to projects requires the project skill. Install it with `droid` → Skills → project"
|
|
127
135
|
|
|
128
136
|
For linking a brain doc (research, notes, design) to an existing project.
|
|
@@ -150,6 +158,7 @@ For linking a brain doc (research, notes, design) to an existing project.
|
|
|
150
158
|
**Trigger:** User says "promote to project", "make this a project", or "convert to project"
|
|
151
159
|
|
|
152
160
|
**Requires:** `project` skill. If not installed, suggest:
|
|
161
|
+
|
|
153
162
|
> "Promoting to project requires the project skill. Install it with `droid` → Skills → project"
|
|
154
163
|
|
|
155
164
|
For graduating a full tech design or plan into its own project.
|
|
@@ -184,9 +193,10 @@ For graduating a full tech design or plan into its own project.
|
|
|
184
193
|
|
|
185
194
|
**Overrides:** brain's Listing workflow
|
|
186
195
|
|
|
187
|
-
Search in vault:
|
|
196
|
+
Search in type folders within vault:
|
|
197
|
+
|
|
188
198
|
```
|
|
189
|
-
Glob: {brain_dir}/**/*.md
|
|
199
|
+
Glob: {brain_dir}/{inbox_folder}/{plans,research,reviews,ideas}/**/*.md
|
|
190
200
|
```
|
|
191
201
|
|
|
192
|
-
Filter to brain doc types by checking frontmatter for `type: plan|research|review|
|
|
202
|
+
Filter to brain doc types by checking frontmatter for `type: plan|research|review|idea`.
|