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

yy-spec

v2.1.5

Published

Transform your coding workflow with AI-DLC and Spec-Driven Development. One command installs 11 powerful slash commands, Project Memory, and structured development workflows for 8 AI coding agents.

Downloads

454

Readme

yy-spec: Spec-driven development for your team's workflow

npm version install size license: MIT

Transform Claude Code / Cursor IDE / Gemini CLI / Codex CLI / GitHub Copilot / Qwen Code / OpenCode / Windsurf from prototype to production-ready development.

👻 Kiro-inspired — Similar Spec-Driven, AI-DLC style as Kiro IDE, so existing Kiro specs remain compatible and portable.

What's New in v2.0.0:

  • Fast-to-Review Designs — Structured format with summary tables makes reviews 5x faster
  • Separate Research — Keep discovery notes (Research.md) separate from final design (Design.md)
  • Quality Gates — validate-gap/design/impl commands catch integration issues before coding
  • Customize Once — Adapt templates to your team's process; all agents follow the same workflow
  • Universal Workflow — 8 agents share the same 11-command process
  • Project Principlessteering auto-discovers architectural constraints; compliance checked in design and tasks
  • Consistency Analysis — Cross-artifact checks (requirements ↔ design ↔ tasks) run automatically after task generation
  • Ambiguity Detection — Requirements scanned for underspecified areas and marked inline with default assumptions

Acknowledgement: This project is a fork of cc-sdd by @gotalab. Thanks to the original author for the excellent Spec-Driven Development framework.


Need the legacy flow? Use npx [email protected]. Upgrading from v1.x? See the Migration Guide: English | 简体中文.

🚀 Installation

Run one command to install AI-DLC (AI Driven Development Lifecycle) with SDD (Spec-Driven Development) workflows across your preferred AI coding agent. yy-spec also scaffolds team-aligned templates so generated requirements, design reviews, task plans, and steering docs fit your approval flow.

# Basic installation (defaults: English docs, Claude Code)
npx yy-spec@latest

# With language options (default: --lang en)
npx yy-spec@latest --lang zh    # Simplified Chinese
npx yy-spec@latest --lang en    # English (default)

# With agent options (default: claude-code / --claude)
npx yy-spec@latest --claude                  # Claude Code (6 workflow commands)
npx yy-spec@latest --claude-agent --lang zh  # Claude Code Agents (6 commands + 9 subagents)
npx yy-spec@latest --cursor                  # Cursor IDE
npx yy-spec@latest --gemini                  # Gemini CLI
npx yy-spec@latest --codex                   # Codex CLI
npx yy-spec@latest --copilot                 # GitHub Copilot
npx yy-spec@latest --qwen                    # Qwen Code
npx yy-spec@latest --opencode                # OpenCode (11 commands)
npx yy-spec@latest --opencode-agent --lang zh # OpenCode Subagents (12 commands + 9 subagents)
npx yy-spec@latest --windsurf                # Windsurf IDE

🌐 Supported Languages

| Language | Code | |----------|------| | English | en (default) | | Simplified Chinese | zh |

Usage: npx yy-spec@latest --lang zh

✨ Quick Start

For Claude Code (--claude / --claude-agent)

# Establish project context first (essential for existing projects)
/yy:steering                                                   # AI learns project context

# Then use self-contained workflow commands
/yy:feature Build a user authentication system with OAuth      # Auto-sizes → small: implement / large: plan
/yy:fix Login fails when email has uppercase letters            # TDD fix → code review → update specs
/yy:investigate Why are sessions expiring early                 # Systematic diagnosis → conclusion → can fix
/yy:plan-exec auth-system                                      # Execute a large feature plan
/yy:status auth-system                                         # Check spec progress

design.md - System Flow Diagram Example of system flow during the design phase design.md

For Other Agents (Cursor, Gemini, Codex, Copilot, etc.)

Command separator varies by agent — see table below or check your agent's installed commands.

| Agent | Separator | Example | |-------|-----------|---------| | Gemini, Qwen | /yy: | /yy:steering | | Cursor | /yy/ | /yy/steering | | Copilot, Windsurf, OpenCode | /yy- | /yy-steering | | Codex | /prompts:yy- | /prompts:yy-steering |

# Workflow (shown with Gemini/Qwen syntax — adapt separator for your agent)
/yy:steering                                                   # AI learns existing project context
/yy:spec-init Add OAuth to existing auth system                # AI creates enhancement plan
/yy:spec-requirements oauth-enhancement                        # AI asks clarifying questions
/yy:validate-gap oauth-enhancement                             # Optional: Analyze existing vs requirements
/yy:spec-design oauth-enhancement                              # Human validates, AI designs
/yy:validate-design oauth-enhancement                          # Optional: Validate design integration
/yy:spec-tasks oauth-enhancement                               # Break into implementation tasks
/yy:spec-impl oauth-enhancement                                # Execute with TDD

30-second setupAI-driven "bolts" (not sprints)Hours-to-delivery results

Why teams install yy-spec

  1. Single source specs – requirements, design, tasks, and supporting references stay in sync, so reviewers approve faster.
  2. Greenfield or brownfield – net-new features boot in minutes, while validate gates and project memory keep legacy upgrades safe.
  3. Mix any agent – the same templates and rules power Claude, Cursor, Codex, Gemini, Copilot, Qwen, and Windsurf simultaneously.
  4. Customize once – edit .yy-dev/settings/templates/ or .yy-dev/settings/rules/ and every agent/slash command reflects your workflow.

✨ Key Features

  • 🚀 AI-DLC Methodology - AI-native processes with human approval. Core pattern: AI executes, human validates
  • 📋 Spec-First Development - Comprehensive specifications as single source of truth driving entire lifecycle
  • ⚡ "Bolts" not Sprints - AI-DLC terminology for intensive hours/days cycles replacing weeks-long sprints. Escape the 70% administrative overhead
  • 🧠 Persistent Project Memory - AI maintains comprehensive context (architecture, patterns, rules, domain knowledge) across all sessions via steering documents
  • 🛠 Template flexibility - Tweak {{KIRO_DIR}}/settings/templates (steering, requirements, design, tasks) to mirror your team's deliverables
  • 🔄 AI-Native + Human Gates - AI Plans → AI Asks → Human Validates → AI Implements (rapid cycles with quality control)
  • 🌍 Team-Ready - English/Chinese support, cross-platform, standardized workflows with quality gates

🤖 Supported AI Agents

| Agent | Status | Commands | |-------|--------|----------| | Claude Code | ✅ Full | 13 commands (/yy:*): 6 auto-workflow + 7 step-by-step | | Claude Code Agents | ✅ Full | 13 commands (/yy:*) + 9 subagents | | Cursor IDE | ✅ Full | 11 commands | | Gemini CLI | ✅ Full | 11 commands | | Codex CLI | ✅ Full | 11 prompts | | GitHub Copilot | ✅ Full | 11 prompts | | Qwen Code | ✅ Full | 11 commands | | Windsurf IDE | ✅ Full | 11 workflows | | Others (Factory AI Droid) | 📅 Planned | - |

📋 Commands

Claude Code Workflow (/yy:*)

Auto Workflow (end-to-end, self-closing):

/yy:steering                              # Create/update project context (run first)
/yy:feature <description>                 # New feature → auto-size → implement or plan
/yy:fix <description>                     # Known bug → TDD fix → code review
/yy:investigate <description>             # Uncertain issue → systematic diagnosis
/yy:plan-exec [spec-name]                 # Execute a large feature plan
/yy:status [spec-name]                    # Check spec progress

Step-by-Step Workflow (manual control per phase):

/yy:spec-requirements <feature_name>      # Generate requirements
/yy:spec-design <feature_name>            # Create technical design
/yy:spec-tasks <feature_name>             # Break into implementation tasks
/yy:spec-impl <feature_name> <tasks>      # Execute with TDD
/yy:validate-gap <feature_name>           # Analyze existing functionality gaps
/yy:validate-design <feature_name>        # Review design compatibility
/yy:validate-impl <feature_name>          # Validate implementation against specs

Other Agents Workflow (/yy:*)

/yy:spec-init <description>              # Initialize feature spec
/yy:spec-requirements <feature_name>     # Generate requirements
/yy:spec-design <feature_name>           # Create technical design
/yy:spec-tasks <feature_name>            # Break into implementation tasks
/yy:spec-impl <feature_name> <tasks>     # Execute with TDD
/yy:spec-status <feature_name>           # Check progress
/yy:validate-gap <feature_name>          # Analyze existing functionality gaps
/yy:validate-design <feature_name>       # Review design compatibility
/yy:validate-impl <feature_name>         # Validate implementation against specs

Specifications as the Foundation: Based on Kiro's specs - specs transform ad-hoc development into systematic workflows, bridging ideas to implementation with clear AI-human collaboration points.

📖 Complete Command Reference - Detailed usage, parameters, examples, and troubleshooting for all commands

Project Memory & Context

/yy:steering                              # Claude Code
/yy:steering                              # Other agents

Critical Foundation: Steering creates persistent project memory. Run first for existing projects to improve spec quality.

🎨 Customization

Edit templates in {{KIRO_DIR}}/settings/templates/ to match your workflow. Keep the core structure (requirement numbers, checkboxes, headings) and add your team's context—AI adapts automatically.

Common customizations:

  • PRD-style requirements with business context and success metrics
  • Frontend/Backend designs optimized for React components or API specs
  • Approval gates for security, architecture, or compliance reviews
  • JIRA/Linear-ready tasks with estimation, priority, and labels
  • Domain steering for API standards, testing conventions, or coding guidelines

📖 Customization Guide — 7 practical examples with copy-paste snippets

⚙️ Configuration

# Language
npx yy-spec@latest --lang zh            # Simplified Chinese
npx yy-spec@latest --lang en            # English (default)

# Safe operations
npx yy-spec@latest --dry-run --backup

# Custom directory
npx yy-spec@latest --kiro-dir docs

📁 Project Structure

After installation, your project gets:

project/
├── .claude/commands/yy/      # 6 workflow commands (Claude Code)
├── .codex/prompts/           # 11 prompt commands (Codex CLI)
├── .github/prompts/          # 11 prompt commands (GitHub Copilot)
├── .windsurf/workflows/      # 11 workflow files (Windsurf IDE)
├── .yy-dev/settings/           # Shared rules & templates (variables resolved with {{KIRO_DIR}})
├── .yy-dev/specs/              # Feature specifications
├── .yy-dev/steering/           # AI guidance rules
└── CLAUDE.md (Claude Code)    # Project configuration

Note: only the directories for the agent(s) you install will be created. The tree above shows the full superset for reference.

📚 Documentation & Support


Stable Release v2.0.0 - Production-ready. Report issues | MIT License

Platform Support

  • Supported OS: macOS, Linux, Windows (auto-detected by default).
  • Unified command templates across operating systems; --os override is optional for legacy automation.

Heads-up: Passing --os still works for backward compatibility, but all platforms now receive the same command set.