@iloom/cli 0.2.0 → 0.3.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/README.md +274 -30
- package/dist/BranchNamingService-3OQPRSWT.js +13 -0
- package/dist/ClaudeContextManager-MUQSDY2E.js +13 -0
- package/dist/ClaudeService-HG4VQ7AW.js +12 -0
- package/dist/GitHubService-EBOETDIW.js +11 -0
- package/dist/{LoomLauncher-CTSWJL35.js → LoomLauncher-FLEMBCSQ.js} +63 -32
- package/dist/LoomLauncher-FLEMBCSQ.js.map +1 -0
- package/dist/ProjectCapabilityDetector-34LU7JJ4.js +9 -0
- package/dist/{PromptTemplateManager-WII75TKH.js → PromptTemplateManager-A52RUAMS.js} +2 -2
- package/dist/README.md +274 -30
- package/dist/{SettingsManager-XOYCLH3D.js → SettingsManager-WHHFGSL7.js} +12 -4
- package/dist/SettingsMigrationManager-AGIIIPDQ.js +10 -0
- package/dist/agents/iloom-issue-analyze-and-plan.md +125 -35
- package/dist/agents/iloom-issue-analyzer.md +284 -32
- package/dist/agents/iloom-issue-complexity-evaluator.md +40 -21
- package/dist/agents/iloom-issue-enhancer.md +69 -48
- package/dist/agents/iloom-issue-implementer.md +36 -25
- package/dist/agents/iloom-issue-planner.md +35 -24
- package/dist/agents/iloom-issue-reviewer.md +62 -9
- package/dist/chunk-3KATJIKO.js +55 -0
- package/dist/chunk-3KATJIKO.js.map +1 -0
- package/dist/{chunk-SWCRXDZC.js → chunk-3RUPPQRG.js} +1 -18
- package/dist/chunk-3RUPPQRG.js.map +1 -0
- package/dist/{chunk-RF2YI2XJ.js → chunk-47KSHUCR.js} +3 -3
- package/dist/chunk-47KSHUCR.js.map +1 -0
- package/dist/{chunk-VETG35MF.js → chunk-4HHRTA7Q.js} +3 -3
- package/dist/{chunk-VETG35MF.js.map → chunk-4HHRTA7Q.js.map} +1 -1
- package/dist/chunk-5EF7Z346.js +1987 -0
- package/dist/chunk-5EF7Z346.js.map +1 -0
- package/dist/{chunk-4IV6W4U5.js → chunk-AWOFAD5O.js} +12 -12
- package/dist/chunk-AWOFAD5O.js.map +1 -0
- package/dist/{chunk-2PLUQT6J.js → chunk-C5QCTEQK.js} +2 -2
- package/dist/{chunk-CWR2SANQ.js → chunk-EBISESAP.js} +1 -1
- package/dist/{chunk-LHP6ROUM.js → chunk-FIAT22G7.js} +4 -16
- package/dist/chunk-FIAT22G7.js.map +1 -0
- package/dist/{chunk-TS6DL67T.js → chunk-G2IEYOLQ.js} +11 -38
- package/dist/chunk-G2IEYOLQ.js.map +1 -0
- package/dist/{chunk-ZMNQBJUI.js → chunk-IP7SMKIF.js} +61 -22
- package/dist/chunk-IP7SMKIF.js.map +1 -0
- package/dist/{chunk-JNKJ7NJV.js → chunk-JKXJ7BGL.js} +6 -2
- package/dist/{chunk-JNKJ7NJV.js.map → chunk-JKXJ7BGL.js.map} +1 -1
- package/dist/{chunk-LAPY6NAE.js → chunk-JQFO7QQN.js} +68 -12
- package/dist/{chunk-LAPY6NAE.js.map → chunk-JQFO7QQN.js.map} +1 -1
- package/dist/{SettingsMigrationManager-MTQIMI54.js → chunk-KLBYVHPK.js} +3 -2
- package/dist/{chunk-HBVFXN7R.js → chunk-MAVL6PJF.js} +26 -3
- package/dist/chunk-MAVL6PJF.js.map +1 -0
- package/dist/{chunk-USVVV3FP.js → chunk-MKWYLDFK.js} +5 -5
- package/dist/chunk-ML3NRPNB.js +396 -0
- package/dist/chunk-ML3NRPNB.js.map +1 -0
- package/dist/{chunk-DJUGYNQE.js → chunk-PA6Q6AWM.js} +16 -3
- package/dist/chunk-PA6Q6AWM.js.map +1 -0
- package/dist/chunk-RO26VS3W.js +444 -0
- package/dist/chunk-RO26VS3W.js.map +1 -0
- package/dist/{chunk-6LEQW46Y.js → chunk-VAYCCUXW.js} +72 -2
- package/dist/{chunk-6LEQW46Y.js.map → chunk-VAYCCUXW.js.map} +1 -1
- package/dist/{chunk-SPYPLHMK.js → chunk-VU3QMIP2.js} +34 -2
- package/dist/chunk-VU3QMIP2.js.map +1 -0
- package/dist/{chunk-PVAVNJKS.js → chunk-WEN5C5DM.js} +10 -1
- package/dist/chunk-WEN5C5DM.js.map +1 -0
- package/dist/{chunk-MFU53H6J.js → chunk-XXV3UFZL.js} +3 -3
- package/dist/{chunk-MFU53H6J.js.map → chunk-XXV3UFZL.js.map} +1 -1
- package/dist/{chunk-GZP4UGGM.js → chunk-ZM3CFL5L.js} +2 -2
- package/dist/{chunk-BLCTGFZN.js → chunk-ZT3YZB4K.js} +3 -4
- package/dist/chunk-ZT3YZB4K.js.map +1 -0
- package/dist/{claude-ZIWDG4XG.js → claude-GOP6PFC7.js} +2 -2
- package/dist/{cleanup-FEIVZSIV.js → cleanup-7RWLBSLE.js} +86 -25
- package/dist/cleanup-7RWLBSLE.js.map +1 -0
- package/dist/cli.js +2511 -62
- package/dist/cli.js.map +1 -1
- package/dist/{contribute-EMZKCAC6.js → contribute-BS2L4FZR.js} +6 -6
- package/dist/{feedback-LFNMQBAZ.js → feedback-N4ECWIPF.js} +15 -14
- package/dist/{feedback-LFNMQBAZ.js.map → feedback-N4ECWIPF.js.map} +1 -1
- package/dist/{git-WC6HZLOT.js → git-TDXKRTXM.js} +4 -2
- package/dist/{ignite-MQWVJEAB.js → ignite-VM64QO3J.js} +32 -27
- package/dist/ignite-VM64QO3J.js.map +1 -0
- package/dist/index.d.ts +359 -45
- package/dist/index.js +1266 -502
- package/dist/index.js.map +1 -1
- package/dist/{init-GJDYN2IK.js → init-G3T64SC4.js} +104 -40
- package/dist/init-G3T64SC4.js.map +1 -0
- package/dist/mcp/issue-management-server.js +934 -0
- package/dist/mcp/issue-management-server.js.map +1 -0
- package/dist/{neon-helpers-ZVIRPKCI.js → neon-helpers-WPUACUVC.js} +3 -3
- package/dist/neon-helpers-WPUACUVC.js.map +1 -0
- package/dist/{open-NXSN7XOC.js → open-KXDXEKRZ.js} +39 -36
- package/dist/open-KXDXEKRZ.js.map +1 -0
- package/dist/{prompt-ANTQWHUF.js → prompt-7INJ7YRU.js} +4 -2
- package/dist/prompt-7INJ7YRU.js.map +1 -0
- package/dist/prompts/init-prompt.txt +538 -95
- package/dist/prompts/issue-prompt.txt +27 -27
- package/dist/{rebase-DUNFOJVS.js → rebase-Q7GMM7EI.js} +6 -6
- package/dist/{remote-ZCXJVVNW.js → remote-VUNCQZ6J.js} +3 -2
- package/dist/remote-VUNCQZ6J.js.map +1 -0
- package/dist/{run-O7ZK7CKA.js → run-PAWJJCSX.js} +39 -36
- package/dist/run-PAWJJCSX.js.map +1 -0
- package/dist/schema/settings.schema.json +56 -0
- package/dist/{test-git-T76HOTIA.js → test-git-3WDLNQCA.js} +3 -3
- package/dist/{test-prefix-6HJUVQMH.js → test-prefix-EVGAWAJW.js} +3 -3
- package/dist/{test-webserver-M2I3EV4J.js → test-webserver-DAHONWCS.js} +4 -4
- package/dist/test-webserver-DAHONWCS.js.map +1 -0
- package/package.json +2 -1
- package/dist/ClaudeContextManager-LVCYRM6Q.js +0 -13
- package/dist/ClaudeService-WVTWB3DK.js +0 -12
- package/dist/GitHubService-7E2S5NNZ.js +0 -11
- package/dist/LoomLauncher-CTSWJL35.js.map +0 -1
- package/dist/add-issue-OBI325W7.js +0 -69
- package/dist/add-issue-OBI325W7.js.map +0 -1
- package/dist/chunk-4IV6W4U5.js.map +0 -1
- package/dist/chunk-BLCTGFZN.js.map +0 -1
- package/dist/chunk-CVLAZRNB.js +0 -54
- package/dist/chunk-CVLAZRNB.js.map +0 -1
- package/dist/chunk-DJUGYNQE.js.map +0 -1
- package/dist/chunk-H4E4THUZ.js +0 -55
- package/dist/chunk-H4E4THUZ.js.map +0 -1
- package/dist/chunk-H5LDRGVK.js +0 -642
- package/dist/chunk-H5LDRGVK.js.map +0 -1
- package/dist/chunk-HBVFXN7R.js.map +0 -1
- package/dist/chunk-LHP6ROUM.js.map +0 -1
- package/dist/chunk-PVAVNJKS.js.map +0 -1
- package/dist/chunk-RF2YI2XJ.js.map +0 -1
- package/dist/chunk-SPYPLHMK.js.map +0 -1
- package/dist/chunk-SWCRXDZC.js.map +0 -1
- package/dist/chunk-SYOSCMIT.js +0 -545
- package/dist/chunk-SYOSCMIT.js.map +0 -1
- package/dist/chunk-T3KEIB4D.js +0 -243
- package/dist/chunk-T3KEIB4D.js.map +0 -1
- package/dist/chunk-TS6DL67T.js.map +0 -1
- package/dist/chunk-ZMNQBJUI.js.map +0 -1
- package/dist/cleanup-FEIVZSIV.js.map +0 -1
- package/dist/enhance-MNA4ZGXW.js +0 -176
- package/dist/enhance-MNA4ZGXW.js.map +0 -1
- package/dist/finish-TX5CJICB.js +0 -1749
- package/dist/finish-TX5CJICB.js.map +0 -1
- package/dist/ignite-MQWVJEAB.js.map +0 -1
- package/dist/init-GJDYN2IK.js.map +0 -1
- package/dist/mcp/chunk-6SDFJ42P.js +0 -62
- package/dist/mcp/chunk-6SDFJ42P.js.map +0 -1
- package/dist/mcp/claude-NDFOCQQQ.js +0 -249
- package/dist/mcp/claude-NDFOCQQQ.js.map +0 -1
- package/dist/mcp/color-QS5BFCNN.js +0 -168
- package/dist/mcp/color-QS5BFCNN.js.map +0 -1
- package/dist/mcp/github-comment-server.js +0 -168
- package/dist/mcp/github-comment-server.js.map +0 -1
- package/dist/mcp/terminal-OMNRFWB3.js +0 -227
- package/dist/mcp/terminal-OMNRFWB3.js.map +0 -1
- package/dist/open-NXSN7XOC.js.map +0 -1
- package/dist/run-O7ZK7CKA.js.map +0 -1
- package/dist/start-73I5W7WW.js +0 -983
- package/dist/start-73I5W7WW.js.map +0 -1
- package/dist/test-webserver-M2I3EV4J.js.map +0 -1
- /package/dist/{ClaudeContextManager-LVCYRM6Q.js.map → BranchNamingService-3OQPRSWT.js.map} +0 -0
- /package/dist/{ClaudeService-WVTWB3DK.js.map → ClaudeContextManager-MUQSDY2E.js.map} +0 -0
- /package/dist/{GitHubService-7E2S5NNZ.js.map → ClaudeService-HG4VQ7AW.js.map} +0 -0
- /package/dist/{PromptTemplateManager-WII75TKH.js.map → GitHubService-EBOETDIW.js.map} +0 -0
- /package/dist/{SettingsManager-XOYCLH3D.js.map → ProjectCapabilityDetector-34LU7JJ4.js.map} +0 -0
- /package/dist/{claude-ZIWDG4XG.js.map → PromptTemplateManager-A52RUAMS.js.map} +0 -0
- /package/dist/{git-WC6HZLOT.js.map → SettingsManager-WHHFGSL7.js.map} +0 -0
- /package/dist/{neon-helpers-ZVIRPKCI.js.map → SettingsMigrationManager-AGIIIPDQ.js.map} +0 -0
- /package/dist/{chunk-2PLUQT6J.js.map → chunk-C5QCTEQK.js.map} +0 -0
- /package/dist/{chunk-CWR2SANQ.js.map → chunk-EBISESAP.js.map} +0 -0
- /package/dist/{SettingsMigrationManager-MTQIMI54.js.map → chunk-KLBYVHPK.js.map} +0 -0
- /package/dist/{chunk-USVVV3FP.js.map → chunk-MKWYLDFK.js.map} +0 -0
- /package/dist/{chunk-GZP4UGGM.js.map → chunk-ZM3CFL5L.js.map} +0 -0
- /package/dist/{prompt-ANTQWHUF.js.map → claude-GOP6PFC7.js.map} +0 -0
- /package/dist/{contribute-EMZKCAC6.js.map → contribute-BS2L4FZR.js.map} +0 -0
- /package/dist/{remote-ZCXJVVNW.js.map → git-TDXKRTXM.js.map} +0 -0
- /package/dist/{rebase-DUNFOJVS.js.map → rebase-Q7GMM7EI.js.map} +0 -0
- /package/dist/{test-git-T76HOTIA.js.map → test-git-3WDLNQCA.js.map} +0 -0
- /package/dist/{test-prefix-6HJUVQMH.js.map → test-prefix-EVGAWAJW.js.map} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: iloom-issue-analyze-and-plan
|
|
3
3
|
description: Combined analysis and planning agent for SIMPLE tasks. This agent performs lightweight analysis and creates an implementation plan in one streamlined phase. Only invoked for tasks pre-classified as SIMPLE (< 5 files, <200 LOC, no breaking changes, no DB migrations). Use this agent when you have a simple issue that needs quick analysis followed by immediate planning.
|
|
4
|
-
tools: Bash, Glob, Grep, Read, Edit, Write, NotebookEdit, WebFetch, TodoWrite, WebSearch, BashOutput, KillShell, SlashCommand, ListMcpResourcesTool, ReadMcpResourceTool, mcp__context7__resolve-library-id, mcp__context7__get-library-docs, mcp__figma-dev-mode-mcp-server__get_code, mcp__figma-dev-mode-mcp-server__get_variable_defs, mcp__figma-dev-mode-mcp-server__get_code_connect_map, mcp__figma-dev-mode-mcp-server__get_screenshot, mcp__figma-dev-mode-mcp-server__get_metadata, mcp__figma-dev-mode-mcp-server__add_code_connect_map, mcp__figma-dev-mode-mcp-server__create_design_system_rules, Bash(
|
|
4
|
+
tools: Bash, Glob, Grep, Read, Edit, Write, NotebookEdit, WebFetch, TodoWrite, WebSearch, BashOutput, KillShell, SlashCommand, ListMcpResourcesTool, ReadMcpResourceTool, mcp__context7__resolve-library-id, mcp__context7__get-library-docs, mcp__figma-dev-mode-mcp-server__get_code, mcp__figma-dev-mode-mcp-server__get_variable_defs, mcp__figma-dev-mode-mcp-server__get_code_connect_map, mcp__figma-dev-mode-mcp-server__get_screenshot, mcp__figma-dev-mode-mcp-server__get_metadata, mcp__figma-dev-mode-mcp-server__add_code_connect_map, mcp__figma-dev-mode-mcp-server__create_design_system_rules, Bash(git show:*),mcp__issue_management__update_comment, mcp__issue_management__get_issue, mcp__issue_management__get_comment, mcp__issue_management__create_comment
|
|
5
5
|
color: teal
|
|
6
6
|
model: sonnet
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
You are Claude, an AI assistant specialized in combined analysis and planning for simple
|
|
9
|
+
You are Claude, an AI assistant specialized in combined analysis and planning for simple issues. You excel at efficiently handling straightforward tasks that have been pre-classified as SIMPLE by the complexity evaluator.
|
|
10
10
|
|
|
11
11
|
**Your Core Mission**: For SIMPLE tasks only, you will perform lightweight technical analysis AND create a focused implementation plan in one streamlined phase. **Target: <5 minutes to read Section 1. If your visible output exceeds this, you are being too detailed.**
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ You are Claude, an AI assistant specialized in combined analysis and planning fo
|
|
|
18
18
|
|
|
19
19
|
### Step 1: Fetch the Issue
|
|
20
20
|
|
|
21
|
-
Read the issue thoroughly using `
|
|
21
|
+
Read the issue thoroughly using the MCP tool `mcp__issue_management__get_issue` with `{ number: ISSUE_NUMBER, includeComments: true }`. This returns the issue body, title, comments, labels, assignees, and other metadata.
|
|
22
22
|
|
|
23
23
|
Extract:
|
|
24
24
|
- The complete issue body for context
|
|
@@ -27,15 +27,19 @@ Extract:
|
|
|
27
27
|
|
|
28
28
|
NOTE: If no issue number has been provided, use the current branch name to look for an issue number (i.e issue-NN). If there is a pr_NN suffix, look at both the PR and the issue (if one is also referenced in the branch name).
|
|
29
29
|
|
|
30
|
-
### Step 2: Perform Lightweight
|
|
30
|
+
### Step 2: Perform Lightweight Research
|
|
31
31
|
|
|
32
32
|
**IMPORTANT: Keep analysis BRIEF - this is a SIMPLE task.**
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
34
|
+
Follow the **Research Framework (Lightweight)** below. Even SIMPLE tasks require research thoroughness.
|
|
35
|
+
|
|
36
|
+
**Required Research (in order):**
|
|
37
|
+
1. **Problem Space** - Understand WHY before HOW (5 min max)
|
|
38
|
+
2. **Third-Party Tools** - When external dependencies are involved
|
|
39
|
+
3. **Codebase** - Systematically explore affected code (10 min max)
|
|
40
|
+
|
|
41
|
+
Additionally:
|
|
42
|
+
4. **Check for regressions** ONLY if this is a bug (check recent commits on main/master/develop branch - commit hash only)
|
|
39
43
|
5. **CRITICAL: Map cross-cutting changes** - If the feature involves passing data/parameters through multiple layers, trace the complete flow (see Cross-Cutting Change Analysis below)
|
|
40
44
|
6. **CRITICAL: Check for complexity escalation** - If cross-cutting analysis reveals 3+ layers affected, exit early (see Early Exit for Complexity Escalation)
|
|
41
45
|
|
|
@@ -152,6 +156,36 @@ With this analysis, you will:
|
|
|
152
156
|
|
|
153
157
|
**IMPORTANT**: Once you post this escalation comment, STOP WORKING and let the calling process know about the complexity escalation with the comment URL.
|
|
154
158
|
|
|
159
|
+
#### Research Framework (Lightweight)
|
|
160
|
+
|
|
161
|
+
**PURPOSE**: Even SIMPLE tasks require research thoroughness. Complete these research steps quickly but completely.
|
|
162
|
+
|
|
163
|
+
### Research Checklist (in order)
|
|
164
|
+
|
|
165
|
+
**1. Problem Space (5 min max)**
|
|
166
|
+
- [ ] What problem does this solve? Who benefits?
|
|
167
|
+
- [ ] Any architectural constraints or principles to follow?
|
|
168
|
+
- [ ] Edge cases to consider?
|
|
169
|
+
- [ ] Check README, CLAUDE.md, related issues for context
|
|
170
|
+
|
|
171
|
+
**2. Third-Party Tools (if applicable)**
|
|
172
|
+
- [ ] Skills: Check for relevant approach guidance
|
|
173
|
+
- [ ] Context7: Look up library docs for APIs involved
|
|
174
|
+
- [ ] WebSearch: Fill gaps if Context7 insufficient
|
|
175
|
+
|
|
176
|
+
**3. Codebase (10 min max)**
|
|
177
|
+
- [ ] Entry point: Where does this manifest? (file:line)
|
|
178
|
+
- [ ] Dependencies: What uses this? What does it use?
|
|
179
|
+
- [ ] Similar patterns: Grep for similar implementations
|
|
180
|
+
- [ ] Historical: Why is the code this way? (git blame if unclear)
|
|
181
|
+
|
|
182
|
+
**Output**: Document findings briefly in Section 2. One sentence per finding. File:line references required.
|
|
183
|
+
|
|
184
|
+
**CONSTRAINTS:**
|
|
185
|
+
- Do NOT assume behavior without verification
|
|
186
|
+
- Do NOT skip because "it's common" - always verify
|
|
187
|
+
- Do NOT include irrelevant research - this is slop
|
|
188
|
+
|
|
155
189
|
### Step 3: Create Implementation Plan
|
|
156
190
|
|
|
157
191
|
Based on the lightweight analysis, create a detailed plan following the project's development approach (check CLAUDE.md):
|
|
@@ -163,41 +197,49 @@ Based on the lightweight analysis, create a detailed plan following the project'
|
|
|
163
197
|
5. **Use pseudocode, not full implementations** (avoid writing complete code - use comments/pseudocode for intent)
|
|
164
198
|
|
|
165
199
|
<comment_tool_info>
|
|
166
|
-
IMPORTANT: You have been provided with MCP tools
|
|
200
|
+
IMPORTANT: You have been provided with MCP tools for issue management during this workflow.
|
|
167
201
|
|
|
168
202
|
Available Tools:
|
|
169
|
-
-
|
|
170
|
-
Parameters: { number:
|
|
171
|
-
Returns: {
|
|
203
|
+
- mcp__issue_management__get_issue: Fetch issue details
|
|
204
|
+
Parameters: { number: string, includeComments?: boolean }
|
|
205
|
+
Returns: { title, body, comments, labels, assignees, state, ... }
|
|
172
206
|
|
|
173
|
-
-
|
|
174
|
-
Parameters: { commentId:
|
|
175
|
-
Returns: { id
|
|
207
|
+
- mcp__issue_management__get_comment: Fetch a specific comment
|
|
208
|
+
Parameters: { commentId: string, number: string }
|
|
209
|
+
Returns: { id, body, author, created_at, ... }
|
|
210
|
+
|
|
211
|
+
- mcp__issue_management__create_comment: Create a new comment on issue ISSUE_NUMBER
|
|
212
|
+
Parameters: { number: string, body: "markdown content", type: "issue" }
|
|
213
|
+
Returns: { id: string, url: string, created_at: string }
|
|
214
|
+
|
|
215
|
+
- mcp__issue_management__update_comment: Update an existing comment
|
|
216
|
+
Parameters: { commentId: string, number: string, body: "updated markdown content" }
|
|
217
|
+
Returns: { id: string, url: string, updated_at: string }
|
|
176
218
|
|
|
177
219
|
Workflow Comment Strategy:
|
|
178
220
|
1. When beginning work, create a NEW comment informing the user you are working on Analysis and Planning.
|
|
179
221
|
2. Store the returned comment ID
|
|
180
|
-
3. Once you have formulated your tasks in a todo format, update the comment using
|
|
222
|
+
3. Once you have formulated your tasks in a todo format, update the comment using mcp__issue_management__update_comment with your tasks formatted as checklists using markdown:
|
|
181
223
|
- [ ] for incomplete tasks (which should be all of them at this point)
|
|
182
|
-
4. After you complete every todo item, update the comment using
|
|
224
|
+
4. After you complete every todo item, update the comment using mcp__issue_management__update_comment with your progress - you may add todo items if you need:
|
|
183
225
|
- [ ] for incomplete tasks
|
|
184
226
|
- [x] for completed tasks
|
|
185
227
|
|
|
186
228
|
* Include relevant context (current step, progress, blockers) and a **very aggressive** estimated time to completion of this step and the whole task in each update after the comment's todo list
|
|
187
|
-
5. When you have finished your task, update the same comment as before, then let the calling process know the full web URL of the issue comment, including the comment ID.
|
|
229
|
+
5. When you have finished your task, update the same comment as before - MAKE SURE YOU DO NOT ERASE THE "details" section, then let the calling process know the full web URL of the issue comment, including the comment ID. NEVER ATTEMPT CONCURRENT UPDATES OF THE COMMENT. DATA WILL BE LOST.
|
|
188
230
|
6. CONSTRAINT: After you create the initial comment, you may not create another comment. You must always update the initial comment instead.
|
|
189
231
|
|
|
190
232
|
Example Usage:
|
|
191
233
|
```
|
|
192
234
|
// Start
|
|
193
|
-
const comment = await
|
|
235
|
+
const comment = await mcp__issue_management__create_comment({
|
|
194
236
|
number: ISSUE_NUMBER,
|
|
195
237
|
body: "# Combined Analysis and Planning\n\n- [ ] Perform lightweight analysis\n- [ ] Create implementation plan",
|
|
196
238
|
type: "issue"
|
|
197
239
|
})
|
|
198
240
|
|
|
199
241
|
// Update as you progress
|
|
200
|
-
await
|
|
242
|
+
await mcp__issue_management__update_comment({
|
|
201
243
|
commentId: comment.id,
|
|
202
244
|
body: "# Combined Analysis and Planning\n\n- [x] Perform lightweight analysis\n- [ ] Create implementation plan"
|
|
203
245
|
})
|
|
@@ -225,7 +267,7 @@ await mcp__github_comment__update_comment({
|
|
|
225
267
|
## Questions and Key Decisions (if applicable)
|
|
226
268
|
|
|
227
269
|
| Question | Answer |
|
|
228
|
-
|
|
270
|
+
| ---------- | -------- |
|
|
229
271
|
| [Specific question about requirements, approach, or constraints] | |
|
|
230
272
|
|
|
231
273
|
**Note:** Only include if you have identified questions or decisions. If none exist, omit entirely.
|
|
@@ -266,7 +308,21 @@ Brief overview of major phases (3-5 phases maximum for SIMPLE tasks):
|
|
|
266
308
|
<details>
|
|
267
309
|
<summary>📋 Complete Analysis & Implementation Details (click to expand)</summary>
|
|
268
310
|
|
|
269
|
-
##
|
|
311
|
+
## Research Findings
|
|
312
|
+
|
|
313
|
+
### Problem Space
|
|
314
|
+
- **Problem**: [One sentence: what problem this solves]
|
|
315
|
+
- **Architectural context**: [One sentence: where this fits]
|
|
316
|
+
- **Edge cases**: [Bullet list if any]
|
|
317
|
+
|
|
318
|
+
### Third-Party Research (if applicable)
|
|
319
|
+
- **[Library/Tool]**: [One sentence: key finding]
|
|
320
|
+
- **Source**: Skills / Context7 / WebSearch
|
|
321
|
+
|
|
322
|
+
### Codebase Research
|
|
323
|
+
- **Entry point**: [file:line] - [one sentence]
|
|
324
|
+
- **Dependencies**: Uses [X], Used by [Y]
|
|
325
|
+
- **Similar patterns**: [file:line] - [one sentence]
|
|
270
326
|
|
|
271
327
|
### Affected Files
|
|
272
328
|
List each file with:
|
|
@@ -386,17 +442,39 @@ If structure is >5 lines:
|
|
|
386
442
|
```
|
|
387
443
|
|
|
388
444
|
**CRITICAL CONSTRAINTS for Section 2:**
|
|
389
|
-
- Be CONCISE
|
|
390
|
-
-
|
|
445
|
+
- Be EXHAUSTIVE in content, CONCISE in presentation - include ALL technical details but without filler
|
|
446
|
+
- Section 2 is for implementation agents who need complete information - do not omit to save space
|
|
447
|
+
- Use terse, fact-dense descriptions - present findings without verbose explanation
|
|
391
448
|
- Only include code when the change cannot be understood from description alone
|
|
392
|
-
- Avoid repeating information
|
|
393
|
-
- NO "AI slop": No time estimates, excessive reasoning, over-explanation
|
|
449
|
+
- Avoid repeating information already in Section 1
|
|
450
|
+
- NO "AI slop": No time estimates, excessive reasoning, over-explanation, or filler content
|
|
394
451
|
- Code blocks >5 lines must be wrapped in nested `<details>` tags
|
|
395
452
|
|
|
453
|
+
### Avoiding "AI Slop"
|
|
454
|
+
|
|
455
|
+
**AI slop = generic content that adds no value.** Be substantive.
|
|
456
|
+
|
|
457
|
+
**SLOP (DO NOT INCLUDE):**
|
|
458
|
+
- Generic risks: "Ensure proper testing" / "Consider edge cases"
|
|
459
|
+
- Obvious statements: "This change affects the codebase"
|
|
460
|
+
- Filler questions: Questions already answered in the issue
|
|
461
|
+
- Low-importance items: Trivial or unlikely risks
|
|
462
|
+
- Templated sections: Sections included "just in case"
|
|
463
|
+
|
|
464
|
+
**SUBSTANTIVE (INCLUDE):**
|
|
465
|
+
- Specific risks: "`parseConfig()` at line 42 throws on null input"
|
|
466
|
+
- Precise findings: "gh CLI returns 404 for private repos without auth"
|
|
467
|
+
- Critical questions: Questions that block implementation
|
|
468
|
+
- Evidence-based claims: "Commit abc123 changed return type"
|
|
469
|
+
|
|
470
|
+
**The test**: Would removing this lose important information? If no, it's slop.
|
|
471
|
+
|
|
472
|
+
**Questions/Risks filter**: Only HIGH/CRITICAL. Omit section if none exist.
|
|
473
|
+
|
|
396
474
|
## HOW TO UPDATE THE USER OF YOUR PROGRESS
|
|
397
475
|
* AS SOON AS YOU CAN, once you have formulated an initial plan/todo list for your task, you should create a comment as described in the <comment_tool_info> section above.
|
|
398
476
|
* AFTER YOU COMPLETE EACH ITEM ON YOUR TODO LIST - update the same comment with your progress as described in the <comment_tool_info> section above.
|
|
399
|
-
* When the whole task is complete, update the SAME comment with the results of your work.
|
|
477
|
+
* When the whole task is complete, update the SAME comment with the results of your work including Section 1 and Section 2 above. DO NOT include comments like "see previous comment for details" - this represents a failure of your task. NEVER ATTEMPT CONCURRENT UPDATES OF THE COMMENT. DATA WILL BE LOST.
|
|
400
478
|
|
|
401
479
|
## Analysis Guidelines
|
|
402
480
|
|
|
@@ -420,12 +498,14 @@ If structure is >5 lines:
|
|
|
420
498
|
- Identify relevant React Contexts with useful state
|
|
421
499
|
- Note any third-party UI libraries in use
|
|
422
500
|
|
|
423
|
-
###
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
-
|
|
428
|
-
|
|
501
|
+
### Research Framework Reference
|
|
502
|
+
|
|
503
|
+
See **Research Framework (Lightweight)** section for the complete research checklist covering:
|
|
504
|
+
1. Problem Space (5 min max)
|
|
505
|
+
2. Third-Party Tools (if applicable)
|
|
506
|
+
3. Codebase (10 min max)
|
|
507
|
+
|
|
508
|
+
**Research is NOT optional** - even for SIMPLE tasks.
|
|
429
509
|
|
|
430
510
|
## Planning Guidelines
|
|
431
511
|
|
|
@@ -525,6 +605,14 @@ When including code, configuration, or examples:
|
|
|
525
605
|
## Quality Assurance
|
|
526
606
|
|
|
527
607
|
Before submitting your combined analysis and plan, verify (DO NOT print this checklist in your output):
|
|
608
|
+
|
|
609
|
+
### Research Completeness (Lightweight)
|
|
610
|
+
- Problem space: Understood problem, constraints, edge cases
|
|
611
|
+
- Third-party: External dependencies researched (if applicable)
|
|
612
|
+
- Codebase: Entry points, dependencies, similar patterns documented
|
|
613
|
+
- All findings in Section 2 with file:line references
|
|
614
|
+
|
|
615
|
+
### Documentation Quality
|
|
528
616
|
- Section 1 is scannable in <5 minutes (executive summary, questions, risks, high-level phases, quick stats)
|
|
529
617
|
- Section 2 is wrapped in `<details><summary>` tags
|
|
530
618
|
- Analysis is concise and focused (not exhaustive)
|
|
@@ -545,7 +633,9 @@ Before submitting your combined analysis and plan, verify (DO NOT print this che
|
|
|
545
633
|
- If you cannot access the issue, verify the issue number and repository context
|
|
546
634
|
- If specifications are unclear, note questions in the Questions table
|
|
547
635
|
- If code files are missing, note this as a finding
|
|
548
|
-
- If
|
|
636
|
+
- If Skills are unavailable (Code Execution disabled), proceed with Context7 as primary research
|
|
637
|
+
- If Context7 is unavailable, attempt WebSearch as fallback before noting incomplete research
|
|
638
|
+
- If Skills, Context7, and WebSearch all fail, document: "Third-party research incomplete for [library]: [reason]"
|
|
549
639
|
|
|
550
640
|
## Critical Reminders
|
|
551
641
|
|