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

create-ai-scaffold

v2.1.1

Published

Scaffold the AI-collaboration layer for any project

Readme

create-ai-scaffold

Scaffold the AI-collaboration layer for any software project. No app code, no framework lock-in — just the working agreements, context structures, and maintenance workflows that make AI-assisted development sustainable.

Quick Start

npx create-ai-scaffold my-project

Or scaffold in an existing project:

cd my-project
npx create-ai-scaffold .

What It Creates

my-project/
├── CLAUDE.md              # Pointer → docs/system/assistant.md (Claude Code)
├── AGENTS.md              # Pointer → docs/system/assistant.md (Codex, agents)
├── .cursorrules           # Pointer → docs/system/assistant.md (Cursor IDE)
├── .windsurfrules         # Pointer → docs/system/assistant.md (Windsurf IDE)
├── docs/
│   └── system/
│       ├── assistant.md       # Single source of truth for AI instructions
│       ├── buildplan.md       # Implementation plan (synced by the sync command)
│       ├── conventions.md     # Code style and project conventions
│       ├── context/           # Drop reference docs, API specs, examples here
│       │   └── README.md
│       └── decisions/         # Architecture Decision Records (team/production)
│           └── 000-template.md
└── .gitignore             # Sensible defaults (merged with existing)

Tiers

Choose a collaboration tier when scaffolding:

| Tier | Who it's for | What's included | |------|-------------|-----------------| | solo | Just you and AI assistants | Core files, minimal conventions | | team | Multiple contributors | + ADR template, git/branching conventions, expanded style guide | | production | Full quality gates | + Testing requirements, security notes, documentation standards |

npx create-ai-scaffold my-project --tier team

Sync Command

Keep your build plan in sync with reality. The sync command gathers project context (file tree, git log, TODOs, dependencies), sends it to an AI backend, and proposes updates to docs/system/buildplan.md.

# Full sync — auto-detects available AI CLI
create-ai-scaffold sync

# Record recent accomplishments
create-ai-scaffold sync --checkpoint

# Plan next steps
create-ai-scaffold sync --plan

# Audit for drift between plan and reality
create-ai-scaffold sync --review

# Preview the prompt without calling AI
create-ai-scaffold sync --dry-run

The sync command shows a diff of proposed changes and lets you accept, edit in $EDITOR, or reject (saving the proposal for later).

AI Backends

The sync command supports pluggable AI backends. By default it auto-detects which CLI is installed:

| Backend | CLI | Detection order | |---------|-----|-----------------| | claude | Claude Code | 1st | | codex | OpenAI Codex | 2nd | | clipboard | None (copies prompt to clipboard) | Fallback |

# Explicitly choose a backend
create-ai-scaffold sync --backend codex

# Use clipboard fallback (no CLI required)
create-ai-scaffold sync --backend clipboard

The clipboard backend copies the prompt to your system clipboard so you can paste it into any AI tool, then paste the response back.

Options

Usage: create-ai-scaffold [project-name] [options]

Options:
  -t, --tier <tier>  Collaboration tier: solo, team, or production
  -y, --yes          Skip prompts and use defaults
  -V, --version      Output the version number
  -h, --help         Display help

Philosophy

  • Stack-agnostic — generates zero application code. Your first AI session is where you choose a stack.
  • Single source of truth — all AI instructions live in docs/system/assistant.md. Pointer files (CLAUDE.md, .cursorrules, etc.) just redirect there.
  • Non-destructive — never overwrites existing files. Only .gitignore is merged.
  • Living system — the sync command keeps your build plan current as the project evolves.

Requirements

License

ISC