@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
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
You have superpowers. Superpowers teach you new skills and capabilities.
|
|
5
5
|
|
|
6
6
|
**Tool for running skills:**
|
|
7
|
-
-
|
|
7
|
+
- Use your platform's native skill tool, or read the skill's `SKILL.md` directly.
|
|
8
8
|
|
|
9
9
|
**Platform-specific tool mappings:**
|
|
10
10
|
Tool mappings for your detected platforms are automatically included in your platform-specific configuration files:
|
|
@@ -26,8 +26,8 @@ Project skills override Claude skills, which override personal skills, which ove
|
|
|
26
26
|
|
|
27
27
|
**Critical Rules:**
|
|
28
28
|
- Before ANY task, review the skills list (shown at bootstrap)
|
|
29
|
-
- If a relevant skill exists, you MUST
|
|
30
|
-
- YOU MUST USE YOUR `Read` TOOL TO READ THE SKILL FILE
|
|
29
|
+
- If a relevant skill exists, you MUST load it with your platform's native skill tool and follow its instructions.
|
|
30
|
+
- YOU MUST USE YOUR `Read` TOOL TO READ THE SKILL FILE. YOU MUST NOT `cat` or print it to yourself.
|
|
31
31
|
- Announce: "I've read the [Skill Name] skill and I'm using it to [purpose]"
|
|
32
32
|
- Skills with checklists require `manage_todo_list` todos for each item (or manual tracking if unavailable)
|
|
33
33
|
- NEVER skip mandatory workflows (brainstorming before coding, TDD, systematic debugging)
|
|
@@ -1,50 +1,27 @@
|
|
|
1
1
|
## 🎯 SKILLS
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[superpowers-agent Docs](.agents/docs/SUPERPOWERS.md)
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
### Skill Loading Rules
|
|
12
|
-
|
|
13
|
-
- Load skills **JIT only** — never preload to "understand" them.
|
|
14
|
-
- Follow skill instructions **exactly as written** — no skimming, no shortcuts.
|
|
15
|
-
- If a skill has a checklist, create a todo for **each item** — no mental tracking.
|
|
16
|
-
- Simple tasks benefit from skills as much as complex ones.
|
|
17
|
-
|
|
18
|
-
**Skill priority (highest to lowest):** Project → Personal
|
|
19
|
-
|
|
20
|
-
### Using Tools with Skills
|
|
21
|
-
|
|
22
|
-
1. **Native skill tool** — load skills via your platform's native skill tool.
|
|
23
|
-
2. **Symlinked skills** — Superpowers skills are symlinked into your platform's skills directory.
|
|
24
|
-
3. **Fallback** — if a skill isn't found via the native tool, run `superpowers-agent find-skills [PATTERN]`.
|
|
25
|
-
4. **Tool equivalence** — when a skill references a tool you don't have, substitute your equivalent.
|
|
26
|
-
|
|
27
|
-
### Why Skills Matter
|
|
28
|
-
|
|
29
|
-
Skills encode proven techniques that prevent mistakes. Not using them means repeating solved problems and missing edge cases.
|
|
30
|
-
|
|
31
|
-
**If a skill exists for your task, you MUST use it.**
|
|
5
|
+
- Skills encode proven techniques that prevent mistakes.
|
|
6
|
+
- Not using them means repeating solved problems and missing edge cases.
|
|
7
|
+
- If a skill exists for your task, you MUST use it.
|
|
8
|
+
- **Before starting any task**, check for relevant skills, use your native skill tool to do so.
|
|
9
|
+
- Review skill descriptions/frontmatter to identify relevant ones.
|
|
10
|
+
— when a skill references a tool you don't have, substitute your equivalent.
|
|
32
11
|
|
|
33
12
|
---
|
|
34
13
|
|
|
35
14
|
## Version Check
|
|
36
15
|
|
|
37
|
-
|
|
38
|
-
1. **CURRENT_VERSION** — run
|
|
16
|
+
Once per day, check for updates:
|
|
17
|
+
1. **CURRENT_VERSION** — run any `superpowers-agent` command, extract `X.Y.Z` from `^^SAV:X.Y.Z^^` in the output.
|
|
39
18
|
2. **NPM_LATEST_VERSION** — run `npm view @complexthings/superpowers-agent version`.
|
|
40
|
-
3. Compare by
|
|
19
|
+
3. Compare by semver, not string order (`9.10.0` > `9.9.0`). If newer, tell the user — don't run these yourself:
|
|
41
20
|
> Your superpowers-agent has updates (`CURRENT_VERSION` → `NPM_LATEST_VERSION`). Run:
|
|
42
21
|
> ```sh
|
|
43
22
|
> npm install -g @complexthings/superpowers-agent
|
|
44
23
|
> superpowers-agent update && superpowers-agent bootstrap && superpowers-agent setup-skills
|
|
45
24
|
> ```
|
|
46
|
-
|
|
25
|
+
Match, or a lookup fails → stay silent.
|
|
47
26
|
|
|
48
27
|
---
|
|
49
|
-
|
|
50
|
-
*Generated by Superpowers on {{DATE}}*
|
|
@@ -14,16 +14,16 @@ If `superpowers-agent` is not available, install it: `npm install -g @complexthi
|
|
|
14
14
|
|
|
15
15
|
## Version Check
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
1. **CURRENT_VERSION** — run
|
|
17
|
+
Once per day, check for updates:
|
|
18
|
+
1. **CURRENT_VERSION** — run `superpowers-agent version`, extract `X.Y.Z` from the output.
|
|
19
19
|
2. **NPM_LATEST_VERSION** — run `npm view @complexthings/superpowers-agent version`.
|
|
20
|
-
3. Compare by
|
|
20
|
+
3. Compare by semver, not string order (`9.10.0` > `9.9.0`). If newer, tell the user — don't run these yourself:
|
|
21
21
|
> Your superpowers-agent has updates (`CURRENT_VERSION` → `NPM_LATEST_VERSION`). Run:
|
|
22
22
|
> ```sh
|
|
23
23
|
> npm install -g @complexthings/superpowers-agent
|
|
24
24
|
> superpowers-agent update && superpowers-agent bootstrap && superpowers-agent setup-skills
|
|
25
25
|
> ```
|
|
26
|
-
|
|
26
|
+
Match, or a lookup fails → stay silent.
|
|
27
27
|
|
|
28
28
|
---
|
|
29
29
|
|
|
@@ -1,3 +1,35 @@
|
|
|
1
1
|
<!-- SUPERPOWERS_-_INSTRUCTIONS_START -->
|
|
2
|
-
|
|
2
|
+
# Superpowers Skills
|
|
3
|
+
|
|
4
|
+
[superpowers-agent Docs](../.agents/docs/SUPERPOWERS.md)
|
|
5
|
+
|
|
6
|
+
Use your platform's native skill tool to discover and load installed skills relevant to the task. If no native tool is available, inspect the configured skill directories and read the needed `SKILL.md` file.
|
|
3
7
|
<!-- SUPERPOWERS_-_INSTRUCTIONS_END -->
|
|
8
|
+
|
|
9
|
+
<!-- rtk-instructions v2 -->
|
|
10
|
+
# RTK — Token-Optimized CLI
|
|
11
|
+
|
|
12
|
+
**rtk** is a CLI proxy that filters and compresses command outputs, saving 60-90% tokens.
|
|
13
|
+
|
|
14
|
+
## Rule
|
|
15
|
+
|
|
16
|
+
Always prefix shell commands with `rtk`:
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
# Instead of: Use:
|
|
20
|
+
git status rtk git status
|
|
21
|
+
git log -10 rtk git log -10
|
|
22
|
+
cargo test rtk cargo test
|
|
23
|
+
docker ps rtk docker ps
|
|
24
|
+
kubectl get pods rtk kubectl pods
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Meta commands (use directly)
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
rtk gain # Token savings dashboard
|
|
31
|
+
rtk gain --history # Per-command savings history
|
|
32
|
+
rtk discover # Find missed rtk opportunities
|
|
33
|
+
rtk proxy <cmd> # Run raw (no filtering) but track usage
|
|
34
|
+
```
|
|
35
|
+
<!-- /rtk-instructions -->
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"hooks": {
|
|
4
|
+
"PreToolUse": [
|
|
5
|
+
{
|
|
6
|
+
"type": "command",
|
|
7
|
+
"command": "rtk hook copilot",
|
|
8
|
+
"cwd": ".",
|
|
9
|
+
"timeout": 5
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"preToolUse": [
|
|
13
|
+
{
|
|
14
|
+
"type": "command",
|
|
15
|
+
"bash": "rtk hook copilot",
|
|
16
|
+
"powershell": "rtk hook copilot",
|
|
17
|
+
"cwd": ".",
|
|
18
|
+
"timeoutSec": 5
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
}
|
package/AGENTS.md
CHANGED
|
@@ -8,41 +8,24 @@ Skills extend your capabilities with proven workflows.
|
|
|
8
8
|
### Discover Skills First
|
|
9
9
|
|
|
10
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
|
|
13
|
-
3. `superpowers-agent find-skills [PATTERN]` for superpowers skills
|
|
11
|
+
1. Use your native skill tool to list available skills.
|
|
12
|
+
2. Review skill descriptions/frontmatter to identify relevant ones.
|
|
14
13
|
|
|
15
|
-
###
|
|
14
|
+
### Skill Loading Rules
|
|
16
15
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
- Load skills **JIT only** — never preload to "understand" them.
|
|
17
|
+
- Follow skill instructions **exactly as written** — no skimming, no shortcuts.
|
|
18
|
+
- If a skill has a checklist, create a todo for **each item** — no mental tracking.
|
|
19
|
+
- Simple tasks benefit from skills as much as complex ones.
|
|
21
20
|
|
|
22
|
-
|
|
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
|
|
21
|
+
**Skill priority (highest to lowest):** Project → Personal
|
|
39
22
|
|
|
40
|
-
|
|
23
|
+
### Using Tools with Skills
|
|
41
24
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
25
|
+
1. **Native skill tool** — load skills via your platform's native skill tool.
|
|
26
|
+
2. **Symlinked skills** — Superpowers skills are symlinked into your platform's skills directory.
|
|
27
|
+
3. **Fallback** — if a skill isn't found via the native tool, inspect the configured skill directories and read its `SKILL.md` directly.
|
|
28
|
+
4. **Tool equivalence** — when a skill references a tool you don't have, substitute your equivalent.
|
|
46
29
|
|
|
47
30
|
### Why Skills Matter
|
|
48
31
|
|
|
@@ -52,10 +35,22 @@ Skills encode proven techniques that prevent mistakes. Not using them means repe
|
|
|
52
35
|
|
|
53
36
|
---
|
|
54
37
|
|
|
55
|
-
|
|
38
|
+
## Version Check
|
|
56
39
|
|
|
57
|
-
|
|
40
|
+
Periodically, e.g. once per day check the version of superpowers-agent:
|
|
41
|
+
1. **CURRENT_VERSION** — run a `superpowers-agent` command and extract `X.Y.Z` from the `^^SAV:X.Y.Z^^` string in its output.
|
|
42
|
+
2. **NPM_LATEST_VERSION** — run `npm view @complexthings/superpowers-agent version`.
|
|
43
|
+
3. Compare by **semver precedence, not string comparison** (e.g. `9.10.0` > `9.9.0`). If NPM_LATEST_VERSION is newer, tell the user — do not run these yourself:
|
|
44
|
+
> Your superpowers-agent has updates (`CURRENT_VERSION` → `NPM_LATEST_VERSION`). Run:
|
|
45
|
+
> ```sh
|
|
46
|
+
> npm install -g @complexthings/superpowers-agent
|
|
47
|
+
> superpowers-agent update && superpowers-agent bootstrap && superpowers-agent setup-skills
|
|
48
|
+
> ```
|
|
49
|
+
If versions match, or either lookup fails (e.g. no network), continue silently.
|
|
58
50
|
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
*Generated by Superpowers on 2026-07-12*
|
|
59
54
|
<!-- SUPERPOWERS_SKILLS_END -->
|
|
60
55
|
|
|
61
56
|
## What This Project Is
|
|
@@ -81,7 +76,7 @@ The CLI has **no runtime dependencies** (pure Node.js/Bun built-ins). The only d
|
|
|
81
76
|
|
|
82
77
|
## Testing
|
|
83
78
|
|
|
84
|
-
|
|
79
|
+
Run the automated test suite from `.agents` with `bun test`. There is no root-level test script; run CLI commands directly for manual acceptance checks.
|
|
85
80
|
|
|
86
81
|
## Architecture
|
|
87
82
|
|
|
@@ -109,15 +104,14 @@ From `.agents/src/cli.js` dispatch table:
|
|
|
109
104
|
|
|
110
105
|
- **Core:** `bootstrap [--no-update] [--force]`, `version`, `check-updates`, `update [--no-reinstall]`
|
|
111
106
|
- **Config:** `config-get`, `config-set <key> <value>`
|
|
112
|
-
- **Skills:** `setup-skills`, `
|
|
107
|
+
- **Skills:** `setup-skills`, `session-context [--format=claude|copilot|raw]`
|
|
113
108
|
- **Install/manage skills:** `add <url-or-path|@alias> [path]`, `add-repository <git-url> [--as=@alias]`, `list-repositories`, `pull <url-or-path|@alias>`, `rm <url-or-path|@alias>`
|
|
114
109
|
- **Integrations:** `install-cursor-hooks`, `install-aliases`
|
|
115
110
|
|
|
116
111
|
### Key Flows
|
|
117
112
|
|
|
118
113
|
- **`bootstrap`** → detects installed AI platforms → symlinks skills into each platform's skills dir → writes platform config files
|
|
119
|
-
-
|
|
120
|
-
- **`execute <skill-name>`** → locates skill → outputs SKILL.md content for the agent to follow
|
|
114
|
+
- **Native skill tools** → discover and load skills from their configured directories
|
|
121
115
|
- **`add <url-or-path|@alias>`** → clones a git repo or copies a local path → installs skills into `~/.agents/superpowers/skills/`
|
|
122
116
|
- **`update`** → checks the npm registry for a newer version → reports if an update is available
|
|
123
117
|
|
|
@@ -155,3 +149,5 @@ The five canonical triage roles use their default label strings (`needs-triage`,
|
|
|
155
149
|
### Domain docs
|
|
156
150
|
|
|
157
151
|
Single-context layout — one `CONTEXT.md` + `docs/adr/` at the repo root (created lazily). See `docs/agents/domain.md`.
|
|
152
|
+
|
|
153
|
+
@RTK.md
|