agy-superpowers 5.0.5
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/LICENSE +21 -0
- package/README.md +180 -0
- package/bin/init.js +58 -0
- package/package.json +36 -0
- package/template/agent/.shared/update-superpowers.sh +171 -0
- package/template/agent/agents/code-reviewer.md +48 -0
- package/template/agent/rules/superpowers.md +52 -0
- package/template/agent/skills/brainstorming/SKILL.md +164 -0
- package/template/agent/skills/brainstorming/scripts/frame-template.html +214 -0
- package/template/agent/skills/brainstorming/scripts/helper.js +88 -0
- package/template/agent/skills/brainstorming/scripts/server.cjs +338 -0
- package/template/agent/skills/brainstorming/scripts/start-server.sh +153 -0
- package/template/agent/skills/brainstorming/scripts/stop-server.sh +55 -0
- package/template/agent/skills/brainstorming/spec-document-reviewer-prompt.md +49 -0
- package/template/agent/skills/brainstorming/visual-companion.md +286 -0
- package/template/agent/skills/dispatching-parallel-agents/SKILL.md +182 -0
- package/template/agent/skills/executing-plans/SKILL.md +70 -0
- package/template/agent/skills/finishing-a-development-branch/SKILL.md +200 -0
- package/template/agent/skills/receiving-code-review/SKILL.md +213 -0
- package/template/agent/skills/requesting-code-review/SKILL.md +105 -0
- package/template/agent/skills/requesting-code-review/code-reviewer.md +146 -0
- package/template/agent/skills/subagent-driven-development/SKILL.md +277 -0
- package/template/agent/skills/subagent-driven-development/code-quality-reviewer-prompt.md +26 -0
- package/template/agent/skills/subagent-driven-development/implementer-prompt.md +113 -0
- package/template/agent/skills/subagent-driven-development/spec-reviewer-prompt.md +61 -0
- package/template/agent/skills/systematic-debugging/CREATION-LOG.md +119 -0
- package/template/agent/skills/systematic-debugging/SKILL.md +296 -0
- package/template/agent/skills/systematic-debugging/condition-based-waiting-example.ts +158 -0
- package/template/agent/skills/systematic-debugging/condition-based-waiting.md +115 -0
- package/template/agent/skills/systematic-debugging/defense-in-depth.md +122 -0
- package/template/agent/skills/systematic-debugging/find-polluter.sh +63 -0
- package/template/agent/skills/systematic-debugging/root-cause-tracing.md +169 -0
- package/template/agent/skills/systematic-debugging/test-academic.md +14 -0
- package/template/agent/skills/systematic-debugging/test-pressure-1.md +58 -0
- package/template/agent/skills/systematic-debugging/test-pressure-2.md +68 -0
- package/template/agent/skills/systematic-debugging/test-pressure-3.md +69 -0
- package/template/agent/skills/test-driven-development/SKILL.md +371 -0
- package/template/agent/skills/test-driven-development/testing-anti-patterns.md +299 -0
- package/template/agent/skills/using-git-worktrees/SKILL.md +218 -0
- package/template/agent/skills/using-superpowers/SKILL.md +115 -0
- package/template/agent/skills/using-superpowers/references/codex-tools.md +25 -0
- package/template/agent/skills/using-superpowers/references/gemini-tools.md +33 -0
- package/template/agent/skills/verification-before-completion/SKILL.md +139 -0
- package/template/agent/skills/writing-plans/SKILL.md +145 -0
- package/template/agent/skills/writing-plans/plan-document-reviewer-prompt.md +49 -0
- package/template/agent/skills/writing-skills/SKILL.md +655 -0
- package/template/agent/skills/writing-skills/anthropic-best-practices.md +1150 -0
- package/template/agent/skills/writing-skills/examples/CLAUDE_MD_TESTING.md +189 -0
- package/template/agent/skills/writing-skills/graphviz-conventions.dot +172 -0
- package/template/agent/skills/writing-skills/persuasion-principles.md +187 -0
- package/template/agent/skills/writing-skills/render-graphs.js +168 -0
- package/template/agent/skills/writing-skills/testing-skills-with-subagents.md +384 -0
- package/template/agent/superpowers-version.json +5 -0
- package/template/agent/workflows/brainstorm.md +20 -0
- package/template/agent/workflows/code-review.md +45 -0
- package/template/agent/workflows/debug.md +17 -0
- package/template/agent/workflows/execute-plan.md +25 -0
- package/template/agent/workflows/update-superpowers.md +47 -0
- package/template/agent/workflows/write-plan.md +17 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Update superpowers to the latest GitHub release and sync .agent/ files
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
This workflow has two phases:
|
|
6
|
+
- **Phase 1 (script):** version check, clone, rebuild symlinks, sync agents + commands→workflows with path fixes, save state
|
|
7
|
+
- **Phase 2 (AI):** update the skill list in rules only — no content rewriting
|
|
8
|
+
|
|
9
|
+
// turbo
|
|
10
|
+
1. Run the update script:
|
|
11
|
+
`bash .agent/.shared/update-superpowers.sh`
|
|
12
|
+
|
|
13
|
+
- If output ends with "Already up to date" → **STOP**. Nothing to do.
|
|
14
|
+
- If clone fails → **STOP**. Report the error to the user.
|
|
15
|
+
- On success the script prints `SCRIPT_DONE:<new-tag>` — note the new tag and continue.
|
|
16
|
+
|
|
17
|
+
2. **Phase 2 — Update skill list in rules**
|
|
18
|
+
|
|
19
|
+
List all skill folders now present in `.agent/skills/`.
|
|
20
|
+
Open `.agent/rules/superpowers.md` and update **only the skills table**:
|
|
21
|
+
- Add a row for any skill not already listed (use its SKILL.md `description` field as the "When to Use" value).
|
|
22
|
+
- Prefix any skill that no longer exists with ⚠️ and a note "(removed upstream)".
|
|
23
|
+
- Preserve all other content in the file exactly as-is.
|
|
24
|
+
|
|
25
|
+
If no skills were added or removed → skip, note "rules: no changes needed".
|
|
26
|
+
|
|
27
|
+
3. **Phase 2 — New skills check**
|
|
28
|
+
|
|
29
|
+
For any skill in `.agent/skills/` that has no corresponding workflow in `.agent/workflows/`:
|
|
30
|
+
- Read its `SKILL.md` `description` field.
|
|
31
|
+
- Report it to the user: "New skill available: `<name>` — `<description>`. Create a workflow?"
|
|
32
|
+
- Do NOT auto-create. Let the user decide.
|
|
33
|
+
|
|
34
|
+
// turbo
|
|
35
|
+
4. Commit all changes from Phase 2:
|
|
36
|
+
`git add .agent/ && git commit -m "chore: sync .agent/ with superpowers <new-tag>"`
|
|
37
|
+
(Skip commit if nothing changed.)
|
|
38
|
+
|
|
39
|
+
5. Print summary:
|
|
40
|
+
```
|
|
41
|
+
✅ Superpowers updated: <old-tag> → <new-tag>
|
|
42
|
+
📦 Skills: <old-count> → <new-count> (+new_skill / -removed_skill)
|
|
43
|
+
📋 Agents synced: <list>
|
|
44
|
+
🔄 Workflows synced from commands: <list or "none">
|
|
45
|
+
🔄 Rules updated: <yes/no>
|
|
46
|
+
⚠️ New skills needing workflows: <list or "none">
|
|
47
|
+
```
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Write a detailed implementation plan from an approved design - uses superpowers writing-plans skill
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
Read and follow the `writing-plans` skill completely:
|
|
6
|
+
|
|
7
|
+
// turbo
|
|
8
|
+
1. Read the skill: `view_file` `.agent/skills/writing-plans/SKILL.md`
|
|
9
|
+
|
|
10
|
+
2. Locate the most recent design doc in `docs/superpowers/specs/` as the foundation
|
|
11
|
+
|
|
12
|
+
3. Execute the full skill process:
|
|
13
|
+
- Break the design into tasks of 2-5 minutes each
|
|
14
|
+
- Each task must include: exact file paths, complete code, and verification steps
|
|
15
|
+
- Save the plan to `docs/superpowers/plans/YYYY-MM-DD-<topic>-plan.md`
|
|
16
|
+
- Commit the plan to git
|
|
17
|
+
- Wait for user approval before execution begins
|