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

arey-pi

v0.6.3

Published

A Pi package for canonical Gherkin specs, non-negotiable TDD, spec synchronisation, AI harness readiness, and senior-quality software delivery.

Readme

Arey Pi

npm package

Arey Pi is an opinionated Pi package for spec-centred, TDD-driven software delivery.

It defines a way of working where canonical specs preserve intent, tests execute that intent, production code stays replaceable, and engineering quality is non-negotiable.

Core thesis

Specs are durable. Tests are executable truth. Code is disposable.

Arey Pi is designed for projects that should remain understandable, testable, rebuildable, and safe for humans and agents to evolve over time.

What Arey Pi enforces

Arey Pi is built around these guarantees:

  • behaviour is captured in canonical Gherkin specs;
  • database projects keep canonical DBML specs precisely synchronised;
  • TDD is mandatory for production behaviour changes;
  • tests must be meaningful, reviewed, kept outside production source directories, and strengthened with coverage or mutation testing where risk warrants it;
  • architecture and code must meet a senior engineering quality bar;
  • significant technical decisions are captured in high-quality ADRs;
  • specs, tests, code, DBML, ADRs, glossary, and architecture docs stay synchronised;
  • README files, docs, AGENTS.md, skills, prompts, rules, agents, commands, and tooling instructions are kept synchronised when affected;
  • quality tooling is part of Definition of Done, not optional polish;
  • work is incremental and uses Conventional Commits;
  • AI harness setup is treated as a first-class project rule.

Package contents

agents/       # Arey Pi subagent role definitions for pi-subagents
assets/       # Package assets, including the package image used by Pi
docs/         # Package documentation
extensions/   # Pi extension for doctor, bootstrap, workflow runtime, and guardrails
prompts/      # Reusable Pi prompt workflows
rules/        # Arey Pi operating rules
skills/       # On-demand Arey Pi workflows and instructions
templates/    # Bootstrap templates for AGENTS.md, specs, ADRs, DBML, glossary, and reports

The rules are the policy layer. The extension turns the policy into project setup commands, always-on workflow context, and safe mutation guardrails. The skills and prompts provide focused entry points for targeted work. The agents define specialist roles for subagent-backed delivery.

Arey Pi currently includes prompt templates and skills for project readiness, feature specs, strict Red-Green-Refactor, spec drift repair, ADR review, and adversarial engineering review.

Current subagent architecture

Arey Pi is designed to work with pi-subagents.

The core delivery topology is:

tech-lead
├── spec-author
├── tdd-implementer
├── spec-syncer
├── engineering-reviewer
└── project-evaluator

The intended daily experience is conversational. Users describe the work they want done, and the parent agent acts as the tech lead behind the scenes. It classifies the request, selects the matching Arey Pi workflow, and uses specialist subagents when available for specs, TDD implementation, spec sync, and engineering review.

The package includes an extension that can install those definitions into the project-local pi-subagents discovery path automatically.

Installation

Install Arey Pi:

pi install npm:arey-pi

For project-local installation:

pi install -l npm:arey-pi

For subagent-backed workflows, also install pi-subagents:

pi install npm:pi-subagents

Usage today

Audit a repository against Arey Pi readiness with the prompt workflow:

/assess-project

Or load the readiness skill directly:

/skill:project-readiness

Arey Pi also ships an extension with native setup commands, always-on workflow context injection, and simple protected-file guardrails.

When the Arey Pi agents are available to pi-subagents, the project evaluator runtime name is:

arey-pi.project-evaluator

Extension-backed workflow

Arey Pi includes a polished extension-backed setup and runtime harness:

/arey-doctor      # check package, subagent, prompt, skill, and project readiness setup
/arey-bootstrap   # full safe bootstrap: agents, AGENTS.md, specs, docs, and templates
/arey-bootstrap --agentsmd  # create a starter AGENTS.md if missing
/arey-bootstrap --specs     # scaffold starter specs directories and glossary
/arey-bootstrap --docs      # scaffold starter docs directory
/arey-bootstrap --full      # explicit alias for the default full bootstrap
/arey-bootstrap --force     # overwrite selected project-local agents and scaffold files

When the package is installed, Arey Pi automatically injects quiet harness context behind the scenes on every agent turn. The parent agent infers the work mode, acts as orchestrator, uses specialist subagents when available, applies the relevant delivery guidance, and enforces simple event-based guardrails for protected env files.

See:

  • docs/README.md for the package documentation index;
  • docs/commands.md for setup commands, runtime harness behaviour, and guardrails;
  • docs/adoption.md for adopting Arey Pi in an existing repository;
  • docs/workflows.md for workflow expectations;
  • docs/workflow-diagram.md for the visual framework workflow;
  • docs/pi-subagents.md for optimised pi-subagents usage;
  • docs/templates.md for bootstrap template details.

Development

Arey Pi uses Bun as its package manager and Biome for extension formatting and linting.

bun install
bun run format
bun run test
bun run check

bun run check runs Biome linting, TypeScript type checking, and Bun tests.

Rule categories

Arey Pi rules are organised as:

rules/
├── core/          # principles, work modes, DoD, conflict handling
├── specs/         # Gherkin, DBML, spec sync, language style
├── engineering/   # TDD, test quality, code quality, tooling, rebuildability
├── architecture/  # architecture memory and ADR quality
├── workflow/      # agent workflows, documentation sync, AI harness, commits
└── assessment/    # project readiness

See rules/README.md for the full policy index.

Status

Arey Pi is pre-1.0.

The policy layer, readiness workflow, documentation sync rule, core subagent role definitions, professional setup extension commands, bootstrap scaffolding, always-on workflow context injection, focused prompts, TDD/spec-sync/review skills, protected env-file guardrails, and extension-core tests exist.

Next improvements include custom Arey Pi tools, more granular workflow events, and deeper enforcement through Pi extension hooks.