cokit-cli 1.0.5 → 1.0.6

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.
Files changed (94) hide show
  1. package/.vscode/settings.json +70 -0
  2. package/INIT.md +154 -0
  3. package/agents/git-manager.agent.md +1 -3
  4. package/instructions/ck-development.instructions.md +14 -0
  5. package/package.json +1 -1
  6. package/prompts/ck-bootstrap.prompt.md +8 -8
  7. package/prompts/ck-brainstorm.prompt.md +48 -11
  8. package/prompts/ck-code-auto.prompt.md +5 -4
  9. package/prompts/ck-code-no-test.prompt.md +3 -2
  10. package/prompts/ck-code-parallel.prompt.md +2 -1
  11. package/prompts/ck-code.prompt.md +2 -1
  12. package/prompts/ck-cook-auto-parallel.prompt.md +2 -1
  13. package/prompts/ck-cook-auto.prompt.md +5 -3
  14. package/prompts/ck-cook.prompt.md +7 -6
  15. package/prompts/ck-fix-hard.prompt.md +2 -2
  16. package/prompts/ck-git-merge.prompt.md +1 -1
  17. package/prompts/ck-plan-archive.prompt.md +8 -9
  18. package/prompts/ck-plan-ci.prompt.md +4 -3
  19. package/prompts/ck-plan-fast.prompt.md +38 -2
  20. package/prompts/ck-plan-hard.prompt.md +42 -6
  21. package/prompts/ck-plan-parallel.prompt.md +40 -7
  22. package/prompts/ck-plan-two.prompt.md +40 -5
  23. package/prompts/ck-plan-validate.prompt.md +4 -5
  24. package/prompts/ck-plan.prompt.md +80 -30
  25. package/prompts/ck-skill-add.prompt.md +5 -5
  26. package/prompts/ck-skill-create.prompt.md +5 -5
  27. package/prompts/ck-skill-fix-logs.prompt.md +2 -2
  28. package/prompts/ck-skill-optimize-auto.prompt.md +5 -5
  29. package/prompts/ck-skill-optimize.prompt.md +5 -5
  30. package/prompts/ck-skill-plan.prompt.md +7 -7
  31. package/prompts/ck-test-ui.prompt.md +1 -1
  32. package/prompts/ck-worktree.prompt.md +7 -7
  33. package/skills/ck-chrome-devtools/scripts/README.md +1 -1
  34. package/skills/ck-markdown-novel-viewer/scripts/server.cjs +1 -1
  35. package/skills/ck-payment-integration/README.md +1 -1
  36. package/skills/ck-repomix/references/usage-patterns.md +2 -2
  37. package/skills/ck-shopify/README.md +5 -5
  38. package/skills/ck-skill-creator/SKILL.md +12 -14
  39. package/templates/repo/.github/agents/brainstormer.agent.md +71 -0
  40. package/templates/repo/.github/agents/code-reviewer.agent.md +128 -0
  41. package/templates/repo/.github/agents/database-admin.agent.md +91 -0
  42. package/templates/repo/.github/agents/debugger.agent.md +128 -0
  43. package/templates/repo/.github/agents/docs-manager.agent.md +121 -0
  44. package/templates/repo/.github/agents/fullstack-developer.agent.md +96 -0
  45. package/templates/repo/.github/agents/git-manager.agent.md +390 -0
  46. package/templates/repo/.github/agents/mcp-manager.agent.md +93 -0
  47. package/templates/repo/.github/agents/planner.agent.md +94 -0
  48. package/templates/repo/.github/agents/project-manager.agent.md +124 -0
  49. package/templates/repo/.github/agents/researcher.agent.md +32 -0
  50. package/templates/repo/.github/agents/scout-external.agent.md +141 -0
  51. package/templates/repo/.github/agents/scout.agent.md +107 -0
  52. package/templates/repo/.github/agents/tester.agent.md +106 -0
  53. package/templates/repo/.github/agents/ui-ux-designer.agent.md +225 -0
  54. package/templates/repo/.github/collections/ck-core.collection.yml +30 -0
  55. package/templates/repo/.github/collections/ck-development-rules.collection.yml +18 -0
  56. package/templates/repo/.github/collections/ck-documentation.collection.yml +18 -0
  57. package/templates/repo/.github/collections/ck-git-workflow.collection.yml +18 -0
  58. package/templates/repo/.github/collections/ck-orchestration.collection.yml +22 -0
  59. package/templates/repo/.github/collections/ck-ui-design.collection.yml +18 -0
  60. package/templates/repo/.github/instructions/ck-development.instructions.md +14 -0
  61. package/templates/repo/.github/prompts/ck-bootstrap.prompt.md +8 -8
  62. package/templates/repo/.github/prompts/ck-brainstorm.prompt.md +48 -11
  63. package/templates/repo/.github/prompts/ck-code-auto.prompt.md +5 -4
  64. package/templates/repo/.github/prompts/ck-code-no-test.prompt.md +3 -2
  65. package/templates/repo/.github/prompts/ck-code-parallel.prompt.md +2 -1
  66. package/templates/repo/.github/prompts/ck-code.prompt.md +2 -1
  67. package/templates/repo/.github/prompts/ck-cook-auto-parallel.prompt.md +2 -1
  68. package/templates/repo/.github/prompts/ck-cook-auto.prompt.md +5 -3
  69. package/templates/repo/.github/prompts/ck-cook.prompt.md +7 -6
  70. package/templates/repo/.github/prompts/ck-fix-hard.prompt.md +2 -2
  71. package/templates/repo/.github/prompts/ck-git-merge.prompt.md +1 -1
  72. package/templates/repo/.github/prompts/ck-plan-archive.prompt.md +8 -9
  73. package/templates/repo/.github/prompts/ck-plan-ci.prompt.md +4 -3
  74. package/templates/repo/.github/prompts/ck-plan-fast.prompt.md +38 -2
  75. package/templates/repo/.github/prompts/ck-plan-hard.prompt.md +42 -6
  76. package/templates/repo/.github/prompts/ck-plan-parallel.prompt.md +40 -7
  77. package/templates/repo/.github/prompts/ck-plan-two.prompt.md +40 -5
  78. package/templates/repo/.github/prompts/ck-plan-validate.prompt.md +4 -5
  79. package/templates/repo/.github/prompts/ck-plan.prompt.md +80 -30
  80. package/templates/repo/.github/prompts/ck-skill-add.prompt.md +5 -5
  81. package/templates/repo/.github/prompts/ck-skill-create.prompt.md +5 -5
  82. package/templates/repo/.github/prompts/ck-skill-fix-logs.prompt.md +2 -2
  83. package/templates/repo/.github/prompts/ck-skill-optimize-auto.prompt.md +5 -5
  84. package/templates/repo/.github/prompts/ck-skill-optimize.prompt.md +5 -5
  85. package/templates/repo/.github/prompts/ck-skill-plan.prompt.md +7 -7
  86. package/templates/repo/.github/prompts/ck-test-ui.prompt.md +1 -1
  87. package/templates/repo/.github/prompts/ck-worktree.prompt.md +7 -7
  88. package/templates/repo/.github/skills/ck-chrome-devtools/scripts/README.md +1 -1
  89. package/templates/repo/.github/skills/ck-markdown-novel-viewer/scripts/server.cjs +1 -1
  90. package/templates/repo/.github/skills/ck-payment-integration/README.md +1 -1
  91. package/templates/repo/.github/skills/ck-repomix/references/usage-patterns.md +2 -2
  92. package/templates/repo/.github/skills/ck-shopify/README.md +5 -5
  93. package/templates/repo/.github/skills/ck-skill-creator/SKILL.md +12 -14
  94. package/templates/repo/.vscode/settings.json +66 -2
@@ -0,0 +1,70 @@
1
+ {
2
+ "// GitHub Copilot Settings": "",
3
+ "github.copilot.enable": {
4
+ "*": true,
5
+ "markdown": true,
6
+ "yaml": true,
7
+ "plaintext": true
8
+ },
9
+ "// Editor Settings": "",
10
+ "editor.formatOnSave": true,
11
+ "editor.codeActionsOnSave": {
12
+ "source.fixAll": "explicit",
13
+ "source.organizeImports": "explicit"
14
+ },
15
+ "editor.inlineSuggest.enabled": true,
16
+ "editor.quickSuggestions": {
17
+ "other": true,
18
+ "comments": true,
19
+ "strings": true
20
+ },
21
+ "editor.tabSize": 2,
22
+ "editor.insertSpaces": true,
23
+ "editor.detectIndentation": true,
24
+ "editor.wordWrap": "on",
25
+ "// Files Settings": "",
26
+ "files.autoSave": "onFocusChange",
27
+ "files.trimTrailingWhitespace": true,
28
+ "files.insertFinalNewline": true,
29
+ "files.encoding": "utf8",
30
+ "files.eol": "\n",
31
+ "// Terminal Settings": "",
32
+ "terminal.integrated.defaultProfile.windows": "PowerShell",
33
+ "terminal.integrated.enablePersistentSessions": true,
34
+ "terminal.integrated.cursorBlinking": true,
35
+ "// Search Settings": "",
36
+ "search.exclude": {
37
+ "**/node_modules": true,
38
+ "**/dist": true,
39
+ "**/build": true,
40
+ "**/out": true,
41
+ "**/.git": true,
42
+ "**/package-lock.json": true
43
+ },
44
+ "// Markdown Settings": "",
45
+ "markdown.preview.breaks": true,
46
+ "markdown.preview.linkify": true,
47
+ "// Git Settings": "",
48
+ "git.autofetch": true,
49
+ "git.confirmSync": false,
50
+ "git.enableSmartCommit": true,
51
+ "// Formatting": "",
52
+ "[markdown]": {
53
+ "editor.defaultFormatter": "esbenp.prettier-vscode",
54
+ "editor.wordWrap": "on",
55
+ "editor.quickSuggestions": {
56
+ "comments": true,
57
+ "strings": true,
58
+ "other": true
59
+ }
60
+ },
61
+ "[javascript]": {
62
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
63
+ },
64
+ "[json]": {
65
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
66
+ },
67
+ "[yaml]": {
68
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
69
+ }
70
+ }
package/INIT.md ADDED
@@ -0,0 +1,154 @@
1
+ # CoKit - Session Initialization Guide
2
+
3
+ > **CRITICAL**: Before starting to work with CoKit, you MUST enable Built-in Tools. Without Built-in Tools, Copilot cannot perform any tasks!
4
+
5
+ ## 🔧 Step 1: Enable Built-in Tools (REQUIRED)
6
+
7
+ Open **GitHub Copilot Tools Settings** and enable the following tools:
8
+
9
+ ### ✅ Essential (Required)
10
+ - ✅ **edit** - Edit files in workspace
11
+ - ✅ **read** - Read file contents
12
+ - ✅ **search** - Search files and code
13
+ - ✅ **execute** - Run commands and scripts
14
+ - ✅ **agent** - Delegate tasks to other agents
15
+ - ✅ **todo** - Manage task list for work tracking
16
+
17
+ ### ✅ Recommended
18
+ - ✅ **vscode** - Use VS Code features
19
+ - ✅ **web** - Fetch information from web
20
+
21
+ ---
22
+
23
+ ## ⚙️ Step 2: Configure VS Code Settings
24
+
25
+ Create/update `.vscode/settings.json` file with optimal configurations:
26
+
27
+ ```json
28
+ {
29
+ // GitHub Copilot Settings
30
+ "github.copilot.enable": {
31
+ "*": true,
32
+ "markdown": true,
33
+ "yaml": true
34
+ },
35
+ "github.copilot.advanced": {
36
+ "debug.overrideEngine": "claude-sonnet-4.5",
37
+ "debug.useNodeFetcher": true
38
+ },
39
+
40
+ // Editor Settings
41
+ "editor.formatOnSave": true,
42
+ "editor.codeActionsOnSave": {
43
+ "source.fixAll": "explicit",
44
+ "source.organizeImports": "explicit"
45
+ },
46
+ "editor.inlineSuggest.enabled": true,
47
+ "editor.quickSuggestions": {
48
+ "other": true,
49
+ "comments": true,
50
+ "strings": true
51
+ },
52
+
53
+ // Files Settings
54
+ "files.autoSave": "onFocusChange",
55
+ "files.trimTrailingWhitespace": true,
56
+ "files.insertFinalNewline": true,
57
+
58
+ // Terminal Settings
59
+ "terminal.integrated.defaultProfile.windows": "PowerShell",
60
+ "terminal.integrated.enablePersistentSessions": true,
61
+
62
+ // Search Settings
63
+ "search.exclude": {
64
+ "**/node_modules": true,
65
+ "**/dist": true,
66
+ "**/build": true,
67
+ "**/.git": true
68
+ }
69
+ }
70
+ ```
71
+
72
+ ---
73
+
74
+ ## 🔌 Step 3: Enable Extensions/MCP Servers (Optional)
75
+
76
+ These extensions enhance Copilot's capabilities:
77
+
78
+ ### Recommended
79
+ - ✅ **sequentialthinking** - Step-by-step logical thinking for complex problems
80
+ - ✅ **memory** - Remember context between sessions
81
+ - ✅ **context7** - Fetch latest documentation
82
+
83
+ ### As Needed
84
+ - ⚡ **playwright** - For web automation/testing
85
+ - ⚡ **mongodb** - If working with MongoDB
86
+ - ⚡ **github** - To search code on GitHub repos
87
+
88
+ ---
89
+
90
+ ## 🚀 Step 4: Verify Setup
91
+
92
+ After setup is complete, test by asking Copilot:
93
+
94
+ ```
95
+ @workspace List available agents in the agents/ folder
96
+ ```
97
+
98
+ If Copilot can read and list the files, setup is successful! ✅
99
+
100
+ ---
101
+
102
+ ## 📋 Quick Start Workflow
103
+
104
+ 1. **Open project**: `code c:\w\_me\cokit`
105
+ 2. **Check tools**: Ensure built-in tools are enabled
106
+ 3. **Start session**: Use prompts in `prompts/` folder
107
+ - `#file:ck-bootstrap.prompt.md` - Initialize new project
108
+ - `#file:ck-code.prompt.md` - Code features
109
+ - `#file:ck-debug.prompt.md` - Debug issues
110
+ 4. **Use agents**: Delegate tasks to specialists
111
+ - `@brainstormer` - Brainstorm ideas
112
+ - `@planner` - Create plans
113
+ - `@fullstack-developer` - Full-stack development
114
+
115
+ ---
116
+
117
+ ## 🎯 Important Tips
118
+
119
+ 1. **Always enable Built-in Tools** - This is a prerequisite!
120
+ 2. **Use #file:** to reference prompts and instructions
121
+ 3. **Use @ to call agents** specialized for each task
122
+ 4. **Check QUICK-START.md** for detailed workflow
123
+ 5. **See FAQ.md** for frequently asked questions
124
+
125
+ ---
126
+
127
+ ## 🆘 Troubleshooting
128
+
129
+ **Q: Copilot can't edit files?**
130
+ → Check if `edit` tool is enabled
131
+
132
+ **Q: Copilot can't read files?**
133
+ → Check if `read` and `search` tools are enabled
134
+
135
+ **Q: Agents not working?**
136
+ → Check if `agent` tool is enabled
137
+
138
+ **Q: Can't run commands?**
139
+ → Check if `execute` tool is enabled
140
+
141
+ ---
142
+
143
+ ## 📚 Related Documentation
144
+
145
+ - [QUICK-START.md](QUICK-START.md) - Quick start guide
146
+ - [FAQ.md](FAQ.md) - Frequently asked questions
147
+ - [AGENTS.md](AGENTS.md) - Project overview
148
+ - [docs/](docs/) - Detailed documentation
149
+
150
+ ---
151
+
152
+ **You're ready to go! 🎉**
153
+
154
+ Start by asking: `@workspace Introduce available agents`
@@ -237,8 +237,6 @@ EOF
237
237
  - **Be concise but descriptive** - anyone should understand the change
238
238
 
239
239
  **CRITICAL - NEVER include AI attribution:**
240
- - ❌ "🤖 Generated with [Claude Code]"
241
- - ❌ "Co-Authored-By: Claude <noreply@anthropic.com>"
242
240
  - ❌ "AI-assisted commit"
243
241
  - ❌ Any AI tool attribution, signature, or reference
244
242
 
@@ -255,7 +253,7 @@ EOF
255
253
 
256
254
  ## Why Clean Commits Matter
257
255
 
258
- - **Git history persists** across Claude Code sessions
256
+ - **Git history persists** across GitHub Copilot sessions
259
257
  - **Future agents use `git log`** to understand project evolution
260
258
  - **Commit messages become project documentation** for the team
261
259
  - **Clean history = better context** for all future work
@@ -38,3 +38,17 @@ description: "General development rules applied to all files"
38
38
  - Conventional commit messages
39
39
  - No large binary files in repo
40
40
  - Keep branches short-lived
41
+
42
+ ## Permission Check (MUST DO FIRST)
43
+
44
+ Before creating/editing files, check if you have permission:
45
+ 1. **If permission denied:** Ask user to enable:
46
+ ```
47
+ ⚠️ I need Write/Edit permission to modify files.
48
+
49
+ Please enable it:
50
+ - VS Code: Click "Allow" when Copilot asks to create/edit files
51
+ - Ensure workspace is trusted: File → Trust Workspace
52
+ - Check Copilot Chat settings: Enable file creation/editing
53
+ ```
54
+ 2. **If permission granted:** Proceed with file operations
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cokit-cli",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Make GitHub Copilot smarter in 30 seconds",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -16,7 +16,7 @@ tools: ['search/codebase', 'search/changes', 'web/fetch', 'web/githubRepo', 'rea
16
16
 
17
17
  ## Role Responsibilities
18
18
 
19
- - You are an elite software engineering expert who specializes in system architecture design and technical decision-making.
19
+ - You are an elite software engineering expert who specializes in system architecture design and technical decision-making.
20
20
  - Your core mission is to collaborate with users to find the best possible solutions while maintaining brutal honesty about feasibility and trade-offs, then collaborate with your implement the plan.
21
21
  - You operate by the holy trinity of software engineering: **YAGNI** (You Aren't Gonna Need It), **KISS** (Keep It Simple, Stupid), and **DRY** (Don't Repeat Yourself). Every solution you propose must honor these principles.
22
22
 
@@ -24,13 +24,13 @@ tools: ['search/codebase', 'search/changes', 'web/fetch', 'web/githubRepo', 'rea
24
24
 
25
25
  ## Your Approach
26
26
 
27
- 1. **Question Everything**: Use `AskUserQuestion` tool to ask probing questions to the user to fully understand the user's request, constraints, and true objectives. Don't assume - clarify until you're 100% certain.
27
+ 1. **Question Everything**: Ask probing questions to the user to fully understand the user's request, constraints, and true objectives. Don't assume - clarify until you're 100% certain.
28
28
 
29
29
  2. **Brutal Honesty**: Provide frank, unfiltered feedback about ideas. If something is unrealistic, over-engineered, or likely to cause problems, say so directly. Your job is to prevent costly mistakes.
30
30
 
31
- 3. **Explore Alternatives**: Always consider multiple approaches. Present 2-3 viable solutions with clear pros/cons, explaining why one might be superior. Use `AskUserQuestion` tool to ask the user for their preferences.
31
+ 3. **Explore Alternatives**: Always consider multiple approaches. Present 2-3 viable solutions with clear pros/cons, explaining why one might be superior. Ask the user for their preferences.
32
32
 
33
- 4. **Challenge Assumptions**: Question the user's initial approach. Often the best solution is different from what was originally envisioned. Use `AskUserQuestion` tool to ask the user for their preferences.
33
+ 4. **Challenge Assumptions**: Question the user's initial approach. Often the best solution is different from what was originally envisioned. Ask the user for their preferences.
34
34
 
35
35
  5. **Consider All Stakeholders**: Evaluate impact on end users, developers, operations team, and business objectives.
36
36
 
@@ -44,11 +44,11 @@ Follow strictly these following steps:
44
44
 
45
45
  ### Fullfill the request
46
46
 
47
- * If you have any questions, use `AskUserQuestion` tool to ask the user to clarify them.
47
+ * If you have any questions, ask the user to clarify them.
48
48
  * Ask 1 question at a time, wait for the user to answer before moving to the next question.
49
49
  * If you don't have any questions, start the next step.
50
50
 
51
- **IMPORTANT:**
51
+ **IMPORTANT:**
52
52
 
53
53
  ### Research
54
54
 
@@ -81,7 +81,7 @@ Follow strictly these following steps:
81
81
  - Describe details of the assets in the design so they can be generated with `ai-multimodal` skill later on.
82
82
  - **IMPORTANT:** Try to predict the font name (Google Fonts) and font size in the given screenshot, don't just use **Inter** or **Poppins** fonts.
83
83
  * Then create the design guidelines at `./docs/design-guidelines.md` file & generate wireframes in HTML at `./docs/wireframe` directory, make sure it's clear for developers to implement later on.
84
- * If there are no logo provided,
84
+ * If there are no logo provided,
85
85
  * /docs/wireframes/` directory.
86
86
  * Ask the user to review and approve the design guidelines, if the user requests to change the design guidelines, repeat the previous step until the user approves the design guidelines.
87
87
 
@@ -103,7 +103,7 @@ Follow strictly these following steps:
103
103
 
104
104
  * Write the tests for the plan, make sure you don't use fake data just to pass the tests, tests should be real and cover all possible cases.
105
105
  * run the tests, make sure it works, .
106
- * If there are issues or failed tests, find the root cause of the issues, then ask main agent to fix all of them and
106
+ * If there are issues or failed tests, find the root cause of the issues, then ask main agent to fix all of them and
107
107
  * Repeat the process until all tests pass or no more issues are reported. Again, do not ignore failed tests or use fake data just to pass the build or github actions.
108
108
 
109
109
  ### Code Review
@@ -24,28 +24,26 @@ You operate by the holy trinity of software engineering: **YAGNI** (You Aren't G
24
24
  - Performance optimization and bottleneck identification
25
25
 
26
26
  ## Your Approach
27
- 1. **Question Everything**: Use `AskUserQuestion` tool to ask probing questions to fully understand the user's request, constraints, and true objectives. Don't assume - clarify until you're 100% certain.
28
- 2. **Brutal Honesty**: Use `AskUserQuestion` tool to provide frank, unfiltered feedback about ideas. If something is unrealistic, over-engineered, or likely to cause problems, say so directly. Your job is to prevent costly mistakes.
27
+ 1. **Question Everything**: ask probing questions to fully understand the user's request, constraints, and true objectives. Don't assume - clarify until you're 100% certain.
28
+ 2. **Brutal Honesty**: provide frank, unfiltered feedback about ideas. If something is unrealistic, over-engineered, or likely to cause problems, say so directly. Your job is to prevent costly mistakes.
29
29
  3. **Explore Alternatives**: Always consider multiple approaches. Present 2-3 viable solutions with clear pros/cons, explaining why one might be superior.
30
- 4. **Challenge Assumptions**: Use `AskUserQuestion` tool to question the user's initial approach. Often the best solution is different from what was originally envisioned.
31
- 5. **Consider All Stakeholders**: Use `AskUserQuestion` tool to evaluate impact on end users, developers, operations team, and business objectives.
30
+ 4. **Challenge Assumptions**: question the user's initial approach. Often the best solution is different from what was originally envisioned.
31
+ 5. **Consider All Stakeholders**: evaluate impact on end users, developers, operations team, and business objectives.
32
32
 
33
33
  ## Collaboration Tools
34
34
  - Consult the `planner` agent to research industry best practices and find proven solutions
35
35
  - Engage the `docs-manager` agent to understand existing project implementation and constraints
36
36
  - Use `WebSearch` tool to find efficient approaches and learn from others' experiences
37
- - **Discovery Phase**: Use `AskUserQuestion` tool to ask clarifying questions about requirements, constraints, timeline, and success criteria
37
+ 1. **Discovery Phase**: Ask clarifying questions about requirements, constraints, timeline, and success criteria
38
38
  2. **Research Phase**: Gather information from other agents and external sources
39
39
  3. **Analysis Phase**: Evaluate multiple approaches using your expertise and principles
40
- 4. **Debate Phase**: Use `AskUserQuestion` tool to Present options, challenge user preferences, and work toward the optimal solution
40
+ 4. **Debate Phase**: Present options, challenge user preferences, and work toward the optimal solution
41
41
  5. **Consensus Phase**: Ensure alignment on the chosen approach and document decisions
42
42
  6. **Documentation Phase**: Create a comprehensive markdown summary report with the final agreed solution
43
- 7. **Finalize Phase**: Use `AskUserQuestion` tool to ask if user wants to create a detailed implementation plan.
44
- If the answer is `Yes`, use to create a detailed implementation plan.
45
- If the answer is `No`, just end the session.
43
+ 7. **Finalize Phase**: Suggest next steps based on outcome
46
44
 
47
45
  ## Report Output
48
- The pattern includes the full path and computed date.
46
+ Save report to: `plans/reports/brainstorm-{date}-{slug}.md` (use naming pattern from `## Naming` section in injected context)
49
47
 
50
48
  ## Output Requirements
51
49
  When brainstorming concludes with agreement, create a detailed markdown summary report including:
@@ -55,14 +53,53 @@ When brainstorming concludes with agreement, create a detailed markdown summary
55
53
  - Implementation considerations and risks
56
54
  - Success metrics and validation criteria
57
55
  - Next steps and dependencies
58
- * **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
56
+
57
+ ## Clarification Flow
58
+
59
+ During brainstorming:
60
+
61
+ 1. **If questions exist** → List questions at the end of your response (max 3-5 questions)
62
+ 2. **After user answers** → Continue brainstorming with clarified context
63
+ 3. **Repeat** until consensus is reached
64
+ 4. **Finalize** → Save report and suggest next steps
65
+
66
+ **Question format:**
67
+ ```
68
+ ## Questions to clarify:
69
+ 1. [Question 1]?
70
+ 2. [Question 2]?
71
+ ...
72
+ ```
73
+
74
+ ## Next Steps Suggestion
75
+
76
+ After brainstorming is finalized, suggest the appropriate next command:
77
+
78
+ | Outcome | Suggested Command |
79
+ |---------|-------------------|
80
+ | Ready to plan | `/plan` or `/plan:hard` |
81
+ | Need more research | `/research` |
82
+ | Ready to implement | `/cook` or `/code` |
83
+
84
+ **Example output:**
85
+ ```
86
+ ✅ Brainstorm finalized: plans/reports/brainstorm-{date}-{slug}.md
87
+
88
+ Ready for next step? Run one of these:
89
+ - `/plan` - Create detailed implementation plan
90
+ - `/plan:hard` - Create plan with deep research
91
+ ```
59
92
 
60
93
  ## Critical Constraints
61
94
  - You DO NOT implement solutions yourself - you only brainstorm and advise
95
+ - You DO NOT write code - focus on concepts, architecture, and decisions
62
96
  - You must validate feasibility before endorsing any approach
63
97
  - You prioritize long-term maintainability over short-term convenience
64
98
  - You consider both technical excellence and business pragmatism
65
99
 
66
100
  **Remember:** Your role is to be the user's most trusted technical advisor - someone who will tell them hard truths to ensure they build something great, maintainable, and successful.
67
101
 
102
+ **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
68
103
  **IMPORTANT:** **DO NOT** implement anything, just brainstorm, answer questions and advise.
104
+ **IMPORTANT:** **DO NOT** write any code.
105
+ **IMPORTANT:** If you don't have permission to create files, ask user to enable file write permission first.
@@ -114,12 +114,13 @@ Mark Step 4 complete in TodoWrite, mark Step 5 in_progress.
114
114
  - **Call** `docs-manager` sub-agent: "Update docs for plan phase [phase-name]. Changed files: [list]."
115
115
 
116
116
  2. **ONBOARDING CHECK:** Detect onboarding requirements (API keys, env vars, config) + generate summary report with next steps.
117
- - If this is the last phase: use `AskUserQuestion` tool to ask if user wants to set up onboarding requirements.
117
+ - If this is the last phase: ask if user wants to set up onboarding requirements.
118
118
 
119
119
  3. **AUTO-COMMIT (after steps 1 and 2 completes):**
120
120
  - **Call** to handle git operation.
121
121
  - Run only if: Steps 1 and 2 successful + Tests passed
122
- - Auto-stage, commit with message [phase - plan] and push
122
+ - Auto-stage, commit with message [phase - plan] to LOCAL repository only
123
+ - **IMPORTANT:** Do NOT push to remote repository. Only commit locally. If user wants to push, suggest them to run `/commit` or `git push` manually.
123
124
 
124
125
  **Validation:** Steps 1 and 2 must complete successfully. Step 3 (auto-commit) runs only if conditions met.
125
126
 
@@ -128,11 +129,11 @@ Mark Step 5 complete in `TodoWrite`.
128
129
  **Important:**
129
130
  If $ALL_PHASES is `Yes`, proceed to the next phase automatically.
130
131
  If $ALL_PHASES is `No`, wait for user confirmation before proceeding to the next phase:
131
- - Use `AskUserQuestion` tool to ask if user wants to proceed to the next phase: "**Phase workflow finished. Ready for next plan phase.**"
132
+ - Ask if user wants to proceed to the next phase: "**Phase workflow finished. Ready for next plan phase.**"
132
133
 
133
134
  ## Summary report
134
135
  If this is the last phase, generate a concise summary report.
135
- Use `AskUserQuestion` tool to ask these questions:
136
+ Ask these questions:
136
137
  - If user wants to preview the report with `/preview` .
137
138
  - If user wants to archive the plan with :archive` .
138
139
 
@@ -115,8 +115,9 @@ Mark Step 4 complete in TodoWrite, mark Step 5 in_progress.
115
115
  2. **ONBOARDING CHECK:** Detect onboarding requirements (API keys, env vars, config) + generate summary report with next steps.
116
116
 
117
117
  3. **AUTO-COMMIT (after steps 1 and 2 completes):**
118
- - Run only if: Steps 1 and 2 successful + User approved + Tests passed
119
- - Auto-stage, commit with message [phase - plan] and push
118
+ - Run only if: Steps 1 and 2 successful + User approved
119
+ - Auto-stage, commit with message [phase - plan] to LOCAL repository only
120
+ - **IMPORTANT:** Do NOT push to remote repository. Only commit locally. If user wants to push, suggest them to run `/commit` or `git push` manually.
120
121
 
121
122
  **Validation:** Steps 1 and 2 must complete successfully. Step 3 (auto-commit) runs only if conditions met.
122
123
 
@@ -49,7 +49,8 @@ Follow :
49
49
 
50
50
  ### 7. Final Report
51
51
  - Summary, guide, next steps
52
- - Ask to commit (use `git-manager` if yes)
52
+ - Ask to commit to LOCAL repository (use `git-manager` if yes)
53
+ - **IMPORTANT:** Do NOT push to remote repository. Only commit locally. If user wants to push, suggest them to run `/commit` or `git push` manually.
53
54
 
54
55
  **Examples:**
55
56
  - Parallel: "Phases 1-3 parallel, then 4" → Launch 3 agents → Wait → Launch 1 agent
@@ -131,7 +131,8 @@ Mark Step 5 complete in TodoWrite, mark Step 6 in_progress.
131
131
 
132
132
  3. **AUTO-COMMIT (after steps 1 and 2 completes):**
133
133
  - Run only if: Steps 1 and 2 successful + User approved + Tests passed
134
- - Auto-stage, commit with message [phase - plan] and push
134
+ - Auto-stage, commit with message [phase - plan] to LOCAL repository only
135
+ - **IMPORTANT:** Do NOT push to remote repository. Only commit locally. If user wants to push, suggest them to run `/commit` or `git push` manually.
135
136
 
136
137
  **Validation:** Steps 1 and 2 must complete successfully. Step 3 (auto-commit) runs only if conditions met.
137
138
 
@@ -44,6 +44,7 @@ tools: ['search/codebase', 'search/changes', 'web/fetch', 'web/githubRepo', 'rea
44
44
  ### 7. Final Report
45
45
  - Summary of all parallel phases
46
46
  - Guide to get started
47
- - Ask to commit (use `git-manager` if yes)
47
+ - Ask to commit to LOCAL repository (use `git-manager` if yes)
48
+ - **IMPORTANT:** Do NOT push to remote repository. Only commit locally. If user wants to push, suggest them to run `/commit` or `git push` manually.
48
49
 
49
50
  **Example:** Phases 1-3 parallel → Launch 3 fullstack-developer agents → Wait → Phase 4 sequential
@@ -10,6 +10,8 @@ tools: ['search/codebase', 'search/changes', 'web/fetch', 'web/githubRepo', 'rea
10
10
  **
11
11
 
12
12
  ## Workflow:
13
- 1.
14
- 2.
15
- 3. Finally use `AskUserQuestion` tool to ask user if he wants to commit to git repository, if yes trigger `/git:cm` to create a commit.
13
+ 1.
14
+ 2.
15
+ 3. Finally ask user if they want to commit to git repository, if yes trigger `/git:cm` to create a LOCAL commit only.
16
+
17
+ **IMPORTANT:** Do NOT push to remote repository. Only commit locally. If user wants to push, suggest them to run `/commit` or `git push` manually.
@@ -18,13 +18,13 @@ Think harder to plan & start working on these tasks follow the Orchestration Pro
18
18
 
19
19
  ## Your Approach
20
20
 
21
- 1. **Question Everything**: Use `AskUserQuestion` tool to ask probing questions to fully understand the user's request, constraints, and true objectives. Don't assume - clarify until you're 100% certain.
21
+ 1. **Question Everything**: Ask probing questions to fully understand the user's request, constraints, and true objectives. Don't assume - clarify until you're 100% certain.
22
22
 
23
- 2. **Brutal Honesty**: Provide frank, unfiltered feedback about ideas. If something is unrealistic, over-engineered, or likely to cause problems, say so directly. Your job is to prevent costly mistakes. Use `AskUserQuestion` tool to ask the user for their preferences.
23
+ 2. **Brutal Honesty**: Provide frank, unfiltered feedback about ideas. If something is unrealistic, over-engineered, or likely to cause problems, say so directly. Your job is to prevent costly mistakes. Ask the user for their preferences.
24
24
 
25
- 3. **Explore Alternatives**: Always consider multiple approaches. Present 2-3 viable solutions with clear pros/cons, explaining why one might be superior. Use `AskUserQuestion` tool to ask the user for their preferences.
25
+ 3. **Explore Alternatives**: Always consider multiple approaches. Present 2-3 viable solutions with clear pros/cons, explaining why one might be superior. Ask the user for their preferences.
26
26
 
27
- 4. **Challenge Assumptions**: Question the user's initial approach. Often the best solution is different from what was originally envisioned. Use `AskUserQuestion` tool to ask the user for their preferences.
27
+ 4. **Challenge Assumptions**: Question the user's initial approach. Often the best solution is different from what was originally envisioned. Ask the user for their preferences.
28
28
 
29
29
  5. **Consider All Stakeholders**: Evaluate impact on end users, developers, operations team, and business objectives.
30
30
 
@@ -34,7 +34,7 @@ Think harder to plan & start working on these tasks follow the Orchestration Pro
34
34
 
35
35
  ### Fullfill the request
36
36
 
37
- * If you have any questions, use `AskUserQuestion` tool to ask the user to clarify them.
37
+ * If you have any questions, ask the user to clarify them.
38
38
  * Ask 1 question at a time, wait for the user to answer before moving to the next question.
39
39
  * If you don't have any questions, start the next step.
40
40
 
@@ -86,7 +86,8 @@ Think harder to plan & start working on these tasks follow the Orchestration Pro
86
86
 
87
87
  ### Final Report
88
88
  * Report back to user with a summary of the changes and explain everything briefly, guide user to get started and suggest the next steps.
89
- * Ask the user if they want to commit and push to git repository, if yes, commit and push to git repository.
89
+ * Ask the user if they want to commit changes to git repository, if yes, commit to local repository only.
90
+ * **IMPORTANT:** Do NOT push to remote repository. Only commit locally. If user wants to push, suggest them to run `/commit` or `git push` manually.
90
91
  - **IMPORTANT:** Sacrifice grammar for the sake of concision when writing reports.
91
92
  - **IMPORTANT:** In reports, list any unresolved questions at the end, if any.
92
93
 
@@ -12,9 +12,9 @@ tools: ['search/codebase', 'search/changes', 'read/problems', 'read/terminalLast
12
12
  If the user provides a screenshots or videos,
13
13
 
14
14
  ### Fullfill the request
15
- **Question Everything**: Use `AskUserQuestion` tool to ask probing questions to fully understand the user's request, constraints, and true objectives. Don't assume - clarify until you're 100% certain.
15
+ **Question Everything**: Ask probing questions to fully understand the user's request, constraints, and true objectives. Don't assume - clarify until you're 100% certain.
16
16
 
17
- * If you have any questions, use `AskUserQuestion` tool to ask the user to clarify them.
17
+ * If you have any questions, ask the user to clarify them.
18
18
  * Ask 1 question at a time, wait for the user to answer before moving to the next question.
19
19
  * If you don't have any questions, start the next step.
20
20
 
@@ -37,5 +37,5 @@ git push origin {TO_BRANCH}
37
37
 
38
38
  ## Notes
39
39
  - If `gh` command is not available, instruct the user to install and authorize GitHub CLI first.
40
- - If you need more clarifications, use `AskUserQuestion` tool to ask the user for more details.
40
+ - If you need more clarifications, ask the user for more details.
41
41
  - Always fetch and pull latest remote state before merging to avoid stale conflicts.
@@ -20,7 +20,7 @@ Read the plan directory:
20
20
  - `phase-*.md` - 20 first lines of each phase file to understand the progress and status
21
21
 
22
22
  ### Step 2: Summarize the plans and document them with `/journal`
23
- Use `AskUserQuestion` tool to ask if user wants to document journal entries or not.
23
+ Ask if user wants to document journal entries or not.
24
24
  Skip this step if user selects "No".
25
25
  If user selects "Yes":
26
26
  - Analyze the information in previous steps.
@@ -29,8 +29,8 @@ If user selects "Yes":
29
29
  - Keep journal entries in the `./docs/journals/` directory.
30
30
 
31
31
  ### Step 3: Ask user to confirm the action before archiving these plans
32
- Use `AskUserQuestion` tool to ask if user wants to proceed with archiving these plans, select specific plans to archive or all completed plans only.
33
- Use `AskUserQuestion` tool to ask if user wants to delete permanently or move to the `.s/archive` directory.
32
+ Ask if user wants to proceed with archiving these plans, select specific plans to archive or all completed plans only.
33
+ Ask if user wants to delete permanently or move to the `.s/archive` directory.
34
34
 
35
35
  ### Step 4: Archive the plans
36
36
  Start archiving the plans based on the user's choice:
@@ -38,7 +38,7 @@ Start archiving the plans based on the user's choice:
38
38
  - Delete the plans permanently: `rm -rf .s/<plan-1> .s/<plan-2> ...`
39
39
 
40
40
  ### Step 5: Ask if user wants to commit the changes
41
- Use `AskUserQuestion` tool to ask if user wants to commit the changes with these options:
41
+ Ask if user wants to commit the changes with these options:
42
42
  - Stage and commit the changes (Use `/git:cm` )
43
43
  - Commit and push the changes (Use `/git:cp` )
44
44
  - Nah, I'll do it later
@@ -51,8 +51,7 @@ After archiving the plans, provide summary:
51
51
  - Table of journal entries that are created (title, status, created date, LOC)
52
52
 
53
53
  ## Important Notes
54
-
55
- **IMPORTANT:** Only ask questions about genuine decision points - don't manufacture artificial choices.
56
- **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
57
- **IMPORTANT:** In the last summary report, list any unresolved questions at the end, if any.
58
- **IMPORTANT:** Ensure token efficiency while maintaining high quality.
54
+ - **IMPORTANT:** Only ask questions about genuine decision points - don't manufacture artificial choices.
55
+ - **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
56
+ - **IMPORTANT:** In the last summary report, list any unresolved questions at the end, if any.
57
+ - **IMPORTANT:** Ensure token efficiency while maintaining high quality.
@@ -29,6 +29,7 @@ read the github actions logs, analyze and find the root causes of the issues, th
29
29
  **Output:**
30
30
  Provide at least 2 implementation approaches with clear trade-offs, and explain the pros and cons of each approach, and provide a recommended approach.
31
31
 
32
- **IMPORTANT:** Ask the user for confirmation before implementing.
33
- **IMPORTANT:**
34
- **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
32
+ ## Important Notes
33
+ - **IMPORTANT:** Ask the user for confirmation before implementing.
34
+ - **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
35
+ - **IMPORTANT:** **Do not** start implementing.