npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@pzy560117/opensuper

v0.2.8

Published

OpenSpec + Superpowers dual-star development workflow

Downloads

581

Readme

OpenSuper

 ██████╗ ██████╗ ███╗   ███╗███████╗████████╗
██╔════╝██╔═══██╗████╗ ████║██╔════╝╚══██╔══╝
██║     ██║   ██║██╔████╔██║█████╗     ██║
██║     ██║   ██║██║╚██╔╝██║██╔══╝     ██║
╚██████╗╚██████╔╝██║ ╚═╝ ██║███████╗   ██║
 ╚═════╝ ╚═════╝ ╚═╝     ╚═╝╚══════╝   ╚═╝

中文版:README-zh.md B站视频介绍

OpenSpec + Superpowers dual-star development workflow — one command from idea to archive.

OpenSpec handles WHAT (outlines, proposals, spec lifecycle, archiving). Superpowers handles HOW (technical design, planning, execution, wrap-up). OpenSuper chains both into a five-phase automated pipeline.

Why OpenSuper

OpenSpec excels at managing requirements, creating proposals, managing Spec lifecycles, and archiving, but its proposals and tasks lack the detail of Superpowers brainstorming.

Superpowers generates Spec documents after brainstorming, but these documents typically lack stateful design — after completing requirements, Specs only have tasks checked off in the document, and Agents even forget to check them off. This causes the Agent to re-examine documents and project code to verify on resumption, wasting many tokens.

OpenSuper combines the strengths of both, integrating the core workflow into 5 phases

The main entry /opensuper supports current Spec state detection, suitable for long tasks — after completing and closing CC midway, just /opensuper continue and OpenSuper will automatically read the active Spec (lists multiple for selection), dynamically identify which phase is currently executing, and continue.

Install

npm install -g @pzy560117/opensuper

Release

OpenSuper now ships through GitHub Actions release automation:

  • Trigger release-opensuper with a version input, or push a v* tag
  • The workflow runs build, tests, package dry-run, npm publish, and GitHub Release publishing
  • Published package: @pzy560117/opensuper

Quick Start

cd your-project
opensuper init

opensuper init will:

  1. Prompt you to select AI platforms (auto-detects existing configs)
  2. Choose install scope: project-level (current directory) or global (home directory)
  3. Select language for OpenSuper skills: English or 中文
  4. Install OpenSpec skills
  5. Install Superpowers skills
  6. Deploy OpenSuper skills (in your chosen language) to selected platforms
  7. Create docs/superpowers/specs/ and docs/superpowers/plans/ working directories

The OpenSuper skill language also determines the default language for documents generated during OpenSuper orchestration. Choosing 中文 makes proposal.md, design.md, tasks.md, delta specs, Design Docs, Plans, and verification reports default to Chinese prose; choosing English makes them default to English prose. Commands, paths, frontmatter keys, code identifiers, package names, and API names stay in their original form.

[!TIP] update version

opensuper update or npm install -g @pzy560117/opensuper@latest to get the latest features and fixes.

Screenshots

Commands

| Command | Description | |---------|-------------| | opensuper init [path] | Initialize OpenSuper workflow | | opensuper status [path] | Show active changes, task progress, and next workflow command | | opensuper doctor [path] | Diagnose project/global OpenSuper installation health | | opensuper update [path] | Update the npm package and installed OpenSuper skills | | opensuper --help | Show help | | opensuper --version | Show version |

init Options

| Option | Description | |--------|-------------| | --yes | Non-interactive mode, auto-select detected platforms | | --skip-existing | Skip already installed components | | --overwrite | Overwrite already installed components | | --json | Output structured JSON |

When multiple existing components are found on the same platform, interactive init offers one bulk choice: overwrite all, skip all, or choose per component.

status Options

| Option | Description | |--------|-------------| | --json | Output active changes with nextCommand |

doctor Options

| Option | Description | |--------|-------------| | --json | Output structured diagnostic results | | --scope <scope> | Diagnose auto, project, or global scope (default: auto) |

update Options

| Option | Description | |--------|-------------| | --json | Output npm and skill update results as JSON | | --language <lang> | Override detected skill language (en, zh); also determines the default prose language for OpenSuper-generated documents | | --scope <scope> | Update only global or project scope |

Supported Platforms

opensuper init supports 28 AI coding platforms:

| Platform | Skills Dir | Platform | Skills Dir | |----------|-----------|----------|-----------| | Claude Code | .claude/ | Cursor | .cursor/ | | Codex | .codex/ | OpenCode | .opencode/ | | Windsurf | .windsurf/ | Cline | .cline/ | | RooCode | .roo/ | Continue | .continue/ | | GitHub Copilot | .github/ | Gemini CLI | .gemini/ | | Amazon Q Developer | .amazonq/ | Qwen Code | .qwen/ | | Kilo Code | .kilocode/ | Auggie | .augment/ | | Kiro | .kiro/ | Lingma | .lingma/ | | Junie | .junie/ | CodeBuddy | .codebuddy/ | | CoStrict | .cospec/ | Crush | .crush/ | | Factory Droid | .factory/ | iFlow | .iflow/ | | Pi | .pi/ | Qoder | .qoder/ | | Antigravity | .agent/ | Bob Shell | .bob/ | | ForgeCode | .forge/ | Trae | .trae/ |

Skills

After opensuper init, three groups of skills are installed to the selected platform's skills/ directory:

When Chinese OpenSuper skills are installed, OpenSuper passes Chinese output requirements to the OpenSpec and Superpowers skills it invokes, so workflow document prose defaults to Chinese. Installing English skills applies the corresponding English default.

OpenSuper Skills

| Skill | Description | |-------|-------------| | /opensuper | Main entry — auto-detects phase and dispatches to sub-commands | | /opensuper-open | Phase 1: Open a change (proposal, design, task breakdown) | | /opensuper-design | Phase 2: Deep design (brainstorming, Design Doc) | | /opensuper-build | Phase 3: Plan and build (implementation plan, code commits) | | /opensuper-verify | Phase 4: Verify and finish (testing, verification report) | | /opensuper-archive | Phase 5: Archive (delta spec sync, status annotation) | | /opensuper-hotfix | Preset: Quick bug fix (skips brainstorming) | | /opensuper-tweak | Preset: Small change (skips brainstorming and full plan) |

Guard & Automation Scripts

| Script | Purpose | |--------|---------| | opensuper-guard.sh | Phase transition guard — validates exit conditions, --apply auto-updates .opensuper.yaml | | opensuper-archive.sh | One-command archive — validates state, syncs specs, moves to archive, updates status | | opensuper-yaml-validate.sh | Schema validator — validates .opensuper.yaml structure and field values | | opensuper-state.sh | Unified state management — init/set/get/check/scale, agents' exclusive YAML interface |

OpenSpec Skills

Spec lifecycle management: propose, explore, sync, verify, archive, and more.

Superpowers Skills

Development methodology: brainstorming, TDD, subagent-driven development, code review, plan writing, and more.

Workflow

/opensuper
  ↓ auto-detect
/opensuper-open  -->  /opensuper-design  -->  /opensuper-build  -->  /opensuper-verify  -->  /opensuper-archive
(OpenSpec)         (Superpowers)       (Superpowers)       (Both)           (OpenSpec)

/opensuper-hotfix (preset path, skips brainstorming)
  open  -->  build  -->  verify  -->  archive

/opensuper-tweak (preset path, skips brainstorming and full plan)
  open  -->  lightweight build  -->  light verify  -->  archive

Five Phases

| Phase | Command | Owner | Artifacts | |-------|---------|-------|-----------| | 1. Open | /opensuper-open | OpenSpec | proposal.md, design.md, tasks.md | | 2. Deep Design | /opensuper-design | Superpowers | Design Doc, delta spec | | 3. Plan & Build | /opensuper-build | Superpowers | Implementation plan, code commits | | 4. Verify & Finish | /opensuper-verify | Both | Verification report, branch handling | | 5. Archive | /opensuper-archive | OpenSpec | delta→main spec sync, archive |

Core Principles

  • Brainstorming is non-skippable — every change must go through deep design (except hotfix/tweak)
  • Delta specs are living documents — freely editable during Phase 3, synced at archive
  • Keep tasks.md in sync — check off each task as completed
  • Commit frequently — one commit per task, message reflects design intent
  • Verify before archive/opensuper-verify must pass before /opensuper-archive

State Management

OpenSuper uses a decoupled state architecture with separate YAML files:

| File | Owner | Purpose | |------|-------|---------| | .openspec.yaml | OpenSpec | Spec lifecycle, change metadata | | .opensuper.yaml | OpenSuper | Workflow phase, execution mode, verification status |

Key Fields in .opensuper.yaml:

workflow: full
phase: build
design_doc: docs/superpowers/specs/YYYY-MM-DD-topic-design.md
plan: docs/superpowers/plans/YYYY-MM-DD-feature.md
build_mode: subagent-driven-development
isolation: branch
verify_mode: light
verify_result: pending
verification_report: docs/superpowers/reports/YYYY-MM-DD-change-verify.md
branch_status: pending
verified_at: null
archived: false

In full workflow, build_mode and isolation may temporarily be null at init time, but they must be resolved before build → verify. direct is allowed by default only for hotfix/tweak; full workflow requires direct_override: true. Projects can configure build_command / verify_command in the change or repo root, and guard will run those commands first and print failure output.

All states and execution phases are updated via scripts, and each phase verifies that tasks are truly completed before exiting — conditions are met before the phase exits and state is updated. Compared to recording complex state management mechanisms in Skills, the script approach strongly guarantees the reliability of core state transitions, correctness of YAML files, and convenience of breakpoint recovery — Agents only need to use OpenSuper's built-in commands to read state and know the current Spec's situation.

Reliability Features

OpenSuper ensures agent execution reliability through automated state transitions:

  1. Entry Verification — Each phase validates preconditions before execution

    • Checks file existence, state consistency, and phase transitions
    • Outputs [HARD STOP] with actionable suggestions if validation fails
  2. Automated State Transitionsopensuper-guard.sh --apply updates .opensuper.yaml automatically

    • All phase transitions (design → build → verify → archive) use guard --apply
    • No manual state editing required — eliminates write-verification errors
    • opensuper-state.sh is the agents' exclusive interface for state operations
    • Guard and archive scripts use opensuper-state.sh internally for state management
  3. Schema Validationopensuper-yaml-validate.sh ensures data integrity

    • Validates required and optional fields
    • Validates enum values, including direct_override
    • Validates referenced file paths exist
    • Detects unknown/typos fields
  4. Build Decision Enforcement — Guard and state transitions both block skipped build choices

    • isolation must be branch or worktree
    • build_mode must be selected before leaving build
    • Full workflow build_mode: direct requires direct_override: true
  5. Verification Evidence — Guard enforces proof before phase advance

    • verify-pass transition requires verification_report pointing to an existing report file
    • branch_status must be handled before verify can pass
    • Guard checks verification_report exists and branch_status=handled as hard prerequisites
    • Prevents false phase advances when verification or branch handling was skipped
  6. Archive Automationopensuper-archive.sh handles the full archive flow in one command

    • Validates entry state, syncs delta specs to main specs
    • Annotates design doc and plan frontmatter
    • Moves change to archive directory and updates archived: true
    • Supports --dry-run for preview

Security: Path traversal protection on all change name inputs

Project Structure

your-project/
├── .claude/skills/              # Platform skills dir (OpenSuper + OpenSpec + Superpowers)
│   ├── opensuper/SKILL.md
│   │   └── scripts/
│   │       ├── opensuper-guard.sh       # Phase transition guard (--apply auto-updates state)
│   │       ├── opensuper-archive.sh     # One-command archive automation
│   │       ├── opensuper-yaml-validate.sh # Schema validator
│   │       └── opensuper-state.sh       # Unified state management (init/set/get/check/scale)
│   ├── opensuper-*/SKILL.md
│   ├── openspec-*/SKILL.md
│   └── brainstorming/SKILL.md
├── openspec/                    # OpenSpec — WHAT
│   ├── config.yaml
│   └── changes/
│       └── <name>/
│           ├── .openspec.yaml       # OpenSpec state
│           ├── .opensuper.yaml          # OpenSuper workflow state (decoupled)
│           ├── proposal.md
│           ├── design.md
│           ├── specs/<capability>/spec.md
│           └── tasks.md
└── docs/superpowers/            # Superpowers — HOW
    ├── specs/                   # Design documents
    └── plans/                   # Implementation plans

What You'll Learn

Many excellent Skill projects exist in the current Skill market, but they generally have preference issues — users may only like some features. For example, when using both OpenSpec and Superpowers, one might only use OpenSpec's Spec management capabilities, but prefer Superpowers' TDD-driven approach for coding.

Long-term Skill users know these capabilities can be freely combined, but exactly how to do so still requires real practice. The OpenSuper project can serve as a reference:

  • How to reliably trigger nested Skills — Not letting the Agent rely on document descriptions to perform "look-alike Skill trigger" operations (like writing files based on Skill descriptions), but truly triggering Skills (key feature: Skill trigger prints on CC). OpenSuper will trigger many capabilities from OpenSpec and Superpowers — how is this Prompt written?

  • How to make combined Skills multi-phase auto-flow — Not relying on manual intervention. OpenSuper's 5-phase flow automatically triggers Skills for core processes except necessary user selections, while the state machine mechanism also ensures state transition reliability.

Development

See CONTRIBUTING.md for development setup, commit conventions, PR process, and guidance for adding platforms or skills.

# Clone
git clone https://github.com/pzy560117/opensuper
cd opensuper

# Install dependencies
pnpm install

# Dev mode (watch)
pnpm dev

# Build
pnpm build

# Test (unit + coverage)
pnpm test
pnpm test:coverage
pnpm test:shell         # bats shell tests

# Lint & format
pnpm lint
pnpm format
pnpm format:check

On Windows, pnpm test:shell auto-prefers Git Bash when bash resolves to the WSL launcher. If your Git Bash lives in a custom path, set OPENSUPER_BASH first, for example in PowerShell: $env:OPENSUPER_BASH='D:\Program Files\Git\bin\bash.exe'.

See CHANGELOG.md for version history and updates.

Security

  • Pre-publish scan for API keys, secrets, tokens, and private keys
  • .npmignore prevents source code and config files from entering the npm package
  • .gitignore covers secrets, credentials, IDE configs, and more

License

MIT

Reference

LINUX DO - 新的理想型社区