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

specly

v1.1.0

Published

Spec-Driven Development scaffolding: generates requirements, design, tasks, and steering for any AI agent.

Downloads

218

Readme


The Problem

Building software with AI agents often looks like this:

vague prompt → generated code → hope it works

That is vibe coding: fast at the start, fragile at scale.

| | Vibe Coding | Spec-Driven Development | |---|---|---| | Source of truth | Ephemeral prompt | Versioned spec | | Traceability | Almost none | Idea → req → task → code → test | | Code review | "What does this do?" | Against EARS acceptance criteria | | Best for | Prototypes, throwaways | Products, teams, long-lived software |

Without structure, every agent session starts from zero. Requirements drift. Tasks are vague. Generated code ships without a clear definition of done.


The Solution

specly scaffolds a standard Spec-Driven Development workspace in seconds.

One command. Four files. Any AI agent.

npx specly
Idea → Requirements → Design → Tasks → Build → Validate

Instead of improvising prompts, you get a versioned spec that guides the agent before a single line of code is written.


Why specly?

  • Agent-agnostic — same structure for Cursor, Kiro, Claude Code, Windsurf, and more.
  • Opinionated but minimal — four files, no heavy framework.
  • Spec-first — the agent works against testable criteria, not vibes.

Demo

$ npx specly --agent cursor --feature auth

🤖 Agent:  Cursor (cursor)
📂 Feature: auth
📁 Specs:   .cursor/specs/auth/

📁 Folder created: .cursor/specs/auth/
✅ Created: .cursor/specs/auth/requirements.md
✅ Created: .cursor/specs/auth/design.md
✅ Created: .cursor/specs/auth/tasks.md
✅ Created: .cursor/steering.md
✅ Created: .cursor/how-to-use.md

🚀 SDD initialized.
   Start with: .cursor/specs/auth/requirements.md
   Context:    .cursor/steering.md
   Guide:      .cursor/how-to-use.md (opened in your IDE)

Generated layout:

.cursor/
├── how-to-use.md
├── steering.md
└── specs/
    └── auth/
        ├── requirements.md
        ├── design.md
        └── tasks.md

What It Generates

| File | Role | Contents | |------|------|----------| | requirements.md | The what | User stories + testable EARS criteria | | design.md | The how | 6 fixed sections + Mermaid diagrams | | tasks.md | The order | Checklist, max 2 hierarchy levels | | steering.md | Context | Stack, rules, and agent conventions |

EARS (Easy Approach to Requirements Syntax) gives you structured, testable acceptance criteria using keywords like WHEN, IF...THEN, WHILE, and WHERE. See the EARS reference in the full guide.

A copy of how-to-use.md is placed in your project and opened in your IDE.


Supported Agents

specly detects your environment and writes files to the standard path for each agent:

| Agent | Command | Specs path | Steering | |-------|---------|------------|----------| | Generic | --agent generic | specs/ | specs/steering.md | | Cursor | --agent cursor | .cursor/specs/<feature>/ | .cursor/steering.md | | Kiro | --agent kiro | .kiro/specs/<feature>/ | .kiro/steering.md | | VS Code | --agent vscode | .vscode/specs/<feature>/ | .vscode/steering.md | | Antigravity | --agent antigravity | .agent/specs/<feature>/ | .agent/steering.md | | Windsurf | --agent windsurf | .windsurf/specs/<feature>/ | .windsurf/steering.md | | Claude Code | --agent claude | .claude/specs/<feature>/ | .claude/steering.md |


Quick Start

# Auto-detect agent
npx specly

# Force agent + feature name
npx specly --agent cursor --feature auth

# List all agents
npx specly --list

Global install (optional):

npm install -g specly
specly --agent kiro -n payments

Example Prompt

Once files are generated, point your agent at the spec:

Read .cursor/specs/auth/requirements.md and execute task 1.1 from tasks.md.
Validate the result against the EARS criteria.

More prompting patterns in how-to-use.md.


CLI Options

npx specly [options]

  -a, --agent <name>      Target agent
  -n, --feature <name>    Feature name (default: starter)
  -f, --force             Overwrite existing files
  -l, --list              List supported agents
  -h, --help              Show help

Documentation

The full workflow, EARS templates, agent examples, and security notes live in how-to-use.md — also copied into your project when you run npx specly.


Development

git clone https://github.com/DavidBritto/specly.git
cd specly
npm test
npm link          # test locally: specly

Contributing

PRs are welcome. Please run npm test before submitting. Open an issue to discuss larger changes first.


Credits

Created by davidops