Files
ai-coding-skills/docs/PI-SUPERPOWERS.md
T
stefano 251148c3ff
check / check (ubuntu-latest) (push) Successful in 2m5s
check / check (macos-latest) (push) Has been cancelled
check-online / check-online (ubuntu-latest) (push) Successful in 1m53s
Perform code optimization and document cleanup (#1)
## Summary
- add repository-wide quality tooling and verification scaffolding, including CI workflows, pnpm workspace setup, ESLint/Prettier/markdown checks, and generated-output verification helpers
- reorganize skill sources and generation flow by introducing canonical `_source` variants, generator/manifests, reusable helper abstractions, and shared web-automation/browser utilities
- clean up and expand documentation so the root README flows into docs and skill docs, with clearer development, reviewer, installer, and workflow guidance

## Notable changes
- docs flow and consistency cleanup across `README.md`, `docs/README.md`, and related docs
- new scripts for `check`, docs verification, generated-file verification, shell portability, and safe directory replacement
- refactors in Atlassian and web-automation skill runtimes to reduce duplication and centralize reusable code
- changelog, development documentation, and CI surface updates

## Test Plan
- [ ] `pnpm run check`
- [ ] review generated/manifests and skill sync outputs
- [ ] smoke-check docs flow from `README.md` to `docs/README.md` to skill docs

## Notes
- this branch currently includes tracked `skills/web-automation/shared/node_modules` content that should be reviewed carefully as potentially noisy/accidental committed artifacts

Co-authored-by: Stefano Fiorini <stefano.fiorini@firsthorizon.com>
Reviewed-on: #1
2026-05-04 04:41:34 +00:00

3.8 KiB

PI SUPERPOWERS

Purpose

This document is only about making Obra Superpowers visible to Pi.

If you need the shared reviewer helpers (run-review.sh, notify-telegram.sh), use PI-COMMON-REVIEWER.md instead.

What Pi Needs

The workflow-heavy Pi skills depend on Superpowers such as:

  • brainstorming
  • writing-plans
  • executing-plans
  • test-driven-development
  • verification-before-completion
  • finishing-a-development-branch
  • using-git-worktrees

Pi can discover them from shared roots like ~/.agents/skills/, Pi-native roots like ~/.pi/agent/skills/ or .pi/skills/, or settings-defined skill directories.

Verify An Existing Install

If you think Superpowers may already be installed, check the common shared-root setup first:

test -L ~/.agents/skills/superpowers
test -f ~/.agents/skills/superpowers/brainstorming/SKILL.md
test -f ~/.agents/skills/superpowers/test-driven-development/SKILL.md
test -f ~/.agents/skills/superpowers/verification-before-completion/SKILL.md
test -f ~/.agents/skills/superpowers/finishing-a-development-branch/SKILL.md

If those pass, Pi can usually reuse the same install directly.

To verify a Pi-native install instead:

test -f ~/.pi/agent/skills/superpowers/brainstorming/SKILL.md || test -f .pi/skills/superpowers/brainstorming/SKILL.md

Install Option 1: Reuse A Shared Skills Root

If you already have Superpowers available for another harness, the simplest Pi setup is to expose that same tree through ~/.agents/skills/.

Example:

mkdir -p ~/.agents/skills
ln -s ~/.codex/superpowers/skills ~/.agents/skills/superpowers

Re-run the verification checks above after creating the symlink.

If you do not want to use ~/.agents/skills/, point Pi at a checked-out Superpowers tree directly.

Global Pi install:

mkdir -p ~/.pi/agent/skills
ln -s /absolute/path/to/obra/superpowers/skills ~/.pi/agent/skills/superpowers

Project-local Pi install:

mkdir -p .pi/skills
ln -s /absolute/path/to/obra/superpowers/skills .pi/skills/superpowers

If you prefer a settings-based path instead of a symlink, add it to either ~/.pi/agent/settings.json or .pi/settings.json:

{
  "skills": [
    "~/.agents/skills",
    "/absolute/path/to/obra/superpowers/skills"
  ]
}

Post-Install Verification

After any install path, verify the specific skills your workflow needs.

Planning-focused check:

test -f ~/.agents/skills/superpowers/brainstorming/SKILL.md || test -f ~/.pi/agent/skills/superpowers/brainstorming/SKILL.md || test -f .pi/skills/superpowers/brainstorming/SKILL.md
test -f ~/.agents/skills/superpowers/writing-plans/SKILL.md || test -f ~/.pi/agent/skills/superpowers/writing-plans/SKILL.md || test -f .pi/skills/superpowers/writing-plans/SKILL.md

Execution-focused check:

test -f ~/.agents/skills/superpowers/test-driven-development/SKILL.md || test -f ~/.pi/agent/skills/superpowers/test-driven-development/SKILL.md || test -f .pi/skills/superpowers/test-driven-development/SKILL.md
test -f ~/.agents/skills/superpowers/verification-before-completion/SKILL.md || test -f ~/.pi/agent/skills/superpowers/verification-before-completion/SKILL.md || test -f .pi/skills/superpowers/verification-before-completion/SKILL.md
test -f ~/.agents/skills/superpowers/finishing-a-development-branch/SKILL.md || test -f ~/.pi/agent/skills/superpowers/finishing-a-development-branch/SKILL.md || test -f .pi/skills/superpowers/finishing-a-development-branch/SKILL.md

What This Doc Does Not Cover

  • reviewer-runtime helper installation
  • Telegram helper installation
  • package layout or Pi package installation

Those belong in PI-COMMON-REVIEWER.md and PI.md.