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

spec-driven-codex

v1.3.0

Published

Simple specification-driven development workflow for Codex CLI

Readme

Spec Driven Codex

A lightweight, specification-driven development workflow tailored for the Codex CLI. Run npx spec-driven-codex init to scaffold the .sdd workspace and install Codex prompts that guide you from discovery to delivery. Use npx spec-driven-codex upgrade any time you need to refresh the prompts with the latest templates.

  • Single command setupinit bootstraps everything you need
  • Safe re-runs – existing Codex prompts are kept as-is while .sdd/README.md is refreshed every run
  • One-step upgradesupgrade force-installs the latest prompt copies and refreshes .sdd/README.md
  • Codex-ready prompts – English by default, Japanese with --locale ja
  • Always in sync – Spec artifacts live under .sdd/ for the entire flow

Quick Start

# Inside your project root
npx spec-driven-codex init

# Launch Codex CLI and run the prompts in order
codex
> /sdd-steering
> /sdd-requirements
> /sdd-highway      # optional fast lane for design -> tasks -> implementation
> /sdd-design
> /sdd-tasks
> /sdd-implement
> /sdd-archive

Skip the manual /sdd-design, /sdd-tasks, and /sdd-implement entries if you already ran /sdd-highway.

Pass --locale ja to init if you prefer Japanese templates and prompts:

npx spec-driven-codex init --locale ja

To refresh the prompt templates later on, run:

npx spec-driven-codex upgrade

CLI Command

| Command | Description | | --- | --- | | npx spec-driven-codex init [--locale ja] | Creates .sdd/ scaffolding, localized templates, installs Codex prompts (existing prompt files are left untouched) and always refreshes .sdd/README.md. | | npx spec-driven-codex upgrade [--locale ja] | Force-installs the latest Codex prompt templates into ~/.codex/prompts (overwrites without confirmation) and refreshes .sdd/README.md. |

Codex CLI Prompts

Once the workspace is initialized, run the Codex CLI prompts in sequence to progress through the specification-driven flow:

  • /sdd-steering — Capture product context, stakeholders, and risks.
  • /sdd-requirements — Define requirements and acceptance criteria. Update .sdd/description.md with the problem and feature summary before running this prompt so the requirements stay grounded in the latest context.
  • /sdd-highway — Optional fast lane that triggers /sdd-design, /sdd-tasks, and /sdd-implement back-to-back.
  • /sdd-design — Document architecture and implementation strategy.
  • /sdd-tasks — Break the design into actionable tasks.
  • /sdd-implement — Implement every task with tests and refactors.
  • /sdd-archive — Summarize outcomes, lessons learned, and next steps.

Working with Codex CLI

Codex CLI occasionally prints a high-level plan to the console before it actually runs the command. When that happens—or when the CLI explicitly asks for approval—simply type ok (or another affirmative response) and press Enter to let the flow continue.

Generated Structure

project/
├── .sdd/
│   ├── README.md            # Locale-aware command overview
│   ├── description.md       # Feature description template
│   ├── target-spec.txt      # Active specification name
│   ├── steering/            # Discovery notes (/sdd-steering)
│   └── specs/               # Specs, tasks, archives, and artifacts
│       └── archives/
└── ~/.codex/prompts/
    ├── sdd-steering.md
    ├── sdd-requirements.md
    ├── sdd-highway.md
    ├── sdd-design.md
    ├── sdd-tasks.md
    ├── sdd-implement.md
    └── sdd-archive.md

Need the Japanese documentation? Check README.ja.md.

Looking for updates in another language? Contributions that keep both documents aligned are welcome.

License

MIT

Acknowledgements

This workflow draws inspiration from the open-source specification-driven tooling at gotalab/cc-sdd. Many thanks to the maintainers and contributors for sharing their approach.