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

sddx-workflow

v0.9.1

Published

Spec-Driven Development CLI — installs an SDD system in any project

Downloads

650

Readme

sddx-workflow

npm node license

Spec-Driven Development CLI for AI-assisted projects. Installs a structured workflow system that guides AI agents (Claude, Cursor, Copilot) through planning, execution, and review — without letting them run loose.

Works with any project: Next.js, Python, React, Django, Go, Rails.

npx sddx-workflow init

Why this exists

AI agents tend to implement without validating assumptions, refactor more than asked, and don't have a mental model of when to stop and ask for approval. This system enforces explicit ceremony levels and stop points.


Quick start

# 1. Initialize the workflow in your project
npx sddx-workflow init

# 2. Populate project context (run with your AI agent)
/bootstrap

# 3. Build a feature
/spec-new      # scaffold a spec folder
/spec-plan     # generate a technical plan — stops for your approval
/spec-tasks    # execute one atomic task at a time
/finish        # stage files + generate a conventional commit

CLI reference

npx sddx-workflow init                  # Initialize in current project
npx sddx-workflow init --force          # Overwrite existing files

npx sddx-workflow add domain auth       # Add a domain file
npx sddx-workflow add domain payments
npx sddx-workflow add domain storage
npx sddx-workflow add domain email

npx sddx-workflow status                # Show current workflow state
npx sddx-workflow update                # Update workflow templates

Files are copied locally — your project owns them. No runtime dependency. Edit freely.


Generated structure

.sdd/
  workflow.md          # Commands, ceremony levels, stop points
  project-overview.md  # What this app is — populated by /bootstrap
  conventions.md       # Stack and patterns — populated by /bootstrap
  domains/             # Domain-specific rules (auth, payments, etc.)
specs/
  _template/
    1-requirements.md  # Problem, goals, acceptance criteria (BDD)
    2-plan.md          # Technical plan — requires approval before coding
    3-tasks.md         # Atomic task checklist with TDD gate
CLAUDE.md              # Agent entry point — points to .sdd/

Agent commands

| Command | Purpose | |---|---| | /bootstrap | Populate project context via interview or codebase scan | | /ask | Research and exploration — no code changes | | /assume | Surface all assumptions before acting | | /bugfix | Reproduce → diagnose → fix → validate | | /refactor | Restructure without behavior change (green baseline required) | | /spec-new | Scaffold a spec folder for a feature | | /spec-plan | Generate technical plan — stops for approval before any code | | /spec-tasks | Execute plan one atomic task at a time, TDD-first | | /review | Final audit — verifies goals, no scope creep | | /finish | Stage files + generate conventional commit message |

Ceremony levels

| Change type | Flow | |---|---| | Typo / comment | Direct | | Bug | /bugfix/finish | | Refactor | /refactor/finish | | Feature | /spec-new/spec-plan/spec-tasks/review/finish | | Architecture | /spec-new/spec-plan (mandatory review) → /spec-tasks/review/finish |


Execution principles

Enforced by every command:

  1. Surface assumptions — list them before acting, not mid-execution
  2. Minimum code — only what was asked; no "while I'm here" changes
  3. Surgical changes — touch only what the task requires
  4. Verify before moving on — define "done" before starting, not after

Spec structure

Each feature lives in specs/<name>/ with three files:

1-requirements.md — Problem, measurable goals (G1, G2…), BDD acceptance criteria, constraints, open questions (blocking vs. non-blocking).

2-plan.md — Goals coverage, assumptions confirmed via /assume, approach + tradeoffs, components affected, abort criteria. Requires explicit approval before execution starts.

3-tasks.md — One task at a time. Each has: test to write first (red → green), files to change, goal ID, and acceptance scenario. Completed specs move to specs/_done/.


Development

git clone https://github.com/MarcosCamara01/sddx-workflow.git
cd sddx-workflow
npm install
npm run dev      # watch mode
npm run build    # production build

Publishing

npm version patch   # bug fix:     0.1.0 → 0.1.1
npm version minor   # new feature: 0.1.0 → 0.2.0
npm publish

Users running npx sddx-workflow init always get the latest version. Existing .sdd/ files are never overwritten on update — use --force to explicitly replace them.


License

MIT