Skip to content

Conversation

@OniReimu
Copy link

@OniReimu OniReimu commented Jan 21, 2026

Summary

This PR adds flexibility to the skill workflows by making git worktrees optional, allowing users to choose between:

  1. Git worktrees (recommended) - isolated workspace with full safety
  2. Direct-on-repo - faster workflow without worktree overhead

Changes

  • brainstorming/SKILL.md: Added user choice prompt for workspace preference
  • writing-plans/SKILL.md: Support for both worktree and direct-on-repo contexts
  • finishing-a-development-branch/SKILL.md: Made cleanup optional and worktree-specific
  • using-git-worktrees/SKILL.md: Added opt-out section for direct-on-repo workflow
  • manus-planning/examples.md: Updated cleanup documentation

Safety Measures

For direct-on-repo mode:

  • Ensure user is on a feature branch (not main/master)
  • Verify clean working tree before starting
  • Stash/commit any changes before proceeding

Benefits

  • Maintains worktrees as recommended default for safety and isolation
  • Enables faster, simpler workflow for users who don't need full isolation
  • Provides clear guidance for safe direct-on-repo usage
  • Preserves backward compatibility with existing worktree workflows

🤖 Generated with Claude Code

Summary by CodeRabbit

Release Notes

  • New Features

    • Rebranded to Superpowers-NG with updated plugin namespace.
    • Added Manus planning system for persistent, file-based task management across sessions.
    • Integrated Ralph autonomous loop framework support for multi-session workflows.
    • New planning command option to choose between Native and Manus planning approaches.
  • Chores

    • Updated all skill identifiers to new namespace convention.
    • Expanded documentation with Ralph integration guides and planning examples.
    • Added test coverage for new Manus and Ralph features.

✏️ Tip: You can customize this high-level summary in your review settings.

OniReimu and others added 5 commits January 13, 2026 14:04
Integrate Manus-style persistent planning for long-running tasks that span
multiple sessions or exceed 50 tool calls. Introduces new manus-planning skill
with 3-file system (task_plan.md, findings.md, progress.md), archive support,
and conditional PreToolUse hooks for automatic plan reminders.

Changes:
- New manus-planning skill with 5-phase workflow and persistent memory
- Brainstorming updated to offer both Native and Manus planning options
- Added PreToolUse hook (manus-pretool.sh) for context-aware plan reminders
- Updated using-superpowers with planning approach guidance
- Rebranded from superpowers to superpowers-ng v0.1.0
- Added comprehensive README highlighting NG features
- Created new RELEASE-NOTES.md focused on v0.1.0 changes

Files:
- skills/manus-planning/SKILL.md (main skill definition)
- skills/manus-planning/templates/ (3 template files)
- commands/manus-plan.md (slash command)
- hooks/manus-pretool.sh (conditional hook script)
- hooks/hooks.json (added PreToolUse hook)
- skills/brainstorming/SKILL.md (planning choice)
- skills/using-superpowers/SKILL.md (planning guidance)
- .claude-plugin/plugin.json (rebranded metadata)
- README.md (complete rewrite for NG)
- RELEASE-NOTES.md (fresh v0.1.0)

Credits: Jesse Vincent (obra/superpowers), Ahmad Othman Ammar Adi (planning-with-files)

Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
Adds comprehensive integration with Ralph, enabling Superpowers-NG skills to work seamlessly in autonomous loop environments:

- brainstorming: Now checks for existing design.md and skips re-brainstorming in subsequent loops
- manus-planning: Already compatible with Ralph's multi-session nature and --continue flag
- Documentation: Ralph integration guide with PROMPT.md template using official status format
- Examples: 5 concrete scenarios, circuit breaker patterns, anti-patterns, exit criteria

This enables Ralph users to:
- Design once, implement across multiple loops
- Maintain persistent memory via manus-planning files
- Keep TDD discipline throughout autonomous sessions
- Use evidence-based completion signals

Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
* test: add manus pretool hook unit test

* test: add ralph status block unit test

* test: add manus resume integration test

* test: add ralph status emission integration

* test: add manus+ralph combined integration

* docs: wire slim manus/ralph tests into runner

* test: improve Ralph integration test prompts with status block format

* test: add git setup to Ralph integration tests

* test: improve manus-ralph combined test prompt and timeout

* test: simplify manus-ralph combined test with pre-created files

* test: simplify manus resume test with pre-created files
Add support for working directly in repo without worktrees across all
relevant skills (brainstorming, writing-plans, finishing-a-development-branch,
using-git-worktrees, manus-planning).

Changes:
- Add user choice between worktree (recommended) and direct-on-repo workflows
- Update cleanup steps to be optional and worktree-specific only
- Add safety checks for direct-on-repo mode (feature branch, clean working tree)
- Preserve worktree as recommended default while enabling faster direct workflow

This provides flexibility for users who prefer simpler workflows without
sacrificing the isolation benefits of worktrees for those who need them.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@OniReimu
Copy link
Author

Wrong repository - closing and recreating in OniReimu/superpowers-ng

@OniReimu OniReimu closed this Jan 21, 2026
@coderabbitai
Copy link

coderabbitai bot commented Jan 21, 2026

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

This PR rebrands the Superpowers plugin to Superpowers-NG and introduces Manus-style persistent file-based planning alongside Ralph autonomous loop integration. The changes include a namespace migration from superpowers: to superpowers-ng: across 60+ files, new planning artifacts and hooks, expanded skill documentation, comprehensive README and release notes updates, and new test infrastructure.

Changes

Cohort / File(s) Summary
Plugin Manifest & Configuration
.claude-plugin/plugin.json, .claude-plugin/marketplace.json
Plugin name, version (0.1.0), author, repository, and credits updated to reflect Superpowers-NG fork with new maintainer information. Keywords expanded to include "manus", "planning", "persistent-memory".
Namespace Migration (Code & Core)
.opencode/plugin/superpowers.js, lib/skills-core.js, .codex/superpowers-codex, hooks/session-start.sh
All references updated from superpowers: prefix to superpowers-ng: in skill name handling, namespace checks, and logging. resolveSkillPath and tool descriptions now recognize and strip the new prefix.
Manus Planning Feature
hooks/manus-pretool.sh, hooks/hooks.json, skills/manus-planning/SKILL.md, skills/manus-planning/examples.md, skills/manus-planning/templates/*
New PreToolUse hook that previews task_plan.md when .active marker exists. Comprehensive 290-line skill documentation defining 5-phase planning workflow, file-based memory (task_plan.md, findings.md, progress.md), 2-action update rule, and recovery procedures. Templates for each planning artifact included.
Ralph Integration Documentation
docs/ralph-integration/README.md, docs/ralph-integration/PROMPT.template.md
New integration guide (295 lines) covering architecture, quick start, skill lifecycle, and example workflows. Comprehensive PROMPT template (469 lines) detailing 4-phase autonomous loop workflow, status block emission, circuit-breaker patterns, and exit criteria.
Skill Updates & Namespace Migration
skills/*/SKILL.md (brainstorming, executing-plans, finishing-a-development-branch, requesting-code-review, subagent-driven-development, systematic-debugging, using-git-worktrees, using-superpowers, writing-plans, writing-skills)
Namespace prefix updates to superpowers-ng:. Brainstorming skill enhanced with phase-driven workflow and design reuse. Writing-plans expanded with worktree/direct-repo options and explicit planning modality choices (Native vs. Manus). Using-superpowers adds new Planning Approaches section detailing both systems.
Documentation & Namespace Migration
.codex/superpowers-bootstrap.md, docs/README.codex.md, docs/README.opencode.md, docs/plans/2025-*-*-*.md, commands/*.md (brainstorm, execute-plan, manus-plan, write-plan)
Example commands and documentation updated to reflect superpowers-ng: namespace. New manus-plan command file added. Design documentation updated with new naming convention.
Main Documentation
README.md, RELEASE-NOTES.md
README substantially rewritten (129+ lines): introduces dual planning paradigm (Native vs Manus), describes 3-file persistent planning system, details Manus workflow, adds Ralph integration narrative, expands Skills Library, includes new commands with -ng suffix. Release notes reorganized (162+ lines) to reflect rebrand and feature additions.
Test Infrastructure & New Tests
tests/claude-code/test-helpers.sh, tests/claude-code/run-skill-tests.sh, tests/claude-code/test-manus-*.sh, tests/claude-code/test-ralph-*.sh, tests/opencode/*.sh, tests/subagent-driven-dev/*.sh
New test helpers for file assertions, JSON validation, and Ralph status block parsing. Five new test files: manus pretool hook validation, Ralph status block parsing, and three integration tests (manus resume, ralph status emission, combined manus+ralph). Existing tests updated to expect superpowers-ng: namespace. Test runner updated with improved timeout handling.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~30 minutes

Possibly related PRs

Suggested reviewers

  • yoavsion

Poem

🐰 A rabbit's whisper on the wind so swift,
"Superpowers blooms, now NG's gift!
With Manus files that never fade,
And Ralph loops dancing—plans are made!
Forever hops through context resets,
Persistent dreams, no more regrets." 🌙✨

✨ Finishing touches
  • 📝 Generate docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@OniReimu OniReimu deleted the OniReimu/update-skill-docs branch January 21, 2026 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant