summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2026-03-01fix: use double quotes for CLAUDE_PLUGIN_ROOT in SessionStart hookatian8179
Replace single quotes with escaped double quotes around ${CLAUDE_PLUGIN_ROOT} in hooks.json so the shell variable expands correctly on Linux. Single quotes prevent variable expansion, causing the hook to fail with 'No such file or directory'. Closes #577
2026-02-21Merge pull request #524 from abzhaw/mainJesse Vincent
chore: ignore .DS_Store
2026-02-21Release v4.3.1: Cursor support, Windows hook fixv4.3.1Jesse Vincent
- Add Cursor plugin manifest and hook response compatibility - Restore polyglot wrapper for Windows SessionStart reliability - Fix 6 Windows issues: #518, #504, #491, #487, #466, #440
2026-02-21chore: ignore .DS_Storeabzhaw
2026-02-21Merge pull request #523 from obra/fix/windows-hooks-4.3.1Jesse Vincent
fix: restore polyglot wrapper for Windows hook compatibility (4.3.1)
2026-02-21fix: quote CLAUDE_PLUGIN_ROOT for spaces, use POSIX-safe path resolutionJesse Vincent
- Quote ${CLAUDE_PLUGIN_ROOT} in hooks.json to handle paths with spaces (e.g. "C:\Users\Robert Zimmermann\...") - Replace bash-only ${BASH_SOURCE[0]:-$0} with POSIX-safe $0 in run-hook.cmd so the Unix path doesn't break on dash (/bin/sh) Addresses: #518 (spaces in path), Ubuntu/Debian compatibility Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21fix: restore polyglot wrapper to fix Windows hook window spawningJesse Vincent
Claude Code spawns hook commands with shell:true + windowsHide:true, but on Windows the execution chain cmd.exe -> bash.exe causes Git Bash (MSYS2) to allocate its own console window, bypassing the hide flag. This creates visible terminal windows that steal focus on every SessionStart event (startup, resume, clear, compact). The fix: - Rename session-start.sh to session-start (no extension) so Claude Code's .sh auto-detection regex doesn't fire and prepend "bash" - Restore run-hook.cmd polyglot wrapper to control bash invocation on Windows (tries known Git Bash paths, then PATH, then exits silently if no bash found) - On Unix, the polyglot's shell portion runs the script directly This avoids Claude Code's broken .sh auto-prepend, gives us control over how bash is invoked on Windows, and gracefully handles missing bash instead of erroring. Addresses: #440, #414, #354, #417, #293 Upstream: anthropics/claude-code#14828
2026-02-17update 'Verify Installation' sectionDrew Ritter
'Verify Installation' section with updated instructions.
2026-02-17Add Cursor plugin manifest and hook response compatibilityericzakariasson
Enable native Cursor plugin discovery with a .cursor-plugin manifest, and make the SessionStart hook emit both Cursor and Claude response shapes so context injection works across both platforms. Document Cursor install usage in the README while keeping Claude-first wording. Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12Release v4.3.0: Enforce brainstorming workflow, prevent unintended plan modev4.3.0Jesse Vincent
2026-02-12Merge pull request #462 from obra/enforce-brainstorming-workflowJesse Vincent
Enforce brainstorming workflow with hard gates and process flow
2026-02-12Make SessionStart hook synchronous so using-superpowers loads before first turnJesse Vincent
When async is true, the hook may not complete before the model starts responding, meaning the using-superpowers skill instructions aren't in context for the first message.
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-12Merge pull request #457 from ColtWindy/fix/writing-plans-nested-code-fenceJesse Vincent
fix(writing-plans): use 4-backtick fence for nested code blocks in Task Structure template
2026-02-12Merge pull request #452 from heliusjing/fix/add-verbose-flag-for-stream-jsonJesse Vincent
Fix: add --verbose flag for stream-json output in SDD test runner
2026-02-12fix(writing-plans): use 4-backtick fence for nested code blocks in Task ↵coltwindy
Structure template
2026-02-11Fix stream-json output requiring --verbose flagchengfei.jin
Claude CLI now requires --verbose when using --output-format stream-json with -p (print mode). Without it, the test fails with: "Error: When using --print, --output-format=stream-json requires --verbose"
2026-02-05Release v4.2.0: Windows fixes, Codex native skill discovery, worktree ↵v4.2.0Jesse Vincent
requirements
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-02-05Add Windows uninstall instructions and expand migration stepsDrew Ritter
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-05Drop installer script and AGENTS.md gatekeeperDrew Ritter
Testing showed native skill discovery works without the AGENTS.md gatekeeper — using-superpowers bootstraps itself via SKILL.md frontmatter. Install is now just clone + symlink, driven by INSTALL.md. No Node.js dependency. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-05Fix path resolution and symlink removal in Codex installerDrew Ritter
Use fileURLToPath() instead of manual URL pathname parsing to correctly handle paths with spaces and special characters on all platforms. Replace execSync rm/rmdir with fs.unlinkSync for stale symlink removal. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-05Polish docs from 5-agent reviewDrew Ritter
- INSTALL.md: add prerequisites, Windows note, verify step, clone deletion in uninstall - README.codex.md: fix Windows section (junctions not symlinks), add description field guidance, consistent terminology - install-codex.mjs: accurate link type labels (symlink vs junction) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-05Rewrite Codex docs for native skill discoveryDrew Ritter
Replaces bootstrap CLI references with native discovery flow. Install is now clone + run installer. Documents tool mappings, personal skills path, and Windows junction fallback. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-05Rewrite INSTALL.md for native skill discoveryDrew Ritter
Two-step install: clone + run installer. Replaces the old manual setup that required editing AGENTS.md by hand. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-05Add minimal Codex installer for native skill discoveryDrew Ritter
Creates symlink from ~/.agents/skills/superpowers to repo skills dir, updates ~/.codex/AGENTS.md with gatekeeper block, removes old bootstrap block if present. Windows junction fallback when symlinks are blocked. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-05Remove bootstrap CLI and related filesDrew Ritter
The bootstrap CLI (superpowers-codex), Windows wrapper, and bootstrap content file are no longer needed — Codex now has native skill discovery that replaces this mechanism. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-05Fix ~/ path expansion on Windows — use $HOME insteadDrew Ritter
PowerShell doesn't expand ~ when passed as an argument to node, causing MODULE_NOT_FOUND errors. $HOME expands correctly in both bash and PowerShell. Fixes #285 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-05Fix Windows/PowerShell invocation of superpowers-codexDrew Ritter
Windows doesn't respect shebangs, so directly invoking the extensionless superpowers-codex script triggers an "Open with" dialog. Prefix all invocations with `node` (harmless on Unix, required on Windows) and add a .cmd wrapper for manual invocation on Windows. Fixes #285, #243 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-05fix: replace O(n^2) escape_for_json with parameter substitutionJesse Vincent
The character-by-character loop using ${input:$i:1} was O(n^2) in bash due to substring copy overhead. On Windows Git Bash this took 60+ seconds, freezing terminal input even with async hooks. Replaced with bash parameter substitution (${s//old/new}) which runs each pattern as a single C-level pass. 7x faster on macOS, expected to be dramatically faster on Windows Git Bash where the original caused the worst hangs. Relates to #404, #413
2026-02-05fix: run SessionStart hook async to prevent Windows terminal freezeJesse Vincent
The synchronous SessionStart hook blocked the TUI from entering raw mode on Windows, freezing all keyboard input. The pure-bash escape_for_json function is O(n^2) on Git Bash, taking 60+ seconds. Running the hook async prevents the freeze while still injecting superpowers context. Multiple users confirmed this workaround. Fixes #404, #413, #414, #419
2026-02-05fix: Windows hook execution for Claude Code 2.1.x (#331)Jesse Vincent
* fix: convert shell scripts from CRLF to LF line endings Add .gitattributes to enforce LF line endings for shell scripts, preventing bash errors like "/usr/bin/bash: line 1: : command not found" when scripts are checked out on Windows with CRLF. Fixes #317 (SessionStart hook fails due to CRLF line endings) Files converted: - hooks/session-start.sh - lib/brainstorm-server/start-server.sh - lib/brainstorm-server/stop-server.sh - lib/brainstorm-server/wait-for-feedback.sh - skills/systematic-debugging/find-polluter.sh Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * fix: update Windows hook execution for Claude Code 2.1.x Claude Code 2.1.x changed the Windows execution model: it now auto-detects .sh files in hook commands and prepends "bash " automatically. This broke the polyglot wrapper because: Before: "run-hook.cmd" session-start.sh (wrapper executes) After: bash "run-hook.cmd" session-start.sh (bash can't run .cmd) Changes: - hooks.json now calls session-start.sh directly (Claude Code handles bash) - Added deprecation comment to run-hook.cmd explaining the change - Updated RELEASE-NOTES.md Fixes #317, #313, #275, #292 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05Simplify installation verification instructionsJesse Vincent
Remove /help command check and specific slash command list. Skills are primarily invoked by describing what you want to do, not by running specific commands.
2026-01-30Merge pull request #382 from clkao/fix/subagent-worktree-requirementJesse Vincent
fix: require worktree setup before subagent-driven-development and executing-plans
2026-01-30Merge pull request #361 from deinspanjer/codex-bootstrap-support-collab-subagentJesse Vincent
Codex: clarify subagent tool mapping in bootstrap + README
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-29test: add Test 9 - main branch red flag warningCL Kao
TDD: Test verifies that subagent-driven-development skill warns against starting implementation directly on main/master branch. Test expects skill to recommend worktree or feature branch instead. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29test: add worktree requirement test for subagent-driven-developmentCL Kao
Add Test 8 to verify that using-git-worktrees is mentioned as a required skill for subagent-driven-development. This test will initially fail per TDD approach - the skill file needs to be updated to pass this test. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29fix(tests): handle case variations in skill recognition testCL Kao
The assertion now matches "subagent-driven-development", "Subagent-Driven Development", and "Subagent Driven" since Claude's responses may use different casing and formatting styles. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25codex: clarify subagent tool mapping in bootstrapDaniel E.
2026-01-23Merge pull request #349 from obra/fix/opencode-issuesv4.1.1Jesse Vincent
fix(opencode): standardize on plugins/ directory, fix symlink docs
2026-01-23chore: bump version to 4.1.1Jesse Vincent
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23fix(opencode): standardize on plugins/ directory per official docsJesse Vincent
OpenCode officially documents ~/.config/opencode/plugins/ (plural) as the plugin directory. Our docs previously used plugin/ (singular), which also works but caused confusion. Changes: - Renamed .opencode/plugin/ to .opencode/plugins/ in repo structure - Updated INSTALL.md to use plugins/ everywhere - Updated README.opencode.md (all platforms: Linux, macOS, Windows CMD, PowerShell, Git Bash) to use plugins/ - Updated test scripts to match Tested: Both singular and plural forms work, but we now match official docs. Fixes #343 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23fix(opencode): update docs for native skills, fix symlink instructionsJesse Vincent
Issues addressed: - #342: INSTALL.md still referenced removed find_skills/use_skill tools - #339: Symlink instructions could fail if target already exists Changes: - INSTALL.md: Added missing skills symlink step, updated to native skill tool - INSTALL.md: Removed Node.js prerequisite (no longer needed) - README.opencode.md: Added explicit rm before ln -s (ln -sf doesn't remove dirs) - Both files: Use ln -s instead of ln -sf for clarity Note: #343 (plugin vs plugins folder name) not addressed in this commit Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23chore: bump plugin version to 4.1.0Jesse Vincent
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23chore: release v4.1.0v4.1.0Jesse Vincent
Breaking changes: - OpenCode: Switched to native skills system (migration required) Fixes: - OpenCode: Fixed agent reset on session start (#226) - OpenCode: Fixed Windows installation (#232) - Claude Code: Fixed Windows hook execution for 2.1.x Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>