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

teamspec

v4.3.2

Published

CLI tool to bootstrap TeamSpec 4.0 Product-Canon operating model in any repository

Readme

TeamSpec CLI

Bootstrap TeamSpec 4.0 Product-Canon Operating Model in any repository

npm version License: MIT

What is TeamSpec?

TeamSpec is a Product-Canon Operating Model for software teams. It provides:

  • Product Canon — Single source of truth for production behavior (AS-IS)
  • Feature-Increments — Proposed changes to products (TO-BE)
  • Delta-based Stories — Stories describe changes, not full behavior
  • Role-based Workflows — Clear ownership boundaries (PO, BA, FA, SA, DEV, QA, SM)
  • AI Agent Integration — Works with GitHub Copilot, Cursor, Claude, and more

Installation

Global Install (Recommended)

npm install -g teamspec

npx (No Install)

npx teamspec

Quick Start

Interactive Setup

cd your-repo
teamspec

The CLI will ask:

  1. Your team profile (startup, enterprise, regulated, etc.)
  2. Organization and team name
  3. Industry sector
  4. Development cadence (scrum, kanban, scrumban)
  5. Initial project ID

Non-Interactive Setup

teamspec --profile startup --org "My Company" --team "Web Team" -y

What Gets Created

your-repo/
├── .teamspec/                    # Core framework
│   ├── templates/                # Document templates
│   ├── definitions/              # DoR/DoD checklists
│   ├── profiles/                 # Profile overlays
│   └── context/
│       └── team.yml              # Your team configuration
├── .github/
│   └── copilot-instructions.md   # GitHub Copilot guidance (optional)
├── projects/main-project/        # Project artifacts
│   ├── features/                 # Feature Canon (source of truth)
│   │   ├── features-index.md     # Feature registry
│   │   └── story-ledger.md       # Completed story tracking
│   ├── stories/                  # User stories
│   │   ├── backlog/              # New stories
│   │   ├── ready-to-refine/      # Ready for dev refinement
│   │   └── ready-for-development/# Ready for sprint
│   ├── adr/                      # Architecture decisions
│   ├── decisions/                # Business decisions
│   ├── dev-plans/                # Development task breakdowns
│   ├── qa/                       # Test cases
│   ├── sprints/                  # Sprint management
│   └── epics/                    # Epic specifications

Commands

Initialize TeamSpec

teamspec [init] [options]

Options:

| Option | Description | |--------|-------------| | -t, --target <dir> | Target directory (default: current) | | -p, --profile <profile> | Team profile | | -o, --org <name> | Organization name | | --team <name> | Team name | | --project <id> | Project ID | | --ide <ide> | IDE integration (vscode, cursor, other, none) | | --copilot <yes\|no> | Install GitHub Copilot instructions (default: yes) | | -y, --non-interactive | Skip prompts, use defaults |

Update TeamSpec

teamspec update [options]

Updates templates, definitions, and profiles while preserving your team configuration.

Options:

| Option | Description | |--------|-------------| | -f, --force | Update without confirmation | | -y, --non-interactive | Skip confirmation prompt |

Profiles

| Profile | Description | |---------|-------------| | none | Vanilla TeamSpec | | startup | Lean documentation, speed focus | | platform-team | API-first, SLA focus | | enterprise | Full governance, audit trails | | regulated | Banking, healthcare, government compliance |

TeamSpec Commands (for AI Agents)

Once configured, use these commands with your AI assistant:

Product Owner

ts:po product    # Create new product with PRX prefix
ts:po project    # Create new project targeting product(s)
ts:po sync       # Sync Feature-Increments to Product Canon (post-deploy)
ts:po status     # Product/project status overview

Business Analysis

ts:ba analysis   # Create business analysis document
ts:ba ba-increment # Create BA increment in project
ts:ba review     # Review artifacts for business intent

Functional Analysis

ts:fa feature    # Create feature in Product Canon
ts:fa feature-increment # Create feature-increment in project
ts:fa epic       # Create epic in project
ts:fa story      # Create story linked to epic

Development

ts:dev plan      # Create development plan
ts:dev implement # Execute from existing plan

Quality Assurance

ts:qa test       # Design test cases for Feature-Increment
ts:qa regression # Update product regression tests
ts:qa verify     # Validate DoD compliance
ts:qa uat        # Create UAT pack

Scrum Master

ts:sm sprint create  # Create new sprint
ts:sm sprint status  # View sprint status
ts:sm sprint close   # Close sprint with metrics

Key Concepts

Feature Canon

The Feature Canon is the single source of truth for system behavior. It lives in projects/<project-id>/features/ and contains:

  • Feature Files — Define what the system does
  • Features Index — Registry of all features
  • Story Ledger — Tracks how features evolved through stories

Delta-based Stories

Stories describe changes (deltas) to the Feature Canon, not full behavior:

### Before (current behavior)
Reference: F-001, Section: User Registration

### After (new behavior)
Email confirmation is now optional for OAuth users.

Workflow Folders

Stories move through workflow folders:

  1. stories/backlog/ — FA creates new stories here
  2. stories/ready-to-refine/ — FA moves stories ready for dev refinement
  3. stories/ready-for-development/ — DEV moves refined stories here
  4. Sprint — SM assigns to active sprint

Configuration

Edit .teamspec/context/team.yml to customize:

org:
  name: "Your Organization"
  industry: technology
  profile: startup

team:
  name: "Your Team"
  roles: [BA, FA, DEV, QA, SM]
  cadence:
    type: scrum
    sprint_length_days: 14

tech:
  stack:
    - Python
    - React
    - PostgreSQL

governance:
  sign_off_required: false
  audit_trail: false

Development

Local Testing

cd cli
npm link
teamspec --help

Running Tests

npm test

License

MIT

Contributing

See CONTRIBUTING.md for guidelines.