@monoes/monomindcli 1.6.6 → 1.6.8
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/commands/monomind-idea.md +85 -16
- package/.claude/skills/monomind-createtask/SKILL.md +269 -0
- package/dist/src/init/claudemd-generator.d.ts.map +1 -1
- package/dist/src/init/claudemd-generator.js +37 -1
- package/dist/src/init/claudemd-generator.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -202,28 +202,96 @@ Also move any `skipElaboration: true` ideas directly to `Elaborated`.
|
|
|
202
202
|
- `Done`
|
|
203
203
|
- Store column IDs (especially `COL_BACKLOG`).
|
|
204
204
|
|
|
205
|
-
### Decomposition
|
|
205
|
+
### Decomposition into Professional Task Cards
|
|
206
|
+
|
|
206
207
|
Spawn a single `Software Architect` agent via the Agent tool. Provide it with:
|
|
207
208
|
- All ideas in the `Elaborated` column (titles, descriptions, and all comments)
|
|
208
209
|
- The `PROJECT_CONTEXT`
|
|
209
210
|
|
|
210
211
|
For each elaborated idea, the agent must:
|
|
211
|
-
|
|
212
|
-
|
|
212
|
+
|
|
213
|
+
1. **Analyze and decompose** into 2-6 subtasks. Each subtask must be a professional task card following this structure:
|
|
214
|
+
|
|
215
|
+
```json
|
|
216
|
+
{
|
|
217
|
+
"title": "Action-oriented title (verb + noun + context)",
|
|
218
|
+
"description": "## What\nExact deliverable (new file, modified function, endpoint, etc.).\n\n## Why\nBusiness or technical motivation — what breaks without this?\n\n## Where\nFile paths, module boundaries, related components.\n\n## Patterns\nExisting conventions to follow (naming, error handling, test style).",
|
|
219
|
+
"definition_of_done": [
|
|
220
|
+
"Specific, binary, verifiable condition (include HTTP codes, error shapes, edge cases)",
|
|
221
|
+
"Quantified thresholds where applicable (rate limits, timeouts, sizes)"
|
|
222
|
+
],
|
|
223
|
+
"testing_criteria": {
|
|
224
|
+
"unit_tests": ["function(input) → expected outcome"],
|
|
225
|
+
"integration_tests": ["endpoint + method → status + response shape"],
|
|
226
|
+
"edge_cases": ["boundary condition → expected behavior"]
|
|
227
|
+
},
|
|
228
|
+
"checklist": [
|
|
229
|
+
"Write failing test for [specific behavior]",
|
|
230
|
+
"Implement [function/class] in [file path]",
|
|
231
|
+
"Run tests — verify green",
|
|
232
|
+
"Commit: '[type]: [description]'"
|
|
233
|
+
],
|
|
234
|
+
"agent_type": "best-fit agent from 230+ roster (e.g., backend-dev, Frontend Developer, Security Engineer)",
|
|
235
|
+
"priority": "critical | high | medium | low",
|
|
236
|
+
"effort": "1-10 (1=trivial, 10=full day)",
|
|
237
|
+
"dependencies": ["titles of prerequisite tasks, or empty"]
|
|
238
|
+
}
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
**Task generation rules:**
|
|
242
|
+
- Tasks MUST be ordered so dependencies come first
|
|
243
|
+
- Each task: 5-30 minutes for a single agent
|
|
244
|
+
- Split anything larger
|
|
245
|
+
- Every task starts with writing a test (TDD)
|
|
246
|
+
- DOD items must be binary (pass/fail, not "looks good")
|
|
247
|
+
- Testing criteria must name specific functions, endpoints, inputs
|
|
248
|
+
|
|
249
|
+
2. **Create each subtask** as a card in `Backlog` (has deps) or `Todo` (no deps):
|
|
213
250
|
```bash
|
|
214
|
-
monotask card create $TASK_BOARD_ID $
|
|
215
|
-
monotask card comment add $TASK_BOARD_ID $SUBTASK_CARD_ID "<subtask description>"
|
|
216
|
-
monotask card comment add $TASK_BOARD_ID $SUBTASK_CARD_ID "Assigned agent: <agent type>"
|
|
251
|
+
monotask card create $TASK_BOARD_ID $COLUMN_ID "<title>" --json
|
|
217
252
|
```
|
|
218
|
-
|
|
253
|
+
|
|
254
|
+
3. **Set description** with full context block:
|
|
255
|
+
```bash
|
|
256
|
+
monotask card set-description $TASK_BOARD_ID $CARD_ID "<description with What/Why/Where/Patterns>"
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
4. **Add DOD comment**:
|
|
219
260
|
```bash
|
|
220
|
-
monotask card comment add $
|
|
261
|
+
monotask card comment add $TASK_BOARD_ID $CARD_ID "## Definition of Done\n- [ ] <condition 1>\n- [ ] <condition 2>\n..."
|
|
221
262
|
```
|
|
222
|
-
|
|
263
|
+
|
|
264
|
+
5. **Add testing criteria comment**:
|
|
223
265
|
```bash
|
|
224
|
-
monotask card
|
|
266
|
+
monotask card comment add $TASK_BOARD_ID $CARD_ID "## Testing Criteria\n\n### Unit Tests\n- <test 1>\n\n### Integration Tests\n- <test 1>\n\n### Edge Cases\n- <case 1>"
|
|
225
267
|
```
|
|
226
268
|
|
|
269
|
+
6. **Add agent assignment + metadata**:
|
|
270
|
+
```bash
|
|
271
|
+
monotask card comment add $TASK_BOARD_ID $CARD_ID "Assigned agent: <agent_type>\nPriority: <priority>\nEffort: <effort>/10\nDependencies: <dep titles or none>"
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
7. **Set priority**: `monotask card set-priority $TASK_BOARD_ID $CARD_ID <1-4>`
|
|
275
|
+
|
|
276
|
+
8. **Create checklist** (TDD implementation steps):
|
|
277
|
+
```bash
|
|
278
|
+
monotask checklist add $TASK_BOARD_ID $CARD_ID "Implementation Steps" --json
|
|
279
|
+
```
|
|
280
|
+
Then for each step:
|
|
281
|
+
```bash
|
|
282
|
+
monotask checklist item-add $TASK_BOARD_ID $CARD_ID $CHECKLIST_ID "<step>"
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
9. **Comment on original idea card** listing all subtask titles with their assigned agents:
|
|
286
|
+
```bash
|
|
287
|
+
monotask card comment add $BOARD_ID $IDEA_CARD_ID "Subtasks created:\n- <title> (agent: <type>, effort: <N>/10)\n- <title> (agent: <type>, effort: <N>/10)\n..."
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
10. **Move the idea card** to `Tasked`:
|
|
291
|
+
```bash
|
|
292
|
+
monotask card move $BOARD_ID $IDEA_CARD_ID $COL_TASKED --json
|
|
293
|
+
```
|
|
294
|
+
|
|
227
295
|
**If the architect has doubts** about decomposing an idea (unclear scope, missing info), they should:
|
|
228
296
|
- Add a comment with the question
|
|
229
297
|
- Move the idea to `Iced` instead of `Tasked`
|
|
@@ -235,16 +303,17 @@ For each elaborated idea, the agent must:
|
|
|
235
303
|
Output a summary table:
|
|
236
304
|
|
|
237
305
|
```
|
|
238
|
-
| # | Idea | Status | Subtasks |
|
|
239
|
-
|
|
240
|
-
| 1 | <title> | Tasked | 4 |
|
|
241
|
-
| 2 | <title> | Iced | -- |
|
|
242
|
-
| 3 | <title> | Rejected | -- |
|
|
306
|
+
| # | Idea | Status | Subtasks | Total Effort | Agents |
|
|
307
|
+
|---|-----------------------------|----------|----------|--------------|--------|
|
|
308
|
+
| 1 | <title> | Tasked | 4 | 18/40 | coder, backend-dev, tester |
|
|
309
|
+
| 2 | <title> | Iced | -- | -- | -- |
|
|
310
|
+
| 3 | <title> | Rejected | -- | -- | -- |
|
|
243
311
|
```
|
|
244
312
|
|
|
245
313
|
Then output:
|
|
246
314
|
- Total ideas generated: N
|
|
247
|
-
- Ideas tasked: N (with M total subtasks
|
|
315
|
+
- Ideas tasked: N (with M total subtasks)
|
|
316
|
+
- Total effort points: X
|
|
248
317
|
- Ideas iced: N
|
|
249
318
|
- Ideas rejected: N
|
|
250
319
|
- Monotask space: `$REPO_NAME` (ID: `$SPACE_ID`)
|
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: monomind-createtask
|
|
3
|
+
description: Ingest a prompt, file, or folder — deeply analyze it, generate a professional implementation plan, and create self-contained task cards on monotask with DOD, testing criteria, and checklists
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
triggers:
|
|
6
|
+
- /monomind:createtask
|
|
7
|
+
- create tasks from spec
|
|
8
|
+
- decompose into tasks
|
|
9
|
+
- turn this into tasks
|
|
10
|
+
- break this down into tasks
|
|
11
|
+
- create implementation tasks
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# /monomind:createtask — Spec-to-Tasks Pipeline
|
|
15
|
+
|
|
16
|
+
Transforms a prompt, file, or folder into professional, self-contained task cards on a monotask board. Each card carries enough context that a coder agent with zero prior knowledge can execute it.
|
|
17
|
+
|
|
18
|
+
## Task Card Quality Standard
|
|
19
|
+
|
|
20
|
+
Every task card produced by this skill MUST meet this bar — no exceptions:
|
|
21
|
+
|
|
22
|
+
### 1. Self-Contained Context
|
|
23
|
+
The card description alone must answer: What am I building? Why? Where does it fit? What patterns exist?
|
|
24
|
+
|
|
25
|
+
Include:
|
|
26
|
+
- **What**: Exact deliverable (new file, modified function, new endpoint, etc.)
|
|
27
|
+
- **Why**: Business or technical motivation — what breaks without this?
|
|
28
|
+
- **Where**: File paths, module boundaries, related components
|
|
29
|
+
- **Patterns**: Existing conventions to follow (naming, error handling, test style)
|
|
30
|
+
- **Data shapes**: Relevant types, interfaces, API contracts, DB schemas
|
|
31
|
+
|
|
32
|
+
### 2. Definition of Done (DOD)
|
|
33
|
+
Concrete, binary conditions — not vague "it works" statements.
|
|
34
|
+
|
|
35
|
+
Bad DOD:
|
|
36
|
+
- "Authentication works"
|
|
37
|
+
- "Tests pass"
|
|
38
|
+
- "Error handling is complete"
|
|
39
|
+
|
|
40
|
+
Good DOD:
|
|
41
|
+
- "POST /auth/login returns 200 with JWT when credentials valid, 401 when invalid, 429 after 5 failed attempts within 15 minutes"
|
|
42
|
+
- "Unit tests cover: valid login, invalid password, expired account, rate limit hit, missing fields — all green"
|
|
43
|
+
- "Invalid email format returns 422 with `{ error: 'INVALID_EMAIL', field: 'email' }` shape"
|
|
44
|
+
|
|
45
|
+
Rules:
|
|
46
|
+
- Every DOD item must be verifiable by running code or reading output
|
|
47
|
+
- Include specific HTTP codes, error shapes, edge cases
|
|
48
|
+
- Quantify where possible (rate limits, timeouts, thresholds)
|
|
49
|
+
|
|
50
|
+
### 3. Testing Criteria
|
|
51
|
+
Explicit test cases — not "write tests."
|
|
52
|
+
|
|
53
|
+
Each task must specify:
|
|
54
|
+
- **Unit tests**: What functions, what inputs, what assertions
|
|
55
|
+
- **Integration tests**: What endpoints, what sequences, what state transitions
|
|
56
|
+
- **Edge cases**: What breaks, what's empty, what's too large, what's concurrent
|
|
57
|
+
|
|
58
|
+
Format:
|
|
59
|
+
```
|
|
60
|
+
## Testing Criteria
|
|
61
|
+
|
|
62
|
+
### Unit Tests
|
|
63
|
+
- `createUser({valid})` → returns user with generated ID and hashed password
|
|
64
|
+
- `createUser({duplicate_email})` → throws ConflictError with code DUPLICATE_EMAIL
|
|
65
|
+
- `createUser({missing_name})` → throws ValidationError listing missing fields
|
|
66
|
+
|
|
67
|
+
### Integration Tests
|
|
68
|
+
- POST /users with valid body → 201, response matches UserSchema
|
|
69
|
+
- POST /users with duplicate email → 409, idempotent (no side effects)
|
|
70
|
+
- GET /users/:id after create → returns same user
|
|
71
|
+
|
|
72
|
+
### Edge Cases
|
|
73
|
+
- Empty string fields → validation rejects before DB call
|
|
74
|
+
- 10,000 char name → truncated or rejected at boundary
|
|
75
|
+
- Concurrent duplicate creates → exactly one succeeds
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### 4. Implementation Checklist
|
|
79
|
+
Ordered steps that a coder follows mechanically. Each step is one action (5 minutes max).
|
|
80
|
+
|
|
81
|
+
Rules:
|
|
82
|
+
- Start with the test (TDD: red → green → refactor)
|
|
83
|
+
- Include the exact file to create or modify
|
|
84
|
+
- Include the function signature or interface shape
|
|
85
|
+
- End with "run tests, verify green, commit"
|
|
86
|
+
|
|
87
|
+
### 5. Dependencies and Ordering
|
|
88
|
+
- Explicit: "Blocked by: [Card Title]" or "No dependencies"
|
|
89
|
+
- Tasks ordered so foundations come first
|
|
90
|
+
- Parallel-safe tasks identified
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## Pipeline Steps
|
|
95
|
+
|
|
96
|
+
### Step 0: Verify monotask CLI
|
|
97
|
+
```bash
|
|
98
|
+
command -v monotask || (command -v cargo && cargo install monotask)
|
|
99
|
+
```
|
|
100
|
+
If neither exists, tell user to install Rust + monotask and STOP.
|
|
101
|
+
|
|
102
|
+
### Step 1: Classify and Ingest Input
|
|
103
|
+
|
|
104
|
+
Parse `$ARGUMENTS`:
|
|
105
|
+
- `test -f` → file: read with Read tool
|
|
106
|
+
- `test -d` → folder: `find` up to 30 files, read each, concatenate with `--- FILE: <path> ---` separators
|
|
107
|
+
- Otherwise → prompt: store text directly
|
|
108
|
+
|
|
109
|
+
### Step 2: Enrich with Project Context
|
|
110
|
+
|
|
111
|
+
Run ALL in parallel (skip errors):
|
|
112
|
+
1. `mcp__monomind__graphify_suggest` with first 200 chars of input
|
|
113
|
+
2. `mcp__monomind__graphify_query` for module/component names found in input (up to 5)
|
|
114
|
+
3. `mcp__monomind__memory_search` with input summary
|
|
115
|
+
4. Read `README.md` (first 200 lines)
|
|
116
|
+
5. Read first found: `package.json`, `Cargo.toml`, `pyproject.toml`, `go.mod`
|
|
117
|
+
6. Repo name from `git remote get-url origin` (strip path, strip `.git`)
|
|
118
|
+
|
|
119
|
+
Bundle everything into `FULL_CONTEXT`.
|
|
120
|
+
|
|
121
|
+
### Step 3: Setup Monotask Space and Board
|
|
122
|
+
|
|
123
|
+
**Space**: Find or create space named `$REPO_NAME`.
|
|
124
|
+
|
|
125
|
+
**Board**: Find `monomind-task` board (identify by checking columns for `Todo`). If missing, create with columns:
|
|
126
|
+
- `Backlog` → `Todo` → `In Progress` → `Review` → `Human in Loop` → `Done`
|
|
127
|
+
|
|
128
|
+
### Step 4: Deep Analysis
|
|
129
|
+
|
|
130
|
+
Spawn a `Software Architect` agent. Provide `FULL_CONTEXT` + `$ARGUMENTS`.
|
|
131
|
+
|
|
132
|
+
Required output:
|
|
133
|
+
```json
|
|
134
|
+
{
|
|
135
|
+
"summary": "2-3 sentence overview",
|
|
136
|
+
"goals": ["high-level goals"],
|
|
137
|
+
"components": [
|
|
138
|
+
{
|
|
139
|
+
"name": "component name",
|
|
140
|
+
"description": "what it does",
|
|
141
|
+
"dependencies": ["other components"],
|
|
142
|
+
"files_likely_affected": ["paths from graphify or educated guesses"]
|
|
143
|
+
}
|
|
144
|
+
],
|
|
145
|
+
"technical_constraints": ["stack requirements, limitations"],
|
|
146
|
+
"acceptance_criteria": ["testable conditions for when the whole thing is done"],
|
|
147
|
+
"risks": ["pitfalls, ambiguities, unknowns"]
|
|
148
|
+
}
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
### Step 5: Generate Professional Tasks
|
|
152
|
+
|
|
153
|
+
Spawn a `planner` agent. Provide analysis + `FULL_CONTEXT`.
|
|
154
|
+
|
|
155
|
+
For each task, produce:
|
|
156
|
+
|
|
157
|
+
```json
|
|
158
|
+
{
|
|
159
|
+
"title": "Action-oriented title (verb + noun + context)",
|
|
160
|
+
"description": "## What\nExact deliverable.\n\n## Why\nMotivation.\n\n## Where\nFile paths, module boundaries.\n\n## Patterns\nExisting conventions to follow.",
|
|
161
|
+
"definition_of_done": [
|
|
162
|
+
"Specific, binary, verifiable condition 1",
|
|
163
|
+
"Specific, binary, verifiable condition 2"
|
|
164
|
+
],
|
|
165
|
+
"testing_criteria": {
|
|
166
|
+
"unit_tests": ["function(input) → expected outcome"],
|
|
167
|
+
"integration_tests": ["endpoint + method → status + response shape"],
|
|
168
|
+
"edge_cases": ["boundary condition → expected behavior"]
|
|
169
|
+
},
|
|
170
|
+
"checklist": [
|
|
171
|
+
"Write failing test for [specific behavior]",
|
|
172
|
+
"Implement [function/class] in [file path]",
|
|
173
|
+
"Run tests — verify green",
|
|
174
|
+
"Commit: '[type]: [description]'"
|
|
175
|
+
],
|
|
176
|
+
"agent_type": "coder | backend-dev | Frontend Developer | Security Engineer | etc.",
|
|
177
|
+
"priority": "critical | high | medium | low",
|
|
178
|
+
"effort": "1-10 (1=trivial, 10=full day)",
|
|
179
|
+
"dependencies": ["titles of prerequisite tasks, or empty"]
|
|
180
|
+
}
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
**Task generation rules:**
|
|
184
|
+
- Tasks MUST be ordered so dependencies come first
|
|
185
|
+
- Each task: 5-30 minutes for a single agent
|
|
186
|
+
- Split anything larger
|
|
187
|
+
- Every task starts with writing a test (TDD)
|
|
188
|
+
- Agent type chosen from the 230+ available roster based on domain fit
|
|
189
|
+
- DOD items must be binary (pass/fail, not "looks good")
|
|
190
|
+
- Testing criteria must name specific functions, endpoints, inputs
|
|
191
|
+
|
|
192
|
+
### Step 6: Create Cards on Monotask
|
|
193
|
+
|
|
194
|
+
For each task, in dependency order:
|
|
195
|
+
|
|
196
|
+
1. **Create card** in `Todo` (no deps) or `Backlog` (has deps):
|
|
197
|
+
```bash
|
|
198
|
+
monotask card create $BOARD_ID $COLUMN_ID "<title>" --json
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
2. **Set description** with full context block:
|
|
202
|
+
```bash
|
|
203
|
+
monotask card set-description $BOARD_ID $CARD_ID "<description>"
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
3. **Add DOD comment**:
|
|
207
|
+
```bash
|
|
208
|
+
monotask card comment add $BOARD_ID $CARD_ID "## Definition of Done\n- [ ] <condition 1>\n- [ ] <condition 2>\n..."
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
4. **Add testing criteria comment**:
|
|
212
|
+
```bash
|
|
213
|
+
monotask card comment add $BOARD_ID $CARD_ID "## Testing Criteria\n\n### Unit Tests\n- <test 1>\n\n### Integration Tests\n- <test 1>\n\n### Edge Cases\n- <case 1>"
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
5. **Add agent assignment**:
|
|
217
|
+
```bash
|
|
218
|
+
monotask card comment add $BOARD_ID $CARD_ID "Assigned agent: <agent_type>"
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
6. **Add dependencies** (if any):
|
|
222
|
+
```bash
|
|
223
|
+
monotask card comment add $BOARD_ID $CARD_ID "Dependencies: <task title 1>, <task title 2>"
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
7. **Set priority**: `monotask card set-priority $BOARD_ID $CARD_ID <1-4>`
|
|
227
|
+
|
|
228
|
+
8. **Create checklist**:
|
|
229
|
+
```bash
|
|
230
|
+
monotask checklist add $BOARD_ID $CARD_ID "Implementation Steps" --json
|
|
231
|
+
```
|
|
232
|
+
Then for each step:
|
|
233
|
+
```bash
|
|
234
|
+
monotask checklist item-add $BOARD_ID $CARD_ID $CHECKLIST_ID "<step>"
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
### Step 7: Gap Analysis
|
|
238
|
+
|
|
239
|
+
Spawn a fresh `Software Architect` agent as critical reviewer. Provide analysis + all created tasks.
|
|
240
|
+
|
|
241
|
+
Must identify:
|
|
242
|
+
- **Missing pieces**: testing gaps, error handling holes, security oversights, missing migrations, documentation needs
|
|
243
|
+
- **Follow-ups**: natural extensions, performance optimizations, monitoring additions
|
|
244
|
+
|
|
245
|
+
Present as tables. Ask user which to add (numbers, `all`, or `none`).
|
|
246
|
+
|
|
247
|
+
Selected missing pieces → `Todo` column. Selected follow-ups → `Backlog` column.
|
|
248
|
+
|
|
249
|
+
### Step 8: Summary
|
|
250
|
+
|
|
251
|
+
```
|
|
252
|
+
## Task Creation Complete
|
|
253
|
+
|
|
254
|
+
**Source:** <input>
|
|
255
|
+
**Space:** $REPO_NAME | **Board:** monomind-task
|
|
256
|
+
|
|
257
|
+
| # | Title | Agent | Priority | Effort | Column | Deps |
|
|
258
|
+
|---|-------|-------|----------|--------|--------|------|
|
|
259
|
+
| 1 | ... | ... | high | 3 | Todo | — |
|
|
260
|
+
|
|
261
|
+
**Total:** N tasks (X in Todo, Y in Backlog)
|
|
262
|
+
**Estimated effort:** Z points
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
### Step 9: Offer Execution
|
|
266
|
+
|
|
267
|
+
> **N tasks ready.** Start `/monomind:do` to execute them autonomously?
|
|
268
|
+
|
|
269
|
+
If yes: `Skill("monomind-do", "--space $SPACE_ID --board $BOARD_ID")`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claudemd-generator.d.ts","sourceRoot":"","sources":["../../../src/init/claudemd-generator.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"claudemd-generator.d.ts","sourceRoot":"","sources":["../../../src/init/claudemd-generator.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAsiBhE;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,WAAW,EAAE,QAAQ,CAAC,EAAE,gBAAgB,GAAG,MAAM,CAQ1F;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,CAEpE;AAED,8CAA8C;AAC9C,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC;IAAE,IAAI,EAAE,gBAAgB,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAOtF,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -19,6 +19,36 @@ function behavioralRules() {
|
|
|
19
19
|
- ALWAYS read a file before editing it
|
|
20
20
|
- NEVER commit secrets, credentials, or .env files`;
|
|
21
21
|
}
|
|
22
|
+
function codingPrinciples() {
|
|
23
|
+
return `## Coding Principles
|
|
24
|
+
|
|
25
|
+
### Think Before Coding
|
|
26
|
+
- State assumptions explicitly. If uncertain, ask.
|
|
27
|
+
- If multiple interpretations exist, present them — don't pick silently.
|
|
28
|
+
- If a simpler approach exists, say so. Push back when warranted.
|
|
29
|
+
- If something is unclear, stop. Name what's confusing. Ask.
|
|
30
|
+
|
|
31
|
+
### Simplicity First
|
|
32
|
+
- No features beyond what was asked.
|
|
33
|
+
- No abstractions for single-use code.
|
|
34
|
+
- No "flexibility" or "configurability" that wasn't requested.
|
|
35
|
+
- No error handling for impossible scenarios.
|
|
36
|
+
- If you write 200 lines and it could be 50, rewrite it.
|
|
37
|
+
|
|
38
|
+
### Surgical Changes
|
|
39
|
+
- Don't "improve" adjacent code, comments, or formatting.
|
|
40
|
+
- Don't refactor things that aren't broken.
|
|
41
|
+
- Match existing style, even if you'd do it differently.
|
|
42
|
+
- Remove imports/variables/functions that YOUR changes made unused.
|
|
43
|
+
- Don't remove pre-existing dead code unless asked.
|
|
44
|
+
- Every changed line should trace directly to the user's request.
|
|
45
|
+
|
|
46
|
+
### Goal-Driven Execution
|
|
47
|
+
- Transform tasks into verifiable goals with success criteria.
|
|
48
|
+
- "Add validation" → "Write tests for invalid inputs, then make them pass"
|
|
49
|
+
- "Fix the bug" → "Write a test that reproduces it, then make it pass"
|
|
50
|
+
- For multi-step tasks, state a brief plan with verification steps.`;
|
|
51
|
+
}
|
|
22
52
|
function fileOrganization() {
|
|
23
53
|
return `## File Organization
|
|
24
54
|
|
|
@@ -376,7 +406,7 @@ npx monomind@latest daemon start
|
|
|
376
406
|
npx monomind@latest doctor --fix
|
|
377
407
|
\`\`\`
|
|
378
408
|
|
|
379
|
-
> **Package name changed:** Use \`monomind@latest\` (not \`@
|
|
409
|
+
> **Package name changed:** Use \`monomind@latest\` (not \`@monomind/cli@latest\` which is the old name and returns 404).
|
|
380
410
|
|
|
381
411
|
## Claude Code vs CLI Tools
|
|
382
412
|
|
|
@@ -396,6 +426,7 @@ npx monomind@latest doctor --fix
|
|
|
396
426
|
const TEMPLATE_SECTIONS = {
|
|
397
427
|
minimal: [
|
|
398
428
|
behavioralRules,
|
|
429
|
+
(_opts) => codingPrinciples(),
|
|
399
430
|
fileOrganization,
|
|
400
431
|
projectArchitecture,
|
|
401
432
|
(_opts) => buildAndTest(),
|
|
@@ -409,6 +440,7 @@ const TEMPLATE_SECTIONS = {
|
|
|
409
440
|
],
|
|
410
441
|
standard: [
|
|
411
442
|
behavioralRules,
|
|
443
|
+
(_opts) => codingPrinciples(),
|
|
412
444
|
fileOrganization,
|
|
413
445
|
projectArchitecture,
|
|
414
446
|
(_opts) => buildAndTest(),
|
|
@@ -425,6 +457,7 @@ const TEMPLATE_SECTIONS = {
|
|
|
425
457
|
],
|
|
426
458
|
full: [
|
|
427
459
|
behavioralRules,
|
|
460
|
+
(_opts) => codingPrinciples(),
|
|
428
461
|
fileOrganization,
|
|
429
462
|
projectArchitecture,
|
|
430
463
|
(_opts) => buildAndTest(),
|
|
@@ -446,6 +479,7 @@ const TEMPLATE_SECTIONS = {
|
|
|
446
479
|
],
|
|
447
480
|
security: [
|
|
448
481
|
behavioralRules,
|
|
482
|
+
(_opts) => codingPrinciples(),
|
|
449
483
|
fileOrganization,
|
|
450
484
|
projectArchitecture,
|
|
451
485
|
(_opts) => buildAndTest(),
|
|
@@ -462,6 +496,7 @@ const TEMPLATE_SECTIONS = {
|
|
|
462
496
|
],
|
|
463
497
|
performance: [
|
|
464
498
|
behavioralRules,
|
|
499
|
+
(_opts) => codingPrinciples(),
|
|
465
500
|
fileOrganization,
|
|
466
501
|
projectArchitecture,
|
|
467
502
|
(_opts) => buildAndTest(),
|
|
@@ -480,6 +515,7 @@ const TEMPLATE_SECTIONS = {
|
|
|
480
515
|
],
|
|
481
516
|
solo: [
|
|
482
517
|
behavioralRules,
|
|
518
|
+
(_opts) => codingPrinciples(),
|
|
483
519
|
fileOrganization,
|
|
484
520
|
projectArchitecture,
|
|
485
521
|
(_opts) => buildAndTest(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claudemd-generator.js","sourceRoot":"","sources":["../../../src/init/claudemd-generator.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,iEAAiE;AAEjE,SAAS,eAAe;IACtB,OAAO;;;;;;;;;mDAS0C,CAAC;AACpD,CAAC;AAED,SAAS,gBAAgB;IACvB,OAAO;;;;;;;;qCAQ4B,CAAC;AACtC,CAAC;AAED,SAAS,mBAAmB,CAAC,OAAoB;IAC/C,OAAO;;;;;;;;;;;kBAWS,OAAO,CAAC,OAAO,CAAC,QAAQ;oBACtB,O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