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

potenlab-workflow

v0.3.0

Published

Full-stack project planning and execution for Claude Code. Orchestrates specialist agents to plan, build, and iterate on projects.

Readme

Potenlab Workflow

Full-stack project planning and execution for Claude Code. Orchestrates specialist agents to plan, build, and iterate on projects.

Installation

npx potenlab-workflow

This installs commands, agents, and best-practice rules into ~/.claude/ so Claude Code auto-discovers them.

Options

npx potenlab-workflow              # Install globally to ~/.claude/
npx potenlab-workflow --local      # Install to ./.claude/ (project-scoped)
npx potenlab-workflow --uninstall  # Remove all potenlab files

Verify

Start a new Claude Code session, then:

/potenlab:hello

Expected output:

Potenlab Workflow is active. potenlab-workflow v0.2.0 loaded successfully.

What Gets Installed

~/.claude/
├── commands/potenlab/          # 13 slash commands
│   ├── plan-project.md
│   ├── execute-phase.md
│   ├── developer.md
│   ├── complete-plan.md
│   ├── review-plan.md
│   ├── generate-test.md
│   ├── run-test-all.md
│   ├── run-test-phase.md
│   ├── verify-test.md
│   ├── security-review.md
│   ├── security-resolve.md
│   ├── info.md
│   └── hello.md
├── agents/                     # 9 specialist agents (potenlab-prefixed, project memory enabled)
│   ├── potenlab-ui-ux-specialist.md
│   ├── potenlab-tech-lead-specialist.md
│   ├── potenlab-frontend-specialist.md
│   ├── potenlab-backend-specialist.md
│   ├── potenlab-progress-creator.md
│   ├── potenlab-high-coder.md
│   ├── potenlab-small-coder.md
│   ├── potenlab-qa-specialist.md
│   └── potenlab-security-specialist.md
└── potenlab-workflow/          # Core data
    ├── VERSION
    ├── CLAUDE.md
    ├── rules/                  # React best practices
    └── references/             # Postgres best practices

Workflow

  PRD / Figma
      |
      v
  /potenlab:plan-project       1. Create all plans from PRD
      |
      v
  /potenlab:complete-plan      2. Generate progress.json task tracker
      |
      v
  /potenlab:execute-phase 0    3. Build each phase (parallel agents)
  /potenlab:execute-phase 1        Phase 0: Foundation
  /potenlab:execute-phase 2        Phase 1: Backend
  /potenlab:execute-phase 3        Phase 2: Shared UI
  /potenlab:execute-phase 4        Phase 3: Features
  /potenlab:execute-phase 5        Phase 4: Integration
      |                            Phase 5: Polish
      v
  /potenlab:developer          4. Post-completion adjustments
      |
      v
  /potenlab:security-review    5. Security audit + optional auto-fix

Need to revise plans? Use /potenlab:review-plan at any point. Need to fix security issues later? Use /potenlab:security-resolve.

Step 1: Plan — /potenlab:plan-project

Creates all project plans from a PRD file. Asks clarifying questions first, then orchestrates 4 specialist agents sequentially and in parallel.

Agents spawned:

AskUserQuestion (validate scope, stack, UI priority)
      |
      v
potenlab-ui-ux-specialist       --> docs/ui-ux-plan.md
      |
      v
potenlab-tech-lead-specialist   --> docs/dev-plan.md
      |
      v
potenlab-frontend-specialist ──┐
                               ├──> parallel
potenlab-backend-specialist  ──┘
      |
      v
docs/frontend-plan.md + docs/backend-plan.md

Step 2: Complete — /potenlab:complete-plan

Generates progress.json from the finalized plans. Classifies every task as low or high complexity and assigns the right coder agent.

Output: docs/progress.json with all tasks, dependencies, and agent assignments.

Step 3: Execute — /potenlab:execute-phase

Builds a specific phase by spawning multiple coder agents in parallel.

/potenlab:execute-phase 0        # Foundation
/potenlab:execute-phase 1        # Backend
/potenlab:execute-phase 2        # Shared UI
/potenlab:execute-phase 3        # Features
/potenlab:execute-phase 4        # Integration
/potenlab:execute-phase 5        # Polish

Agent assignment:

  • complexity: "low" tasks --> potenlab-small-coder (Sonnet, fast)
  • complexity: "high" tasks --> potenlab-high-coder (Opus, deep reasoning)

Step 4: Adjust — /potenlab:developer

Handles changes after all phases are complete. Tracks everything in changes.json.

/potenlab:developer fix the login button hover state
/potenlab:developer add dark mode toggle

Revise Plans — /potenlab:review-plan

Edit existing plans based on feedback. Same agent flow as planning but in edit mode.

/potenlab:review-plan change auth to OAuth
/potenlab:review-plan add a notifications feature

Testing

/potenlab:generate-test          # Generate .test.ts files from test-plan.md
/potenlab:run-test-all           # Run all Vitest tests
/potenlab:run-test-phase 1       # Run tests for a specific phase
/potenlab:verify-test            # Sync tests after code changes

Security

/potenlab:security-review        # Full security audit → security-list.json → optional auto-fix
/potenlab:security-resolve       # Resolve pending findings from security-list.json

/potenlab:security-review scans the entire codebase for vulnerabilities across OWASP Top 10 categories, Supabase RLS issues, secret exposure, and more. Produces security-report.md and security-list.json, then asks if you want to auto-fix. Fixes are applied by potenlab-high-coder with strict constraints — security-only, no feature changes.

/potenlab:security-resolve picks up where you left off. Reads security-list.json, shows pending findings, and spawns coder agents to fix them.

Commands Reference

| Command | Purpose | Input | |---------|---------|-------| | /potenlab:plan-project | Create all plans from PRD | PRD file + user preferences | | /potenlab:complete-plan | Generate progress.json | Existing plan files | | /potenlab:review-plan | Edit existing plans | User feedback (args or prompt) | | /potenlab:execute-phase N | Build phase N with parallel agents | Phase number | | /potenlab:developer | Post-completion adjustments | Change request (args or prompt) | | /potenlab:generate-test | Generate Vitest test files | test-plan.md | | /potenlab:run-test-all | Run all tests | None | | /potenlab:run-test-phase | Run tests for a phase | Phase number | | /potenlab:verify-test | Sync tests after changes | Scope (optional) | | /potenlab:security-review | Full security audit + optional auto-fix | None | | /potenlab:security-resolve | Fix pending security findings | None (reads security-list.json) | | /potenlab:info | Show overview | None | | /potenlab:hello | Verify installation | None |

Agents

| Agent | Model | Role | |-------|-------|------| | potenlab-ui-ux-specialist | Opus | Design system, wireframes, user flows, WCAG accessibility | | potenlab-tech-lead-specialist | Opus | Single source of truth dev plan from UI/UX plan | | potenlab-frontend-specialist | Opus | Component specs, Bulletproof React structure, shadcn mapping | | potenlab-backend-specialist | Opus | Schema, migrations, RLS policies, Supabase best practices | | potenlab-progress-creator | Opus | Parse plans into structured progress.json | | potenlab-high-coder | Opus | Execute complex multi-file tasks (3+ files) | | potenlab-small-coder | Sonnet | Execute small isolated tasks (1-2 files, fast) | | potenlab-qa-specialist | Opus | Test generation, verification, failure analysis | | potenlab-security-specialist | Opus | Security audit, vulnerability scanning, RLS verification |

All agents have project-scoped persistent memory (memory: project). They build institutional knowledge about your codebase across conversations — codepaths, patterns, library locations, and architectural decisions are remembered and reused.

Generated Files

docs/
├── ui-ux-plan.md         # Design system, user research, wireframes
├── dev-plan.md           # Phased development checklist (single source of truth)
├── frontend-plan.md      # Component specs, file paths, props, patterns
├── backend-plan.md       # Schema, SQL migrations, RLS policies
├── progress.json         # Task tracker with complexity + agent assignments
├── changes.json          # Post-completion change tracking (batched)
├── security-report.md    # Detailed security audit findings
└── security-list.json    # Structured security findings for resolution tracking

Project Structure

All plans enforce the Bulletproof React architecture:

src/
├── app/                  # Routes, providers
├── components/           # Shared + styled components
│   ├── ui/               # shadcn primitives
│   ├── layouts/          # Page layouts
│   ├── common/           # Generic reusable (LoadingSpinner, ErrorBoundary)
│   └── {feature}/        # Feature-specific styled/presentational components
├── config/               # Global config
├── features/             # Business logic only
│   └── {name}/
│       ├── api/          # Data fetching hooks (React Query + Supabase)
│       ├── components/   # Business-purpose only (list, detail, create, edit, delete)
│       ├── hooks/        # Feature-specific hooks
│       ├── types/        # Feature types
│       └── utils/        # Feature utilities
├── hooks/                # Shared hooks
├── lib/                  # Library wrappers (Supabase client)
├── stores/               # Global state (Zustand)
├── types/                # Shared TypeScript types
└── utils/                # Shared utilities

Local Development

Test locally without publishing to npm:

# Run the installer directly
node bin/install.js

# Install to local project
node bin/install.js --local

# Uninstall
node bin/install.js --uninstall

# Test with plugin system (legacy)
claude --plugin-dir ./plugins/potenlab-workflow

Requirements

  • Claude Code CLI
  • A PRD file (markdown) to start planning

Optional MCP servers

These enhance agent capabilities but are not required:

| MCP Server | Used By | Purpose | |------------|---------|---------| | shadcn | potenlab-frontend-specialist, potenlab-ui-ux-specialist | Component discovery | | context7 | potenlab-frontend-specialist, potenlab-backend-specialist, potenlab-security-specialist | Library documentation | | postgres | potenlab-backend-specialist, potenlab-security-specialist | Database state inspection |

License

MIT