summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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>
2025-11-30Remove model name from core-reviewer (#120)avleen
2025-11-29tweak: clarify skill tool pathJesse Vincent
2025-11-28Revert "feat: echo skill base directory in use-skill"Jesse Vincent
This reverts commit a08f7de64b85a909d3e9c3b0075d9d3a7023d09f.
2025-11-28feat: echo skill base directory in use-skillJesse Vincent
2025-11-26fix(opencode): Use `synthetic: true` for invisible content injection (#122)Josh Thomas
The OpenCode plugin injects the bootstrap and skill content as visible user messages. While `noReply: true` prevents an AI response, the injected content still appears in the chat UI which makes it just a bit noisy. OpenCode's `TextPartInput` supports a `synthetic` Boolean property that hides parts from the UI while keeping them visible to the AI -- it's been available in the v2 message format since around the v1.0.0 version bump.
2025-11-24Update README to be a little more human-written (and mention github sponsors)Jesse Vincent
2025-11-24chore: bump version to 3.5.1v3.5.1Jesse Vincent
2025-11-24fix(opencode): use session.created event for bootstrap injectionJesse Vincent
Switch from chat.message hook to session.created event for injecting the using-superpowers skill content. The new approach: - Injects at session creation via session.prompt() with noReply: true - Explicitly tells model the skill is already loaded to prevent redundant use_skill calls - Consolidates bootstrap generation into getBootstrapContent() helper - Removes fallback pattern in favor of single implementation Tested with 10 consecutive test runs and manual skill trigger validation.
2025-11-24Use more generic "#!/usr/bin/env bash" instead of "#!/bin/bash" (#80)Stefan Otte
"#!/bin/bash" does not work with nixos.
2025-11-23chore: bump version to 3.5.0v3.5.0Jesse Vincent
2025-11-23docs: update release notes with test suite and documentation improvementsJesse Vincent
2025-11-24fix: cleanup remaining code review issuesClaude
- Remove unused destructured parameters (project, $, worktree) from plugin - Add test coverage for checkForUpdates function (error handling cases)
2025-11-23fix: address code review issues in opencode support branchClaude
- Fix test runner exiting early due to ((var++)) returning 1 with set -e - Remove duplicate frontmatter stripping in superpowers-codex, use shared skillsCore.stripFrontmatter() - Remove unused promptsDir/promptFile variables from opencode plugin - Derive superpowers skills path from __dirname for better install flexibility - Simplify test-skills-core.sh by removing failing ESM import attempt
2025-11-23docs: remove duplicate sections and fix conflicting informationJesse Vincent
2025-11-23docs: add using-git-worktrees and subagent-driven-development to workflowJesse Vincent
2025-11-23docs: rewrite workflow in terms of skills, not commandsJesse Vincent
2025-11-23docs: emphasize automatic skill activation over manual commandsJesse Vincent
2025-11-23docs: add workflow section showing brainstorm→plan→execute→finish flowJesse Vincent
2025-11-23docs: rewrite README to explain problem, solution, and philosophy clearlyJesse Vincent
2025-11-23docs: simplify opencode readme instructions to match codex styleJesse Vincent