summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-12-23Make slash commands user-only with disable-model-invocationJesse Vincent
Added disable-model-invocation: true to /brainstorm, /execute-plan, and /write-plan commands. Claude can still invoke the underlying skills directly, but the slash commands are now restricted to manual user invocation only.
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: inherit agent model (#144)egornomic
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-17Update README for v4.0.0 skill consolidations and two-stage reviewJesse Vincent
2025-12-17Prepare v4.0.0 releasev4.0.0Jesse Vincent
- Rewrite release notes centering new features (two-stage review, debugging tools, test infrastructure) - Bump version to 4.0.0 in plugin.json and marketplace.json - Remove .claude/settings.local.json from tracking - Add .claude/ to .gitignore
2025-12-17Tweak the brainstorming skill to try to improve triggeringJesse Vincent
2025-12-17Bump version to v4.0.0Jesse Vincent
2025-12-17Update v3.7.0 release notes with all changes since v3.6.2Jesse Vincent
2025-12-17Add skill triggering test frameworkJesse Vincent
Creates tests/skill-triggering/ to validate skills trigger correctly from naive prompts (without explicitly naming the skill). Tests 6 skills: - systematic-debugging - test-driven-development - writing-plans - dispatching-parallel-agents - executing-plans - requesting-code-review All 6 tests pass - skills trigger correctly based on their descriptions.
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.
2025-12-17Document skill description trap: descriptions override flowchartsJesse Vincent
Testing revealed that skill descriptions summarizing workflow cause Claude to follow the description instead of reading the skill body. - A description saying "code review between tasks" caused ONE review - The flowchart clearly showed TWO reviews (spec compliance + quality) - Minimal description ("Use when...") correctly deferred to flowchart Updated writing-skills with: - "Description = When to Use, NOT What the Skill Does" section - Cautionary tale about this actual failure - Examples of good (triggers only) vs bad (workflow summary) descriptions Updated subagent-driven-development: - Removed workflow summary from description - Now just: "Use when executing implementation plans..." Updated test runner: - Added --dangerously-skip-permissions for automated testing
2025-12-17Add .claude settings to scaffolds for auto-approved permissionsJesse Vincent
2025-12-17Fix skill description to match flowchart: two-stage review (spec then quality)Jesse Vincent
2025-12-17Add test suite for subagent-driven-development skillJesse Vincent
Two test projects for validating the skill with full end-to-end runs: - go-fractals: 10 tasks, CLI tool with Sierpinski and Mandelbrot - svelte-todo: 12 tasks, CRUD app with localStorage and Playwright Each test has design.md, plan.md, and scaffold.sh. Run with: ./tests/subagent-driven-dev/run-test.sh go-fractals
2025-12-17Add render-graphs.js tool for visualizing skill flowchartsJesse Vincent
2025-12-17Rewrite subagent-driven-development with executable flowchartsJesse Vincent
- Add graphviz/dot flowcharts as primary executable instructions - Extract prompt templates to separate collateral files: - ./implementer-prompt.md - ./spec-reviewer-prompt.md - ./code-quality-reviewer-prompt.md - Use qualified skill names (superpowers:skill-name) - Make flowchart labels explicit and action-oriented - Add "When to Use" decision flowchart - Keep detailed prose as supporting content
2025-12-17Consolidate debugging techniques into systematic-debugging skillJesse Vincent
Move condition-based-waiting, defense-in-depth, and root-cause-tracing into systematic-debugging as progressive disclosure supporting files. These techniques are now available as reference material within the systematic-debugging skill directory, reducing skill count while keeping content accessible when needed. Note: Claude Code's SLASH_COMMAND_TOOL_CHAR_BUDGET env variable silently limits skill discovery, which drove this consolidation to ensure core skills remain visible.
2025-12-17Strengthen brainstorming skill trigger and add skill priority guidanceJesse Vincent
- Update brainstorming description to use imperative "You MUST use this" - Clarify trigger: "before any creative work - creating features, building components, adding functionality, or modifying behavior" - Add Skill Priority section to using-superpowers to ensure process skills (brainstorming, debugging) are invoked before implementation skills
2025-12-17Integrate testing-skills-with-subagents into writing-skillsJesse Vincent
- Moved testing-skills-with-subagents to writing-skills/testing-skills-with-subagents.md - Moved examples/ directory to writing-skills/examples/ - Updated writing-skills to reference via @testing-skills-with-subagents.md - Updated README to reflect consolidation - Removed standalone skill (now a supporting reference)
2025-12-17Integrate testing-anti-patterns into test-driven-developmentJesse Vincent
- Moved testing-anti-patterns to test-driven-development/testing-anti-patterns.md - Added reference in TDD skill for progressive disclosure - Updated README to reflect consolidation - Removed standalone skill (now a supporting reference)
2025-12-17Remove obsolete sharing-skills skillJesse Vincent
The contribution workflow is now via standard GitHub PR process, not a dedicated skill. The skill was documenting an old workflow that no longer applies.
2025-12-17Add v3.7.0 release notes for dev branch changesJesse Vincent
2025-12-17Improve using-superpowers skill to prevent rationalization failuresJesse Vincent
Tested against claude -p with multiple scenarios. Key fixes: - Clarify skill check comes BEFORE ANY response including clarifications - Add rationalizations: "I need more context first", "Let me explore first", "This feels productive" - Flowchart entry point now "User message received" β†’ clearer blocking gate - Shorter, more scannable format (flowchart + table) Verified: "Fix login bug" now triggers systematic-debugging first
2025-12-17Add comprehensive testing documentationJesse Vincent
Documents: - How to run integration tests - subagent-driven-development test details - Token analysis tool usage - Troubleshooting common issues - Writing new integration tests - Session transcript format
2025-12-17Add token usage analysis to subagent-driven-development testJesse Vincent
- Rewrote analyze-token-usage.py to parse main session file correctly - Extracts usage from toolUseResult fields for each subagent - Shows breakdown by agent with descriptions - Integrated into test-subagent-driven-development-integration.sh - Displays token usage automatically after each test run
2025-12-17fix: verify skill usage via session transcript not text outputJesse Vincent
The skill instructions are internal and don't appear in user-facing output. Updated verification to parse the session JSONL transcript and check for actual tool usage: - Skill tool invocation - Task tool (subagents) - TodoWrite (tracking) - Implementation results
2025-12-17test: use bypassPermissions mode for unrestricted testingJesse Vincent
dontAsk mode was auto-denying Write tool. Use bypassPermissions instead to allow full tool access in this controlled test environment.
2025-12-17test: auto-approve permissions with --permission-mode dontAskJesse Vincent
Headless tests need automatic permission approval to write files. Using dontAsk mode to auto-approve permissions for test directory.
2025-12-17test: add --add-dir flag for temp directory accessJesse Vincent
Claude needs explicit permission to access the temp test directory. Added --add-dir flag to grant access to the test project.
2025-12-17test: show Claude output in real-time during integration testJesse Vincent
Use tee instead of redirection so test output is visible during execution while still being saved to file for analysis.
2025-12-17fix: run integration test from superpowers dir to access local dev skillsJesse Vincent
The superpowers-dev marketplace makes skills available only when running from the plugin directory. Updated test to run claude from superpowers directory while working on the test project.
2025-12-17Fix tests to use --allowed-tools flagJesse Vincent
Claude Code headless mode requires --allowed-tools flag to actually execute tool calls. Without it, Claude only responds as if it's doing things but doesn't actually use tools. Changes: - Updated run_claude helper to accept allowed_tools parameter - Updated integration test to use --allowed-tools=all - This enables actual tool execution (Write, Task, Bash, etc.) Now the integration test should actually execute the workflow instead of just talking about it.
2025-12-17Fix syntax error in integration testJesse Vincent
Simplified command substitution to avoid shell parsing issues. Instead of nested heredoc in command substitution, write prompt to file first then read it.
2025-12-17Add integration test for subagent-driven-developmentJesse Vincent
Created full end-to-end integration test that executes a real plan and verifies the new workflow improvements actually work. New test: test-subagent-driven-development-integration.sh - Creates real Node.js test project - Generates implementation plan (2 tasks) - Executes using subagent-driven-development skill - Verifies 8 key behaviors: 1. Plan read once at beginning (not per task) 2. Full task text provided to subagents (not file reading) 3. Subagents perform self-review 4. Spec compliance review before code quality 5. Spec reviewer reads code independently 6. Working implementation produced 7. Tests pass 8. No extra features added (spec compliance) Integration tests are opt-in (--integration flag) due to 10-30 min runtime. Updated run-skill-tests.sh: - Added --integration flag - Separates fast tests from integration tests - Shows note when integration tests skipped Updated README with integration test documentation. Run with: ./run-skill-tests.sh # Fast tests only ./run-skill-tests.sh --integration # Include integration tests
2025-12-17Add Claude Code skills test frameworkJesse Vincent
Created automated test suite for testing superpowers skills using Claude Code CLI in headless mode. New files: - tests/claude-code/run-skill-tests.sh - Main test runner - tests/claude-code/test-helpers.sh - Helper functions for testing - tests/claude-code/test-subagent-driven-development.sh - First test - tests/claude-code/README.md - Documentation Test framework features: - Run Claude Code with prompts and capture output - Assertion helpers (contains, not_contains, count, order) - Test project creation helpers - Timeout support (default 5 minutes) - Verbose mode for debugging - Specific test selection First test verifies subagent-driven-development skill: - Skill loading - Workflow ordering (spec compliance before code quality) - Self-review requirements - Plan reading efficiency (read once) - Spec compliance reviewer skepticism - Review loops - Task context provision Run with: cd tests/claude-code && ./run-skill-tests.sh
2025-12-17Emphasize spec compliance review must complete before code qualityJesse Vincent
Made sequencing explicit: - Spec compliance review loop must fully complete (βœ…) before code quality - Added "Do NOT proceed to code quality review until spec compliance is βœ…" - Code Quality Review section starts with "Only run after spec compliance review is complete" - Red Flags: Added "Start code quality review before spec compliance is βœ… (wrong order)" This ensures we don't waste time reviewing code quality of the wrong implementation. Verify they built the right thing first, then verify they built it well.
2025-12-17Make spec compliance reviewer skeptical and verification-focusedJesse Vincent
The spec compliance reviewer now: - Does NOT trust implementer's report - Is warned implementer finished suspiciously quickly - MUST verify everything by reading actual code - Compares implementation to requirements line by line - Reports issues with file:line references Key additions: - "Do Not Trust the Report" section - Explicit DO NOT / DO lists - "Verify by reading code, not by trusting report" - Changed "What Was Implemented" to "What Implementer Claims They Built" This prevents rubber-stamping and ensures independent verification of spec compliance against actual codebase.
2025-12-17Improve subagent-driven-development workflowJesse Vincent
Key improvements based on feedback: 1. Read plan once, not per task - Extract all tasks in Step 1 - Reference extracted tasks in Step 2 - Eliminates redundant file reading 2. Enable questions during work - Not just before, but also while working - "It's always OK to ask questions" - Don't guess or make assumptions 3. Add self-review before reporting - Completeness: implemented everything? - Quality: best work, clear names? - Discipline: avoided overbuilding? - Testing: comprehensive, real behavior? - Catches issues before handoff 4. Add spec compliance review - Separate reviewer checks: built the right thing? - Flags missing requirements - Flags extra/unneeded work - Flags misunderstandings - Runs BEFORE code quality review 5. Make reviews loops, not one-shot - Reviewer finds issues - Implementer fixes - Reviewer reviews again - Repeat until approved - Applies to both spec and code quality Two-stage review process: - Stage 1: Spec compliance (right thing?) - Stage 2: Code quality (built well?) This enables subagents to do their best work with clear requirements, opportunities to clarify, self-critique, and thorough review loops.
2025-12-17Update subagent-driven-development: controller provides full task textJesse Vincent
Changed workflow so controller provides complete task context directly rather than making subagent read plan file. Key changes: - Controller reads plan and extracts full task text - Controller provides scene-setting context (dependencies, architecture) - Subagent receives complete information in prompt (no file reading) - Subagent can ask clarifying questions before beginning work - Controller handles questions/concerns before subagent proceeds Benefits: - No file reading overhead for subagent - Controller curates exactly what context is needed - Questions surfaced before work begins (not after) - Subagent has complete information to do best work This enables subagents to start with clarity rather than ambiguity.
2025-12-17Add skills improvement plan from user feedbackJesse Vincent
Analyzed feedback from two Claude instances using superpowers in real development scenarios. Identified 8 core problems and proposed improvements organized by impact and risk. Key problems: - Configuration change verification gap (verify success not intent) - Background process accumulation across subagents - Context bloat in subagent prompts - Missing self-reflection before handoff - Mock-interface drift - Code reviewer file access issues - Skills not being read/enforced - Fix workflow latency Proposed improvements organized in 3 phases: - Phase 1: High-impact, low-risk (do first) - Phase 2: Moderate changes (test carefully) - Phase 3: Optimization (validate first) See plan for detailed analysis and open questions.
2025-12-09fix codex path in release notes (#155)Joshua Shanks
Signed-off-by: Joshua Shanks <jjshanks@gmail.com>
2025-12-09fix: correct context window documentation link (#156)Joshua Shanks
Update relative link to absolute URL for external Anthropic docs.
2025-12-09chore: gitignore .claude/settings.local.json (#153)Shaan Majid
This file contains machine-specific paths and permissions that cause warnings when cloning the repo fresh.
2025-12-03Release v3.6.2: Fix Linux compatibility in polyglot hook wrapperv3.6.2Jesse Vincent
Fixed POSIX compatibility issue in hooks/run-hook.cmd that caused "Bad substitution" errors on Ubuntu/Debian systems where /bin/sh is dash. Changes: - Replaced bash-specific ${BASH_SOURCE[0]:-$0} with POSIX-compliant $0 - Tested with both bash and sh (POSIX mode) on macOS - Updated version to 3.6.2 in all required files Fixes #141
2025-12-01Release v3.6.1: Fix Windows arg forwarding in polyglot wrapperv3.6.1Jesse Vincent
- Add validation for missing script name - Forward up to 8 additional arguments to bash on Windows - Fixes CodeRabbit review feedback from #134
2025-12-01Release v3.6.0: Add Windows support for plugin hooksv3.6.0Jesse Vincent
New features: - Cross-platform polyglot wrapper (run-hook.cmd) for Windows/Unix - Pure bash JSON escaping for Windows compatibility - Documentation for polyglot hooks setup
2025-12-01Add Windows support for plugin hooks (#134)Jesse Vincent
* feat: Add Windows support for session-start hook - Create polyglot session-start.cmd that works in both CMD and bash - Update hooks.json to use the .cmd polyglot launcher - Replace sed/awk with pure bash for JSON escaping (Windows compatibility) The polyglot script uses a heredoc trick: - CMD sees the @echo off block and runs bash.exe with cygpath conversion - Bash sees a heredoc and skips to the Unix section πŸ€– Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * fix: Add execute permission to session-start.cmd for Unix πŸ€– Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * docs: Add comprehensive polyglot hooks documentation - Add docs/windows/polyglot-hooks.md explaining the cross-platform technique - Add reusable run-hook.cmd wrapper for parameterized hook execution - Document how the polyglot works in CMD vs bash - Include troubleshooting section and related GitHub issues πŸ€– Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * test: Add polyglot hook test script for macOS/Linux Run ./test-polyglot.sh from repo root to verify: - Required files exist with execute permissions - Simple wrapper (session-start.cmd) produces valid JSON - Parameterized wrapper (run-hook.cmd) works - Heredoc correctly skips CMD block on Unix πŸ€– Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * fix: Use direct pipe to jq in test to avoid variable escaping issues πŸ€– Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * refactor: Use single reusable run-hook.cmd for all hooks - Remove session-start.cmd in favor of run-hook.cmd - Update hooks.json to use: run-hook.cmd session-start.sh - Simplify test script to only test run-hook.cmd This makes it easy to add more hooks - just create the .sh file and add a line to hooks.json pointing to run-hook.cmd with the script name. πŸ€– Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * fix: Simplify run-hook.cmd CMD block Pass path directly to bash instead of using cygpath in a subshell. The complex quoting was causing issues on Windows. πŸ€– Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * chore: Remove test-polyglot.sh Testing complete - polyglot hooks work on Windows and macOS. πŸ€– Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>