Skip to content

docs: add PRD for native skills install/update#395

Open
aryeko wants to merge 2 commits intoobra:mainfrom
aryeko:prd/native-skills-install
Open

docs: add PRD for native skills install/update#395
aryeko wants to merge 2 commits intoobra:mainfrom
aryeko:prd/native-skills-install

Conversation

@aryeko
Copy link

@aryeko aryeko commented Jan 31, 2026

Add a PRD proposing a native, agent‑driven open‑spec install/update path for Superpowers skills, with safe migration from the current bootstrap flow.

Motivation and Context

The current Codex integration relies on a bespoke bootstrap CLI + repo clone, creating a non‑native experience and added maintenance. Codex and other major platforms now support the
Agent Skills open spec and standard discovery locations. A native install path reduces per‑session overhead and install friction, and makes updates/uninstall deterministic.
Standardizing on the open‑spec path should benefit Gemini support as well (#128).

How Has This Been Tested?

Not applicable — documentation‑only PR (PRD proposal, no code changes).

Breaking Changes

None — proposal only, no behavior change yet.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation (https://modelcontextprotocol.io)
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

Summary by CodeRabbit

  • Documentation
    • Added a planning PRD for Native Skills Installation covering outcomes, scope, requirements, safety/gating rules, migration/deprecation strategy, approach options, risks and mitigations, and success criteria (one-run install/update, native discovery after restart, safe uninstall/cleanup, reduced session overhead, deterministic updates). Targets maintainers and contributors; governance-oriented.

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

@coderabbitai
Copy link

coderabbitai bot commented Jan 31, 2026

📝 Walkthrough

Walkthrough

Adds a Product Requirements Document specifying an agent-driven native skills install/update design for Superpowers, covering scope, requirements, safety/gating rules, migration/deprecation, approach options, risks/mitigations, and success criteria.

Changes

Cohort / File(s) Summary
Native Skills Installation PRD
docs/plans/2026-01-31-native-skills-install-prd.md
New PRD defining an agent-driven, native open-spec install pathway with optional manual fallback, cross-platform support, legacy bootstrap artifact cleanup, sunset/deprecation plan, safety/gating rules, and success metrics (one-run install/update, native discovery, safe uninstall, deterministic updates).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Possibly related issues

Poem

🐰✨ A blueprint hops into view,
Agent-led and tidy too—
No leftover bootstrap mess,
Skills arrive with gentle press,
Hop, install, and root anew.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'docs: add PRD for native skills install/update' accurately describes the main change—adding a Product Requirements Document for native skills installation and updates.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@docs/plans/2026-01-31-native-skills-install-prd.md`:
- Line 31: The two sentences "Platform intent: cross-platform support (macOS,
Linux, Windows)" and "A PowerShell-native path may be a documented TODO" are
ambiguous; update the document so it explicitly states whether Windows will be
supported at launch and how (e.g., "Windows supported via shell-based path: Git
Bash/WSL at launch; PowerShell-native support deferred to a future release" or
"PowerShell-native support included at launch"). Replace or augment the TODO
with a clear status, acceptance criteria, and a target milestone if deferred, so
readers know whether Windows native PowerShell support is included or postponed.
🧹 Nitpick comments (3)
docs/plans/2026-01-31-native-skills-install-prd.md (3)

43-48: Clarify how "Superpowers-owned" content is identified.

The collision safety rules distinguish between "user-owned content," "symlink not clearly owned by Superpowers," and "symlink owned by Superpowers," but the mechanism for determining ownership is not specified. Consider adding a requirement that defines how the installer will identify Superpowers-owned symlinks (e.g., by target path convention, by metadata, by marker file).

📝 Suggested addition to clarify ownership determination

Add after line 48:

   - A symlink owned by Superpowers may be replaced during reconciliation.
+- Ownership determination: Superpowers-owned symlinks should be identified by [mechanism TBD: e.g., target path pointing to a known Superpowers repository location, marker file, or metadata].
 - Updates and uninstall must be safe and deterministic: re-running install reconciles state; uninstall removes only Superpowers-owned skills and the gating rule.

18-18: Consider documenting rationale for full-library constraint.

The requirement states "Full-library installation is required (partial installs are invalid because skills reference each other)." While the reasoning is mentioned, consider whether this constraint could be revisited in the future if a dependency graph is introduced. Documenting this as a current constraint with potential for future evolution (in the non-goals or a future work section) would clarify the design intent.


66-70: Define the transition period for Option B.

Option B recommends a hybrid approach with "a defined period" for bootstrap CLI fallback, but the document does not specify the duration or criteria for ending the transition. Consider adding a concrete timeline (e.g., "6 months," "until v2.0," or "until 90% of active users migrate") or defining the success metrics that would trigger bootstrap deprecation.

📝 Suggested addition to specify transition period

Add after line 70 or in the Migration section:

Transition period: The bootstrap CLI will remain supported for [duration TBD: e.g., 6 months, or until 90% of active Codex users have migrated to the native path]. Deprecation will be announced [timeframe] in advance, with migration guides provided.

@aryeko aryeko changed the title ocs: add PRD for native skills install/update docs: add PRD for native skills install/update Jan 31, 2026
@obra obra added codex Issues related to OpenAI Codex support enhancement New feature or request documentation Improvements or additions to documentation labels Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codex Issues related to OpenAI Codex support documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants