@complexthings/superpowers-agent 8.1.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/docs/SUPERPOWERS.md +108 -0
- package/.agents/prompts/001-copilot-tool-mapping-do/001-copilot-tool-mapping-do.md +116 -0
- package/.agents/prompts/001-copilot-tool-mapping-do/SUMMARY.md +72 -0
- package/.agents/prompts/001-copilot-tool-mapping-do/copilot-tool-mapping-do-output.md +83 -0
- package/.agents/prompts/001-release-management-do/001-release-management-do.md +161 -0
- package/.agents/prompts/001-release-management-do/SUMMARY.md +19 -0
- package/.agents/prompts/001-release-management-do/completed/001-release-management-do.md +161 -0
- package/.agents/prompts/002-pull-command-do/SUMMARY.md +28 -0
- package/.agents/prompts/002-pull-command-do/completed/002-pull-command-do.md +122 -0
- package/.agents/prompts/002-pull-command-do/pull-command-do-output.md +174 -0
- package/.agents/prompts/command_updates_prompt.md +69 -0
- package/.agents/prompts/current_prompt.md +8 -0
- package/.agents/prompts/refactor.prompt.md +57 -0
- package/.agents/skills/.gitkeep +0 -0
- package/.agents/superpowers-agent +355 -0
- package/.agents/superpowers-bootstrap.md +42 -0
- package/.agents/templates/AGENTS.md.template +40 -0
- package/.agents/templates/SUPERPOWERS.md.template +108 -0
- package/.agents/templates/TOOLS.md.template +15 -0
- package/.github/workflows/main.yaml +32 -0
- package/AGENTS.md +60 -0
- package/LICENSE +21 -0
- package/README.md +724 -0
- package/hooks/hooks.json +15 -0
- package/hooks/session-start.sh +27 -0
- package/package.json +51 -0
- package/skills/architecture/ABOUT.md +20 -0
- package/skills/architecture/preserving-productive-tensions/SKILL.md +146 -0
- package/skills/architecture/preserving-productive-tensions/skill.json +9 -0
- package/skills/collaboration/brainstorming/SKILL.md +166 -0
- package/skills/collaboration/brainstorming/skill.json +9 -0
- package/skills/collaboration/brainstorming/spec-document-reviewer-prompt.md +50 -0
- package/skills/collaboration/brainstorming/visual-companion.md +277 -0
- package/skills/collaboration/dispatching-parallel-agents/SKILL.md +174 -0
- package/skills/collaboration/dispatching-parallel-agents/skill.json +9 -0
- package/skills/collaboration/executing-plans/SKILL.md +130 -0
- package/skills/collaboration/executing-plans/skill.json +9 -0
- package/skills/collaboration/finishing-a-development-branch/SKILL.md +261 -0
- package/skills/collaboration/finishing-a-development-branch/skill.json +9 -0
- package/skills/collaboration/leveraging-cli-tools/SKILL.md +132 -0
- package/skills/collaboration/leveraging-cli-tools/skill.json +9 -0
- package/skills/collaboration/receiving-code-review/SKILL.md +233 -0
- package/skills/collaboration/receiving-code-review/skill.json +9 -0
- package/skills/collaboration/requesting-code-review/SKILL.md +110 -0
- package/skills/collaboration/requesting-code-review/code-reviewer.md +146 -0
- package/skills/collaboration/requesting-code-review/skill.json +12 -0
- package/skills/collaboration/subagent-driven-development/SKILL.md +255 -0
- package/skills/collaboration/subagent-driven-development/code-quality-reviewer-prompt.md +26 -0
- package/skills/collaboration/subagent-driven-development/implementer-prompt.md +113 -0
- package/skills/collaboration/subagent-driven-development/skill.json +15 -0
- package/skills/collaboration/subagent-driven-development/spec-reviewer-prompt.md +61 -0
- package/skills/collaboration/using-git-worktrees/SKILL.md +366 -0
- package/skills/collaboration/using-git-worktrees/skill.json +9 -0
- package/skills/collaboration/writing-plans/SKILL.md +121 -0
- package/skills/collaboration/writing-plans/plan-document-reviewer-prompt.md +52 -0
- package/skills/collaboration/writing-plans/skill.json +9 -0
- package/skills/debugging/defense-in-depth/SKILL.md +380 -0
- package/skills/debugging/defense-in-depth/skill.json +9 -0
- package/skills/debugging/root-cause-tracing/SKILL.md +361 -0
- package/skills/debugging/root-cause-tracing/find-polluter.sh +63 -0
- package/skills/debugging/root-cause-tracing/skill.json +12 -0
- package/skills/debugging/systematic-debugging/SKILL.md +299 -0
- package/skills/debugging/systematic-debugging/condition-based-waiting-example.ts +158 -0
- package/skills/debugging/systematic-debugging/condition-based-waiting.md +115 -0
- package/skills/debugging/systematic-debugging/defense-in-depth.md +122 -0
- package/skills/debugging/systematic-debugging/find-polluter.sh +63 -0
- package/skills/debugging/systematic-debugging/root-cause-tracing.md +169 -0
- package/skills/debugging/systematic-debugging/skill.json +9 -0
- package/skills/debugging/systematic-debugging/test-academic.md +14 -0
- package/skills/debugging/systematic-debugging/test-pressure-1.md +58 -0
- package/skills/debugging/systematic-debugging/test-pressure-2.md +68 -0
- package/skills/debugging/systematic-debugging/test-pressure-3.md +69 -0
- package/skills/debugging/verification-before-completion/SKILL.md +143 -0
- package/skills/debugging/verification-before-completion/skill.json +9 -0
- package/skills/finding-skills/SKILL.md +101 -0
- package/skills/finding-skills/skill.json +8 -0
- package/skills/meta/create-skill-json/SKILL.md +370 -0
- package/skills/meta/create-skill-json/skill.json +9 -0
- package/skills/meta/create-skill-json/test-scenarios.md +29 -0
- package/skills/meta/creating-prompts/SKILL.md +349 -0
- package/skills/meta/creating-prompts/examples/do-example.md +65 -0
- package/skills/meta/creating-prompts/examples/plan-example.md +75 -0
- package/skills/meta/creating-prompts/examples/refine-example.md +65 -0
- package/skills/meta/creating-prompts/examples/research-example.md +63 -0
- package/skills/meta/creating-prompts/scripts/get-next-number.sh +27 -0
- package/skills/meta/creating-prompts/skill.json +20 -0
- package/skills/meta/creating-prompts/templates/do-template.md +59 -0
- package/skills/meta/creating-prompts/templates/plan-template.md +58 -0
- package/skills/meta/creating-prompts/templates/refine-template.md +54 -0
- package/skills/meta/creating-prompts/templates/research-template.md +56 -0
- package/skills/meta/using-superpowers/SKILL.md +122 -0
- package/skills/meta/using-superpowers/skill.json +5 -0
- package/skills/meta/writing-prompts/SKILL.md +345 -0
- package/skills/meta/writing-prompts/skill.json +9 -0
- package/skills/problem-solving/ABOUT.md +40 -0
- package/skills/problem-solving/collision-zone-thinking/SKILL.md +188 -0
- package/skills/problem-solving/collision-zone-thinking/references/historical-examples.md +393 -0
- package/skills/problem-solving/collision-zone-thinking/skill.json +9 -0
- package/skills/problem-solving/inversion-exercise/SKILL.md +174 -0
- package/skills/problem-solving/inversion-exercise/skill.json +9 -0
- package/skills/problem-solving/meta-pattern-recognition/SKILL.md +116 -0
- package/skills/problem-solving/meta-pattern-recognition/skill.json +9 -0
- package/skills/problem-solving/scale-game/SKILL.md +222 -0
- package/skills/problem-solving/scale-game/skill.json +9 -0
- package/skills/problem-solving/simplification-cascades/SKILL.md +113 -0
- package/skills/problem-solving/simplification-cascades/skill.json +9 -0
- package/skills/problem-solving/when-stuck/SKILL.md +69 -0
- package/skills/problem-solving/when-stuck/skill.json +9 -0
- package/skills/research/ABOUT.md +20 -0
- package/skills/research/tracing-knowledge-lineages/SKILL.md +241 -0
- package/skills/research/tracing-knowledge-lineages/skill.json +9 -0
- package/skills/setup-skills/SKILL.md +47 -0
- package/skills/testing/condition-based-waiting/SKILL.md +359 -0
- package/skills/testing/condition-based-waiting/example.ts +158 -0
- package/skills/testing/condition-based-waiting/skill.json +12 -0
- package/skills/testing/test-driven-development/SKILL.md +434 -0
- package/skills/testing/test-driven-development/skill.json +9 -0
- package/skills/testing/testing-anti-patterns/SKILL.md +298 -0
- package/skills/testing/testing-anti-patterns/skill.json +9 -0
- package/skills/testing/verification-before-completion/SKILL.md +246 -0
- package/skills/testing/verification-before-completion/skill.json +10 -0
- package/skills/using-a-skill/SKILL.md +101 -0
- package/skills/using-a-skill/skill.json +8 -0
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
# SUPERPOWERS Reference Guide
|
|
2
|
+
|
|
3
|
+
> This is detailed reference documentation for the superpowers-agent system.
|
|
4
|
+
> Load this file only when you need specific information not covered in AGENTS.md.
|
|
5
|
+
|
|
6
|
+
**Current Version:** ^^SAV:{{VERSION}}^^
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## Installation
|
|
11
|
+
|
|
12
|
+
If `superpowers-agent` is not available, install it:
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npm install -g @complexthings/superpowers-agent
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## Version Detection Details
|
|
21
|
+
|
|
22
|
+
When superpowers-agent runs, it displays its version as `^^SAV:X.Y.Z^^` in output.
|
|
23
|
+
|
|
24
|
+
**How to check for updates:**
|
|
25
|
+
1. Note the bootstrapped version in AGENTS.md: `^^SAV:{{VERSION}}^^`
|
|
26
|
+
2. Compare with version shown when running superpowers-agent commands
|
|
27
|
+
3. If versions differ, inform user:
|
|
28
|
+
```
|
|
29
|
+
Your superpowers-agent may have updates. Run:
|
|
30
|
+
superpowers-agent update && superpowers-agent bootstrap && superpowers-agent setup-skills
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
**When to check:**
|
|
34
|
+
- At conversation start
|
|
35
|
+
- When commands behave unexpectedly
|
|
36
|
+
- When user asks about updates or capabilities
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## Skill Locations
|
|
41
|
+
|
|
42
|
+
### Project Skills (highest priority)
|
|
43
|
+
- `.agents/skills/`
|
|
44
|
+
- `.claude/skills/`
|
|
45
|
+
- `.copilot/skills/`
|
|
46
|
+
- `.opencode/skill/`
|
|
47
|
+
- `.cursor/skills/`
|
|
48
|
+
- `.gemini/skills/`
|
|
49
|
+
- `.codex/skills/`
|
|
50
|
+
|
|
51
|
+
### Personal Skills
|
|
52
|
+
- `~/.agents/skills/`
|
|
53
|
+
- `~/.claude/skills/`
|
|
54
|
+
- `~/.copilot/skills/`
|
|
55
|
+
- `~/.config/opencode/skill/`
|
|
56
|
+
- `~/.cursor/skills/`
|
|
57
|
+
- `~/.gemini/skills/`
|
|
58
|
+
- `~/.codex/skills/`
|
|
59
|
+
|
|
60
|
+
### Superpowers Skills
|
|
61
|
+
- `~/.agents/superpowers/skills/`
|
|
62
|
+
|
|
63
|
+
**Priority:** Project > Personal > Superpowers (when names match)
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## Skill Naming Conventions
|
|
68
|
+
|
|
69
|
+
| Prefix | Source |
|
|
70
|
+
|--------|--------|
|
|
71
|
+
| `skill-name` | Project skills |
|
|
72
|
+
| `claude:skill-name` | Claude skills |
|
|
73
|
+
| `copilot:skill-name` | Copilot skills |
|
|
74
|
+
| `opencode:skill-name` | OpenCode skills |
|
|
75
|
+
| `cursor:skill-name` | Cursor skills |
|
|
76
|
+
| `gemini:skill-name` | Gemini skills |
|
|
77
|
+
| `codex:skill-name` | Codex skills |
|
|
78
|
+
| `superpowers:skill-name` | Superpowers skills |
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
## Creating New Skills
|
|
83
|
+
|
|
84
|
+
1. Use the `brainstorming` skill to plan the skill
|
|
85
|
+
2. Use the `writing-skills` skill to create it
|
|
86
|
+
3. Test with `testing-skills-with-subagents`
|
|
87
|
+
4. Save to `.agents/skills/` (project) or `~/.agents/superpowers/skills/` (global)
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
## Skills with Checklists
|
|
92
|
+
|
|
93
|
+
If a skill has a checklist, create todos for EACH item. Mental tracking = steps get skipped.
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
## Common Mistakes to Avoid
|
|
98
|
+
|
|
99
|
+
Reject these rationalizations:
|
|
100
|
+
|
|
101
|
+
- "I'll read all the skills upfront to understand them" -> Load JIT only
|
|
102
|
+
- "This is too simple for a skill" -> Simple tasks benefit most from proven process
|
|
103
|
+
- "I already know how to do this" -> Skills encode edge cases you'll miss
|
|
104
|
+
- "I'll just skim the skill" -> Follow instructions exactly as written
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
*Generated by Superpowers on {{DATE}}*
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
### Using Tools with Skills
|
|
2
|
+
|
|
3
|
+
**1. Native Skill Tool:** Use your platform's native skill tool for loading skills.
|
|
4
|
+
|
|
5
|
+
**2. Symlinked Skills:** Superpowers skills are symlinked to your platform's skills directory.
|
|
6
|
+
|
|
7
|
+
**3. Fallback:** If a skill isn't found via native tool, use `superpowers-agent find-skills [PATTERN]`
|
|
8
|
+
|
|
9
|
+
**4. Tool Equivalence:** When skills reference tools you don't have, use your equivalent:
|
|
10
|
+
- File operations -> your Read/Write/Edit tools
|
|
11
|
+
- Terminal commands -> your Bash/Shell tool
|
|
12
|
+
- Search operations -> your Grep/Glob/Search tools
|
|
13
|
+
- Task management -> your TodoWrite/TodoRead tools
|
|
14
|
+
- Subagent dispatch -> your Task/Agent tool (or execute the work yourself)
|
|
15
|
+
- Web fetching -> your WebFetch/Fetch tool
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
name: "Publish Package"
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
publish:
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
permissions:
|
|
10
|
+
contents: read
|
|
11
|
+
strategy:
|
|
12
|
+
matrix:
|
|
13
|
+
node-version: [24]
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v6
|
|
16
|
+
with:
|
|
17
|
+
fetch-depth: 0
|
|
18
|
+
|
|
19
|
+
- name: Use Node.js ${{ matrix.node-version }}
|
|
20
|
+
uses: actions/setup-node@v6.3.0
|
|
21
|
+
with:
|
|
22
|
+
node-version: ${{ matrix.node-version }}
|
|
23
|
+
registry-url: "https://registry.npmjs.org"
|
|
24
|
+
scope: "@complexthings"
|
|
25
|
+
|
|
26
|
+
- name: Install dependencies
|
|
27
|
+
run: npm ci
|
|
28
|
+
|
|
29
|
+
- name: Publish to npm
|
|
30
|
+
env:
|
|
31
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
32
|
+
run: npm publish --access public
|
package/AGENTS.md
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# AGENTS.md
|
|
2
|
+
|
|
3
|
+
<!-- SUPERPOWERS_SKILLS_START -->
|
|
4
|
+
## 🎯 SKILLS
|
|
5
|
+
|
|
6
|
+
Skills extend your capabilities with proven workflows.
|
|
7
|
+
|
|
8
|
+
### Discover Skills First
|
|
9
|
+
|
|
10
|
+
**Before starting any task**, check for relevant skills:
|
|
11
|
+
1. Use your native skill tool to list available skills
|
|
12
|
+
2. Review skill frontmatter/descriptions to identify relevant ones
|
|
13
|
+
3. `superpowers-agent find-skills [PATTERN]` for superpowers skills
|
|
14
|
+
|
|
15
|
+
### Load Just-In-Time
|
|
16
|
+
|
|
17
|
+
Only read the full skill content when you're ready to execute it:
|
|
18
|
+
1. **Load fully** when about to use (not before)
|
|
19
|
+
2. **Follow exactly** as written
|
|
20
|
+
3. **Announce:** "Using Skill: {Name} to {Purpose}"
|
|
21
|
+
|
|
22
|
+
### Using Tools with Skills
|
|
23
|
+
|
|
24
|
+
**1. Native Skill Tool:** Use your platform's native skill tool for loading skills.
|
|
25
|
+
|
|
26
|
+
**2. Symlinked Skills:** Superpowers skills are symlinked to your platform's skills directory.
|
|
27
|
+
|
|
28
|
+
**3. Fallback:** If a skill isn't found via native tool, use `superpowers-agent find-skills [PATTERN]`
|
|
29
|
+
|
|
30
|
+
**4. Tool Equivalence:** When skills reference tools you don't have, use your equivalent:
|
|
31
|
+
- File operations -> your Read/Write/Edit tools
|
|
32
|
+
- Terminal commands -> your Bash/Shell tool
|
|
33
|
+
- Search operations -> your Grep/Glob/Search tools
|
|
34
|
+
- Task management -> your TodoWrite/TodoRead tools
|
|
35
|
+
- Subagent dispatch -> your Task/Agent tool (or execute the work yourself)
|
|
36
|
+
- Web fetching -> your WebFetch/Fetch tool
|
|
37
|
+
|
|
38
|
+
### Version Monitoring
|
|
39
|
+
|
|
40
|
+
**Bootstrapped:** ^^SAV:7.1.2^^
|
|
41
|
+
|
|
42
|
+
If superpowers-agent commands show a different version, inform user:
|
|
43
|
+
```
|
|
44
|
+
superpowers-agent update && superpowers-agent bootstrap && superpowers-agent setup-skills
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### Why Skills Matter
|
|
48
|
+
|
|
49
|
+
Skills encode proven techniques that prevent mistakes. Not using them means repeating solved problems and missing edge cases.
|
|
50
|
+
|
|
51
|
+
**If a skill exists for your task, you MUST use it.**
|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
**Detailed reference for `superpowers-agent` if needed by agents:** `.agents/docs/SUPERPOWERS.md`
|
|
56
|
+
|
|
57
|
+
*Generated by Superpowers on 2026-03-13*
|
|
58
|
+
|
|
59
|
+
<!-- SUPERPOWERS_SKILLS_END -->
|
|
60
|
+
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Jesse Vincent
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|