summaryrefslogtreecommitdiff
path: root/skills
AgeCommit message (Collapse)Author
2026-03-11Add context isolation principle to all delegation skillsJesse Vincent
Subagents should never inherit the parent session's context or history. The dispatcher constructs exactly what each subagent needs, keeping both sides focused: the subagent on its task, the controller on coordination. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11Fix owner PID tracking: resolve grandparent to get actual harness PIDJesse Vincent
$PPID inside start-server.sh is the ephemeral shell the harness spawns to run the script — it dies immediately when the script exits, causing the server to shut down after ~60s. Now resolves grandparent PID via `ps -o ppid= -p $PPID` to get the actual harness process (e.g. claude). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11Exit server when owner process dies (harness-agnostic cleanup)Jesse Vincent
start-server.sh passes $PPID as BRAINSTORM_OWNER_PID to the server. The server checks every 60s if the owner process is still alive (kill -0). If it's gone, the server shuts down immediately — deletes .server-info, writes .server-stopped, exits cleanly. Works across all harnesses (CC, Codex, Gemini CLI) since it tracks the shell process that launched the script, which dies when the harness dies. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11Auto-exit server after 30 minutes idle, add liveness check to skillJesse Vincent
Server tracks activity (HTTP requests, WebSocket messages, file changes) and exits after 30 minutes of inactivity. On exit, deletes .server-info and writes .server-stopped with reason. Visual companion guide now instructs agents to check .server-info before each screen push and restart if needed. Works on all harnesses, not just CC. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11(fix): declare encoding meta on viz brainstorm server pagesDrew Ritter
2026-03-11Remove vendored node_modules, swap to zero-dep server.jsJesse Vincent
Delete 717 files: index.js, package.json, package-lock.json, and the entire node_modules directory (express, ws, chokidar + deps). Update start-server.sh to use server.js. Remove gitignore exception. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11Add HTTP server, WebSocket handling, and file watching to server.jsJesse Vincent
Complete zero-dep brainstorm server. Uses knownFiles set to distinguish new screens from updates (macOS fs.watch reports 'rename' for both). All 56 tests pass (31 unit + 25 integration). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11Add WebSocket protocol layer for zero-dep brainstorm serverJesse Vincent
Implements RFC 6455 handshake, frame encoding/decoding for text frames. All 31 unit tests pass. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10Fix brainstorming skill: add spec review loop to checklist and flow diagramJesse Vincent
The spec review loop (dispatch spec-document-reviewer subagent, iterate until approved) existed in the prose "After the Design" section but was missing from both the checklist and the process flow diagram. Since agents follow the diagram and checklist more reliably than prose, the spec review step was being skipped entirely. Added step 7 (spec review loop) to the checklist and a corresponding "Spec review loop" → "Spec review passed?" node pair to the dot graph. Tested with claude --plugin-dir and claude-session-driver: worker now correctly dispatches the spec-document-reviewer subagent after writing the design doc and before presenting to the user for review. Fixes #677.
2026-03-09Remove fsevents from bundled deps (macOS-only native binary)Jesse Vincent
fsevents is an optional chokidar dependency that only works on macOS. Chokidar falls back gracefully without it on all platforms.
2026-03-09Bundle brainstorm server dependencies instead of requiring npm installJesse Vincent
Vendor node_modules into the repo so the brainstorm server works immediately on fresh plugin installs without needing npm at runtime.
2026-03-09Auto-install brainstorm server dependencies on first runJesse Vincent
start-server.sh now runs npm install if node_modules is missing. Fixes broken server when superpowers is installed as a plugin (node_modules are in .gitignore and not included in the clone).
2026-03-09Write server-info to file so agents can find URL after background launchJesse Vincent
The server now writes its startup JSON to $SCREEN_DIR/.server-info. Agents that launch the server via background execution (where stdout is hidden) can read this file to get the URL, port, and screen_dir.
2026-03-09Replace Codex-specific server guidance with per-platform launch instructionsJesse Vincent
The visual companion docs now give concrete launch commands per platform: Claude Code (default mode), Codex (auto-foreground via CODEX_CI), Gemini CLI (--foreground with is_background), and a fallback for other environments.
2026-03-09Move brainstorm-server into skill directory per agentskills specJesse Vincent
Moves lib/brainstorm-server/ → skills/brainstorming/scripts/ so the brainstorming skill uses relative paths (scripts/start-server.sh) instead of ${CLAUDE_PLUGIN_ROOT}/lib/brainstorm-server/. This follows the agentskills.io specification for portable, cross-platform skills. Updates visual-companion.md references and test paths. All tests pass.
2026-03-09Load Gemini tool mapping via GEMINI.md @import instead of skill referenceJesse Vincent
The tool mapping table is now @referenced directly in GEMINI.md so Gemini CLI always has it in context when processing skills, rather than requiring Gemini to find and read a reference file from within the skill.
2026-03-09Add Gemini CLI tool mapping and update using-superpowers referencesJesse Vincent
Maps all Claude Code tool names to Gemini CLI equivalents (read_file, write_file, replace, run_shell_command, grep_search, glob, write_todos, activate_skill, etc.). Notes that Gemini CLI has no subagent support. Updates using-superpowers to reference GEMINI.md in instruction priority and link to the new gemini-tools.md reference alongside codex-tools.md.
2026-03-09fix(brainstorming): add user review gate between spec and writing-plansJesse Vincent
After the spec review loop passes, the skill now asks the user to review the written spec file before invoking writing-plans. This prevents the agent from racing ahead to implementation planning without giving the user a chance to read and adjust the written document. Fixes #565
2026-03-08Fix stale docs/plans path in brainstorming checklistJesse Vincent
2026-03-08Add v5.0.0 release notes and include AGENTS.md in instruction priorityJesse Vincent
2026-03-08Broaden visual companion offer language beyond design-specific use casesJesse Vincent
2026-03-08Remove batch-and-stop pattern from executing-plans skillJesse Vincent
Executing-plans no longer pauses every 3 tasks for review. Also adds a note encouraging users to use a subagent-capable platform for better quality results.
2026-03-06Replace 'For Claude' with 'For agentic workers' in plan headersJesse Vincent
2026-03-06Add project-level scope assessment to brainstorming pipelineJesse Vincent
Brainstorming now assesses whether a project is too large for a single spec and helps decompose into sub-projects. Scope check is inline in the understanding phase (testing showed it was skipped as a separate step). Spec reviewer also checks scope. Writing-plans has a backstop.
2026-03-06Add architecture guidance and capability-aware escalation to skillsJesse Vincent
Add design-for-isolation and working-in-existing-codebases guidance to brainstorming. Add file size awareness and escalation prompts to SDD implementer and code quality reviewer. Writing-plans gets architecture section sizing guidance. Spec and plan reviewers get architecture and file size checks.
2026-03-06Add plan review loop and checkbox syntax to writing-plans skillJesse Vincent
Plans now include a review loop dispatching plan-document-reviewer subagent. Checkbox syntax (- [ ]) on steps for tracking progress.
2026-03-06feat: add plan document reviewer prompt templateJesse Vincent
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-06feat: add spec document reviewer prompt templateJesse Vincent
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-06feat: enforce subagent-driven-development on capable harnessesJesse Vincent
- Subagent-driven-development is now mandatory when harness supports it - No longer offer choice between subagent-driven and executing-plans - Executing-plans reserved for harnesses without subagent capability - Update plan header to reference both execution paths Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-06refactor: restructure specs and plans directoriesJesse Vincent
- Specs (brainstorming output) now go to docs/superpowers/specs/ - Plans (writing-plans output) now go to docs/superpowers/plans/ - User preferences for locations override these defaults - Update all skill references and test files Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-06Add visual companion integration to brainstorming skillJesse Vincent
Brainstorming skill now offers an optional browser-based visual companion for questions involving visual decisions (mockups, layouts, diagrams). The companion is a tool, not a mode — each question is evaluated for whether browser or terminal is more appropriate. Includes visual-companion.md progressive disclosure guide with server workflow, screen authoring patterns, and feedback collection. Co-Authored-By: Drew Ritter <drew@ritter.dev>
2026-03-06Add SUBAGENT-STOP gate to prevent subagent skill leakageDrew Ritter
Codex subagents inherit filesystem access and can discover superpowers skills via native discovery. Without guidance, they activate the 1% rule and invoke full skill workflows instead of executing their assigned task. - Add SUBAGENT-STOP block to using-superpowers that tells subagents to skip the skill and execute their dispatch prompt instead - Document collab feature requirement for Codex subagent skills
2026-03-06Move Codex tool mapping to progressive disclosure reference fileDrew Ritter
Move inline routing table from using-superpowers to references/codex-tools.md, leveraging native progressive disclosure for companion files. Add Platform Adaptation pointer so non-CC platforms can find tool equivalents.
2026-03-06Add instruction priority hierarchy to using-superpowers skillJesse Vincent
Clarifies that user instructions (CLAUDE.md, direct requests) always take precedence over Superpowers skills, which in turn override default system prompt behavior. Ensures users remain in control. Also updates RELEASE-NOTES.md with unreleased changes including the visual companion feature.
2026-02-12Enforce brainstorming workflow with hard gates and process flowJesse Vincent
The brainstorming skill described a process but didn't enforce it. Models would skip the design phase and jump straight to implementation skills like frontend-design, or collapse the entire brainstorming process into a single text block. Changes to brainstorming skill: - Add HARD-GATE: no implementation until design is approved - Add explicit checklist that maps to task items - Add graphviz process flow with writing-plans as terminal state - Add anti-pattern callout for "too simple to need a design" - Scale design sections by section complexity, not project complexity - Make writing-plans the only valid next skill after brainstorming Changes to using-superpowers skill: - Add EnterPlanMode intercept to workflow graph - Route plan mode attempts through brainstorming skill instead Tested with claude -p --plugin-dir across three variants (no skill, original skill, updated skill) to verify behavioral compliance.
2026-02-12fix(writing-plans): use 4-backtick fence for nested code blocks in Task ↵coltwindy
Structure template
2026-02-05Fix stale Codex skills path in writing-skills SKILL.mdDrew Ritter
~/.codex/skills/ is deprecated; Codex uses ~/.agents/skills/ via native discovery. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-01-29docs: change main branch red flag to require explicit user consentCL Kao
Instead of prohibiting main branch work entirely, allow it with explicit user consent. This is more flexible while still ensuring users are aware of the implications. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29docs(executing-plans): add worktree requirement before executing plansCL Kao
Add Integration section referencing using-git-worktrees skill as required, consistent with subagent-driven-development skill. Also add reminder to never start on main/master branch. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29docs(using-git-worktrees): add subagent/executing-plans as callersCL Kao
Update Integration section to show bidirectional relationship: subagent-driven-development and executing-plans now list using-git-worktrees as required, so this skill should list them as callers. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29docs(subagent-driven-development): add main branch red flag to Never listCL Kao
Add explicit warning against starting implementation on main/master branch without first using a worktree for isolation. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29docs(subagent-driven-development): add using-git-worktrees as required skillCL Kao
Adds using-git-worktrees as the first required workflow skill in the Integration section. This makes explicit that an isolated workspace should be set up before starting subagent-driven development. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14docs: fix documentation accuracy issues in skills (#157)Joshua Shanks
- Fix broken commit message HEREDOC syntax in sharing-skills/SKILL.md - Move entire message inside command substitution for valid bash - Fix contradictory test requirements in systematic-debugging/SKILL.md - Clarify automated tests are "strongly preferred" - One-off scripts should be documented for regression testing - Requirement is for "reproducible test" not escape clause - Fix typo in testing-skills-with-subagents/SKILL.md - "ith" -> "with" in checklist item
2025-12-26Strengthen using-superpowers for explicit skill requestsJesse Vincent
Addresses failure mode where Claude skips skill invocation even when user explicitly requests it by name (e.g., "subagent-driven-development, please"). Skill changes: - "Check for skills" → "Invoke relevant or requested skills" - "BEFORE ANY RESPONSE" → "BEFORE any response or action" - Added reassurance that wrong skill invocations are okay - New red flag: "I know what that means" Tests: - New test suite for explicit skill requests - Single-turn and multi-turn scenarios with --continue - Tests with haiku model and user CLAUDE.md
2025-12-23Add automation-over-documentation guidance to writing-skillsJesse Vincent
Mechanical constraints should be automated, not documented—save skills for judgment calls. Based on insight from @EthanJStark in PR #146.
2025-12-23Add GitHub thread reply guidance to receiving-code-reviewJesse Vincent
When replying to inline review comments, use the thread API rather than posting top-level PR comments. Based on feedback from @ralphbean in PR #79.
2025-12-23fix: use git check-ignore for worktree gitignore verification (#160)Mike Harrison
* fix: use git check-ignore for worktree gitignore verification The using-git-worktrees skill previously used grep to check only the local .gitignore file, missing patterns in global gitignore configurations (core.excludesfile). This caused unnecessary modifications to local .gitignore when the directory was already globally ignored. Changed verification from grep to git check-ignore, which respects Git's full ignore hierarchy (local, global, and system gitignore files). Fixes obra/superpowers#101 Tested with: Subagent pressure scenarios verifying correct behavior with global gitignore configuration. Baseline test confirmed the bug, post-fix test confirmed correct behavior. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * style: convert bold emphasis to headings in Common Mistakes section Convert **Title** patterns to ### Title headings for markdown lint compliance (MD036 - no emphasis as heading). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-22Clarify that Skill tool loads skill content directlyv4.0.1Jesse Vincent
Fixes pattern where Claude would invoke a skill then try to Read the file separately. The Skill tool already provides the content. - Add "How to Access Skills" section to using-superpowers - Change "read the skill" → "invoke the skill" - Commands now use fully qualified names (superpowers:brainstorming etc)
2025-12-17Tweak the brainstorming skill to try to improve triggeringJesse Vincent
2025-12-17Fix skill descriptions: remove workflow summaries that override flowchartsJesse Vincent
Testing revealed that descriptions summarizing workflow cause Claude to follow the description instead of reading the skill body. Changed all descriptions to "when to use" triggers only: - dispatching-parallel-agents: 2+ independent tasks without shared state - executing-plans: have a written plan to execute with review checkpoints - requesting-code-review: completing tasks, features, or before merging - systematic-debugging: encountering bugs before proposing fixes - test-driven-development: implementing features before writing code - writing-plans: have spec/requirements for multi-step task before coding - writing-skills: updated with "description trap" documentation The description trap: workflow summaries in descriptions create shortcuts Claude takes, skipping the skill body entirely.