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

@thiagodiogo/pscode

v2.16.0

Published

AI-native system for spec-driven development

Downloads

3,665

Readme

pscode

Spec-driven, AI-native development workflow CLI

npm license node

Pscode installs a planning pipeline inside your repo. Every feature goes through proposal → specs → design → tasks → apply, tracked as versioned files and exposed as slash commands to your AI agent.


Requirements

  • Node.js >= 20.19.0
  • At least one supported AI tool: Claude Code, Cursor, Gemini CLI, GitHub Copilot, or Codex CLI

Install

npm install -g @thiagodiogo/pscode
# or
pnpm add -g @thiagodiogo/pscode

Quick Start

cd your-project
pscode init

The init wizard auto-detects which AI tools you have (.claude/, .cursor/, etc.), installs skill files and slash commands, and creates the planning folder:

pscode/
├── changes/        ← one subfolder per active change
│   └── archive/    ← completed changes
├── specs/          ← project capability specs
└── config.yaml     ← local schema config

Once initialized, use slash commands in your AI agent:

/ps:propose "add dark mode"   ← creates a new change
/ps:continue                  ← advances to the next artifact
/ps:apply                     ← applies pending tasks
/ps:complete                  ← completes a change

How It Works

Each change lives in pscode/changes/<name>/ and follows a DAG of artifacts defined by a workflow schema:

pscode/changes/dark-mode/
├── proposal.md    ← why this change
├── specs/         ← what the system must do
├── design.md      ← how to implement it
└── tasks.md       ← implementation checklist

The AI agent reads these files at each step and generates the next artifact using enriched instructions from the schema.


CLI Reference

| Command | Description | |---------|-------------| | pscode init [path] | Initialize Pscode in a project | | pscode update [path] | Regenerate skill/command files after an upgrade | | pscode list | List active changes | | pscode list --specs | List project specs | | pscode status | Show artifact completion for the current change | | pscode instructions [artifact] | Print enriched instructions for an artifact | | pscode validate [name] | Validate a change or spec | | pscode validate --all | Validate everything | | pscode show [name] | Display a change or spec | | pscode complete [name] | Complete a change | | pscode new change <name> | Create a new change directory | | pscode schemas | List available workflow schemas | | pscode view | Interactive dashboard | | pscode feedback <message> | Submit feedback | | pscode completion install | Install shell completions |

init options

| Flag | Description | |------|-------------| | --tools <list> | Skip interactive selection. Use all, none, or e.g. claude,cursor | | --force | Skip all confirmations (CI-friendly) | | --profile <name> | Workflow profile: core (default) or custom |

Non-interactive example:

pscode init --tools claude --force

Supported AI Tools

| Tool | Skills dir | |------|-----------| | Claude Code | .claude/ | | Codex CLI | .codex/ | | Cursor | .cursor/ | | Gemini CLI | .gemini/ | | GitHub Copilot | .github/ |


Migrating from OpenSpec

If your project used the old openspec tool, pscode init detects .openspec/ automatically and offers to migrate your changes and specs — no manual steps needed.


After Upgrading

Re-run pscode init (or pscode update) to regenerate skill files with the latest instructions:

pscode update

Links