superpowers-spec 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +48 -11
- package/dist/core/templates/workflows/apply-change.js +2 -2
- package/dist/core/templates/workflows/archive-change.js +5 -5
- package/dist/core/templates/workflows/continue-change.js +2 -2
- package/dist/core/templates/workflows/explore.js +1 -1
- package/dist/core/templates/workflows/ff-change.js +1 -1
- package/dist/core/templates/workflows/new-change.js +5 -5
- package/dist/core/templates/workflows/propose.js +1 -1
- package/dist/core/templates/workflows/sync-specs.js +1 -1
- package/dist/core/templates/workflows/verify-change.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,6 +20,51 @@ This repository is a fork/evolution focused on:
|
|
|
20
20
|
- **Superpowers-style productivity**: reusable skills that guide agent behavior in real coding sessions
|
|
21
21
|
- **Tool-agnostic setup**: generated skills/commands for many coding agents (including Codex)
|
|
22
22
|
|
|
23
|
+
## See it in action
|
|
24
|
+
|
|
25
|
+
```text
|
|
26
|
+
You: /sp:propose add-dark-mode
|
|
27
|
+
AI: Created superpowers/changes/add-dark-mode/
|
|
28
|
+
✓ proposal.md — why we're doing this, what's changing
|
|
29
|
+
✓ specs/ — requirements and scenarios
|
|
30
|
+
✓ design.md — technical approach
|
|
31
|
+
✓ tasks.md — implementation checklist
|
|
32
|
+
Ready for implementation!
|
|
33
|
+
|
|
34
|
+
You: /sp:apply
|
|
35
|
+
AI: Implementing tasks...
|
|
36
|
+
✓ 1.1 Add theme context provider
|
|
37
|
+
✓ 1.2 Create toggle component
|
|
38
|
+
✓ 2.1 Add CSS variables
|
|
39
|
+
✓ 2.2 Wire up localStorage
|
|
40
|
+
All tasks complete!
|
|
41
|
+
|
|
42
|
+
You: /sp:archive
|
|
43
|
+
AI: Archived to superpowers/changes/archive/2025-01-23-add-dark-mode/
|
|
44
|
+
Specs updated. Ready for the next feature.
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Quickstart
|
|
48
|
+
```bash
|
|
49
|
+
npm i -g superpowers-spec@latest && superpowers --version
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Inside your target project:
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
superpowers init
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
### Main commands
|
|
59
|
+
|
|
60
|
+
- `superpowers init` — initialize project and tool assets
|
|
61
|
+
- `superpowers update` — refresh installed skills/commands from current profile
|
|
62
|
+
- `superpowers list` — list changes (or specs with flags)
|
|
63
|
+
- `superpowers show` — show artifacts/specs
|
|
64
|
+
- `superpowers validate` — validate artifacts/specs
|
|
65
|
+
- `superpowers config profile` — switch workflow profile
|
|
66
|
+
|
|
67
|
+
|
|
23
68
|
## Core concepts
|
|
24
69
|
|
|
25
70
|
Superpowers with Spec manages change artifacts under `superpowers/`:
|
|
@@ -34,13 +79,13 @@ And installs agent-facing assets under tool directories (for example):
|
|
|
34
79
|
- `.claude/skills`, `.claude/commands`, `.claude/hooks`, `.claude/agents`
|
|
35
80
|
- `.codex/skills`, global Codex prompts under `~/.codex/prompts`, plus `.codex/hooks` and `.codex/agents`
|
|
36
81
|
|
|
37
|
-
##
|
|
82
|
+
## Local development
|
|
83
|
+
|
|
84
|
+
### Requirements
|
|
38
85
|
|
|
39
86
|
- Node.js >= 20.19.0
|
|
40
87
|
- pnpm (recommended) or npm
|
|
41
88
|
|
|
42
|
-
## Local development
|
|
43
|
-
|
|
44
89
|
Install dependencies:
|
|
45
90
|
|
|
46
91
|
```bash
|
|
@@ -88,14 +133,6 @@ superpowers init --tools claude,cursor
|
|
|
88
133
|
superpowers init --tools all
|
|
89
134
|
```
|
|
90
135
|
|
|
91
|
-
## Main commands
|
|
92
|
-
|
|
93
|
-
- `superpowers init` — initialize project and tool assets
|
|
94
|
-
- `superpowers update` — refresh installed skills/commands from current profile
|
|
95
|
-
- `superpowers list` — list changes (or specs with flags)
|
|
96
|
-
- `superpowers show` — show artifacts/specs
|
|
97
|
-
- `superpowers validate` — validate artifacts/specs
|
|
98
|
-
- `superpowers config profile` — switch workflow profile
|
|
99
136
|
|
|
100
137
|
## Repository structure
|
|
101
138
|
|
|
@@ -160,9 +160,9 @@ This skill supports the "actions on a change" model:
|
|
|
160
160
|
export function getSpApplyCommandTemplate() {
|
|
161
161
|
return {
|
|
162
162
|
name: 'SP: Apply',
|
|
163
|
-
description: 'Implement tasks from an Superpowers change
|
|
163
|
+
description: 'Implement tasks from an Superpowers change',
|
|
164
164
|
category: 'Workflow',
|
|
165
|
-
tags: ['workflow', 'artifacts'
|
|
165
|
+
tags: ['workflow', 'artifacts'],
|
|
166
166
|
content: `Implement tasks from an Superpowers change.
|
|
167
167
|
|
|
168
168
|
**Input**: Optionally specify a change name (e.g., \`/sp:apply add-auth\`). If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export function getArchiveChangeSkillTemplate() {
|
|
2
2
|
return {
|
|
3
3
|
name: 'superpowers-archive-change',
|
|
4
|
-
description: 'Archive a completed change in the
|
|
5
|
-
instructions: `Archive a completed change in the
|
|
4
|
+
description: 'Archive a completed change in the workflow. Use when the user wants to finalize and archive a change after implementation is complete.',
|
|
5
|
+
instructions: `Archive a completed change in the workflow.
|
|
6
6
|
|
|
7
7
|
**Input**: Optionally specify a change name. If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.
|
|
8
8
|
|
|
@@ -113,10 +113,10 @@ All artifacts complete. All tasks complete.
|
|
|
113
113
|
export function getSpArchiveCommandTemplate() {
|
|
114
114
|
return {
|
|
115
115
|
name: 'SP: Archive',
|
|
116
|
-
description: 'Archive a completed change in the
|
|
116
|
+
description: 'Archive a completed change in the workflow',
|
|
117
117
|
category: 'Workflow',
|
|
118
|
-
tags: ['workflow', 'archive'
|
|
119
|
-
content: `Archive a completed change in the
|
|
118
|
+
tags: ['workflow', 'archive'],
|
|
119
|
+
content: `Archive a completed change in the workflow.
|
|
120
120
|
|
|
121
121
|
**Input**: Optionally specify a change name after \`/sp:archive\` (e.g., \`/sp:archive add-auth\`). If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.
|
|
122
122
|
|
|
@@ -117,9 +117,9 @@ For other schemas, follow the \`instruction\` field from the CLI output.
|
|
|
117
117
|
export function getSpContinueCommandTemplate() {
|
|
118
118
|
return {
|
|
119
119
|
name: 'SP: Continue',
|
|
120
|
-
description: 'Continue working on a change - create the next artifact
|
|
120
|
+
description: 'Continue working on a change - create the next artifact',
|
|
121
121
|
category: 'Workflow',
|
|
122
|
-
tags: ['workflow', 'artifacts'
|
|
122
|
+
tags: ['workflow', 'artifacts'],
|
|
123
123
|
content: `Continue working on a change by creating the next artifact.
|
|
124
124
|
|
|
125
125
|
**Input**: Optionally specify a change name after \`/sp:continue\` (e.g., \`/sp:continue add-auth\`). If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.
|
|
@@ -297,7 +297,7 @@ export function getSpExploreCommandTemplate() {
|
|
|
297
297
|
name: 'SP: Explore',
|
|
298
298
|
description: 'Enter explore mode - think through ideas, investigate problems, clarify requirements',
|
|
299
299
|
category: 'Workflow',
|
|
300
|
-
tags: ['workflow', 'explore', '
|
|
300
|
+
tags: ['workflow', 'explore', 'thinking', 'brainstorming'],
|
|
301
301
|
content: `Enter explore mode. Think deeply. Visualize freely. Follow the conversation wherever it goes.
|
|
302
302
|
|
|
303
303
|
**IMPORTANT: Explore mode is for thinking, not implementing.** You may read files, search code, and investigate the codebase, but you must NEVER write code or implement features. If the user asks you to implement something, remind them to exit explore mode first and create a change proposal. You MAY create Superpowers artifacts (proposals, designs, specs) if the user asks—that's capturing thinking, not implementing.
|
|
@@ -102,7 +102,7 @@ export function getSpFfCommandTemplate() {
|
|
|
102
102
|
name: 'SP: Fast Forward',
|
|
103
103
|
description: 'Create a change and generate all artifacts needed for implementation in one go',
|
|
104
104
|
category: 'Workflow',
|
|
105
|
-
tags: ['workflow', 'artifacts'
|
|
105
|
+
tags: ['workflow', 'artifacts'],
|
|
106
106
|
content: `Fast-forward through artifact creation - generate everything needed to start implementation.
|
|
107
107
|
|
|
108
108
|
**Input**: The argument after \`/sp:ff\` is the change name (kebab-case), OR a description of what the user wants to build.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export function getNewChangeSkillTemplate() {
|
|
2
2
|
return {
|
|
3
3
|
name: 'superpowers-new-change',
|
|
4
|
-
description: 'Start a new Superpowers change using the
|
|
5
|
-
instructions: `Start a new change using the
|
|
4
|
+
description: 'Start a new Superpowers change using the artifact workflow. Use when the user wants to create a new feature, fix, or modification with a structured step-by-step approach.',
|
|
5
|
+
instructions: `Start a new change using the artifact-driven approach.
|
|
6
6
|
|
|
7
7
|
**Input**: The user's request should include a change name (kebab-case) OR a description of what they want to build.
|
|
8
8
|
|
|
@@ -73,10 +73,10 @@ After completing the steps, summarize:
|
|
|
73
73
|
export function getSpNewCommandTemplate() {
|
|
74
74
|
return {
|
|
75
75
|
name: 'SP: New',
|
|
76
|
-
description: 'Start a new change using the
|
|
76
|
+
description: 'Start a new change using the artifact workflow (SP)',
|
|
77
77
|
category: 'Workflow',
|
|
78
|
-
tags: ['workflow', 'artifacts'
|
|
79
|
-
content: `Start a new change using the
|
|
78
|
+
tags: ['workflow', 'artifacts'],
|
|
79
|
+
content: `Start a new change using the artifact-driven approach.
|
|
80
80
|
|
|
81
81
|
**Input**: The argument after \`/sp:new\` is the change name (kebab-case), OR a description of what the user wants to build.
|
|
82
82
|
|
|
@@ -118,7 +118,7 @@ export function getSpProposeCommandTemplate() {
|
|
|
118
118
|
name: 'SP: Propose',
|
|
119
119
|
description: 'Propose a new change - create it and generate all artifacts in one step',
|
|
120
120
|
category: 'Workflow',
|
|
121
|
-
tags: ['workflow', 'artifacts'
|
|
121
|
+
tags: ['workflow', 'artifacts'],
|
|
122
122
|
content: `Propose a new change - create the change and generate all artifacts in one step.
|
|
123
123
|
|
|
124
124
|
I'll create a change with artifacts:
|
|
@@ -139,7 +139,7 @@ export function getSpSyncCommandTemplate() {
|
|
|
139
139
|
name: 'SP: Sync',
|
|
140
140
|
description: 'Sync delta specs from a change to main specs',
|
|
141
141
|
category: 'Workflow',
|
|
142
|
-
tags: ['workflow', 'specs'
|
|
142
|
+
tags: ['workflow', 'specs'],
|
|
143
143
|
content: `Sync delta specs from a change to main specs.
|
|
144
144
|
|
|
145
145
|
This is an **agent-driven** operation - you will read delta specs and directly edit main specs to apply the changes. This allows intelligent merging (e.g., adding a scenario without copying the entire requirement).
|
|
@@ -169,7 +169,7 @@ export function getSpVerifyCommandTemplate() {
|
|
|
169
169
|
name: 'SP: Verify',
|
|
170
170
|
description: 'Verify implementation matches change artifacts before archiving',
|
|
171
171
|
category: 'Workflow',
|
|
172
|
-
tags: ['workflow', 'verify'
|
|
172
|
+
tags: ['workflow', 'verify'],
|
|
173
173
|
content: `Verify that an implementation matches the change artifacts (specs, tasks, design).
|
|
174
174
|
|
|
175
175
|
**Input**: Optionally specify a change name after \`/sp:verify\` (e.g., \`/sp:verify add-auth\`). If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.
|