Skip to content

Claude Code superpowers: core skills library

License

Notifications You must be signed in to change notification settings

OniReimu/superpowers-ng

 
 

Repository files navigation

Superpowers-NG (Next Generation)

Superpowers-NG is an enhanced fork of obra/superpowers with integrated Manus-style persistent planning for complex, long-running tasks.

What's New in NG

Manus Planning: Persistent Memory Across Context Resets

The flagship feature is manus-planning, a file-based planning system that survives context resets and enables multi-session work.

Native vs Manus Planning:

Aspect Native (Original) Manus (New)
Skills writing-plans + executing-plans manus-planning
Memory In-memory (TodoWrite) Persistent files (docs/manus/)
Best for Short tasks (<30 min), interactive development Long autonomous runs, multi-session projects, >50 tool calls
Progress tracking Lost on context reset Survives context resets
Research storage Embedded in conversation Persistent findings.md

The 3 Files:

  • task_plan.md - Goal, 5 phases, decisions, errors
  • findings.md - Requirements, research, resources (CRITICAL for visual/browser content)
  • progress.md - Session log, test results, 5-question reboot check

When to use Manus:

  • Tasks requiring >50 tool calls
  • Multi-session projects spanning days
  • Complex research with web searches/images
  • When context might reset mid-task

How it works:

  1. Create marker file docs/manus/.active to enable PreToolUse hooks
  2. Hooks automatically show plan preview before Write/Edit/Bash operations
  3. 2-Action Rule: Update findings.md after every 2 search/view operations
  4. On completion: Remove marker, invoke finishing-a-development-branch

Brainstorming integration: After design completion, brainstorming now offers both planning options. For Manus, design content is automatically copied into findings.md.

How It Works (Original Superpowers)

Superpowers is a complete software development workflow for your coding agents, built on composable "skills" that trigger automatically.

When you start building something, your agent:

  1. Asks questions to understand what you're really trying to do
  2. Shows the design in digestible chunks for your approval
  3. Creates an implementation plan clear enough for a junior engineer to follow
  4. Executes autonomously through subagent-driven development

The core philosophy: Test-Driven Development, YAGNI, DRY, and systematic over ad-hoc.

Installation

Note: Installation differs by platform. Claude Code or Cursor have built-in plugin marketplaces. Codex and OpenCode require manual setup.

Claude Code (Planned)

# Will be available via marketplace:
/plugin marketplace add OniReimu/superpowers-ng-marketplace
/plugin install superpowers-ng@superpowers-ng-marketplace

Manual Installation (Current)

# Clone the repository
git clone https://github.com/OniReimu/superpowers-ng.git
cd superpowers-ng

# Install as a local plugin
# (Instructions TBD based on Claude Code local plugin support)

Cursor (via Plugin Marketplace)

In Cursor Agent chat, install from marketplace:

/plugin-add superpowers-ng

Cursor uses the same hook pipeline as Claude Code. On each SessionStart it now:

  • checks docs/manus/.active
  • resumes Manus by reading task_plan.md / progress.md / findings.md when active
  • falls back to native startup flow with a lightweight plan + "enable manus?" prompt when inactive

Codex

See docs/README.codex.md for detailed instructions.

OpenCode

See docs/README.opencode.md for detailed instructions.

OpenCode now uses the same planning bootstrap logic as Claude/Cursor/Codex:

  • checks docs/manus/.active at startup context injection
  • emits Planning mode: MANUS for active Manus tasks (with continuation snapshot)
  • emits Planning mode: NATIVE when no active task exists

Verify Installation

Start a new session in your chosen platform and ask for something that should trigger a skill (for example, "help me plan this feature" or "let's debug this issue"). The agent should automatically invoke the relevant superpowers skill.

The Enhanced Workflow

  1. brainstorming - Activates before writing code. Refines rough ideas through questions, explores alternatives, presents design in sections for validation. Saves design document.

  2. using-git-worktrees - Activates after design approval. Creates isolated workspace on new branch, runs project setup, verifies clean test baseline.

  3. Choose your planning system:

    • Native: writing-plansexecuting-plans for short tasks
    • Manus: manus-planning for complex/long-running tasks
  4. subagent-driven-development or executing-plans - Dispatches fresh subagent per task with two-stage review (spec compliance, then code quality), or executes in batches with human checkpoints.

  5. test-driven-development - Enforces RED-GREEN-REFACTOR: write failing test, watch it fail, write minimal code, watch it pass, commit.

  6. requesting-code-review - Reviews against plan, reports issues by severity. Critical issues block progress.

  7. finishing-a-development-branch - Verifies tests, presents options (merge/PR/keep/discard), cleans up worktree.

The agent checks for relevant skills before any task. Mandatory workflows, not suggestions.

What's Inside

Planning Skills

Native Planning (Original)

  • writing-plans - Bite-sized implementation plans
  • executing-plans - Batch execution with checkpoints

Manus Planning (New)

  • manus-planning - 5-phase workflow with persistent files
    • Phase 1: Requirements & Discovery
    • Phase 2: Planning & Structure
    • Phase 3: Implementation
    • Phase 4: Testing & Verification
    • Phase 5: Delivery

Testing

  • test-driven-development - RED-GREEN-REFACTOR cycle (includes testing anti-patterns reference)

Debugging

  • systematic-debugging - 4-phase root cause process (includes root-cause-tracing, defense-in-depth, condition-based-waiting techniques)
  • verification-before-completion - Ensure it's actually fixed

Collaboration

  • brainstorming - Socratic design refinement (enhanced with planning choice)
  • dispatching-parallel-agents - Concurrent subagent workflows
  • requesting-code-review - Pre-review checklist
  • receiving-code-review - Responding to feedback
  • using-git-worktrees - Parallel development branches
  • finishing-a-development-branch - Merge/PR decision workflow
  • subagent-driven-development - Fast iteration with two-stage review

Meta

  • writing-skills - Create new skills following best practices
  • using-superpowers - Introduction to the skills system (updated with planning guidance)

Philosophy

  • Test-Driven Development - Write tests first, always
  • Systematic over ad-hoc - Process over guessing
  • Complexity reduction - Simplicity as primary goal
  • Evidence over claims - Verify before declaring success
  • Persistent memory (New) - Filesystem as external memory for long tasks

Integration with Ralph

Superpowers-NG works seamlessly with Ralph, the autonomous loop framework for Claude Code.

Ralph provides: Loop orchestration, session management, exit detection, rate limiting

Superpowers-NG provides: Development methodologies, TDD discipline, debugging workflows, persistent planning

Key features for Ralph users:

  • brainstorming now auto-detects existing designs and skips in subsequent loops
  • manus-planning designed for multi-loop persistence with auto-resume
  • verification-before-completion ensures evidence-based exit signals
  • Skills are autonomous-mode aware (no waiting for user input)

Get started:

# Copy enhanced PROMPT.md template to your Ralph project
cp docs/ralph-integration/PROMPT.template.md /path/to/ralph-project/PROMPT.md

See docs/ralph-integration/README.md for complete integration guide.

Contributing

Skills live directly in this repository. To contribute:

  1. Fork the repository
  2. Create a branch for your skill
  3. Follow the writing-skills skill for creating and testing new skills
  4. Submit a PR

See skills/writing-skills/SKILL.md for the complete guide.

Credits

Original Authors

  • Jesse Vincent (obra) - obra/superpowers

    • Original Superpowers framework and skills system
  • Ahmad Othman Ammar Adi (OthmanAdi) - planning-with-files

    • Manus-style 3-file planning pattern

Superpowers-NG

  • OniReimu - Integration and enhancement

Inspiration

License

MIT License - see LICENSE file for details

Support

About

Claude Code superpowers: core skills library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Shell 83.6%
  • JavaScript 6.8%
  • Python 4.7%
  • TypeScript 3.6%
  • Batchfile 1.3%