supermind-claude 2.1.0 → 4.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/.claude-plugin/plugin.json +21 -0
- package/README.md +34 -46
- package/agents/code-reviewer.md +81 -0
- package/cli/commands/doctor.js +415 -79
- package/cli/commands/install.js +17 -18
- package/cli/commands/skill.js +164 -0
- package/cli/commands/uninstall.js +32 -3
- package/cli/commands/update.js +27 -5
- package/cli/index.js +16 -4
- package/cli/lib/agents.js +413 -0
- package/cli/lib/executor.js +365 -0
- package/cli/lib/hooks.js +8 -1
- package/cli/lib/logger.js +1 -1
- package/cli/lib/mcp.js +25 -5
- package/cli/lib/planning.js +502 -0
- package/cli/lib/platform.js +4 -0
- package/cli/lib/plugin.js +127 -0
- package/cli/lib/settings.js +2 -40
- package/cli/lib/skills.js +39 -2
- package/cli/lib/templates.js +48 -1
- package/cli/lib/vendor-skills.js +594 -0
- package/hooks/bash-permissions.js +196 -176
- package/hooks/context-monitor.js +79 -0
- package/hooks/improvement-logger.js +94 -0
- package/hooks/pre-merge-checklist.js +102 -0
- package/hooks/session-start.js +109 -5
- package/hooks/statusline-command.js +123 -29
- package/package.json +4 -2
- package/skills/anti-rationalization/SKILL.md +38 -0
- package/skills/brainstorming/SKILL.md +165 -0
- package/skills/code-review/SKILL.md +144 -0
- package/skills/executing-plans/SKILL.md +138 -0
- package/skills/finishing-branches/SKILL.md +144 -0
- package/skills/project/SKILL.md +533 -0
- package/skills/quick/SKILL.md +178 -0
- package/skills/supermind/SKILL.md +58 -4
- package/skills/supermind-init/SKILL.md +48 -2
- package/skills/systematic-debugging/SKILL.md +129 -0
- package/skills/tdd/SKILL.md +179 -0
- package/skills/using-git-worktrees/SKILL.md +138 -0
- package/skills/verification-before-completion/SKILL.md +54 -0
- package/skills/writing-plans/SKILL.md +169 -0
- package/templates/CLAUDE.md +124 -61
- package/cli/lib/plugins.js +0 -23
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "supermind",
|
|
3
|
+
"description": "Unified skill engine combining execution infrastructure with behavioral discipline for autonomous Claude Code development",
|
|
4
|
+
"version": "0.0.0",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Steven Spivak"
|
|
7
|
+
},
|
|
8
|
+
"homepage": "https://github.com/steven-3/supermind",
|
|
9
|
+
"repository": "https://github.com/steven-3/supermind",
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"keywords": [
|
|
12
|
+
"skills",
|
|
13
|
+
"hooks",
|
|
14
|
+
"tdd",
|
|
15
|
+
"debugging",
|
|
16
|
+
"code-review",
|
|
17
|
+
"worktrees",
|
|
18
|
+
"autonomous",
|
|
19
|
+
"developer-tools"
|
|
20
|
+
]
|
|
21
|
+
}
|
package/README.md
CHANGED
|
@@ -1,47 +1,37 @@
|
|
|
1
1
|
# Supermind
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A unified skill engine for Claude Code — execution infrastructure meets behavioral discipline. Two modes, 15 skills, 8 hooks, zero dependencies.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Install
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
|
|
9
|
-
supermind-claude
|
|
8
|
+
npx supermind-claude
|
|
10
9
|
```
|
|
11
10
|
|
|
12
|
-
Or
|
|
11
|
+
Or install globally: `npm install -g supermind-claude && supermind-claude`
|
|
13
12
|
|
|
14
|
-
|
|
13
|
+
Then run `/supermind-init` in any project to generate CLAUDE.md, ARCHITECTURE.md, and DESIGN.md.
|
|
15
14
|
|
|
16
|
-
|
|
17
|
-
|-----------|----------|---------|
|
|
18
|
-
| Hooks | ~/.claude/hooks/ | Session persistence, bash permissions, status line, cost tracking |
|
|
19
|
-
| Skills | ~/.claude/skills/ | /supermind-init, /supermind-living-docs |
|
|
20
|
-
| Plugins | settings.json | Superpowers, frontend-design, claude-md-management, ui-ux-pro-max |
|
|
21
|
-
| Settings | settings.json | Thinking mode, effort level, hook registration |
|
|
22
|
-
| Templates | ~/.claude/templates/ | CLAUDE.md project template |
|
|
15
|
+
## Two Modes
|
|
23
16
|
|
|
24
|
-
|
|
17
|
+
**`/quick`** — Single-executor path for small tasks (bug fixes, renames, config changes). Fast and stateless.
|
|
25
18
|
|
|
26
|
-
|
|
27
|
-
1. Create or merge CLAUDE.md with project-specific config
|
|
28
|
-
2. Generate ARCHITECTURE.md (and DESIGN.md for UI projects)
|
|
29
|
-
3. Check setup health and discover relevant tools
|
|
19
|
+
**`/project`** — Full six-phase lifecycle for features and refactors: discuss, research, plan, execute (parallel waves), verify, ship. Coordinates fresh-context subagents with injected methodology skills.
|
|
30
20
|
|
|
31
|
-
|
|
21
|
+
**`/supermind`** auto-detects which mode fits your task and routes accordingly.
|
|
32
22
|
|
|
33
|
-
|
|
34
|
-
- **Manual sync**: Run `/supermind-living-docs` to update docs after code changes
|
|
23
|
+
## What's Included
|
|
35
24
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
-
|
|
25
|
+
| Component | Count | Purpose |
|
|
26
|
+
|-----------|-------|---------|
|
|
27
|
+
| Skills | 15 | Complexity router, TDD, debugging, brainstorming, code review, planning, execution, worktrees, and more |
|
|
28
|
+
| Hooks | 8 | Bash permissions (blocklist), session persistence, cost tracking, status line, context monitoring |
|
|
29
|
+
| Agents | 1 | Code reviewer for structured review in verify phase |
|
|
30
|
+
| Executor engine | 3 modules | Task packets, wave parallelism, agent prompt templates (cli/lib/) |
|
|
31
|
+
| Safety layer | 1 hook | Blocklist-based command classification with gate override logging |
|
|
32
|
+
| Living docs | 2 skills | Project onboarding (/supermind-init) and doc sync (/supermind-living-docs) |
|
|
33
|
+
| Vendor skills | CLI | Install third-party skills from GitHub with hash-locked integrity |
|
|
34
|
+
| Plugin | manifest | Dual distribution: npm package + Claude Code plugin |
|
|
45
35
|
|
|
46
36
|
## Commands
|
|
47
37
|
|
|
@@ -51,20 +41,17 @@ Choose during setup:
|
|
|
51
41
|
| `supermind-claude update` | Refresh hooks, skills, templates |
|
|
52
42
|
| `supermind-claude doctor` | Verify installation health |
|
|
53
43
|
| `supermind-claude uninstall` | Remove all components |
|
|
54
|
-
| `supermind-claude approve "cmd"` |
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
44
|
+
| `supermind-claude approve "cmd"` | Auto-approve a blocked command |
|
|
45
|
+
| `supermind-claude skill add <url>` | Install vendor skill from GitHub |
|
|
46
|
+
| `supermind-claude skill update [name]` | Update vendor skill(s) |
|
|
47
|
+
| `supermind-claude skill list` | List installed vendor skills |
|
|
48
|
+
| `supermind-claude skill remove <name>` | Remove vendor skill |
|
|
59
49
|
|
|
60
|
-
|
|
61
|
-
supermind-claude approve "git push" # exact/prefix match
|
|
62
|
-
supermind-claude approve "/npm run .*/" # regex match
|
|
63
|
-
supermind-claude approve --list # see all approved
|
|
64
|
-
supermind-claude approve --remove "git push" # remove approval
|
|
65
|
-
```
|
|
50
|
+
## MCP Servers
|
|
66
51
|
|
|
67
|
-
|
|
52
|
+
Optional. Choose during setup:
|
|
53
|
+
- **Docker** (AIRIS gateway): Single endpoint routing to context7, playwright, serena, tavily, chrome-devtools, shadcn
|
|
54
|
+
- **Direct**: Individual servers via npx/uvx
|
|
68
55
|
|
|
69
56
|
## Platforms
|
|
70
57
|
|
|
@@ -72,7 +59,8 @@ Windows, macOS, and Linux. Requires Node.js >= 18.
|
|
|
72
59
|
|
|
73
60
|
## Troubleshooting
|
|
74
61
|
|
|
75
|
-
Run `supermind-claude doctor` to check installation health.
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
62
|
+
Run `supermind-claude doctor` to check installation health.
|
|
63
|
+
|
|
64
|
+
## Credits
|
|
65
|
+
|
|
66
|
+
Methodology skills forked from [obra/superpowers](https://github.com/obra/superpowers) (MIT) by Jesse Vincent and the Prime Radiant team. Execution architecture inspired by [gsd-build/get-shit-done](https://github.com/gsd-build/get-shit-done) (MIT). Both adapted and rebuilt as Supermind-native implementations.
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: code-reviewer
|
|
3
|
+
description: Subagent that reviews code changes against plan and coding standards
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Code Reviewer Agent
|
|
7
|
+
|
|
8
|
+
You are a code reviewer for the Supermind project. Your job is to review code changes and produce a structured review. You do NOT modify files — you only analyze and report.
|
|
9
|
+
|
|
10
|
+
## Inputs
|
|
11
|
+
|
|
12
|
+
You will receive:
|
|
13
|
+
|
|
14
|
+
- **Diff**: The git diff of all changes to review
|
|
15
|
+
- **Plan**: The implementation plan or task spec that describes what was supposed to be built
|
|
16
|
+
- **Task Spec**: Specific acceptance criteria and expected output for the task
|
|
17
|
+
|
|
18
|
+
## Instructions
|
|
19
|
+
|
|
20
|
+
1. Read the plan/task spec to understand what was intended
|
|
21
|
+
2. Read the full diff carefully — every file, every hunk
|
|
22
|
+
3. For each changed file, evaluate against ALL six criteria:
|
|
23
|
+
- **Spec compliance** — does the code do what the plan said?
|
|
24
|
+
- **Correctness** — logic errors, off-by-ones, edge cases, null handling, async correctness
|
|
25
|
+
- **Test coverage** — are important behaviors tested? Edge cases covered?
|
|
26
|
+
- **Security** — injection, path traversal, secrets in code, unsafe operations
|
|
27
|
+
- **Maintainability** — clear naming, reasonable complexity, no unnecessary abstractions
|
|
28
|
+
- **Consistency** — follows existing codebase patterns and conventions
|
|
29
|
+
4. Classify each finding as Critical, Important, or Suggestion
|
|
30
|
+
5. Produce the structured review output
|
|
31
|
+
|
|
32
|
+
## Constraint
|
|
33
|
+
|
|
34
|
+
You are a reviewer only. Do NOT:
|
|
35
|
+
- Modify any files
|
|
36
|
+
- Run any commands that change state
|
|
37
|
+
- Create commits
|
|
38
|
+
- Suggest rewrites of working code for style preference alone
|
|
39
|
+
|
|
40
|
+
You MAY read files, run read-only commands (grep, git log, etc.), and run tests to verify behavior.
|
|
41
|
+
|
|
42
|
+
## Input Template
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
### Diff
|
|
46
|
+
{{diff}}
|
|
47
|
+
|
|
48
|
+
### Plan
|
|
49
|
+
{{plan}}
|
|
50
|
+
|
|
51
|
+
### Task Spec
|
|
52
|
+
{{task_spec}}
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Output Format
|
|
56
|
+
|
|
57
|
+
```
|
|
58
|
+
## Code Review: [task/feature name]
|
|
59
|
+
|
|
60
|
+
### Summary
|
|
61
|
+
One paragraph: overall assessment, confidence level.
|
|
62
|
+
|
|
63
|
+
### Critical Issues
|
|
64
|
+
- [file:line] Description. Why it matters. Suggested fix.
|
|
65
|
+
|
|
66
|
+
### Important Issues
|
|
67
|
+
- [file:line] Description. Why it matters. Suggested fix.
|
|
68
|
+
|
|
69
|
+
### Suggestions
|
|
70
|
+
- [file:line] Description.
|
|
71
|
+
|
|
72
|
+
### Verdict
|
|
73
|
+
PASS | NEEDS FIXES | FAIL
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
**Verdict rules:**
|
|
77
|
+
- **PASS**: Zero critical AND zero important issues.
|
|
78
|
+
- **NEEDS FIXES**: Has critical or important issues, but fixable without redesign.
|
|
79
|
+
- **FAIL**: Fundamental problems requiring architectural change.
|
|
80
|
+
|
|
81
|
+
If a section has no items, write "None."
|