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

phased-flow

v2.0.1

Published

Structured AI workflow skill — logical planning (Opus) before development (Sonnet) with CodeGraph knowledge graph, SOLID/DRY enforcement, and selective context injection

Readme

phased-flow

Plan first, code second. Structured AI workflow that enforces logical planning before any implementation.

npm version License: MIT

  📥 Intake ──→ 🧠 Plan (Opus) ──→ ⛔ Approve? ──→ ⚡ Dev (Sonnet) ──→ 🔍 Review ──→ 🛡️ Security ──→ 🚀 Ship
                     │                    │                │                 │              │
                 EDD Gate:            Human gate       CodeGraph:        SOLID/DRY       OWASP
               "Does this need       blocks until     blast radius      BLOCK/WARN      Top 10
                to exist?"            approved        before edit       enforcement

Quick Start

npx phased-flow                      # Claude Code (default)
npx phased-flow --target copilot     # GitHub Copilot
npx phased-flow --target gemini      # Gemini CLI
npx phased-flow --target all         # All platforms at once

Then describe what you want to build:

I want to implement user authentication with JWT tokens

phased-flow activates automatically — plans with Opus, builds with Sonnet, reviews everything before you ship.


The 6 Phases

  ┌─────────────┐   ┌──────────────────┐   ┌───────────┐   ┌──────────────────┐   ┌───────────────┐
  │  Phase 0    │   │    Phase 1       │   │  Phase 2  │   │  Phase 3 – 4     │   │  Phase 5 – 6  │
  │  Context    │──▶│    Planning      │──▶│   Dev     │──▶│    Reviews       │──▶│     Ship      │
  │             │   │                  │   │           │   │                  │   │               │
  │ Read files  │   │ EDD evaluation   │   │ Task T01  │   │ SOLID / DRY     │   │ Evidence      │
  │ CodeGraph   │   │ Architecture     │   │ Task T02  │   │ Anti-patterns   │   │ PR desc       │
  │ STATE.json  │   │ Task breakdown   │   │ Task T0N  │   │ OWASP Top 10    │   │ Archive       │
  └─────────────┘   └────────┬─────────┘   └───────────┘   └──────────────────┘   └───────────────┘
                             │
                      ⛔ Human gate
                    (approve to continue)

You control the gates. No code runs without your approved plan. No commit happens without your say.

| Phase | Model | What happens | |-------|-------|-------------| | 0 — Context | — | Reads project files, sets up CodeGraph, creates state | | 1 — Planning | Opus | EDD evaluation + logical plan — no code, just architecture | | 2 — Dev | Sonnet | Implements each task from the approved plan | | 3 — Code Review | Sonnet | SOLID, DRY, blast radius, architecture anti-patterns | | 4 — Security | Sonnet | OWASP Top 10 checklist against all changes | | 5 — Evidence | — | Screenshots, API responses, test results | | 6 — Handoff | — | Commit message, PR description, archival |


Key Features

| | | |:--|:--| | 🧠 CodeGraph | Knowledge graph per project · 70% fewer tool calls · 60% less tokens · Blast radius before every edit | | ⚖️ EDD Gate | Evaluates each requirement before planning — does it need to exist? Is there a simpler way? Is effort proportional? | | 🔒 BLOCK/WARN Enforcement | SOLID, DRY, KISS, YAGNI with teeth · Architecture dependency direction · REST / SPA / Microservice anti-patterns | | ⚡ Token Optimization | Selective injection per phase · Only relevant rules per subagent · CodeGraph over file dumps · Task section, not full plan | | 🔄 Reentrant | All state in JSON · /clear safe anytime · Resume from exact last task | | 📦 Epic Mode | Multi-issue milestones · Shared CHANGELOG strategy · PR description gates per issue |


File Structure

.phased-flow/
  STATE.json              # Current phase and task progress
  learned.md              # Anti-false-positive lessons
  archive/                # Completed plans

docs/superpowers/plans/
  2026/
    09/
      12-user-auth/
        PLAN.md           # Approved logical plan
        evidence/         # Screenshots, API responses, tests
        review/           # Code review + security review
      15-payment-flow/
        PLAN.md
        ...
    10/
      03-notifications/
        ...

Platform Support

| Feature | Claude Code | Copilot | Gemini CLI | |---------|:-----------:|:-------:|:----------:| | Full phased workflow | ✅ | ✅ | ✅ | | Subagent dispatch | Native | Inline | Inline | | Model segregation | Auto | Manual | Manual | | Epic mode | ✅ | ✅ | ✅ | | CodeGraph integration | ✅ | — | — |

State files are platform-agnostic — plan with one AI, implement with another.


Requirements

  • Node.js 14+ for the installer
  • Claude Code, GitHub Copilot, or Gemini CLI
  • Access to Claude Opus and Sonnet models (for Claude Code)

License

MIT © Jorge Andres Ricardo