summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2025-11-23docs: reorganize platform installation docs with inline quick-start and ↵Jesse Vincent
detailed guides
2025-11-23fix: add OPENCODE_CONFIG_DIR for proper test isolationJesse Vincent
2025-11-23test: add automated test suite for opencode pluginJesse Vincent
Create comprehensive tests in tests/opencode/ that verify the plugin works correctly in an isolated test environment: - setup.sh: Creates temp HOME and installs plugin with proper symlinks - test-plugin-loading.sh: Verifies plugin structure and JavaScript syntax - test-skills-core.sh: Unit tests for skills-core.js library functions - test-tools.sh: Integration tests for use_skill/find_skills (requires OpenCode) - test-priority.sh: Tests project > personal > superpowers priority - run-tests.sh: Main test runner with options for integration tests Run basic tests: ./tests/opencode/run-tests.sh Run all tests: ./tests/opencode/run-tests.sh --integration
2025-11-23docs: update documentation with message insertion and project skills featuresJesse Vincent
2025-11-23docs: add project-local skills documentationJesse Vincent
2025-11-23feat: use message insertion pattern for persistence and add project skills ↵Jesse Vincent
support - Add project-local skills directory (.opencode/skills/) with highest priority - Use client.session.prompt() with noReply for skill loading to persist across compaction - Add session.compacted event handler to re-inject bootstrap after context compaction - Update find_skills to list skills from project > personal > superpowers directories - Support project: prefix for explicit project skill loading - Keep chat.message hook as fallback for initial context injection
2025-11-23refactor: remove prompt file, use automatic chat.message injectionJesse Vincent
- Delete .opencode/prompts/superpowers.txt (no longer needed) - Simplify INSTALL.md to remove prompt file copying and agent configuration steps - Installation now relies on plugin's chat.message hook for automatic context injection - Cleaner, simpler setup process with fewer manual configuration steps
2025-11-23feat: add chat.message hook to inject superpowers context automaticallyJesse Vincent
2025-11-22docs: add implementation planJesse Vincent
2025-11-22fix: use tool() helper function for proper OpenCode tool definitionsJesse Vincent
2025-11-22fix: use tool object instead of tools array per opencode apiJesse Vincent
2025-11-22refactor: use static prompt file instead of dynamic config hookJesse Vincent
2025-11-22fix: use agent prompts instead of event hooks for context injectionJesse Vincent
OpenCode doesn't support injecting context through event hooks. Instead, the plugin now generates a prompt file that agents can reference via {file:./prompts/superpowers.txt} in their configuration.
2025-11-22fix: use correct event subscription format for opencodeJesse Vincent
2025-11-22fix: use session.created hook instead of session.startedJesse Vincent
2025-11-22refactor: convert skills-core and plugin to pure ESM for module compatibilityJesse Vincent
2025-11-22fix: use require inside plugin function to load commonjs moduleJesse Vincent
2025-11-22fix: convert opencode plugin to ES module syntaxJesse Vincent
- Replace CommonJS require() with ES import statements - Use createRequire() for loading CommonJS skills-core module - Export plugin as 'SuperpowersPlugin' named export - Maintains compatibility with existing skills-core.js CommonJS module
2025-11-22docs: fix plugin installation instructions for opencodeJesse Vincent
2025-11-22refactor: extract frontmatter stripping to shared helper functionJesse Vincent