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

devbrain-init

v1.0.2

Published

Scaffold a persistent engineering intelligence layer inside any software repository.

Readme

DevBrain

npm version License: MIT

A persistent engineering intelligence layer for your software repository.

DevBrain is a zero-dependency CLI that scaffolds an AI-readable framework directly into your codebase. It acts as the extended memory, routing logic, and standard operating procedure for AI coding assistants (Cursor, Claude Code, GitHub Copilot).

There is no runtime. There is no cloud telemetry. There is no autonomous execution. The structure is the product.


The Problem

AI coding agents are powerful, but they suffer from severe context amnesia. They do not know your project's architectural constraints, they forget why certain decisions were made, and they lack domain-specific engineering philosophy.

Without persistent memory, you are forced to re-explain your tech stack, your routing rules, and your quality standards in every single session.

The Solution

DevBrain solves this by providing a .devbrain/ directory that acts as the "brain" of your repository.

When an AI agent enters a DevBrain-enabled project, it immediately reads the .devbrain/README.md, which routes it through a structured map of your project's decisions, active workflows, and 9 specialized agent personas. The AI learns your rules before it writes a single line of code.


Quick Start

Initialize DevBrain in any repository. No installation required.

npx devbrain-init

The CLI will prompt you for basic project information (name, tech stack, team size) and automatically generate the entire .devbrain/ architecture.


How It Works

DevBrain structures engineering context into four distinct layers:

1. The Supervisor (supervisor/)

Controls how the AI tackles problems. Contains routing.md (a strict decision matrix for which domain handles which task) and orchestration.md (cross-domain workflows, like API design handoffs).

2. The Agents (agents/)

9 distinct engineering personas: planner, architect, frontend, backend, testing, qa, security, devops, and docs. Every agent folder contains:

  • SKILL.md: The agent's philosophy, explicitly named anti-patterns, and strict cycle checklists.
  • workflows.md: Highly specific, step-by-step playbooks for that domain (e.g., "Adversarial State Injection" for QA).
  • memory.json: A persistent JSON store where the AI records its known failures and preferred patterns across sessions.

3. The Project (project/)

The evolving state of your software. Contains your PRD.md, architecture.md, roadmap.md, and an ADR log (decisions.md). The AI reads these to understand the current constraints before proposing changes.

4. The Shared Context (shared/)

Global repository knowledge. Contains conventions.md (naming rules, PR limits), repo-map.md, and a domain glossary.md.


Usage with AI Assistants

DevBrain requires zero configuration to work with modern AI IDEs and CLI agents.

Cursor

Open your DevBrain-enabled project in Cursor. When you prompt Cmd+K or use Composer, Cursor will naturally read the .devbrain folder to understand your codebase's rules.

Claude Code / CLI Agents

Launch your CLI agent in the project root. The agent will read .devbrain/README.md as its onboarding file, parse the manifest.json, and route itself to the appropriate domain playbook.

Example Prompts:

  • "We are building a new authentication endpoint. Consult the DevBrain supervisor and execute the necessary workflows."
  • "I noticed a bug in the UI state. Update the frontend memory.json so you don't make this mistake again."

Quality Bar

DevBrain is highly opinionated. The generated SKILL.md files do not contain generic advice like "write clean code." Instead, they contain concrete engineering heuristics written from experience:

  • Architects are taught to avoid "Diagram-First Architecture" and focus on system constraints.
  • Backend agents are taught to avoid "Inside-Out APIs" and design contracts before schemas.
  • QA agents are taught "Adversarial Empathy" instead of happy-path testing.

License

DevBrain is open source software licensed as MIT.