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

ai-agent-spec-workflow-skill

v1.3.8

Published

Spec-Driven Development CLI — Plan first, then build.

Readme

ai-agent-spec-workflow-skill

Plan first, then build. Stop vibe coding. Start spec coding.

A CLI tool that enforces a structured Spec-Driven Development process for AI Agents. It ensures that requirements and designs are fully elaborated and validated before any implementation code is written.

Features

  • Structured Planning: 3 distinct phases (Requirements → Design → Tasks)
  • Step-by-Step Interactive Flow: The CLI guides you through each phase one at a time
  • Smart Validation: Checks that each document has real AI-generated content before moving on
  • Auto Tech-Stack Detection: Automatically detects your project's language, framework, and dependencies
  • Cross-Referencing: Each phase receives the content from the previous phase as context for the AI
  • Smart Resume: Checkpoint system remembers your progress — pick up exactly where you left off
  • Graceful Ctrl+C: Pause anytime and resume later with a friendly message
  • Beautiful Terminal UI: Color-coded output with progress bars

Installation

Install globally:

npm install -g ai-agent-spec-workflow-skill

Or use directly with npx:

npx agent user-authentication

Usage

agent <feature-name>            # Start or resume a spec workflow
agent --list                    # List all features and their status
agent --status <feature-name>   # Show task completion status
agent --reset <feature-name>    # Reset a feature workflow
agent --version                 # Show version
agent --help                    # Show help

Example Workflow

$ agent user-authentication
--- Spec-Driven Development Workflow ---
   Feature: user-authentication

  [Step 1/3] - Requirements

  [CREATED] requirements.md

  -> Open .specs/user-authentication/requirements.md, let AI generate it, and save.
     Press ENTER to validate and continue...

Check Task Progress

You can check your coding progress via the CLI:

$ agent --status user-authentication
--- Task Status: user-authentication ---
  [==========----------] 50% (5/10 Tasks Completed)
  2 in progress
  3 pending

How It Works

Phase 1: Requirements (requirements.md)

  • The CLI creates the file with a detailed prompt template and your project context.
  • Open the file in your AI-powered IDE and let the AI generate User Stories and Acceptance Criteria.
  • Press ENTER — the CLI validates the content has real requirements, then moves on.

Phase 2: Design (design.md)

  • The CLI creates the design file with your approved requirements embedded as context.
  • Let the AI define the architecture, data models, and API contracts.
  • Press ENTER — the CLI validates and moves on.

Phase 3: Tasks (tasks.md)

  • The CLI creates the task file with your approved design embedded as context.
  • Let the AI break the design down into an actionable step-by-step checklist.
  • Press ENTER — done!

💡 Smart Resume: Exit anytime with Ctrl+C. Run agent <feature-name> again to pick up exactly where you left off.

🔍 Auto-Detection: The CLI automatically detects your tech stack (Node.js, Python, Go, Rust, Java, etc.) and includes it in the project context for better AI results.

Generated File Structure

.specs/user-authentication/
├── project-context.md    ← Auto-generated (tech stack + directory tree)
├── requirements.md       ← User Stories & Acceptance Criteria
├── design.md             ← Architecture & API Contracts (with requirements context)
├── tasks.md              ← Actionable checklist (with design context)
└── .config.agent         ← Checkpoint state (auto-managed)

License

MIT