@mindfoldhq/trellis 0.1.5 → 0.1.7
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/dist/templates/claude/agents/research.md +1 -1
- package/dist/templates/claude/commands/parallel.md +1 -0
- package/dist/templates/claude/commands/start.md +3 -2
- package/dist/templates/markdown/structure/guides/cross-layer-thinking-guide.md.txt +5 -5
- package/dist/templates/markdown/structure/guides/index.md.txt +7 -7
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ name: research
|
|
|
3
3
|
description: |
|
|
4
4
|
Code and tech search expert. Pure research, no code modifications. Finds files, patterns, and tech solutions.
|
|
5
5
|
tools: Read, Glob, Grep, mcp__exa__web_search_exa, mcp__exa__get_code_context_exa
|
|
6
|
-
model:
|
|
6
|
+
model: opus
|
|
7
7
|
---
|
|
8
8
|
# Research Agent
|
|
9
9
|
|
|
@@ -171,12 +171,13 @@ The following slash commands are for users (not AI):
|
|
|
171
171
|
|
|
172
172
|
| Script | Purpose |
|
|
173
173
|
|--------|---------|
|
|
174
|
-
| `feature.sh create
|
|
174
|
+
| `feature.sh create <title> --assignee <dev> [--priority P0\|P1\|P2\|P3] [--slug <slug>]` | Create backlog + feature |
|
|
175
175
|
| `feature.sh init-context <dir> <type>` | Initialize jsonl files |
|
|
176
176
|
| `feature.sh add-context <dir> <jsonl> <path>` | Add specs |
|
|
177
177
|
| `feature.sh start <dir>` | Set current feature |
|
|
178
178
|
| `feature.sh finish` | Clear current feature |
|
|
179
|
-
| `feature.sh archive <name>` | Archive feature |
|
|
179
|
+
| `feature.sh archive <name>` | Archive feature (also deletes linked backlog) |
|
|
180
|
+
| `feature.sh list` | List active features |
|
|
180
181
|
| `get-context.sh` | Get session context |
|
|
181
182
|
|
|
182
183
|
## Sub Agent Calls `[AI]`
|
|
@@ -22,7 +22,7 @@ Common cross-layer bugs:
|
|
|
22
22
|
Draw out how data moves:
|
|
23
23
|
|
|
24
24
|
```
|
|
25
|
-
Source
|
|
25
|
+
Source → Transform → Store → Retrieve → Transform → Display
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
For each arrow, ask:
|
|
@@ -34,10 +34,10 @@ For each arrow, ask:
|
|
|
34
34
|
|
|
35
35
|
| Boundary | Common Issues |
|
|
36
36
|
|----------|---------------|
|
|
37
|
-
| API
|
|
38
|
-
| Service
|
|
39
|
-
| Backend
|
|
40
|
-
| Component
|
|
37
|
+
| API ↔ Service | Type mismatches, missing fields |
|
|
38
|
+
| Service ↔ Database | Format conversions, null handling |
|
|
39
|
+
| Backend ↔ Frontend | Serialization, date formats |
|
|
40
|
+
| Component ↔ Component | Props shape changes |
|
|
41
41
|
|
|
42
42
|
### Step 3: Define Contracts
|
|
43
43
|
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
|
|
9
9
|
**Most bugs and tech debt come from "didn't think of that"**, not from lack of skill:
|
|
10
10
|
|
|
11
|
-
- Didn't think about what happens at layer boundaries
|
|
12
|
-
- Didn't think about code patterns repeating
|
|
13
|
-
- Didn't think about edge cases
|
|
14
|
-
- Didn't think about future maintainers
|
|
11
|
+
- Didn't think about what happens at layer boundaries → cross-layer bugs
|
|
12
|
+
- Didn't think about code patterns repeating → duplicated code everywhere
|
|
13
|
+
- Didn't think about edge cases → runtime errors
|
|
14
|
+
- Didn't think about future maintainers → unreadable code
|
|
15
15
|
|
|
16
16
|
These guides help you **ask the right questions before coding**.
|
|
17
17
|
|
|
@@ -35,7 +35,7 @@ These guides help you **ask the right questions before coding**.
|
|
|
35
35
|
- [ ] Multiple consumers need the same data
|
|
36
36
|
- [ ] You're not sure where to put some logic
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
→ Read [Cross-Layer Thinking Guide](./cross-layer-thinking-guide.md)
|
|
39
39
|
|
|
40
40
|
### When to Think About Code Reuse
|
|
41
41
|
|
|
@@ -43,9 +43,9 @@ These guides help you **ask the right questions before coding**.
|
|
|
43
43
|
- [ ] You see the same pattern repeated 3+ times
|
|
44
44
|
- [ ] You're adding a new field to multiple places
|
|
45
45
|
- [ ] **You're modifying any constant or config**
|
|
46
|
-
- [ ] **You're creating a new utility/helper function**
|
|
46
|
+
- [ ] **You're creating a new utility/helper function** ← Search first!
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
→ Read [Code Reuse Thinking Guide](./code-reuse-thinking-guide.md)
|
|
49
49
|
|
|
50
50
|
---
|
|
51
51
|
|
package/package.json
CHANGED