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

@hyperion2144/blueprint

v0.5.0

Published

Blueprint — spec-driven development workflow for AI coding agents

Readme

Blueprint — Spec-Driven Development Workflow

Blueprint is a spec-driven development CLI for AI coding agents. Write behavioral specs once, let agents implement against them across the full project lifecycle.

Why

AI coding agents are powerful but unpredictable — requirements exist only in chat history. Blueprint aligns on specs before writing code, executes heavy work in fresh-context sub-agents, and persists state across sessions through structured artifacts.

Core Principles

  1. Dual nested loops — Phase loop (discuss→research-phase→split→change loop→ship) ⊃ Change loop (plan→apply→review→archive)
  2. CLI as single source of truth — all interaction through bp commands; agents orchestrate, don't implement
  3. Fresh-context sub-agents — heavy work (research/plan/apply/review) runs in fresh context to prevent context rot
  4. Delta-spec mechanism — change-level behavioral contracts merged into global specs on archive
  5. TDD enforced — type:behavior tasks follow RED→GREEN→REFACTOR
  6. Tech stack templates — init with domain-organized specs and conventions per stack

Entity Hierarchy

Project → Milestone → Phase → Change
  • Milestone = release cycle ("M1-core", "M2-expansion")
  • Phase = work unit within a milestone ("ph.1-board-engine")
  • Change = implementation unit (goes through plan→apply→review→archive)
  • Adhoc Change = independent change outside milestone/phase

CLI Commands

| Command | Description | |---------|-------------| | bp init | Initialize project structure with tech stack specs | | bp update | Regenerate platform files (commands, agents, hook) | | bp continue | Auto-advance project to next step | | bp continue change <name> | Advance a specific change | | bp change new <name> | Create a new change | | bp state | View current state and pending work | | bp config [list\|set] | View/modify configuration | | bp context <step> | Output file manifest for a step | | bp template <type> | Generate artifact template | | bp list | List milestones/phases/changes/archive | | bp archive <change> | Archive a completed change | | bp commit <msg> | Commit with conventional format, auto-mark tasks | | bp dispatch <role> | Output sub-agent dispatch instructions | | bp ship | Create PR or Release from unpublished changes | | bp audit | Human UAT verification |

Workflow

Project-level flow

init → grill → research → roadmap → discuss → research-phase → split → [change cycle] → ship

Advance with: bp continue

Change-level flow

proposal → plan → apply → review → archive

Advance with: bp continue change <name>

Adhoc change

bp change new <name> → proposal → plan → apply → review → archive

Autonomous loop

bp:loop — auto-advance through all steps without user input

Template Architecture

Commands (.omp/commands/) and agents (.omp/agents/) are generated from TypeScript source. Templates live in src/templates/:

src/templates/
├── types.ts                  — Template interfaces
├── workflows/                — 19 step workflow definitions
├── artifacts/index.ts        — Output document templates
├── agents/index.ts           — 7 agent system prompts
└── spec-stacks/              — Tech stack spec templates

Run bp update to regenerate all 27 platform files from source.

Configuration

Key settings in bp/project.yml:

| Key | Description | Default | |-----|-------------|---------| | profile | Workflow strictness | standard | | platform | Target platform | omp | | spec.stack | Tech stack spec template | generic | | workflow.tdd | Enforce TDD for behavioral tasks | true | | workflow.commitDocs | Auto-commit doc files with code | false | | release.template | PR body template | standard | | review.gate | Review gate mode | all-pass |

Tech Stack

  • Language: TypeScript
  • Runtime: Node.js ≥ 20
  • Test: Vitest
  • Target platform: OMP

Install

npm install -g @hyperion2144/blueprint

Usage

Start a new project:

mkdir my-project && cd my-project
bp init          # interactive wizard: profile, tech stack, conventions

Browse existing codebase:

cd existing-project
bp init --brownfield   # auto-detects tech stack, bootstraps specs

Recommended Loop

flowchart TD
    A[/bp:init/] --> B{Greenfield?}
    B -->|Yes| C[/bp:grill/]
    B -->|Brownfield| C
    C --> D[/bp:research/]
    D --> E[/bp:roadmap/]
    E --> F[Phase Loop]
    F --> G[/bp:discuss/]
    G --> H[/bp:research-phase/]
    H --> I[/bp:split/]
    I --> J[/bp:proposal &lt;name&gt;/]
    J --> K[/bp:plan/]
    K --> L[/bp:apply/]
    L --> M[/bp:review/]
    M --> N[/bp:archive/]
    N --> O{More changes?}
    O -->|Yes| J
    O -->|No| P{More phases?}
    P -->|Yes| G
    P -->|No| Q[/bp:ship/]
    Q --> R[Done]

    F -.->|Switch milestone| S[/bp:state set-milestone/]
    S -.-> E

    L -.->|Debug| T[/bp:audit/]
    M -.->|Debug| T

Step by step

  1. /bp:init — project setup, tech stack selection, spec bootstrap
  2. Reach consensus/bp:grill/bp:research/bp:roadmap
  3. Phase loop/bp:discuss/bp:research-phase/bp:split
  4. Change loop/bp:proposal/bp:plan/bp:apply/bp:review/bp:archive
  5. All done/bp:ship

Tips

  • Continue shorthand: most steps auto-advance with /bp:continue
  • Auto mode: /bp:loop for unattended execution
  • Switch milestone: /bp:state set-milestone <id> then /bp:continue
  • Debug: /bp:audit at any point to verify deliverables

License

MIT