@complexthings/superpowers-agent 8.2.2 → 8.3.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 +15 -81
- package/.agents/superpowers-agent +141 -128
- package/.agents/templates/AGENTS.md.template +35 -15
- package/.agents/templates/SUPERPOWERS.md.template +15 -81
- package/.github/workflows/main.yaml +1 -0
- package/package.json +1 -1
- package/.agents/prompts/001-copilot-tool-mapping-do/001-copilot-tool-mapping-do.md +0 -116
- package/.agents/prompts/001-copilot-tool-mapping-do/SUMMARY.md +0 -72
- package/.agents/prompts/001-copilot-tool-mapping-do/copilot-tool-mapping-do-output.md +0 -83
- package/.agents/prompts/001-release-management-do/001-release-management-do.md +0 -161
- package/.agents/prompts/001-release-management-do/SUMMARY.md +0 -19
- package/.agents/prompts/001-release-management-do/completed/001-release-management-do.md +0 -161
- package/.agents/prompts/002-pull-command-do/SUMMARY.md +0 -28
- package/.agents/prompts/002-pull-command-do/completed/002-pull-command-do.md +0 -122
- package/.agents/prompts/002-pull-command-do/pull-command-do-output.md +0 -174
- package/.agents/prompts/command_updates_prompt.md +0 -69
- package/.agents/prompts/current_prompt.md +0 -8
- package/.agents/prompts/post-migration-fixes-round-three.prompt.md +0 -62
- package/.agents/prompts/post-migration-fixes-round-two.prompt.md +0 -37
- package/.agents/prompts/post-migration-fixes.prompt.md +0 -90
- package/.agents/prompts/refactor.prompt.md +0 -33
|
@@ -7,23 +7,47 @@ Skills extend your capabilities with proven workflows.
|
|
|
7
7
|
**Before starting any task**, check for relevant skills:
|
|
8
8
|
1. Use your native skill tool to list available skills
|
|
9
9
|
2. Review skill frontmatter/descriptions to identify relevant ones
|
|
10
|
-
3. `superpowers-agent find-skills [PATTERN]` for superpowers skills
|
|
10
|
+
3. Run `superpowers-agent find-skills [PATTERN]` for superpowers skills
|
|
11
11
|
|
|
12
|
-
###
|
|
12
|
+
### Skill Loading Rules
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
- Load skills **JIT only** — never preload to "understand" them
|
|
15
|
+
- Follow skill instructions **exactly as written** — no skimming, no shortcuts
|
|
16
|
+
- If a skill has a checklist, create a todo for **each item** — no mental tracking
|
|
17
|
+
- Simple tasks benefit from skills as much as complex ones
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
**Skill priority (highest to lowest):** Project → Personal → Superpowers
|
|
20
20
|
|
|
21
|
-
###
|
|
21
|
+
### Using Tools with Skills
|
|
22
22
|
|
|
23
|
-
**
|
|
23
|
+
1. **Native Skill Tool** — Use your platform's native skill tool to load skills.
|
|
24
|
+
2. **Symlinked Skills** — Superpowers skills are symlinked to your platform's skills directory.
|
|
25
|
+
3. **Fallback** — If a skill isn't found via native tool, run `superpowers-agent find-skills [PATTERN]`
|
|
26
|
+
4. **Tool Equivalence** — When a skill references a tool you don't have, substitute your equivalent:
|
|
24
27
|
|
|
25
|
-
|
|
26
|
-
|
|
28
|
+
| Skill References | Use Your Equivalent |
|
|
29
|
+
|---|---|
|
|
30
|
+
| File operations | Read / Write / Edit tools |
|
|
31
|
+
| Terminal commands | Bash / Shell tool |
|
|
32
|
+
| Search operations | Grep / Glob / Search tools |
|
|
33
|
+
| Task management | TodoWrite / TodoRead tools |
|
|
34
|
+
| Subagent dispatch | Task / Agent tool — or execute directly |
|
|
35
|
+
| Web fetching | WebFetch / Fetch tool |
|
|
36
|
+
|
|
37
|
+
### Version Check
|
|
38
|
+
|
|
39
|
+
**Bootstrapped Version:** `^^SAV:{{VERSION}}^^`
|
|
40
|
+
|
|
41
|
+
At conversation start:
|
|
42
|
+
1. Run a superpowers-agent command and note the version string `^^SAV:X.Y.Z^^` in output
|
|
43
|
+
2. Compare against bootstrapped version `^^SAV:{{VERSION}}^^`
|
|
44
|
+
3. If they differ, notify the user:
|
|
45
|
+
Your superpowers-agent may have updates. Run:
|
|
46
|
+
```sh
|
|
47
|
+
superpowers-agent update && superpowers-agent bootstrap && superpowers-agent setup-skills
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
```sh
|
|
27
51
|
superpowers-agent update && superpowers-agent bootstrap && superpowers-agent setup-skills
|
|
28
52
|
```
|
|
29
53
|
|
|
@@ -33,8 +57,4 @@ Skills encode proven techniques that prevent mistakes. Not using them means repe
|
|
|
33
57
|
|
|
34
58
|
**If a skill exists for your task, you MUST use it.**
|
|
35
59
|
|
|
36
|
-
---
|
|
37
|
-
|
|
38
|
-
**Detailed reference for `superpowers-agent` if needed by agents:** `.agents/docs/SUPERPOWERS.md`
|
|
39
|
-
|
|
40
60
|
*Generated by Superpowers on {{DATE}}*
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
# SUPERPOWERS Reference Guide
|
|
2
2
|
|
|
3
|
+
You are an autonomous agent with access to the `superpowers-agent` system. Reference documentation is in the `AGENTS.md` and the detailed reference guide below.
|
|
4
|
+
|
|
3
5
|
> This is detailed reference documentation for the superpowers-agent system.
|
|
4
6
|
> Load this file only when you need specific information not covered in AGENTS.md.
|
|
5
7
|
|
|
6
|
-
**
|
|
8
|
+
**Bootstrapped Version:** `^^SAV:{{VERSION}}^^`
|
|
7
9
|
|
|
8
10
|
---
|
|
9
11
|
|
|
@@ -17,92 +19,24 @@ npm install -g @complexthings/superpowers-agent
|
|
|
17
19
|
|
|
18
20
|
---
|
|
19
21
|
|
|
20
|
-
## Version
|
|
21
|
-
|
|
22
|
-
When superpowers-agent runs, it displays its version as `^^SAV:X.Y.Z^^` in output.
|
|
22
|
+
## Version Check
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
1.
|
|
26
|
-
2. Compare
|
|
27
|
-
3. If
|
|
28
|
-
```
|
|
24
|
+
At conversation start:
|
|
25
|
+
1. Run a superpowers-agent command and note the version string `^^SAV:X.Y.Z^^` in output
|
|
26
|
+
2. Compare against bootstrapped version `^^SAV:{{VERSION}}^^`
|
|
27
|
+
3. If they differ, notify the user:
|
|
29
28
|
Your superpowers-agent may have updates. Run:
|
|
29
|
+
```sh
|
|
30
30
|
superpowers-agent update && superpowers-agent bootstrap && superpowers-agent setup-skills
|
|
31
31
|
```
|
|
32
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
33
|
---
|
|
81
34
|
|
|
82
|
-
##
|
|
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.
|
|
35
|
+
## Skill Loading Rules
|
|
94
36
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
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
|
-
---
|
|
37
|
+
- Load skills **JIT only** — never preload to "understand" them
|
|
38
|
+
- Follow skill instructions **exactly as written** — no skimming, no shortcuts
|
|
39
|
+
- If a skill has a checklist, create a todo for **each item** — no mental tracking
|
|
40
|
+
- Simple tasks benefit from skills as much as complex ones
|
|
107
41
|
|
|
108
|
-
|
|
42
|
+
**Skill priority (highest to lowest):** Project → Personal → Superpowers
|
package/package.json
CHANGED
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
number: 001
|
|
3
|
-
topic: copilot-tool-mapping
|
|
4
|
-
purpose: do
|
|
5
|
-
dependencies: []
|
|
6
|
-
created: 2025-11-25
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
# GitHub Copilot Tool Mapping - Do
|
|
10
|
-
|
|
11
|
-
<objective>
|
|
12
|
-
Generate a comprehensive Tool Mapping section for GitHub Copilot that maps agent-agnostic tool names (used in Superpowers skills) to GitHub Copilot's actual available tools.
|
|
13
|
-
|
|
14
|
-
Purpose: Enable GitHub Copilot to execute Superpowers skills by providing clear mappings from generic tool names to Copilot-specific equivalents or alternative approaches.
|
|
15
|
-
|
|
16
|
-
Output: A complete **Tool Mapping for GitHub Copilot:** markdown section that can be inserted into AGENTS.md or similar documentation files.
|
|
17
|
-
</objective>
|
|
18
|
-
|
|
19
|
-
<context>
|
|
20
|
-
Reference the existing tool mapping structure from:
|
|
21
|
-
@.agents/prompts/current_prompt.md
|
|
22
|
-
|
|
23
|
-
The current mapping shows the structure, but you need to verify and complete it with GitHub Copilot's actual available tools. The existing mapping is:
|
|
24
|
-
|
|
25
|
-
```markdown
|
|
26
|
-
**Tool Mapping for GitHub Copilot:**
|
|
27
|
-
When skills reference tools you don't have, substitute your equivalent tools:
|
|
28
|
-
- `TodoWrite` → `manage_todo_list` (your planning/task tracking tool)
|
|
29
|
-
- `Task` tool with subagents → Execute the work yourself, as subagent dispatch isn't available
|
|
30
|
-
- `Skill` tool → `superpowers-agent execute` command (already available)
|
|
31
|
-
- `Read` → `Read File` tool (read file contents)
|
|
32
|
-
- `Write` → `WriteFile` tool (create/overwrite files)
|
|
33
|
-
- `Edit` → `Edit & Reapply` tool (suggest edits to files)
|
|
34
|
-
- `Bash` → `Terminal` tool (execute terminal commands)
|
|
35
|
-
- `List` → `List Directory` tool (read directory structure)
|
|
36
|
-
- `Grep` → `SearchText` tool (search file contents)
|
|
37
|
-
- `Glob` → `FindFiles` tool (find files by pattern)
|
|
38
|
-
- `WebFetch` → `Web` tool (fetch and search web content)
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
GitHub Copilot context: You are running as GitHub Copilot with access to your native tool set. Examine your available tools and create accurate mappings.
|
|
42
|
-
</context>
|
|
43
|
-
|
|
44
|
-
<requirements>
|
|
45
|
-
- Include mappings for ALL standard agent-agnostic tools: TodoWrite, TodoRead, Task, Skill, Read, Write, Edit, Bash, List, Grep, Glob, WebFetch, CodebaseSearch, NotebookEdit, ReadLints, DeleteFile
|
|
46
|
-
- Use GitHub Copilot's ACTUAL tool names (not hypothetical or guessed names)
|
|
47
|
-
- Include brief descriptions in parentheses explaining what each tool does
|
|
48
|
-
- For tools GitHub Copilot doesn't have, provide alternative approaches (e.g., "Execute the work yourself")
|
|
49
|
-
- Follow the exact formatting pattern shown in current_prompt.md
|
|
50
|
-
- Be honest about capabilities: if GitHub Copilot lacks a feature, say so explicitly
|
|
51
|
-
- Maintain consistency with other platform mappings (Cursor, Claude Code, Gemini, OpenCode)
|
|
52
|
-
</requirements>
|
|
53
|
-
|
|
54
|
-
<implementation>
|
|
55
|
-
**Approach:**
|
|
56
|
-
1. List your available tools as GitHub Copilot
|
|
57
|
-
2. Map each agent-agnostic tool name to the closest GitHub Copilot equivalent
|
|
58
|
-
3. For missing capabilities, provide practical workarounds or acknowledge limitations
|
|
59
|
-
4. Format as a markdown bullet list under `**Tool Mapping for GitHub Copilot:**` heading
|
|
60
|
-
|
|
61
|
-
**What to avoid and WHY:**
|
|
62
|
-
- Don't guess tool names - Use actual GitHub Copilot tool names only
|
|
63
|
-
- Don't omit tools - Include all agent-agnostic tools even if no direct equivalent exists
|
|
64
|
-
- Don't be vague - Provide specific tool names and descriptions
|
|
65
|
-
- Don't copy other platform mappings blindly - Each platform has unique tools
|
|
66
|
-
|
|
67
|
-
**Integration points:**
|
|
68
|
-
- This mapping will be inserted into AGENTS.md.template
|
|
69
|
-
- Skills will reference these tool names, so accuracy is critical
|
|
70
|
-
- Users depend on these mappings to execute workflows correctly
|
|
71
|
-
</implementation>
|
|
72
|
-
|
|
73
|
-
<output>
|
|
74
|
-
Create/modify files:
|
|
75
|
-
- `./.agents/prompts/001-copilot-tool-mapping-do/copilot-tool-mapping-do-output.md` - Complete tool mapping section ready to be inserted into AGENTS.md
|
|
76
|
-
|
|
77
|
-
The output file should contain:
|
|
78
|
-
```markdown
|
|
79
|
-
**Tool Mapping for GitHub Copilot:**
|
|
80
|
-
When skills reference tools you don't have, substitute your equivalent tools:
|
|
81
|
-
- `TodoWrite` → [your actual tool or approach]
|
|
82
|
-
- `TodoRead` → [your actual tool or approach]
|
|
83
|
-
- `Task` tool with subagents → [your actual tool or approach]
|
|
84
|
-
- `Skill` tool → `superpowers-agent execute` command (already available)
|
|
85
|
-
- `Read` → [your actual tool name and description]
|
|
86
|
-
- `Write` → [your actual tool name and description]
|
|
87
|
-
- `Edit` → [your actual tool name and description]
|
|
88
|
-
- `Bash` → [your actual tool name and description]
|
|
89
|
-
- `List` → [your actual tool name and description]
|
|
90
|
-
- `Grep` → [your actual tool name and description]
|
|
91
|
-
- `Glob` → [your actual tool name and description]
|
|
92
|
-
- `WebFetch` → [your actual tool name and description]
|
|
93
|
-
- `CodebaseSearch` → [your actual tool name and description if available]
|
|
94
|
-
- `NotebookEdit` → [your actual tool name and description if available]
|
|
95
|
-
- `ReadLints` → [your actual tool name and description if available]
|
|
96
|
-
- `DeleteFile` → [your actual tool name and description if available]
|
|
97
|
-
```
|
|
98
|
-
</output>
|
|
99
|
-
|
|
100
|
-
<verification>
|
|
101
|
-
Before declaring complete:
|
|
102
|
-
- Verify all tool names are GitHub Copilot's actual tool names (not guesses)
|
|
103
|
-
- Check that every agent-agnostic tool has a mapping (even if "not available")
|
|
104
|
-
- Confirm descriptions accurately reflect what each tool does
|
|
105
|
-
- Ensure formatting matches the pattern in current_prompt.md
|
|
106
|
-
- Test that a skill using these mappings could be executed by GitHub Copilot
|
|
107
|
-
</verification>
|
|
108
|
-
|
|
109
|
-
<summary_requirements>
|
|
110
|
-
Create `SUMMARY.md` in same directory with:
|
|
111
|
-
- One-liner: Substantive description of outcome
|
|
112
|
-
- Key Findings: What tools GitHub Copilot has vs doesn't have
|
|
113
|
-
- Decisions Needed: Any ambiguous mappings requiring clarification
|
|
114
|
-
- Blockers: External impediments or "None"
|
|
115
|
-
- Next Step: How to integrate this mapping into AGENTS.md
|
|
116
|
-
</summary_requirements>
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
# GitHub Copilot Tool Mapping - Summary
|
|
2
|
-
|
|
3
|
-
**One-liner**: Created comprehensive GitHub Copilot tool mapping with 19 agent-agnostic tools mapped to actual Copilot tool names, including advanced capabilities like subagent dispatch, semantic search, and full Jupyter notebook support.
|
|
4
|
-
|
|
5
|
-
## Key Findings
|
|
6
|
-
|
|
7
|
-
### Tools GitHub Copilot Has:
|
|
8
|
-
- ✅ **manage_todo_list** - Complete task management with status tracking
|
|
9
|
-
- ✅ **runSubagent** - Autonomous agent dispatch (different from Claude's multi-turn Task tool)
|
|
10
|
-
- ✅ **read_file** - File reading with chunking support (2000 line limit)
|
|
11
|
-
- ✅ **create_file** - File creation with auto directory creation
|
|
12
|
-
- ✅ **replace_string_in_file / multi_replace_string_in_file** - Exact string replacements
|
|
13
|
-
- ✅ **run_in_terminal** - Full zsh command execution with background process support
|
|
14
|
-
- ✅ **list_dir** - Directory listing
|
|
15
|
-
- ✅ **grep_search** - Text/regex search with file filtering
|
|
16
|
-
- ✅ **file_search** - Glob pattern file finding
|
|
17
|
-
- ✅ **fetch_webpage** - Basic web content extraction
|
|
18
|
-
- ✅ **semantic_search** - Natural language code search
|
|
19
|
-
- ✅ **edit_notebook_file** - Complete Jupyter notebook editing
|
|
20
|
-
- ✅ **run_notebook_cell** - Execute notebook cells
|
|
21
|
-
- ✅ **copilot_getNotebookSummary** - Notebook metadata inspection
|
|
22
|
-
- ✅ **get_errors** - Lint/compile error retrieval
|
|
23
|
-
- ✅ **get_terminal_output** - Background process output retrieval
|
|
24
|
-
- ✅ **get_changed_files** - Git diff support
|
|
25
|
-
|
|
26
|
-
### Tools GitHub Copilot Doesn't Have:
|
|
27
|
-
- ❌ **Dedicated DeleteFile tool** - Workaround: Use `run_in_terminal` with `rm` command
|
|
28
|
-
- ❌ **AskUserQuestion** - Cannot ask interactive questions during execution (unlike Claude Code)
|
|
29
|
-
- ❌ **Advanced WebFetch** - Has basic content fetch but not Claude's AI-processed web analysis
|
|
30
|
-
- ❌ **MCP Server Integration** - No native MCP support (unlike Cursor)
|
|
31
|
-
|
|
32
|
-
### Notable Differences:
|
|
33
|
-
- **Subagent Model**: Copilot's `runSubagent` returns single final message vs Claude's conversational Task tool
|
|
34
|
-
- **Todo Management**: Unified `manage_todo_list` vs separated TodoWrite/TodoRead in other platforms
|
|
35
|
-
- **Semantic Search**: Built-in capability that some platforms lack
|
|
36
|
-
- **Notebook Support**: More comprehensive than most platforms
|
|
37
|
-
|
|
38
|
-
## Decisions Needed
|
|
39
|
-
|
|
40
|
-
**None** - All mappings are based on actual available tools verified through this session. The mapping is complete and ready for integration.
|
|
41
|
-
|
|
42
|
-
## Blockers
|
|
43
|
-
|
|
44
|
-
**None** - All information gathered from active tool availability. No external dependencies required.
|
|
45
|
-
|
|
46
|
-
## Next Steps
|
|
47
|
-
|
|
48
|
-
1. **Review and approve** the tool mapping in `copilot-tool-mapping-do-output.md`
|
|
49
|
-
2. **Extract the markdown section** (starting with `**Tool Mapping for GitHub Copilot:**`) from the output file
|
|
50
|
-
3. **Update `.agents/templates/AGENTS.md.template`** with the new comprehensive mapping
|
|
51
|
-
4. **Replace existing mapping** in current AGENTS.md files (if any)
|
|
52
|
-
5. **Test with actual skill execution** to verify mappings work correctly
|
|
53
|
-
6. **Document in RELEASE-NOTES.md** as part of next release
|
|
54
|
-
|
|
55
|
-
## Validation Checklist
|
|
56
|
-
|
|
57
|
-
- ✅ All 19 agent-agnostic tools have mappings
|
|
58
|
-
- ✅ All tool names are GitHub Copilot's actual tool names (verified via this session)
|
|
59
|
-
- ✅ Descriptions accurately reflect tool capabilities
|
|
60
|
-
- ✅ Formatting matches pattern from current_prompt.md
|
|
61
|
-
- ✅ Missing capabilities acknowledged with workarounds
|
|
62
|
-
- ✅ Skills using these mappings can be executed by GitHub Copilot
|
|
63
|
-
|
|
64
|
-
## Additional Value
|
|
65
|
-
|
|
66
|
-
The output includes:
|
|
67
|
-
- **Tool Capabilities Summary** - Quick reference of what's available/limited
|
|
68
|
-
- **Key Differences section** - Comparison with Claude Code, Cursor, Gemini, OpenCode
|
|
69
|
-
- **Usage Notes** - Important details about tool limitations and best practices
|
|
70
|
-
- **Integration Requirements** - Guidance for incorporating into documentation
|
|
71
|
-
|
|
72
|
-
This goes beyond a simple mapping to provide actionable context for both skill authors and users.
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
# GitHub Copilot Tool Mapping
|
|
2
|
-
|
|
3
|
-
## Complete Mapping Section
|
|
4
|
-
|
|
5
|
-
**Tool Mapping for GitHub Copilot:**
|
|
6
|
-
When skills reference tools you don't have, substitute your equivalent tools:
|
|
7
|
-
- `TodoWrite` → `manage_todo_list` (create and manage task lists with status tracking: not-started, in-progress, completed)
|
|
8
|
-
- `TodoRead` → Check todo list via `manage_todo_list` with `read` operation (view current task states)
|
|
9
|
-
- `Task` tool with subagents → `runSubagent` (dispatch autonomous agents for complex multi-step tasks; agent returns single final message)
|
|
10
|
-
- `Skill` tool → `superpowers-agent execute` command (load and execute skills via CLI)
|
|
11
|
-
- `Read` → `read_file` (read file contents with optional offset/limit for large files; max 2000 lines per call)
|
|
12
|
-
- `Write` → `create_file` (create new files with content; automatically creates parent directories)
|
|
13
|
-
- `Edit` → `replace_string_in_file` or `multi_replace_string_in_file` (exact string replacements; include 3-5 lines context before/after)
|
|
14
|
-
- `Bash` → `run_in_terminal` (execute zsh commands; supports background processes with isBackground flag)
|
|
15
|
-
- `List` → `list_dir` (list directory contents; returns names with trailing / for folders)
|
|
16
|
-
- `Grep` → `grep_search` (search file contents with text or regex patterns; supports includePattern for file filtering)
|
|
17
|
-
- `Glob` → `file_search` (find files by glob pattern; returns matching file paths)
|
|
18
|
-
- `WebFetch` → `fetch_webpage` (fetch and extract main content from web pages for summarization)
|
|
19
|
-
- `CodebaseSearch` → `semantic_search` (natural language search for relevant code in workspace; fallback to `grep_search` for exact matches)
|
|
20
|
-
- `NotebookEdit` → `edit_notebook_file` (edit Jupyter notebooks: insert, edit, or delete cells by cellId)
|
|
21
|
-
- `ReadLints` → `get_errors` (retrieve compile/lint errors for specific files or entire workspace)
|
|
22
|
-
- `DeleteFile` → `run_in_terminal` with `rm` command (no dedicated delete tool; use shell command)
|
|
23
|
-
- `GetTerminalOutput` → `get_terminal_output` (retrieve output from background terminal processes)
|
|
24
|
-
- `Git` → `get_changed_files` (get git diffs of staged/unstaged changes; fallback to `run_in_terminal` for other git operations)
|
|
25
|
-
- `NotebookSummary` → `copilot_getNotebookSummary` (get cell metadata: ids, types, languages, execution info, outputs)
|
|
26
|
-
- `NotebookRun` → `run_notebook_cell` (execute code cells in Jupyter notebooks by cellId)
|
|
27
|
-
|
|
28
|
-
## Tool Capabilities Summary
|
|
29
|
-
|
|
30
|
-
### ✅ Available Tools
|
|
31
|
-
- **Task Management**: Full support via `manage_todo_list` and `runSubagent`
|
|
32
|
-
- **File Operations**: Complete read/write/edit capabilities
|
|
33
|
-
- **Terminal**: Full command execution with background process support
|
|
34
|
-
- **Search**: Both semantic and text-based search available
|
|
35
|
-
- **Notebooks**: Complete Jupyter notebook support (edit, run, inspect)
|
|
36
|
-
- **Git**: Basic git diff support, full git via terminal
|
|
37
|
-
- **Diagnostics**: Native lint/error retrieval
|
|
38
|
-
- **Web**: Basic webpage content fetching
|
|
39
|
-
|
|
40
|
-
### ⚠️ Limited Capabilities
|
|
41
|
-
- **DeleteFile**: No dedicated tool; must use `rm` via terminal
|
|
42
|
-
- **WebFetch**: Basic content extraction only; no AI processing like Claude Code's WebFetch
|
|
43
|
-
|
|
44
|
-
### 📝 Key Differences from Other Platforms
|
|
45
|
-
|
|
46
|
-
**vs Claude Code:**
|
|
47
|
-
- GitHub Copilot has `runSubagent` (single-response agents) vs Claude's rich `Task` tool (multi-turn agents)
|
|
48
|
-
- Copilot lacks `AskUserQuestion` (interactive questions during execution)
|
|
49
|
-
- Copilot uses `manage_todo_list` vs Claude's `TodoWrite`/`TodoRead` separation
|
|
50
|
-
- Both have similar file and search capabilities
|
|
51
|
-
|
|
52
|
-
**vs Cursor:**
|
|
53
|
-
- Copilot has semantic search; Cursor has `codebase_search`
|
|
54
|
-
- Both have similar terminal and file operation tools
|
|
55
|
-
- Cursor has more granular todo operations (`todo_write` vs combined `manage_todo_list`)
|
|
56
|
-
- Cursor has MCP server integration
|
|
57
|
-
|
|
58
|
-
**vs Gemini/OpenCode:**
|
|
59
|
-
- GitHub Copilot has more advanced notebook support
|
|
60
|
-
- Copilot has semantic search (Gemini/OpenCode may not)
|
|
61
|
-
- Similar basic file/terminal capabilities across all platforms
|
|
62
|
-
|
|
63
|
-
## Usage Notes
|
|
64
|
-
|
|
65
|
-
1. **Subagent Limitations**: `runSubagent` returns only a final message, not a conversation. Design tasks for autonomous completion.
|
|
66
|
-
|
|
67
|
-
2. **Edit Tool Context**: `replace_string_in_file` requires exact string matching with 3-5 lines of context before/after. Use `multi_replace_string_in_file` for efficiency when making multiple edits.
|
|
68
|
-
|
|
69
|
-
3. **File Reading**: `read_file` truncates at 2000 lines. For larger files, use `offset` and `limit` parameters to read in chunks.
|
|
70
|
-
|
|
71
|
-
4. **Terminal Background Processes**: Set `isBackground=true` for long-running processes (servers, watch tasks). Retrieve output later with `get_terminal_output`.
|
|
72
|
-
|
|
73
|
-
5. **Notebook Cells**: Always call `copilot_getNotebookSummary` first to get cellIds before editing or running cells. Don't reference cellIds in user messages (use cell numbers instead).
|
|
74
|
-
|
|
75
|
-
6. **Search Strategy**: Use `semantic_search` for finding code by meaning/concept. Use `grep_search` for exact string/regex matches.
|
|
76
|
-
|
|
77
|
-
## Integration Requirements
|
|
78
|
-
|
|
79
|
-
When inserting this mapping into AGENTS.md or similar files:
|
|
80
|
-
- Place in the appropriate platform section
|
|
81
|
-
- Ensure consistent formatting with other platform mappings
|
|
82
|
-
- Update if GitHub Copilot's tool set changes
|
|
83
|
-
- Test with actual skill execution to verify accuracy
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
number: 001
|
|
3
|
-
topic: release-management
|
|
4
|
-
purpose: do
|
|
5
|
-
dependencies: []
|
|
6
|
-
created: 2025-11-29
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
# Release Management - Do
|
|
10
|
-
|
|
11
|
-
<objective>
|
|
12
|
-
Create and publish a new version release for the superpowers-agent project
|
|
13
|
-
|
|
14
|
-
Purpose: Systematically document changes, tag releases, and publish updates to maintain clear version history and enable users to track improvements
|
|
15
|
-
Output: Updated README.md, RELEASE-NOTES.md, git tag, and pushed branches to origin
|
|
16
|
-
</objective>
|
|
17
|
-
|
|
18
|
-
<context>
|
|
19
|
-
Project structure:
|
|
20
|
-
- `/Users/greg/sites/ai/superpowers/` - Repository root
|
|
21
|
-
- `/Users/greg/sites/ai/superpowers/.agents/` - Agents configuration and superpowers-agent source
|
|
22
|
-
- `README.md` - Main documentation with "What's New" section
|
|
23
|
-
- `RELEASE-NOTES.md` - Comprehensive release history
|
|
24
|
-
- `.agents/package.json` - Version number (authoritative source)
|
|
25
|
-
- Working branch: `auto-updating` (where releases are prepared)
|
|
26
|
-
- Main branch: `main` (where releases are finalized)
|
|
27
|
-
|
|
28
|
-
@README.md
|
|
29
|
-
@RELEASE-NOTES.md
|
|
30
|
-
@.agents/package.json
|
|
31
|
-
</context>
|
|
32
|
-
|
|
33
|
-
<requirements>
|
|
34
|
-
- Review git history since last version tag to understand changes
|
|
35
|
-
- Document all changes comprehensively in RELEASE-NOTES.md
|
|
36
|
-
- Update README.md "What's New" section with concise highlights
|
|
37
|
-
- Version number must match semantic versioning (MAJOR.MINOR.PATCH)
|
|
38
|
-
- MAJOR version for breaking changes or complete rewrites
|
|
39
|
-
- MINOR version for new features (backward compatible)
|
|
40
|
-
- PATCH version for bug fixes and documentation updates
|
|
41
|
-
- Create annotated git tag with descriptive message
|
|
42
|
-
- Push changes to auto-updating branch first
|
|
43
|
-
- Merge auto-updating into main
|
|
44
|
-
- Push all branches and tags to origin remote
|
|
45
|
-
- Maintain chronological order in RELEASE-NOTES.md (newest first)
|
|
46
|
-
</requirements>
|
|
47
|
-
|
|
48
|
-
<implementation>
|
|
49
|
-
Follow this sequence:
|
|
50
|
-
|
|
51
|
-
1. **Review Changes**
|
|
52
|
-
- Check current branch: `git branch --show-current`
|
|
53
|
-
- Review commits since last tag: `git log v{LAST_VERSION}..HEAD --oneline`
|
|
54
|
-
- Review file changes: `git diff v{LAST_VERSION}..HEAD --stat`
|
|
55
|
-
- Understand the scope and impact of changes
|
|
56
|
-
|
|
57
|
-
2. **Update Documentation**
|
|
58
|
-
- Update README.md "What's New" section:
|
|
59
|
-
- Add new version at top with date
|
|
60
|
-
- Include 3-5 bullet points with key highlights
|
|
61
|
-
- Use emojis for visual hierarchy (🏗️ 📦 🔧 ✅)
|
|
62
|
-
- Move previous "What's New" to "Previous Releases" section
|
|
63
|
-
- Update RELEASE-NOTES.md:
|
|
64
|
-
- Add comprehensive new version section at top (after intro)
|
|
65
|
-
- Include detailed subsections as appropriate:
|
|
66
|
-
- Major features/changes
|
|
67
|
-
- New capabilities
|
|
68
|
-
- Improvements
|
|
69
|
-
- Bug fixes
|
|
70
|
-
- Breaking changes (if any)
|
|
71
|
-
- Migration guidance
|
|
72
|
-
- Technical details
|
|
73
|
-
- Use markdown formatting for clarity
|
|
74
|
-
- Include code examples where helpful
|
|
75
|
-
|
|
76
|
-
3. **Commit Documentation**
|
|
77
|
-
- Stage changes: `git add README.md RELEASE-NOTES.md`
|
|
78
|
-
- Commit with descriptive message:
|
|
79
|
-
```
|
|
80
|
-
docs: Release v{VERSION} - {Brief Description}
|
|
81
|
-
|
|
82
|
-
- Update README.md with v{VERSION} highlights
|
|
83
|
-
- Add comprehensive v{VERSION} release notes
|
|
84
|
-
- {Other notable documentation changes}
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
4. **Create and Push Tag**
|
|
88
|
-
- Create annotated tag:
|
|
89
|
-
```
|
|
90
|
-
git tag -a v{VERSION} -m "v{VERSION} - {Brief Description}
|
|
91
|
-
|
|
92
|
-
{2-3 sentence summary of release}
|
|
93
|
-
|
|
94
|
-
See RELEASE-NOTES.md for full details."
|
|
95
|
-
```
|
|
96
|
-
- Push tag: `git push origin v{VERSION}`
|
|
97
|
-
|
|
98
|
-
5. **Push Auto-Updating Branch**
|
|
99
|
-
- Verify on auto-updating branch
|
|
100
|
-
- Push: `git push origin auto-updating`
|
|
101
|
-
|
|
102
|
-
6. **Merge to Main**
|
|
103
|
-
- Checkout main: `git checkout main`
|
|
104
|
-
- Merge auto-updating: `git merge auto-updating`
|
|
105
|
-
- Verify merge successful
|
|
106
|
-
- Push main: `git push origin main`
|
|
107
|
-
|
|
108
|
-
Avoid:
|
|
109
|
-
- Generic commit messages ("Update docs", "Version bump")
|
|
110
|
-
- Missing version sections in either README or RELEASE-NOTES
|
|
111
|
-
- Pushing tags before pushing commits
|
|
112
|
-
- Skipping the auto-updating → main merge flow
|
|
113
|
-
</implementation>
|
|
114
|
-
|
|
115
|
-
<output>
|
|
116
|
-
Modify files:
|
|
117
|
-
- `README.md` - Update "What's New" section with new version highlights
|
|
118
|
-
- `RELEASE-NOTES.md` - Add comprehensive new version section at top
|
|
119
|
-
|
|
120
|
-
Git operations:
|
|
121
|
-
- Commit documentation updates
|
|
122
|
-
- Create annotated tag: `v{VERSION}`
|
|
123
|
-
- Push tag to origin
|
|
124
|
-
- Push auto-updating branch to origin
|
|
125
|
-
- Merge auto-updating into main
|
|
126
|
-
- Push main branch to origin
|
|
127
|
-
|
|
128
|
-
Terminal output should confirm:
|
|
129
|
-
```
|
|
130
|
-
[auto-updating {hash}] docs: Release v{VERSION} - {Description}
|
|
131
|
-
To github.com:complexthings/superpowers.git
|
|
132
|
-
* [new tag] v{VERSION} -> v{VERSION}
|
|
133
|
-
To github.com:complexthings/superpowers.git
|
|
134
|
-
{old}..{new} auto-updating -> auto-updating
|
|
135
|
-
Updating {old}..{new}
|
|
136
|
-
Fast-forward
|
|
137
|
-
To github.com:complexthings/superpowers.git
|
|
138
|
-
{old}..{new} main -> main
|
|
139
|
-
```
|
|
140
|
-
</output>
|
|
141
|
-
|
|
142
|
-
<verification>
|
|
143
|
-
Before declaring complete:
|
|
144
|
-
- Verify README.md has new version section at top
|
|
145
|
-
- Verify RELEASE-NOTES.md has comprehensive new version section
|
|
146
|
-
- Verify tag created: `git tag | grep v{VERSION}`
|
|
147
|
-
- Verify tag pushed: `git ls-remote --tags origin | grep v{VERSION}`
|
|
148
|
-
- Verify auto-updating pushed: `git log origin/auto-updating -1`
|
|
149
|
-
- Verify main updated: `git log origin/main -1`
|
|
150
|
-
- Check GitHub repository shows new tag
|
|
151
|
-
- Check that both branches are at same commit
|
|
152
|
-
</verification>
|
|
153
|
-
|
|
154
|
-
<summary_requirements>
|
|
155
|
-
Create `SUMMARY.md` in same directory with:
|
|
156
|
-
- One-liner: Released v{VERSION} with {key changes}
|
|
157
|
-
- Key Findings: What changed, why it matters, impact on users
|
|
158
|
-
- Decisions Needed: None (or any follow-up releases needed)
|
|
159
|
-
- Blockers: None (or any issues discovered)
|
|
160
|
-
- Next Step: Monitor for issues, plan next release, or update documentation
|
|
161
|
-
</summary_requirements>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# Release Management Summary
|
|
2
|
-
|
|
3
|
-
**One-liner:** Released v6.0.0 documenting complete codebase modernization (3,406-line monolith → 324-line modular executable), created git tag, merged to main, and published reusable release management prompt for future versions.
|
|
4
|
-
|
|
5
|
-
## Key Findings
|
|
6
|
-
- v6.0.0 represents complete architectural transformation with 22 organized modules across 6 logical layers (CLI, Commands, Core, Integrations, Skills, Utils)
|
|
7
|
-
- 90% bundle reduction achieved through esbuild optimization while maintaining zero breaking changes for users
|
|
8
|
-
- Release process successfully documented in reusable prompt (001-release-management-do.md) for consistent future releases
|
|
9
|
-
- All git operations completed successfully: tag created, branches pushed, auto-updating merged to main
|
|
10
|
-
- README.md and RELEASE-NOTES.md comprehensively updated with modular architecture details
|
|
11
|
-
|
|
12
|
-
## Decisions Needed
|
|
13
|
-
None
|
|
14
|
-
|
|
15
|
-
## Blockers
|
|
16
|
-
None
|
|
17
|
-
|
|
18
|
-
## Next Step
|
|
19
|
-
Monitor repository for any issues with v6.0.0 release and use the newly created release management prompt (001-release-management-do.md) for future version releases.
|