@brainst0rm/core 0.13.0 → 0.14.1
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/chunk-M7BBX56R.js +340 -0
- package/dist/chunk-M7BBX56R.js.map +1 -0
- package/dist/{chunk-SWXTFHC7.js → chunk-Z5D2QZY6.js} +3 -3
- package/dist/chunk-Z5D2QZY6.js.map +1 -0
- package/dist/chunk-Z6ZWNWWR.js +34 -0
- package/dist/index.d.ts +2717 -188
- package/dist/index.js +16178 -7949
- package/dist/index.js.map +1 -1
- package/dist/self-extend-47LWSK3E.js +52 -0
- package/dist/self-extend-47LWSK3E.js.map +1 -0
- package/dist/skills/builtin/api-and-interface-design/SKILL.md +300 -0
- package/dist/skills/builtin/browser-testing-with-devtools/SKILL.md +307 -0
- package/dist/skills/builtin/ci-cd-and-automation/SKILL.md +391 -0
- package/dist/skills/builtin/code-review-and-quality/SKILL.md +353 -0
- package/dist/skills/builtin/code-simplification/SKILL.md +340 -0
- package/dist/skills/builtin/context-engineering/SKILL.md +301 -0
- package/dist/skills/builtin/daemon-operations/SKILL.md +55 -0
- package/dist/skills/builtin/debugging-and-error-recovery/SKILL.md +306 -0
- package/dist/skills/builtin/deprecation-and-migration/SKILL.md +207 -0
- package/dist/skills/builtin/documentation-and-adrs/SKILL.md +295 -0
- package/dist/skills/builtin/frontend-ui-engineering/SKILL.md +333 -0
- package/dist/skills/builtin/git-workflow-and-versioning/SKILL.md +303 -0
- package/dist/skills/builtin/github-collaboration/SKILL.md +215 -0
- package/dist/skills/builtin/godmode-operations/SKILL.md +68 -0
- package/dist/skills/builtin/idea-refine/SKILL.md +186 -0
- package/dist/skills/builtin/idea-refine/examples.md +244 -0
- package/dist/skills/builtin/idea-refine/frameworks.md +101 -0
- package/dist/skills/builtin/idea-refine/refinement-criteria.md +126 -0
- package/dist/skills/builtin/idea-refine/scripts/idea-refine.sh +15 -0
- package/dist/skills/builtin/incremental-implementation/SKILL.md +243 -0
- package/dist/skills/builtin/memory-init/SKILL.md +54 -0
- package/dist/skills/builtin/memory-reflection/SKILL.md +59 -0
- package/dist/skills/builtin/multi-model-routing/SKILL.md +56 -0
- package/dist/skills/builtin/performance-optimization/SKILL.md +291 -0
- package/dist/skills/builtin/planning-and-task-breakdown/SKILL.md +240 -0
- package/dist/skills/builtin/security-and-hardening/SKILL.md +368 -0
- package/dist/skills/builtin/shipping-and-launch/SKILL.md +310 -0
- package/dist/skills/builtin/spec-driven-development/SKILL.md +212 -0
- package/dist/skills/builtin/test-driven-development/SKILL.md +376 -0
- package/dist/skills/builtin/using-agent-skills/SKILL.md +173 -0
- package/dist/trajectory-analyzer-ZAI2XUAI.js +14 -0
- package/dist/{trajectory-capture-RF7TUN6I.js → trajectory-capture-ERPIVYQJ.js} +3 -3
- package/package.json +14 -11
- package/dist/chunk-OU3NPQBH.js +0 -87
- package/dist/chunk-OU3NPQBH.js.map +0 -1
- package/dist/chunk-PZ5AY32C.js +0 -10
- package/dist/chunk-SWXTFHC7.js.map +0 -1
- package/dist/trajectory-MOCIJBV6.js +0 -8
- /package/dist/{chunk-PZ5AY32C.js.map → chunk-Z6ZWNWWR.js.map} +0 -0
- /package/dist/{trajectory-MOCIJBV6.js.map → trajectory-analyzer-ZAI2XUAI.js.map} +0 -0
- /package/dist/{trajectory-capture-RF7TUN6I.js.map → trajectory-capture-ERPIVYQJ.js.map} +0 -0
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: github-collaboration
|
|
3
|
+
description: Full GitHub workflow mastery — PRs, code review, CI/CD, releases, security, search, and team collaboration patterns for enterprise engineering teams
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## Overview
|
|
7
|
+
|
|
8
|
+
This skill covers the complete GitHub collaboration lifecycle: from creating branches and PRs through code review, CI integration, release management, and security monitoring. It enables agents to operate as a full GitHub power user across 8 tool domains and 60+ actions.
|
|
9
|
+
|
|
10
|
+
## When to Use
|
|
11
|
+
|
|
12
|
+
Activate this skill when:
|
|
13
|
+
|
|
14
|
+
- Creating, reviewing, or merging pull requests
|
|
15
|
+
- Managing issues (triage, label, assign, track progress)
|
|
16
|
+
- Performing or responding to code reviews
|
|
17
|
+
- Monitoring CI/CD pipelines (GitHub Actions)
|
|
18
|
+
- Creating releases and managing versioning
|
|
19
|
+
- Searching code, issues, or commits across repos
|
|
20
|
+
- Responding to security alerts (Dependabot, CodeQL, secret scanning)
|
|
21
|
+
- Understanding repository settings, branch protection, and team permissions
|
|
22
|
+
|
|
23
|
+
## Available Tools
|
|
24
|
+
|
|
25
|
+
| Tool | Actions | Permission |
|
|
26
|
+
| ------------- | ------------------------------------------------------------------------------------- | ---------------- |
|
|
27
|
+
| `gh_pr` | create, list, view, merge, close, reopen, diff, checks, comment, ready | confirm |
|
|
28
|
+
| `gh_issue` | create, list, view, comment, close, reopen, edit, label, assign, pin, unpin, transfer | confirm |
|
|
29
|
+
| `gh_review` | list, create, approve, request-changes, comment, view-comments | confirm |
|
|
30
|
+
| `gh_actions` | workflows, runs, view-run, trigger, cancel, rerun, logs, artifacts | confirm |
|
|
31
|
+
| `gh_release` | create, list, view, delete, upload, download | confirm |
|
|
32
|
+
| `gh_search` | code, issues, commits, repos, prs | auto (read-only) |
|
|
33
|
+
| `gh_security` | dependabot, code-scanning, secret-scanning, sbom | confirm |
|
|
34
|
+
| `gh_repo` | info, collaborators, branch-protection, topics, labels, milestones, fork, clone-url | auto (read-only) |
|
|
35
|
+
|
|
36
|
+
## Core Workflows
|
|
37
|
+
|
|
38
|
+
### Pull Request Lifecycle
|
|
39
|
+
|
|
40
|
+
```
|
|
41
|
+
1. Create branch → make changes → commit
|
|
42
|
+
2. gh_pr create (title, body, reviewers, labels)
|
|
43
|
+
3. gh_actions runs (monitor CI status)
|
|
44
|
+
4. gh_pr checks (verify all checks pass)
|
|
45
|
+
5. gh_review approve / request-changes
|
|
46
|
+
6. gh_pr merge (squash/merge/rebase)
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
**Best practices:**
|
|
50
|
+
|
|
51
|
+
- Always check CI status (`gh_pr checks`) before merging
|
|
52
|
+
- Use `draft: true` for work-in-progress PRs
|
|
53
|
+
- Request specific reviewers who own the changed code
|
|
54
|
+
- Write PR descriptions that explain _why_, not just _what_
|
|
55
|
+
- Use `gh_pr diff` to verify the changeset before merging
|
|
56
|
+
- Prefer squash merge for feature branches (clean history)
|
|
57
|
+
|
|
58
|
+
### Code Review Protocol
|
|
59
|
+
|
|
60
|
+
```
|
|
61
|
+
1. gh_pr view (understand the PR: files, additions, deletions)
|
|
62
|
+
2. gh_pr diff (read the actual changes)
|
|
63
|
+
3. gh_review create with event: COMMENT / APPROVE / REQUEST_CHANGES
|
|
64
|
+
4. gh_review comment (inline comments on specific files/lines)
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
**Review quality checklist:**
|
|
68
|
+
|
|
69
|
+
- Read the full diff before commenting
|
|
70
|
+
- Focus on bugs and logic errors, not style (linters handle style)
|
|
71
|
+
- Use inline comments with file path + line number for precision
|
|
72
|
+
- When requesting changes, explain _what_ to fix and _why_
|
|
73
|
+
- Approve with a brief summary of what you verified
|
|
74
|
+
- Never approve without reading the diff
|
|
75
|
+
|
|
76
|
+
### CI/CD Integration
|
|
77
|
+
|
|
78
|
+
```
|
|
79
|
+
1. gh_actions workflows (list available workflows)
|
|
80
|
+
2. gh_actions runs (check recent run status)
|
|
81
|
+
3. gh_actions view-run (see job details)
|
|
82
|
+
4. gh_actions logs (debug failures)
|
|
83
|
+
5. gh_actions rerun (retry after transient failure)
|
|
84
|
+
6. gh_actions trigger (manually dispatch workflow)
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
**Patterns:**
|
|
88
|
+
|
|
89
|
+
- Before merging: always verify CI passes via `gh_pr checks`
|
|
90
|
+
- Failed CI: use `gh_actions logs` to get failure details, then fix
|
|
91
|
+
- Manual workflows: use `trigger` with `workflow_dispatch` inputs
|
|
92
|
+
- Cache issues: check `gh_actions artifacts` for build artifacts
|
|
93
|
+
|
|
94
|
+
### Issue Management
|
|
95
|
+
|
|
96
|
+
```
|
|
97
|
+
1. gh_issue create (title, body, labels, assignees, milestone)
|
|
98
|
+
2. gh_issue list (filter by state, label, assignee)
|
|
99
|
+
3. gh_issue comment (updates, findings, decisions)
|
|
100
|
+
4. gh_issue close (with reason: completed or not_planned)
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
**Triage workflow:**
|
|
104
|
+
|
|
105
|
+
- New issues: add labels (bug, feature, documentation, etc.)
|
|
106
|
+
- Assign to owner based on code area
|
|
107
|
+
- Link to milestone for release tracking
|
|
108
|
+
- Cross-reference related issues and PRs in comments
|
|
109
|
+
|
|
110
|
+
### Release Management
|
|
111
|
+
|
|
112
|
+
```
|
|
113
|
+
1. Verify CI passes on release branch
|
|
114
|
+
2. gh_release create (tag, title, generate-notes)
|
|
115
|
+
3. gh_release upload (attach build artifacts)
|
|
116
|
+
4. gh_issue close (close issues resolved in this release)
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
**Versioning:**
|
|
120
|
+
|
|
121
|
+
- Follow semver: MAJOR.MINOR.PATCH
|
|
122
|
+
- Use `--generate-notes` for automatic changelog from commits
|
|
123
|
+
- Tag format: `v1.2.3`
|
|
124
|
+
- Prerelease for beta/rc: `v1.2.3-beta.1`
|
|
125
|
+
|
|
126
|
+
### Security Monitoring
|
|
127
|
+
|
|
128
|
+
```
|
|
129
|
+
1. gh_security dependabot (check for vulnerable dependencies)
|
|
130
|
+
2. gh_security code-scanning (check for code vulnerabilities)
|
|
131
|
+
3. gh_security secret-scanning (check for exposed secrets)
|
|
132
|
+
4. gh_security sbom (export dependency list for compliance)
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
**Response protocol:**
|
|
136
|
+
|
|
137
|
+
- Critical/high Dependabot alerts: create PR to update dependency
|
|
138
|
+
- Secret scanning alerts: rotate the credential immediately
|
|
139
|
+
- CodeQL alerts: review and fix or dismiss with justification
|
|
140
|
+
- SBOM: export for compliance audits
|
|
141
|
+
|
|
142
|
+
### Cross-Repo Search
|
|
143
|
+
|
|
144
|
+
```
|
|
145
|
+
1. gh_search code (find implementations, patterns, usage)
|
|
146
|
+
2. gh_search issues (find related bugs, prior discussions)
|
|
147
|
+
3. gh_search commits (find when something changed)
|
|
148
|
+
4. gh_search repos (discover relevant projects)
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
**Search syntax tips:**
|
|
152
|
+
|
|
153
|
+
- `repo:owner/repo` limits to specific repo
|
|
154
|
+
- `language:typescript` filters by language
|
|
155
|
+
- `path:src/` limits to specific directory
|
|
156
|
+
- `filename:*.test.ts` finds test files
|
|
157
|
+
- `"exact phrase"` for exact matches
|
|
158
|
+
|
|
159
|
+
## Enterprise Patterns
|
|
160
|
+
|
|
161
|
+
### Branch Protection Awareness
|
|
162
|
+
|
|
163
|
+
Before attempting operations, check branch protection:
|
|
164
|
+
|
|
165
|
+
```
|
|
166
|
+
gh_repo branch-protection (branch: "main")
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
This reveals:
|
|
170
|
+
|
|
171
|
+
- Required status checks (which CI must pass)
|
|
172
|
+
- Required reviewers (how many approvals needed)
|
|
173
|
+
- Dismiss stale reviews (re-review after push)
|
|
174
|
+
- Restrictions (who can push)
|
|
175
|
+
|
|
176
|
+
**Never attempt to merge a PR that violates branch protection rules.**
|
|
177
|
+
|
|
178
|
+
### Team Collaboration
|
|
179
|
+
|
|
180
|
+
```
|
|
181
|
+
gh_repo collaborators (see who has access)
|
|
182
|
+
gh_repo info (repo metadata, default branch)
|
|
183
|
+
gh_repo labels (organizational labels)
|
|
184
|
+
gh_repo milestones (release planning)
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
### Multi-Repo Workflows
|
|
188
|
+
|
|
189
|
+
For monorepos or multi-service architectures:
|
|
190
|
+
|
|
191
|
+
1. Use `gh_search code` to find dependencies across repos
|
|
192
|
+
2. Create linked issues across repos for coordinated changes
|
|
193
|
+
3. Reference cross-repo PRs in comments using `owner/repo#123` format
|
|
194
|
+
|
|
195
|
+
## Red Flags
|
|
196
|
+
|
|
197
|
+
- Merging without CI checks passing
|
|
198
|
+
- Approving PRs without reading the diff
|
|
199
|
+
- Creating releases without a changelog
|
|
200
|
+
- Dismissing security alerts without investigation
|
|
201
|
+
- Force-pushing to protected branches
|
|
202
|
+
- Creating PRs with bodies that don't explain the _why_
|
|
203
|
+
- Assigning issues without context for the assignee
|
|
204
|
+
|
|
205
|
+
## Verification
|
|
206
|
+
|
|
207
|
+
Before completing any GitHub workflow:
|
|
208
|
+
|
|
209
|
+
- [ ] CI status checked and passing
|
|
210
|
+
- [ ] PR description explains motivation, not just changes
|
|
211
|
+
- [ ] Reviewers appropriate for the code area
|
|
212
|
+
- [ ] Labels applied for categorization
|
|
213
|
+
- [ ] Related issues linked or referenced
|
|
214
|
+
- [ ] Security alerts reviewed (no new critical/high)
|
|
215
|
+
- [ ] Branch protection rules respected
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: godmode-operations
|
|
3
|
+
description: Operate brainstorm's God Mode infrastructure control plane. Use when managing endpoints, agents, email security, VMs, or any connected product.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# God Mode Operations
|
|
7
|
+
|
|
8
|
+
God Mode connects brainstorm to external infrastructure through the platform contract. Every product that implements `GET /health`, `GET /api/v1/god-mode/tools`, and `POST /api/v1/god-mode/execute` becomes controllable.
|
|
9
|
+
|
|
10
|
+
## ChangeSet Protocol
|
|
11
|
+
|
|
12
|
+
Every destructive action returns a **ChangeSet** — a simulation of what will happen:
|
|
13
|
+
|
|
14
|
+
```
|
|
15
|
+
1. Call a mutating God Mode tool (e.g., msp_isolate_device)
|
|
16
|
+
2. Tool returns a ChangeSet with:
|
|
17
|
+
- changeset_id
|
|
18
|
+
- simulation (statePreview, cascades, constraints)
|
|
19
|
+
- risk score (0-100)
|
|
20
|
+
- risk factors
|
|
21
|
+
3. Present the ChangeSet to the user
|
|
22
|
+
4. User approves → call gm_changeset_approve with the ID
|
|
23
|
+
5. User rejects → call gm_changeset_reject with the ID
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
**Rules:**
|
|
27
|
+
|
|
28
|
+
- NEVER auto-approve a ChangeSet — always present and wait
|
|
29
|
+
- If risk score > 50, explicitly warn about each risk factor
|
|
30
|
+
- If cascading effects include data loss or service interruption, highlight them
|
|
31
|
+
- One approval gates the entire operation
|
|
32
|
+
|
|
33
|
+
## Entity Resolution
|
|
34
|
+
|
|
35
|
+
Users refer to things by name, not by system ID:
|
|
36
|
+
|
|
37
|
+
- "John's computer" → search devices by owner name → resolve to device ID
|
|
38
|
+
- "the QA server" → search by hostname pattern → confirm with user if multiple matches
|
|
39
|
+
|
|
40
|
+
## Cross-System Actions
|
|
41
|
+
|
|
42
|
+
When a request involves multiple products:
|
|
43
|
+
|
|
44
|
+
1. Identify all systems that need to act
|
|
45
|
+
2. Call each system's tools in sequence
|
|
46
|
+
3. Present a unified summary of ALL changesets
|
|
47
|
+
4. One approval gates everything
|
|
48
|
+
|
|
49
|
+
## Connected Products
|
|
50
|
+
|
|
51
|
+
| Product | What it manages | Example tools |
|
|
52
|
+
| ---------------- | -------------------------------- | -------------------------------------------- |
|
|
53
|
+
| BrainstormMSP | Endpoints, users, backup, agents | msp_list_devices, agent_list, agent_run_tool |
|
|
54
|
+
| BrainstormRouter | AI routing, cost tracking | br_status, br_budget, br_models |
|
|
55
|
+
| BrainstormGTM | Marketing, campaigns | gtm_campaigns, gtm_leads |
|
|
56
|
+
| BrainstormVM | Virtual machines | vm_create, vm_migrate |
|
|
57
|
+
| BrainstormShield | Email security | shield_scan, shield_quarantine |
|
|
58
|
+
|
|
59
|
+
## Edge Agent Operations
|
|
60
|
+
|
|
61
|
+
The agent connector provides direct control over edge agents:
|
|
62
|
+
|
|
63
|
+
- `agent_list` — fleet overview
|
|
64
|
+
- `agent_status` — detail + trust score
|
|
65
|
+
- `agent_ooda_events` — autonomous reasoning trail
|
|
66
|
+
- `agent_workflow_approve` — approve/reject OODA decisions
|
|
67
|
+
- `agent_run_tool` — dispatch any of 73 tools to remote endpoint
|
|
68
|
+
- `agent_kill_switch` — emergency stop (ChangeSet-gated)
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: idea-refine
|
|
3
|
+
description: Refines ideas iteratively. Refine ideas through structured divergent and convergent thinking. Use "idea-refine" or "ideate" to trigger.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Idea Refine
|
|
7
|
+
|
|
8
|
+
Refines raw ideas into sharp, actionable concepts worth building through structured divergent and convergent thinking.
|
|
9
|
+
|
|
10
|
+
## How It Works
|
|
11
|
+
|
|
12
|
+
1. **Understand & Expand (Divergent):** Restate the idea, ask sharpening questions, and generate variations.
|
|
13
|
+
2. **Evaluate & Converge:** Cluster ideas, stress-test them, and surface hidden assumptions.
|
|
14
|
+
3. **Sharpen & Ship:** Produce a concrete markdown one-pager moving work forward.
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
|
|
18
|
+
This skill is primarily an interactive dialogue. Invoke it with an idea, and the agent will guide you through the process.
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
# Optional: Initialize the ideas directory
|
|
22
|
+
bash /mnt/skills/user/idea-refine/scripts/idea-refine.sh
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
**Trigger Phrases:**
|
|
26
|
+
|
|
27
|
+
- "Help me refine this idea"
|
|
28
|
+
- "Ideate on [concept]"
|
|
29
|
+
- "Stress-test my plan"
|
|
30
|
+
|
|
31
|
+
## Output
|
|
32
|
+
|
|
33
|
+
The final output is a markdown one-pager saved to `docs/ideas/[idea-name].md` (after user confirmation), containing:
|
|
34
|
+
|
|
35
|
+
- Problem Statement
|
|
36
|
+
- Recommended Direction
|
|
37
|
+
- Key Assumptions
|
|
38
|
+
- MVP Scope
|
|
39
|
+
- Not Doing list
|
|
40
|
+
|
|
41
|
+
## Detailed Instructions
|
|
42
|
+
|
|
43
|
+
You are an ideation partner. Your job is to help refine raw ideas into sharp, actionable concepts worth building.
|
|
44
|
+
|
|
45
|
+
### Philosophy
|
|
46
|
+
|
|
47
|
+
- Simplicity is the ultimate sophistication. Push toward the simplest version that still solves the real problem.
|
|
48
|
+
- Start with the user experience, work backwards to technology.
|
|
49
|
+
- Say no to 1,000 things. Focus beats breadth.
|
|
50
|
+
- Challenge every assumption. "How it's usually done" is not a reason.
|
|
51
|
+
- Show people the future — don't just give them better horses.
|
|
52
|
+
- The parts you can't see should be as beautiful as the parts you can.
|
|
53
|
+
|
|
54
|
+
### Process
|
|
55
|
+
|
|
56
|
+
When the user invokes this skill with an idea (`$ARGUMENTS`), guide them through three phases. Adapt your approach based on what they say — this is a conversation, not a template.
|
|
57
|
+
|
|
58
|
+
#### Phase 1: Understand & Expand (Divergent)
|
|
59
|
+
|
|
60
|
+
**Goal:** Take the raw idea and open it up.
|
|
61
|
+
|
|
62
|
+
1. **Restate the idea** as a crisp "How Might We" problem statement. This forces clarity on what's actually being solved.
|
|
63
|
+
|
|
64
|
+
2. **Ask 3-5 sharpening questions** — no more. Focus on:
|
|
65
|
+
- Who is this for, specifically?
|
|
66
|
+
- What does success look like?
|
|
67
|
+
- What are the real constraints (time, tech, resources)?
|
|
68
|
+
- What's been tried before?
|
|
69
|
+
- Why now?
|
|
70
|
+
|
|
71
|
+
Use the `AskUserQuestion` tool to gather this input. Do NOT proceed until you understand who this is for and what success looks like.
|
|
72
|
+
|
|
73
|
+
3. **Generate 5-8 idea variations** using these lenses:
|
|
74
|
+
- **Inversion:** "What if we did the opposite?"
|
|
75
|
+
- **Constraint removal:** "What if budget/time/tech weren't factors?"
|
|
76
|
+
- **Audience shift:** "What if this were for [different user]?"
|
|
77
|
+
- **Combination:** "What if we merged this with [adjacent idea]?"
|
|
78
|
+
- **Simplification:** "What's the version that's 10x simpler?"
|
|
79
|
+
- **10x version:** "What would this look like at massive scale?"
|
|
80
|
+
- **Expert lens:** "What would [domain] experts find obvious that outsiders wouldn't?"
|
|
81
|
+
|
|
82
|
+
Push beyond what the user initially asked for. Create products people don't know they need yet.
|
|
83
|
+
|
|
84
|
+
**If running inside a codebase:** Use `Glob`, `Grep`, and `Read` to scan for relevant context — existing architecture, patterns, constraints, prior art. Ground your variations in what actually exists. Reference specific files and patterns when relevant.
|
|
85
|
+
|
|
86
|
+
Read `frameworks.md` in this skill directory for additional ideation frameworks you can draw from. Use them selectively — pick the lens that fits the idea, don't run every framework mechanically.
|
|
87
|
+
|
|
88
|
+
#### Phase 2: Evaluate & Converge
|
|
89
|
+
|
|
90
|
+
After the user reacts to Phase 1 (indicates which ideas resonate, pushes back, adds context), shift to convergent mode:
|
|
91
|
+
|
|
92
|
+
1. **Cluster** the ideas that resonated into 2-3 distinct directions. Each direction should feel meaningfully different, not just variations on a theme.
|
|
93
|
+
|
|
94
|
+
2. **Stress-test** each direction against three criteria:
|
|
95
|
+
- **User value:** Who benefits and how much? Is this a painkiller or a vitamin?
|
|
96
|
+
- **Feasibility:** What's the technical and resource cost? What's the hardest part?
|
|
97
|
+
- **Differentiation:** What makes this genuinely different? Would someone switch from their current solution?
|
|
98
|
+
|
|
99
|
+
Read `refinement-criteria.md` in this skill directory for the full evaluation rubric.
|
|
100
|
+
|
|
101
|
+
3. **Surface hidden assumptions.** For each direction, explicitly name:
|
|
102
|
+
- What you're betting is true (but haven't validated)
|
|
103
|
+
- What could kill this idea
|
|
104
|
+
- What you're choosing to ignore (and why that's okay for now)
|
|
105
|
+
|
|
106
|
+
This is where most ideation fails. Don't skip it.
|
|
107
|
+
|
|
108
|
+
**Be honest, not supportive.** If an idea is weak, say so with kindness. A good ideation partner is not a yes-machine. Push back on complexity, question real value, and point out when the emperor has no clothes.
|
|
109
|
+
|
|
110
|
+
#### Phase 3: Sharpen & Ship
|
|
111
|
+
|
|
112
|
+
Produce a concrete artifact — a markdown one-pager that moves work forward:
|
|
113
|
+
|
|
114
|
+
```markdown
|
|
115
|
+
# [Idea Name]
|
|
116
|
+
|
|
117
|
+
## Problem Statement
|
|
118
|
+
|
|
119
|
+
[One-sentence "How Might We" framing]
|
|
120
|
+
|
|
121
|
+
## Recommended Direction
|
|
122
|
+
|
|
123
|
+
[The chosen direction and why — 2-3 paragraphs max]
|
|
124
|
+
|
|
125
|
+
## Key Assumptions to Validate
|
|
126
|
+
|
|
127
|
+
- [ ] [Assumption 1 — how to test it]
|
|
128
|
+
- [ ] [Assumption 2 — how to test it]
|
|
129
|
+
- [ ] [Assumption 3 — how to test it]
|
|
130
|
+
|
|
131
|
+
## MVP Scope
|
|
132
|
+
|
|
133
|
+
[The minimum version that tests the core assumption. What's in, what's out.]
|
|
134
|
+
|
|
135
|
+
## Not Doing (and Why)
|
|
136
|
+
|
|
137
|
+
- [Thing 1] — [reason]
|
|
138
|
+
- [Thing 2] — [reason]
|
|
139
|
+
- [Thing 3] — [reason]
|
|
140
|
+
|
|
141
|
+
## Open Questions
|
|
142
|
+
|
|
143
|
+
- [Question that needs answering before building]
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
**The "Not Doing" list is arguably the most valuable part.** Focus is about saying no to good ideas. Make the trade-offs explicit.
|
|
147
|
+
|
|
148
|
+
Ask the user if they'd like to save this to `docs/ideas/[idea-name].md` (or a location of their choosing). Only save if they confirm.
|
|
149
|
+
|
|
150
|
+
### Anti-patterns to Avoid
|
|
151
|
+
|
|
152
|
+
- **Don't generate 20+ ideas.** Quality over quantity. 5-8 well-considered variations beat 20 shallow ones.
|
|
153
|
+
- **Don't be a yes-machine.** Push back on weak ideas with specificity and kindness.
|
|
154
|
+
- **Don't skip "who is this for."** Every good idea starts with a person and their problem.
|
|
155
|
+
- **Don't produce a plan without surfacing assumptions.** Untested assumptions are the #1 killer of good ideas.
|
|
156
|
+
- **Don't over-engineer the process.** Three phases, each doing one thing well. Resist adding steps.
|
|
157
|
+
- **Don't just list ideas — tell a story.** Each variation should have a reason it exists, not just be a bullet point.
|
|
158
|
+
- **Don't ignore the codebase.** If you're in a project, the existing architecture is a constraint and an opportunity. Use it.
|
|
159
|
+
|
|
160
|
+
### Tone
|
|
161
|
+
|
|
162
|
+
Direct, thoughtful, slightly provocative. You're a sharp thinking partner, not a facilitator reading from a script. Channel the energy of "that's interesting, but what if..." -- always pushing one step further without being exhausting.
|
|
163
|
+
|
|
164
|
+
Read `examples.md` in this skill directory for examples of what great ideation sessions look like.
|
|
165
|
+
|
|
166
|
+
## Red Flags
|
|
167
|
+
|
|
168
|
+
- Generating 20+ shallow variations instead of 5-8 considered ones
|
|
169
|
+
- Skipping the "who is this for" question
|
|
170
|
+
- No assumptions surfaced before committing to a direction
|
|
171
|
+
- Yes-machining weak ideas instead of pushing back with specificity
|
|
172
|
+
- Producing a plan without a "Not Doing" list
|
|
173
|
+
- Ignoring existing codebase constraints when ideating inside a project
|
|
174
|
+
- Jumping straight to Phase 3 output without running Phases 1 and 2
|
|
175
|
+
|
|
176
|
+
## Verification
|
|
177
|
+
|
|
178
|
+
After completing an ideation session:
|
|
179
|
+
|
|
180
|
+
- [ ] A clear "How Might We" problem statement exists
|
|
181
|
+
- [ ] The target user and success criteria are defined
|
|
182
|
+
- [ ] Multiple directions were explored, not just the first idea
|
|
183
|
+
- [ ] Hidden assumptions are explicitly listed with validation strategies
|
|
184
|
+
- [ ] A "Not Doing" list makes trade-offs explicit
|
|
185
|
+
- [ ] The output is a concrete artifact (markdown one-pager), not just conversation
|
|
186
|
+
- [ ] The user confirmed the final direction before any implementation work
|