@complexthings/superpowers-agent 9.2.0 → 10.0.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/.agents/skills/claude-handoff/SKILL.md +18 -0
- package/.agents/skills/code-review/SKILL.md +89 -0
- package/.agents/skills/{improve-codebase-architecture → codebase-design}/DEEPENING.md +1 -1
- package/.agents/skills/{improve-codebase-architecture/INTERFACE-DESIGN.md → codebase-design/DESIGN-IT-TWICE.md} +3 -3
- package/.agents/skills/codebase-design/SKILL.md +114 -0
- package/.agents/skills/design-an-interface/SKILL.md +94 -0
- package/.agents/skills/{diagnose → diagnosing-bugs}/SKILL.md +29 -12
- package/.agents/skills/{grill-with-docs → domain-modeling}/CONTEXT-FORMAT.md +1 -4
- package/.agents/skills/domain-modeling/SKILL.md +74 -0
- package/.agents/skills/fable-mode/SKILL.md +95 -0
- package/.agents/skills/git-guardrails-claude-code/SKILL.md +95 -0
- package/.agents/skills/git-guardrails-claude-code/scripts/block-dangerous-git.sh +25 -0
- package/.agents/skills/grill-me/SKILL.md +7 -0
- package/.agents/skills/grill-with-docs/SKILL.md +3 -86
- package/.agents/skills/grilling/SKILL.md +14 -0
- package/.agents/skills/handoff/SKILL.md +2 -1
- package/.agents/skills/i-have-adhd/SKILL.md +120 -0
- package/.agents/skills/implement/SKILL.md +11 -0
- package/.agents/skills/improve-codebase-architecture/HTML-REPORT.md +3 -3
- package/.agents/skills/improve-codebase-architecture/SKILL.md +13 -28
- package/.agents/skills/loop-me/SKILL.md +32 -0
- package/.agents/skills/prototype/SKILL.md +1 -1
- package/.agents/skills/qa/SKILL.md +130 -0
- package/.agents/skills/request-refactor-plan/SKILL.md +68 -0
- package/.agents/skills/research/SKILL.md +12 -0
- package/.agents/skills/resolving-merge-conflicts/SKILL.md +14 -0
- package/.agents/skills/scaffold-exercises/SKILL.md +106 -0
- package/.agents/skills/setup-matt-pocock-skills/SKILL.md +11 -9
- package/.agents/skills/setup-matt-pocock-skills/domain.md +2 -2
- package/.agents/skills/setup-matt-pocock-skills/issue-tracker-github.md +23 -0
- package/.agents/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +23 -0
- package/.agents/skills/setup-matt-pocock-skills/issue-tracker-local.md +11 -0
- package/.agents/skills/skill-creator/LICENSE.txt +202 -0
- package/.agents/skills/skill-creator/SKILL.md +485 -0
- package/.agents/skills/skill-creator/agents/analyzer.md +274 -0
- package/.agents/skills/skill-creator/agents/comparator.md +202 -0
- package/.agents/skills/skill-creator/agents/grader.md +223 -0
- package/.agents/skills/skill-creator/assets/eval_review.html +146 -0
- package/.agents/skills/skill-creator/eval-viewer/generate_review.py +471 -0
- package/.agents/skills/skill-creator/eval-viewer/viewer.html +1325 -0
- package/.agents/skills/skill-creator/references/schemas.md +430 -0
- package/.agents/skills/skill-creator/scripts/__init__.py +0 -0
- package/.agents/skills/skill-creator/scripts/__pycache__/__init__.cpython-314.pyc +0 -0
- package/.agents/skills/skill-creator/scripts/__pycache__/run_eval.cpython-314.pyc +0 -0
- package/.agents/skills/skill-creator/scripts/__pycache__/utils.cpython-314.pyc +0 -0
- package/.agents/skills/skill-creator/scripts/aggregate_benchmark.py +401 -0
- package/.agents/skills/skill-creator/scripts/generate_report.py +326 -0
- package/.agents/skills/skill-creator/scripts/improve_description.py +247 -0
- package/.agents/skills/skill-creator/scripts/package_skill.py +136 -0
- package/.agents/skills/skill-creator/scripts/quick_validate.py +103 -0
- package/.agents/skills/skill-creator/scripts/run_eval.py +310 -0
- package/.agents/skills/skill-creator/scripts/run_loop.py +328 -0
- package/.agents/skills/skill-creator/scripts/utils.py +47 -0
- package/.agents/skills/tdd/SKILL.md +17 -90
- package/.agents/skills/tdd/tests.md +16 -0
- package/.agents/skills/teach/GLOSSARY-FORMAT.md +35 -0
- package/.agents/skills/teach/LEARNING-RECORD-FORMAT.md +46 -0
- package/.agents/skills/teach/MISSION-FORMAT.md +31 -0
- package/.agents/skills/teach/RESOURCES-FORMAT.md +32 -0
- package/.agents/skills/teach/SKILL.md +140 -0
- package/.agents/skills/{to-prd → to-spec}/SKILL.md +11 -12
- package/.agents/skills/to-tickets/SKILL.md +114 -0
- package/.agents/skills/triage/AGENT-BRIEF.md +40 -1
- package/.agents/skills/triage/OUT-OF-SCOPE.md +5 -1
- package/.agents/skills/triage/SKILL.md +20 -11
- package/.agents/skills/wayfinder/SKILL.md +127 -0
- package/.agents/skills/writing-great-skills/GLOSSARY.md +201 -0
- package/.agents/skills/writing-great-skills/SKILL.md +83 -0
- package/.agents/superpowers-agent +99 -218
- package/.agents/superpowers-bootstrap.md +3 -3
- package/.agents/templates/AGENTS.md.template +11 -34
- package/.agents/templates/SUPERPOWERS.md.template +4 -4
- package/.github/copilot-instructions.md +33 -1
- package/.github/hooks/rtk-rewrite.json +22 -0
- package/AGENTS.md +32 -36
- package/README.md +63 -198
- package/package.json +1 -1
- package/skills/collaboration/brainstorming/SKILL.md +39 -139
- package/skills/collaboration/brainstorming/skill.json +2 -2
- package/skills/collaboration/leveraging-cli-tools/SKILL.md +70 -71
- package/skills/collaboration/leveraging-cli-tools/references/copilot-instructions.md +30 -0
- package/skills/collaboration/leveraging-cli-tools/scripts/setup-ponytail.sh +185 -0
- package/skills/collaboration/leveraging-cli-tools/scripts/setup-rtk.sh +217 -0
- package/skills/collaboration/leveraging-cli-tools/skill.json +1 -1
- package/skills/meta/create-skill-json/SKILL.md +4 -4
- package/skills/meta/create-skill-json/skill.json +1 -1
- package/skills/meta/create-skill-json/test-scenarios.md +1 -1
- package/skills/setup-skills/SKILL.md +18 -11
- package/skills/setup-skills/skill.json +8 -0
- package/.agents/skills/caveman/SKILL.md +0 -49
- package/.agents/skills/improve-codebase-architecture/LANGUAGE.md +0 -53
- package/.agents/skills/karpathy-guidelines/SKILL.md +0 -75
- package/.agents/skills/review/SKILL.md +0 -78
- package/.agents/skills/tdd/deep-modules.md +0 -33
- package/.agents/skills/tdd/interface-design.md +0 -31
- package/.agents/skills/tdd/refactoring.md +0 -10
- package/.agents/skills/to-issues/SKILL.md +0 -83
- package/.agents/skills/zoom-out/SKILL.md +0 -7
- package/skills/architecture/ABOUT.md +0 -20
- package/skills/architecture/preserving-productive-tensions/SKILL.md +0 -146
- package/skills/architecture/preserving-productive-tensions/skill.json +0 -9
- package/skills/collaboration/brainstorming/spec-document-reviewer-prompt.md +0 -50
- package/skills/collaboration/brainstorming/visual-companion.md +0 -277
- package/skills/collaboration/dispatching-parallel-agents/SKILL.md +0 -174
- package/skills/collaboration/dispatching-parallel-agents/skill.json +0 -9
- package/skills/collaboration/executing-plans/SKILL.md +0 -130
- package/skills/collaboration/executing-plans/skill.json +0 -9
- package/skills/collaboration/finishing-a-development-branch/SKILL.md +0 -261
- package/skills/collaboration/finishing-a-development-branch/skill.json +0 -9
- package/skills/collaboration/leveraging-cli-tools/scripts/slim.py +0 -167
- package/skills/collaboration/receiving-code-review/SKILL.md +0 -233
- package/skills/collaboration/receiving-code-review/skill.json +0 -9
- package/skills/collaboration/requesting-code-review/SKILL.md +0 -110
- package/skills/collaboration/requesting-code-review/code-reviewer.md +0 -146
- package/skills/collaboration/requesting-code-review/skill.json +0 -12
- package/skills/collaboration/subagent-driven-development/SKILL.md +0 -255
- package/skills/collaboration/subagent-driven-development/code-quality-reviewer-prompt.md +0 -26
- package/skills/collaboration/subagent-driven-development/implementer-prompt.md +0 -113
- package/skills/collaboration/subagent-driven-development/skill.json +0 -15
- package/skills/collaboration/subagent-driven-development/spec-reviewer-prompt.md +0 -61
- package/skills/collaboration/using-git-worktrees/SKILL.md +0 -366
- package/skills/collaboration/using-git-worktrees/skill.json +0 -9
- package/skills/collaboration/writing-plans/SKILL.md +0 -121
- package/skills/collaboration/writing-plans/plan-document-reviewer-prompt.md +0 -52
- package/skills/collaboration/writing-plans/skill.json +0 -9
- package/skills/debugging/defense-in-depth/SKILL.md +0 -380
- package/skills/debugging/defense-in-depth/skill.json +0 -9
- package/skills/debugging/root-cause-tracing/SKILL.md +0 -361
- package/skills/debugging/root-cause-tracing/find-polluter.sh +0 -63
- package/skills/debugging/root-cause-tracing/skill.json +0 -12
- package/skills/debugging/systematic-debugging/SKILL.md +0 -299
- package/skills/debugging/systematic-debugging/condition-based-waiting-example.ts +0 -158
- package/skills/debugging/systematic-debugging/condition-based-waiting.md +0 -115
- package/skills/debugging/systematic-debugging/defense-in-depth.md +0 -122
- package/skills/debugging/systematic-debugging/find-polluter.sh +0 -63
- package/skills/debugging/systematic-debugging/root-cause-tracing.md +0 -169
- package/skills/debugging/systematic-debugging/skill.json +0 -9
- package/skills/debugging/systematic-debugging/test-academic.md +0 -14
- package/skills/debugging/systematic-debugging/test-pressure-1.md +0 -58
- package/skills/debugging/systematic-debugging/test-pressure-2.md +0 -68
- package/skills/debugging/systematic-debugging/test-pressure-3.md +0 -69
- package/skills/debugging/verification-before-completion/SKILL.md +0 -143
- package/skills/debugging/verification-before-completion/skill.json +0 -9
- package/skills/finding-skills/SKILL.md +0 -101
- package/skills/finding-skills/skill.json +0 -8
- package/skills/meta/create-agents-md/SKILL.md +0 -182
- package/skills/meta/create-agents-md/skill.json +0 -9
- package/skills/meta/creating-prompts/SKILL.md +0 -349
- package/skills/meta/creating-prompts/examples/do-example.md +0 -65
- package/skills/meta/creating-prompts/examples/plan-example.md +0 -75
- package/skills/meta/creating-prompts/examples/refine-example.md +0 -65
- package/skills/meta/creating-prompts/examples/research-example.md +0 -63
- package/skills/meta/creating-prompts/scripts/get-next-number.sh +0 -27
- package/skills/meta/creating-prompts/skill.json +0 -20
- package/skills/meta/creating-prompts/templates/do-template.md +0 -59
- package/skills/meta/creating-prompts/templates/plan-template.md +0 -58
- package/skills/meta/creating-prompts/templates/refine-template.md +0 -54
- package/skills/meta/creating-prompts/templates/research-template.md +0 -56
- package/skills/meta/using-superpowers/SKILL.md +0 -108
- package/skills/meta/using-superpowers/skill.json +0 -5
- package/skills/meta/writing-prompts/SKILL.md +0 -122
- package/skills/meta/writing-prompts/references/platforms.md +0 -114
- package/skills/meta/writing-prompts/skill.json +0 -9
- package/skills/problem-solving/ABOUT.md +0 -40
- package/skills/problem-solving/collision-zone-thinking/SKILL.md +0 -188
- package/skills/problem-solving/collision-zone-thinking/references/historical-examples.md +0 -393
- package/skills/problem-solving/collision-zone-thinking/skill.json +0 -9
- package/skills/problem-solving/inversion-exercise/SKILL.md +0 -174
- package/skills/problem-solving/inversion-exercise/skill.json +0 -9
- package/skills/problem-solving/meta-pattern-recognition/SKILL.md +0 -116
- package/skills/problem-solving/meta-pattern-recognition/skill.json +0 -9
- package/skills/problem-solving/scale-game/SKILL.md +0 -222
- package/skills/problem-solving/scale-game/skill.json +0 -9
- package/skills/problem-solving/simplification-cascades/SKILL.md +0 -113
- package/skills/problem-solving/simplification-cascades/skill.json +0 -9
- package/skills/problem-solving/when-stuck/SKILL.md +0 -69
- package/skills/problem-solving/when-stuck/skill.json +0 -9
- package/skills/research/ABOUT.md +0 -20
- package/skills/research/tracing-knowledge-lineages/SKILL.md +0 -241
- package/skills/research/tracing-knowledge-lineages/skill.json +0 -9
- package/skills/testing/condition-based-waiting/SKILL.md +0 -359
- package/skills/testing/condition-based-waiting/example.ts +0 -158
- package/skills/testing/condition-based-waiting/skill.json +0 -12
- package/skills/testing/test-driven-development/SKILL.md +0 -434
- package/skills/testing/test-driven-development/skill.json +0 -9
- package/skills/testing/testing-anti-patterns/SKILL.md +0 -298
- package/skills/testing/testing-anti-patterns/skill.json +0 -9
- package/skills/testing/verification-before-completion/SKILL.md +0 -246
- package/skills/testing/verification-before-completion/skill.json +0 -10
- package/skills/using-a-skill/SKILL.md +0 -101
- package/skills/using-a-skill/skill.json +0 -8
- /package/.agents/skills/{diagnose → diagnosing-bugs}/scripts/hitl-loop.template.sh +0 -0
- /package/.agents/skills/{grill-with-docs → domain-modeling}/ADR-FORMAT.md +0 -0
package/README.md
CHANGED
|
@@ -2,10 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
A comprehensive skills library of proven techniques, patterns, and workflows for AI coding assistants.
|
|
4
4
|
|
|
5
|
-
**This is a fork and extension of Jesse Vincent's incredible [Superpowers for Claude Code](https://github.com/obra/superpowers).** Jesse's groundbreaking work and [his amazing blog post](https://blog.fsck.com/2025/10/09/superpowers/) introduced the concept of systematic, reusable skills for AI agents. This fork extends that vision to support agent-agnostic workflows across GitHub Copilot, Claude Code, and
|
|
5
|
+
**This is a fork and extension of Jesse Vincent's incredible [Superpowers for Claude Code](https://github.com/obra/superpowers).** Jesse's groundbreaking work and [his amazing blog post](https://blog.fsck.com/2025/10/09/superpowers/) introduced the concept of systematic, reusable skills for AI agents. This fork extends that vision to support agent-agnostic workflows across GitHub Copilot, Claude Code, OpenCode, Pi, and OpenAI Codex.
|
|
6
6
|
|
|
7
7
|
## What's New
|
|
8
8
|
|
|
9
|
+
**v10.0.0 (July 12, 2026):**
|
|
10
|
+
|
|
11
|
+
- ⚠️ **Leaner bundled surface** — most bundled skills were retired. The package now ships only four: `brainstorming`, `leveraging-cli-tools`, `create-skill-json`, and `setup-skills`. Install anything else with `superpowers-agent add`.
|
|
12
|
+
- ⚠️ **Retired CLI commands removed** — the skill discovery/execution commands `dir`, `execute`, `find-skills`, `get-helpers`, `path`, and `use-skill` are gone. Skills are discovered and loaded through each harness's native skill tool, not the CLI.
|
|
13
|
+
- ⚠️ **`brainstorming` deprecated** — it now announces its deprecation and redirects to the `grilling` skill, handing over the same context.
|
|
14
|
+
- **Pi & OpenAI Codex supported** — `superpowers-agent` now detects and targets **Pi** (`.pi`) and **OpenAI Codex** (`.codex`) alongside GitHub Copilot, Claude Code, and OpenCode — five supported harnesses. Detection works whether a harness is installed as a binary or a project folder.
|
|
15
|
+
- **RTK + ponytail integration** — `setup-rtk.sh` (harness-aware RTK config) and `setup-ponytail.sh` wire token-optimized CLI output and minimal-solution guidance into each harness. `leveraging-cli-tools` was rewritten around `rtk` and `ponytail`, with RTK Python guidance.
|
|
16
|
+
- **`SUPERPOWERS.md` linked** from generated `AGENTS.md`, `CLAUDE.md`, and `copilot-instructions.md`; `setup-skills` dedupes the backups it creates and replaces the `copilot-instructions.md` marker idempotently.
|
|
17
|
+
|
|
18
|
+
**v9.2.1 (June 1, 2026):**
|
|
19
|
+
|
|
20
|
+
- **GitHub agents now reach the Copilot CLI** — `add` and `pull` now also symlink GitHub agents (`.github/agents/<name>.agent.md`) into `~/.copilot/agents/`, alongside the existing VS Code `prompts/` install, so the same agents are usable by the GitHub Copilot CLI. `rm` cleans up both locations.
|
|
21
|
+
- **npm-based version monitoring** — the `using-superpowers` skill and `AGENTS.md` template now check for updates by querying the npm registry (`npm view @complexthings/superpowers-agent version`) and comparing by semver precedence, prompting you to update only when npm is actually newer (replaces the old bundled-version-string comparison).
|
|
22
|
+
- **Smarter skill-priority guidance** — `using-superpowers` now tells agents to load domain/context skills first, then process skills (brainstorming, planning, debugging, TDD), then implementation skills, so the domain skill can shape which process fits.
|
|
23
|
+
- **`leveraging-cli-tools` nudge broadened** — the session-start context now also points agents at the skill whenever a task involves using Bash.
|
|
24
|
+
- **Template cleanup** — removed `TOOLS.md.template` and the `{{TOOL_MAPPINGS}}` bootstrap placeholder; tool-equivalence guidance now lives inline in the refreshed `AGENTS.md`/`SUPERPOWERS.md` templates. `AGENTS.md` skill priority simplified to Project → Personal.
|
|
25
|
+
|
|
9
26
|
**v9.1.0 (May 30, 2026):**
|
|
10
27
|
|
|
11
28
|
- **Session-start hooks installed by `bootstrap`** — `bootstrap` now installs a Claude Code `SessionStart` hook into `~/.claude/settings.json` and a GitHub Copilot CLI `sessionStart` hook at `~/.copilot/hooks/superpowers.json`, so the Superpowers context is injected at the start of every session. The Claude merge is idempotent and preserves your other hooks/settings. (This replaces the old Claude Code plugin hook, which has been removed.)
|
|
@@ -51,48 +68,23 @@ A comprehensive skills library of proven techniques, patterns, and workflows for
|
|
|
51
68
|
- 📋 **Smart Copilot Instructions** - `bootstrap` and `update` now process `~/.github/copilot-instructions.md` as a template, injecting the `using-superpowers` skill content and supporting marker-based idempotent updates with automatic backups
|
|
52
69
|
- 📊 **Mermaid Flowcharts** - Replaced DOT-format flowcharts with Mermaid syntax across 8 skills for better rendering in GitHub, VS Code, and agent contexts
|
|
53
70
|
|
|
54
|
-
**v6.5.0 (January 24, 2026):**
|
|
55
|
-
|
|
56
|
-
- 🔄 **Upstream Sync** - Ported advanced features from Jesse Vincent's [obra/superpowers](https://github.com/obra/superpowers) v4.1.1:
|
|
57
|
-
- **OpenCode Plugin** (`.opencode/plugins/superpowers-agent.js`) - Session bootstrap injection via system prompt transform
|
|
58
|
-
- **using-superpowers Skill** - Behavioral enforcement with Red Flags rationalization table (12 anti-patterns)
|
|
59
|
-
- **Two-Stage Code Review** - Spec compliance review + code quality review workflow
|
|
60
|
-
- **Test Infrastructure** (`tests/`) - Agent-agnostic test scripts for skill triggering
|
|
61
|
-
|
|
62
|
-
- 🔌 **OpenCode Plugin** - Native plugin for OpenCode that injects superpowers context at every session start using `experimental.chat.system.transform` hook
|
|
63
|
-
|
|
64
|
-
- 📋 **Two-Stage Review Process** - Updated `subagent-driven-development` skill with spec reviewer and code quality reviewer prompts for comprehensive code review
|
|
65
|
-
|
|
66
|
-
**v6.4.x (January 23-24, 2026):**
|
|
67
|
-
|
|
68
|
-
- 📐 **Context Optimization** - Reduced AGENTS.md context size by ~60-70% with separate SUPERPOWERS.md reference file
|
|
69
|
-
- 🔗 **Project-Level Symlinks** - `setup-skills` now creates symlinks from agent directories to `.agents/skills`
|
|
70
|
-
|
|
71
|
-
**Previous Releases:**
|
|
72
|
-
|
|
73
|
-
- **v6.3.x** - Codex platform support, native skill tools, extended symlinks for OpenCode/Cursor/Gemini
|
|
74
|
-
- **v6.0.0** - Complete codebase modernization with 90% bundle reduction
|
|
75
|
-
- **v5.4.0** - Dynamic tool mappings, automated platform detection
|
|
76
|
-
|
|
77
71
|
**Key Features:**
|
|
78
72
|
|
|
79
|
-
- 🎯 **
|
|
73
|
+
- 🎯 **Native Skill Discovery** - Your AI platform discovers and loads skills directly
|
|
80
74
|
- 🚀 **One-Line Installer** - `npm install -g @complexthings/superpowers-agent`
|
|
81
75
|
- 📦 **Skill Installation** - `add` and `add-repository` commands for Git/local skill installation
|
|
82
|
-
-
|
|
83
|
-
- 📝 **Setup Skills** - `setup-skills` skill initializes projects with agent instruction files and skill symlinks
|
|
76
|
+
- 📝 **Setup Skills** - `setup-skills` initializes projects with agent instruction files and skill symlinks
|
|
84
77
|
|
|
85
78
|
## What You Get
|
|
86
79
|
|
|
87
|
-
- **
|
|
88
|
-
- **
|
|
89
|
-
- **
|
|
90
|
-
- **
|
|
91
|
-
- **
|
|
92
|
-
- **Utility Commands** - `find-skills` to discover available skills, `execute` to load them
|
|
80
|
+
- **Requirement Grilling** - Interrogate a plan into a clear, reviewed design (the `grilling` skill; `brainstorming` now redirects here)
|
|
81
|
+
- **Efficient CLI Workflows** - Search, inspect, and shape command output with less noise
|
|
82
|
+
- **Skill Metadata** - Generate consistent `skill.json` files from existing skills
|
|
83
|
+
- **Skill Setup** - Initialize project skill infrastructure
|
|
84
|
+
- **Native Skill Tools** - Skills are discovered and loaded by your AI platform
|
|
93
85
|
|
|
94
86
|
Plus:
|
|
95
|
-
- **Universal Skills** - Work across GitHub Copilot, Claude Code, and
|
|
87
|
+
- **Universal Skills** - Work across GitHub Copilot, Claude Code, OpenCode, Pi, and OpenAI Codex
|
|
96
88
|
- **Automatic Integration** - Skills activate automatically when relevant
|
|
97
89
|
- **Consistent Workflows** - Systematic approaches to common engineering tasks
|
|
98
90
|
|
|
@@ -109,7 +101,7 @@ superpowers-agent bootstrap
|
|
|
109
101
|
|
|
110
102
|
> **Note:** `superpowers-agent bootstrap` is a **required** one-time step after every fresh install. It is no longer run automatically by npm's `postinstall` hook — you must run it manually. Subsequent `superpowers-agent update` calls will run bootstrap for you automatically.
|
|
111
103
|
|
|
112
|
-
## Migration to Superpower Agent `^
|
|
104
|
+
## Migration to Superpower Agent `^10.0.0`
|
|
113
105
|
|
|
114
106
|
```bash
|
|
115
107
|
rm -rf ~/.local/bin/superpowers-agent ~/.local/bin/superpowers ~/.agents/superpowers
|
|
@@ -117,12 +109,9 @@ npm install -g @complexthings/superpowers-agent
|
|
|
117
109
|
superpowers-agent bootstrap
|
|
118
110
|
```
|
|
119
111
|
|
|
120
|
-
**After installation,
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
superpowers find-skills
|
|
124
|
-
superpowers execute systematic-debugging
|
|
125
|
-
```
|
|
112
|
+
**After installation, your AI platform can discover Superpowers skills automatically.**
|
|
113
|
+
|
|
114
|
+
If your platform has no native skill tool, open the relevant `SKILL.md` from its configured skill directories with your file-read tool.
|
|
126
115
|
|
|
127
116
|
## Manual Installation
|
|
128
117
|
|
|
@@ -132,40 +121,19 @@ If you prefer manual installation or need project-specific setup, see [.agents/I
|
|
|
132
121
|
|
|
133
122
|
## Quick Start
|
|
134
123
|
|
|
135
|
-
### Discovering Skills
|
|
136
|
-
|
|
137
|
-
**List all available skills:**
|
|
138
|
-
```bash
|
|
139
|
-
superpowers find-skills
|
|
140
|
-
```
|
|
141
|
-
|
|
142
|
-
**Search for specific skills:**
|
|
143
|
-
```bash
|
|
144
|
-
superpowers find-skills | grep -i <topic>
|
|
145
|
-
```
|
|
124
|
+
### Discovering and Using Skills
|
|
146
125
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
**Smart skill matching** - Just type the skill name or any suffix:
|
|
150
|
-
```bash
|
|
151
|
-
superpowers execute brainstorming # Finds superpowers:collaboration/brainstorming
|
|
152
|
-
superpowers execute test-driven-development # Finds superpowers:testing/test-driven-development
|
|
153
|
-
superpowers execute collaboration/brainstorming # More specific suffix also works
|
|
154
|
-
```
|
|
155
|
-
|
|
156
|
-
**Full paths still work:**
|
|
157
|
-
```bash
|
|
158
|
-
superpowers execute superpowers:collaboration/brainstorming
|
|
159
|
-
```
|
|
126
|
+
Use your AI platform's native skill tool to view available skills and load the one relevant to your task. If no native skill tool is available, inspect the configured project or personal skill directories and open the relevant `SKILL.md` with your file-read tool.
|
|
160
127
|
|
|
161
128
|
**Priority order:** Project skills → Home skills → Global Superpowers skills
|
|
162
129
|
|
|
163
|
-
###
|
|
130
|
+
### Bundled Skills
|
|
164
131
|
|
|
165
|
-
|
|
166
|
-
- `
|
|
167
|
-
- `
|
|
168
|
-
- `
|
|
132
|
+
This release bundles four skills:
|
|
133
|
+
- `brainstorming` — **deprecated**; redirects to the `grilling` skill
|
|
134
|
+
- `leveraging-cli-tools`
|
|
135
|
+
- `create-skill-json`
|
|
136
|
+
- `setup-skills`
|
|
169
137
|
|
|
170
138
|
## Configuration
|
|
171
139
|
|
|
@@ -202,8 +170,7 @@ Superpowers supports project-level and global configuration via `.agents/config.
|
|
|
202
170
|
|
|
203
171
|
**Read config from CLI:**
|
|
204
172
|
```bash
|
|
205
|
-
superpowers-agent get
|
|
206
|
-
superpowers-agent get-config plans_dir
|
|
173
|
+
superpowers-agent config-get # prints the resolved configuration, including prompts_dir and plans_dir
|
|
207
174
|
```
|
|
208
175
|
|
|
209
176
|
### Repository Aliases
|
|
@@ -272,8 +239,9 @@ Repositories can include an `agents.json` manifest to automatically install AI a
|
|
|
272
239
|
|
|
273
240
|
| Platform | Source Directory | Destination |
|
|
274
241
|
|----------|----------------|-------------|
|
|
275
|
-
| `github` | `.github/agents/<name>.agent.md` | VS Code `prompts/` directory |
|
|
242
|
+
| `github` | `.github/agents/<name>.agent.md` | VS Code `prompts/` directory **and** `~/.copilot/agents/` (GitHub Copilot CLI) |
|
|
276
243
|
| `opencode` | `.opencode/agents/<name>.md` | `~/.config/opencode/agents/` |
|
|
244
|
+
| `claude` | `.claude/agents/<name>.md` | `~/.claude/agents/` |
|
|
277
245
|
|
|
278
246
|
**How it works:**
|
|
279
247
|
1. After skills are installed, the system checks for `agents.json` at the repository root
|
|
@@ -325,97 +293,23 @@ Skills are available via the native skill tool. `bootstrap` installs a `sessionS
|
|
|
325
293
|
|
|
326
294
|
Skills are available via the native skill tool. Claude agent personas defined in `.claude/agents/<name>.md` are installed into `~/.claude/agents/` via `add`/`pull`. `bootstrap` also installs a `SessionStart` hook into `~/.claude/settings.json` that injects the Superpowers context every session (idempotent; preserves your other hooks and settings).
|
|
327
295
|
|
|
328
|
-
##
|
|
329
|
-
|
|
330
|
-
### Skills Library
|
|
331
|
-
|
|
332
|
-
**Testing** (`skills/testing/`)
|
|
333
|
-
- **test-driven-development** - RED-GREEN-REFACTOR cycle
|
|
334
|
-
- **condition-based-waiting** - Async test patterns
|
|
335
|
-
- **testing-anti-patterns** - Common pitfalls to avoid
|
|
336
|
-
- **verification-before-completion** - Evidence-based completion claims (ported from obra/superpowers)
|
|
337
|
-
|
|
338
|
-
**Debugging** (`skills/debugging/`)
|
|
339
|
-
- **systematic-debugging** - 4-phase root cause process
|
|
340
|
-
- **root-cause-tracing** - Find the real problem
|
|
341
|
-
- **defense-in-depth** - Multiple validation layers
|
|
342
|
-
|
|
343
|
-
**Collaboration** (`skills/collaboration/`)
|
|
344
|
-
- **brainstorming** - Socratic design refinement
|
|
345
|
-
- **writing-plans** - Detailed implementation plans
|
|
346
|
-
- **executing-plans** - Batch execution with checkpoints
|
|
347
|
-
- **dispatching-parallel-agents** - Concurrent subagent workflows
|
|
348
|
-
- **requesting-code-review** - Pre-review checklist
|
|
349
|
-
- **receiving-code-review** - Responding to feedback
|
|
350
|
-
- **using-git-worktrees** - Parallel development branches
|
|
351
|
-
- **finishing-a-development-branch** - Merge/PR decision workflow
|
|
352
|
-
- **subagent-driven-development** - Fast iteration with two-stage code review (spec + quality)
|
|
353
|
-
- **leveraging-cli-tools** - High-performance CLI tools (rg, jq, fd, bat, ast-grep)
|
|
354
|
-
|
|
355
|
-
**Meta** (`skills/meta/`)
|
|
356
|
-
- **using-superpowers** - Behavioral enforcement skill loaded at session start (ported from obra/superpowers)
|
|
357
|
-
- **writing-prompts** - Create custom slash commands for GitHub Copilot, Cursor, or Claude
|
|
358
|
-
- **creating-prompts** - Create structured prompts for Do/Plan/Research/Refine workflows (adapted from TÂCHES)
|
|
359
|
-
- **create-skill-json** - Generate skill.json metadata files from SKILL.md and directory structure
|
|
360
|
-
|
|
361
|
-
**Utilities** (`skills/finding-skills/`, `skills/using-a-skill/`, `skills/setup-skills/`)
|
|
362
|
-
- **finding-skills** - Discover and search available skills
|
|
363
|
-
- **using-a-skill** - Load and apply specific skills
|
|
364
|
-
- **setup-skills** - Initialize project with agent instruction files and skill symlinks
|
|
365
|
-
|
|
366
|
-
**Problem-Solving** (`skills/problem-solving/`)
|
|
367
|
-
- **collision-zone-thinking** - Force unrelated concepts together for emergent insights
|
|
368
|
-
- **inversion-exercise** - Flip assumptions to reveal hidden constraints
|
|
369
|
-
- **meta-pattern-recognition** - Spot universal principles across domains
|
|
370
|
-
- **scale-game** - Test at extremes to expose fundamental truths
|
|
371
|
-
- **simplification-cascades** - Find insights that eliminate multiple components
|
|
372
|
-
- **when-stuck** - Dispatch to right problem-solving technique
|
|
373
|
-
|
|
374
|
-
**Research** (`skills/research/`)
|
|
375
|
-
- **tracing-knowledge-lineages** - Understand how ideas evolved over time
|
|
376
|
-
|
|
377
|
-
**Architecture** (`skills/architecture/`)
|
|
378
|
-
- **preserving-productive-tensions** - Keep multiple valid approaches instead of forcing premature resolution
|
|
379
|
-
|
|
380
|
-
### Test Infrastructure
|
|
381
|
-
|
|
382
|
-
The `tests/` directory contains agent-agnostic test scripts for validating skill behavior:
|
|
383
|
-
|
|
384
|
-
**Test Categories:**
|
|
385
|
-
- `tests/skill-triggering/` - Tests for implicit skill activation scenarios
|
|
386
|
-
- `tests/explicit-skill-requests/` - Tests for explicit skill loading requests
|
|
387
|
-
|
|
388
|
-
**Running Tests:**
|
|
389
|
-
```bash
|
|
390
|
-
# Run a single test
|
|
391
|
-
./tests/skill-triggering/run-test.sh prompts/test-name.txt
|
|
392
|
-
|
|
393
|
-
# Run all tests in a category
|
|
394
|
-
./tests/skill-triggering/run-all.sh
|
|
395
|
-
|
|
396
|
-
# Configure for your agent
|
|
397
|
-
export AGENT_CLI="opencode" # or "claude", "copilot", etc.
|
|
398
|
-
./tests/skill-triggering/run-test.sh prompts/test-name.txt
|
|
399
|
-
```
|
|
296
|
+
## Bundled Skills
|
|
400
297
|
|
|
401
|
-
|
|
402
|
-
1. Add prompt files to `prompts/` subdirectory
|
|
403
|
-
2. Each test is a `.txt` file with the prompt to send
|
|
404
|
-
3. Scripts output agent responses for manual verification
|
|
298
|
+
The package contains only the four skills listed in [Quick Start](#quick-start). Install additional skills with `superpowers-agent add`.
|
|
405
299
|
|
|
406
|
-
###
|
|
300
|
+
### Running Tests
|
|
407
301
|
|
|
408
|
-
|
|
302
|
+
Run the automated suite from `.agents`:
|
|
409
303
|
|
|
410
|
-
**Skill Discovery:**
|
|
411
304
|
```bash
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
superpowers-agent path <skill-name> # Get SKILL.md file path
|
|
415
|
-
superpowers-agent dir <skill-name> # Get skill directory path
|
|
416
|
-
superpowers-agent get-helpers <skill> <term> # Find helper files in skill
|
|
305
|
+
cd .agents
|
|
306
|
+
bun test
|
|
417
307
|
```
|
|
418
308
|
|
|
309
|
+
### CLI Commands
|
|
310
|
+
|
|
311
|
+
The `superpowers-agent` CLI provides commands for managing installed skills. Skill discovery and loading use your AI platform's native skill tool.
|
|
312
|
+
|
|
419
313
|
**Skill Installation:**
|
|
420
314
|
```bash
|
|
421
315
|
superpowers-agent add <url-or-path> # Install skill(s) from Git or local
|
|
@@ -433,7 +327,6 @@ superpowers-agent add-repository <git-url> # Add repository alias
|
|
|
433
327
|
```bash
|
|
434
328
|
superpowers-agent config-get # Show current configuration
|
|
435
329
|
superpowers-agent config-set <key> <value> # Update configuration
|
|
436
|
-
superpowers-agent get-config <key> # Get specific config value
|
|
437
330
|
```
|
|
438
331
|
|
|
439
332
|
**Project Setup:**
|
|
@@ -449,54 +342,29 @@ superpowers-agent session-context # Print session-start conte
|
|
|
449
342
|
superpowers-agent session-context --format=claude # Emit Claude Code SessionStart hook JSON
|
|
450
343
|
superpowers-agent session-context --format=copilot # Emit GitHub Copilot sessionStart hook JSON
|
|
451
344
|
```
|
|
452
|
-
The platform hooks installed by `bootstrap` call this command; it is the single source of truth for the injected
|
|
345
|
+
The platform hooks installed by `bootstrap` call this command; it is the single source of truth for the injected CLI-tool nudge.
|
|
453
346
|
|
|
454
347
|
### Skill Metadata with skill.json
|
|
455
348
|
|
|
456
|
-
Skills can include a `skill.json` file to define metadata for the superpowers-agent CLI
|
|
457
|
-
|
|
458
|
-
**All skills in this repository include skill.json files** with version tracking, helper file listings, and aliases for convenient access.
|
|
349
|
+
Skills can include a `skill.json` file to define installation metadata for the superpowers-agent CLI and multi-skill repositories.
|
|
459
350
|
|
|
460
351
|
#### Single Skill Configuration
|
|
461
352
|
|
|
462
|
-
For a single skill, `skill.json` defines
|
|
353
|
+
For a single skill, `skill.json` defines its identity:
|
|
463
354
|
|
|
464
355
|
```json
|
|
465
356
|
{
|
|
466
357
|
"version": "1.0.0",
|
|
467
358
|
"name": "aem/block-collection-and-party",
|
|
468
|
-
"title": "AEM Block Collection and Party"
|
|
469
|
-
"helpers": [
|
|
470
|
-
"scripts/get-block-structure.js",
|
|
471
|
-
"scripts/search-block-collection-github.js",
|
|
472
|
-
"scripts/search-block-collection.js",
|
|
473
|
-
"scripts/search-block-party.js"
|
|
474
|
-
],
|
|
475
|
-
"aliases": [
|
|
476
|
-
"block-party",
|
|
477
|
-
"block-collection"
|
|
478
|
-
]
|
|
359
|
+
"title": "AEM Block Collection and Party"
|
|
479
360
|
}
|
|
480
361
|
```
|
|
481
362
|
|
|
482
363
|
**Fields:**
|
|
483
364
|
- `name`: Canonical skill name (used for installation path)
|
|
484
365
|
- `title`: Human-readable display name
|
|
485
|
-
- `helpers`: Array of helper script paths relative to skill directory
|
|
486
|
-
- `aliases`: Short names that can be used with `execute` and `get-helpers`
|
|
487
366
|
- `version`: Skill version for tracking updates
|
|
488
367
|
|
|
489
|
-
**Usage with helpers:**
|
|
490
|
-
```bash
|
|
491
|
-
# Find helper files
|
|
492
|
-
superpowers-agent get-helpers block-collection search-block
|
|
493
|
-
# Returns: /path/to/skill/scripts/search-block-collection.js
|
|
494
|
-
|
|
495
|
-
# Use skill aliases
|
|
496
|
-
superpowers-agent execute block-party
|
|
497
|
-
# Loads: aem/block-collection-and-party
|
|
498
|
-
```
|
|
499
|
-
|
|
500
368
|
#### Multi-Skill Repository Configuration
|
|
501
369
|
|
|
502
370
|
For repositories containing multiple skills, the root `skill.json` lists all skills and defines a repository alias:
|
|
@@ -548,12 +416,10 @@ superpowers-agent add @baici
|
|
|
548
416
|
|
|
549
417
|
#### Benefits of skill.json
|
|
550
418
|
|
|
551
|
-
1. **
|
|
552
|
-
2. **
|
|
553
|
-
3. **
|
|
554
|
-
4. **
|
|
555
|
-
5. **Installation Paths**: Control where skills install with `name` field
|
|
556
|
-
6. **Version Tracking**: Each skill tracks its version independently
|
|
419
|
+
1. **Repository Management**: Organize and share multi-skill collections
|
|
420
|
+
2. **Automatic Detection**: CLI reads metadata for installation defaults
|
|
421
|
+
3. **Installation Paths**: Control where skills install with `name` field
|
|
422
|
+
4. **Version Tracking**: Each skill tracks its version independently
|
|
557
423
|
|
|
558
424
|
## How It Works
|
|
559
425
|
|
|
@@ -561,7 +427,7 @@ superpowers-agent add @baici
|
|
|
561
427
|
1. **Bootstrap Process** - Installs agent integrations and syncs skill symlinks globally
|
|
562
428
|
2. **Skill Discovery** - Finds skills across system, personal, and project locations
|
|
563
429
|
3. **Priority Resolution** - Project skills override personal skills override system skills
|
|
564
|
-
4. **Universal Integration** - Works with GitHub Copilot, Claude Code, and
|
|
430
|
+
4. **Universal Integration** - Works with GitHub Copilot, Claude Code, OpenCode, Pi, and OpenAI Codex
|
|
565
431
|
|
|
566
432
|
**For OpenCode:**
|
|
567
433
|
1. **Plugin System** - The `.opencode/plugins/superpowers-agent.js` plugin injects bootstrap context dynamically at session start
|
|
@@ -671,13 +537,12 @@ Configuration is stored in `~/.agents/superpowers/.config.json` and persists acr
|
|
|
671
537
|
|
|
672
538
|
This project builds on [Jesse Vincent's Superpowers for Claude Code](https://github.com/obra/superpowers). Jesse's pioneering work introduced the concept of systematic, reusable skills for AI agents. Read his excellent blog post: [Superpowers for Claude Code](https://blog.fsck.com/2025/10/09/superpowers/)
|
|
673
539
|
|
|
674
|
-
**
|
|
675
|
-
-
|
|
676
|
-
- Two-stage code review process (spec + quality reviewers)
|
|
540
|
+
**Inspired by obra/superpowers (v7.0.0):**
|
|
541
|
+
- Reusable skill workflows
|
|
677
542
|
- OpenCode plugin architecture pattern
|
|
678
543
|
- Test infrastructure for skill validation
|
|
679
544
|
|
|
680
|
-
This fork extends that vision to support agent-agnostic workflows across GitHub Copilot, Claude Code, and
|
|
545
|
+
This fork extends that vision to support agent-agnostic workflows across GitHub Copilot, Claude Code, OpenCode, Pi, and OpenAI Codex.
|
|
681
546
|
|
|
682
547
|
## License
|
|
683
548
|
|
package/package.json
CHANGED
|
@@ -1,166 +1,66 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: brainstorming
|
|
3
|
-
description: "
|
|
3
|
+
description: "DEPRECATED — redirects to the grilling skill. Fires before any creative work — creating features, building components, adding functionality, or modifying behavior — to tell the user brainstorming is retired, offer to install grilling, and hand the same context to a grilling session."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Brainstorming
|
|
7
|
-
|
|
8
|
-
Help turn ideas into fully formed designs and specs through natural collaborative dialogue.
|
|
9
|
-
|
|
10
|
-
Start by understanding the current project context, then ask questions one at a time to refine the idea. Once you understand what you're building, present the design and get user approval.
|
|
11
|
-
|
|
12
|
-
<HARD-GATE>
|
|
13
|
-
Do NOT invoke any implementation skill, write any code, scaffold any project, or take any implementation action until you have presented a design and the user has approved it. This applies to EVERY project regardless of perceived simplicity.
|
|
14
|
-
</HARD-GATE>
|
|
15
|
-
|
|
16
|
-
## Anti-Pattern: "This Is Too Simple To Need A Design"
|
|
17
|
-
|
|
18
|
-
Every project goes through this process. A todo list, a single-function utility, a config change — all of them. "Simple" projects are where unexamined assumptions cause the most wasted work. The design can be short (a few sentences for truly simple projects), but you MUST present it and get approval.
|
|
19
|
-
|
|
20
|
-
## Checklist
|
|
21
|
-
|
|
22
|
-
You MUST create a task for each of these items and complete them in order:
|
|
23
|
-
|
|
24
|
-
1. **Explore project context** — check files, docs, recent commits
|
|
25
|
-
2. **Offer visual companion** (if topic will involve visual questions) — this is its own message, not combined with a clarifying question. See the Visual Companion section below.
|
|
26
|
-
3. **Ask clarifying questions** — one at a time, understand purpose/constraints/success criteria
|
|
27
|
-
4. **Propose 2-3 approaches** — with trade-offs and your recommendation
|
|
28
|
-
5. **Present design** — in sections scaled to their complexity, get user approval after each section
|
|
29
|
-
6. **Write design doc** — save to `docs/superpowers/specs/YYYY-MM-DD-<topic>-design.md` and commit
|
|
30
|
-
7. **Spec review loop** — dispatch spec-document-reviewer subagent with precisely crafted review context (never your session history); fix issues and re-dispatch until approved (max 5 iterations, then surface to human)
|
|
31
|
-
8. **User reviews written spec** — ask user to review the spec file before proceeding
|
|
32
|
-
9. **Transition to implementation** — invoke writing-plans skill to create implementation plan
|
|
33
|
-
|
|
34
|
-
## Process Flow
|
|
35
|
-
|
|
36
|
-
```dot
|
|
37
|
-
digraph brainstorming {
|
|
38
|
-
"Explore project context" [shape=box];
|
|
39
|
-
"Visual questions ahead?" [shape=diamond];
|
|
40
|
-
"Offer Visual Companion\n(own message, no other content)" [shape=box];
|
|
41
|
-
"Ask clarifying questions" [shape=box];
|
|
42
|
-
"Propose 2-3 approaches" [shape=box];
|
|
43
|
-
"Present design sections" [shape=box];
|
|
44
|
-
"User approves design?" [shape=diamond];
|
|
45
|
-
"Write design doc" [shape=box];
|
|
46
|
-
"Spec review loop" [shape=box];
|
|
47
|
-
"Spec review passed?" [shape=diamond];
|
|
48
|
-
"User reviews spec?" [shape=diamond];
|
|
49
|
-
"Invoke writing-plans skill" [shape=doublecircle];
|
|
50
|
-
|
|
51
|
-
"Explore project context" -> "Visual questions ahead?";
|
|
52
|
-
"Visual questions ahead?" -> "Offer Visual Companion\n(own message, no other content)" [label="yes"];
|
|
53
|
-
"Visual questions ahead?" -> "Ask clarifying questions" [label="no"];
|
|
54
|
-
"Offer Visual Companion\n(own message, no other content)" -> "Ask clarifying questions";
|
|
55
|
-
"Ask clarifying questions" -> "Propose 2-3 approaches";
|
|
56
|
-
"Propose 2-3 approaches" -> "Present design sections";
|
|
57
|
-
"Present design sections" -> "User approves design?";
|
|
58
|
-
"User approves design?" -> "Present design sections" [label="no, revise"];
|
|
59
|
-
"User approves design?" -> "Write design doc" [label="yes"];
|
|
60
|
-
"Write design doc" -> "Spec review loop";
|
|
61
|
-
"Spec review loop" -> "Spec review passed?";
|
|
62
|
-
"Spec review passed?" -> "Spec review loop" [label="issues found,\nfix and re-dispatch"];
|
|
63
|
-
"Spec review passed?" -> "User reviews spec?" [label="approved"];
|
|
64
|
-
"User reviews spec?" -> "Write design doc" [label="changes requested"];
|
|
65
|
-
"User reviews spec?" -> "Invoke writing-plans skill" [label="approved"];
|
|
66
|
-
}
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
**The terminal state is invoking writing-plans.** Do NOT invoke frontend-design, mcp-builder, or any other implementation skill. The ONLY skill you invoke after brainstorming is writing-plans.
|
|
70
|
-
|
|
71
|
-
## The Process
|
|
72
|
-
|
|
73
|
-
**Understanding the idea:**
|
|
74
|
-
|
|
75
|
-
- Check out the current project state first (files, docs, recent commits)
|
|
76
|
-
- Before asking detailed questions, assess scope: if the request describes multiple independent subsystems (e.g., "build a platform with chat, file storage, billing, and analytics"), flag this immediately. Don't spend questions refining details of a project that needs to be decomposed first.
|
|
77
|
-
- If the project is too large for a single spec, help the user decompose into sub-projects: what are the independent pieces, how do they relate, what order should they be built? Then brainstorm the first sub-project through the normal design flow. Each sub-project gets its own spec → plan → implementation cycle.
|
|
78
|
-
- For appropriately-scoped projects, ask questions one at a time to refine the idea
|
|
79
|
-
- Prefer multiple choice questions when possible, but open-ended is fine too
|
|
80
|
-
- Only one question per message — if a topic needs more exploration, break it into multiple questions
|
|
81
|
-
- Focus on understanding: purpose, constraints, success criteria
|
|
82
|
-
|
|
83
|
-
**Exploring approaches:**
|
|
84
|
-
|
|
85
|
-
- Propose 2-3 different approaches with trade-offs
|
|
86
|
-
- Present options conversationally with your recommendation and reasoning
|
|
87
|
-
- Lead with your recommended option and explain why
|
|
88
|
-
|
|
89
|
-
**Presenting the design:**
|
|
6
|
+
# Brainstorming (deprecated)
|
|
90
7
|
|
|
91
|
-
|
|
92
|
-
- Scale each section to its complexity: a few sentences if straightforward, up to 200-300 words if nuanced
|
|
93
|
-
- Ask after each section whether it looks right so far
|
|
94
|
-
- Cover: architecture, components, data flow, error handling, testing
|
|
95
|
-
- Be ready to go back and clarify if something doesn't make sense
|
|
8
|
+
This skill is deprecated. It no longer explores requirements itself — it redirects to Matt Pocock's `grilling` skill, which does the same job better by interviewing the user one decision at a time.
|
|
96
9
|
|
|
97
|
-
|
|
10
|
+
Run these steps in order. The user's original request (the context that triggered this skill) is what you hand to `grilling` at the end — keep it.
|
|
98
11
|
|
|
99
|
-
|
|
100
|
-
- For each unit, you should be able to answer: what does it do, how do you use it, and what does it depend on?
|
|
101
|
-
- Can someone understand what a unit does without reading its internals? Can you change the internals without breaking consumers? If not, the boundaries need work.
|
|
102
|
-
- Smaller, well-bounded units are also easier to work with — you reason better about code you can hold in context at once, and edits are more reliable when files are focused. When a file grows large, that's often a signal that it's doing too much.
|
|
12
|
+
## 1. Tell the user it's deprecated
|
|
103
13
|
|
|
104
|
-
|
|
14
|
+
Say, in your own words: the `brainstorming` skill is deprecated and they should use `grilling` instead.
|
|
105
15
|
|
|
106
|
-
|
|
107
|
-
- Where existing code has problems that affect the work (e.g., a file that's grown too large, unclear boundaries, tangled responsibilities), include targeted improvements as part of the design — the way a good developer improves code they're working in.
|
|
108
|
-
- Don't propose unrelated refactoring. Stay focused on what serves the current goal.
|
|
16
|
+
## 2. Offer to install grilling
|
|
109
17
|
|
|
110
|
-
|
|
18
|
+
Using your question-asking tool (`askUserQuestion`, `ask_user_question`, `AskUserQuestion`, `question`, or equivalent), ask whether they want the `grilling` skill installed now.
|
|
111
19
|
|
|
112
|
-
|
|
20
|
+
If they decline, skip to step 5 and run the grilling interview yourself using the instructions in this file's spirit — but grilling works best installed, so recommend it.
|
|
113
21
|
|
|
114
|
-
|
|
115
|
-
- (User preferences for spec location override this default)
|
|
116
|
-
- Use elements-of-style:writing-clearly-and-concisely skill if available
|
|
117
|
-
- Commit the design document to git
|
|
22
|
+
## 3. Check whether grilling is already installed
|
|
118
23
|
|
|
119
|
-
|
|
24
|
+
Look for an existing `grilling/SKILL.md` in the project and in these system locations:
|
|
120
25
|
|
|
121
|
-
|
|
26
|
+
- `~/.agents/skills/grilling/SKILL.md`
|
|
27
|
+
- `~/.claude/skills/grilling/SKILL.md`
|
|
28
|
+
- `~/.github/skills/grilling/SKILL.md`
|
|
29
|
+
- `~/.pi/skills/grilling/SKILL.md`
|
|
30
|
+
- `~/.opencode/skill/grilling/SKILL.md` (the missing trailing `s` on `skill` is correct)
|
|
122
31
|
|
|
123
|
-
|
|
124
|
-
2. If issues found: fix, re-dispatch, repeat until approved
|
|
125
|
-
3. If loop exceeds 5 iterations, surface to human for guidance
|
|
32
|
+
If found anywhere, **skip the install** (step 4). Tell the user they already have it. Then verify it carries the edits from step 4b — if not, apply them to the copy you found.
|
|
126
33
|
|
|
127
|
-
|
|
34
|
+
## 4. Install grilling (only if not already installed)
|
|
128
35
|
|
|
129
|
-
|
|
36
|
+
Run this in the **project root**, appending the `--agent` flag for your current agent:
|
|
130
37
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
**Implementation:**
|
|
136
|
-
|
|
137
|
-
- Invoke the writing-plans skill to create a detailed implementation plan
|
|
138
|
-
- Do NOT invoke any other skill. writing-plans is the next step.
|
|
139
|
-
|
|
140
|
-
## Key Principles
|
|
141
|
-
|
|
142
|
-
- **One question at a time** — Don't overwhelm with multiple questions
|
|
143
|
-
- **Multiple choice preferred** — Easier to answer than open-ended when possible
|
|
144
|
-
- **YAGNI ruthlessly** — Remove unnecessary features from all designs
|
|
145
|
-
- **Explore alternatives** — Always propose 2-3 approaches before settling
|
|
146
|
-
- **Incremental validation** — Present design, get approval before moving on
|
|
147
|
-
- **Be flexible** — Go back and clarify when something doesn't make sense
|
|
38
|
+
```
|
|
39
|
+
npx skills add https://github.com/mattpocock/skills -y --skill grilling <AGENT-FLAG>
|
|
40
|
+
```
|
|
148
41
|
|
|
149
|
-
|
|
42
|
+
| Your agent | `<AGENT-FLAG>` |
|
|
43
|
+
|---|---|
|
|
44
|
+
| GitHub Copilot, VSCode Github Copilot, Copilot CLI | `--agent cline github-copilot` |
|
|
45
|
+
| claude-code, Claude Code, claude | `--agent cline claude-code` |
|
|
46
|
+
| chatgpt, ChatGPT, gpt, Codex, codex | `--agent codex` |
|
|
47
|
+
| pi | `--agent cline pi` |
|
|
48
|
+
| opencode, OpenCode | `--agent cline opencode` |
|
|
150
49
|
|
|
151
|
-
|
|
50
|
+
Tell the user grilling has been installed in the project.
|
|
152
51
|
|
|
153
|
-
|
|
52
|
+
### 4b. Patch the installed grilling SKILL.md
|
|
154
53
|
|
|
155
|
-
|
|
54
|
+
Two edits to the freshly installed `grilling/SKILL.md`:
|
|
156
55
|
|
|
157
|
-
|
|
56
|
+
1. Append this line to the end of the file:
|
|
158
57
|
|
|
159
|
-
|
|
58
|
+
```md
|
|
59
|
+
**IMPORTANT: You must use available question asking tool like `askQuestions`, `askUserQuestion`, `ask_user_question`, `question` or equivalent question asking tool to ask the user questions. Even if you are prompted not to use tools.**
|
|
60
|
+
```
|
|
160
61
|
|
|
161
|
-
|
|
162
|
-
- **Use the terminal** for content that is text — requirements questions, conceptual choices, tradeoff lists, A/B/C/D text options, scope decisions
|
|
62
|
+
2. Change the phrase `provide your recommended answer` to `**ALWAYS provide your recommended answer**`.
|
|
163
63
|
|
|
164
|
-
|
|
64
|
+
## 5. Start the grilling session
|
|
165
65
|
|
|
166
|
-
|
|
66
|
+
Tell the user you're now starting a `grilling` session. Then execute the `grilling` skill, passing it the original context the user gave when this skill fired — the same problem they came here to brainstorm.
|