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

specify-it

v0.7.0

Published

CLI and validation tooling for spec-driven workflows.

Readme

Specify It!

Standardize how your repository creates, names, validates, and shares specs across humans, hooks, CI, and agents.

What is Specify It!

specify-it helps teams define a clear repository contract for specs.

Instead of letting every repository invent its own structure, naming, and validation rules, specify-it gives you a deterministic workflow that works for:

  • humans writing specs
  • local Git hooks
  • CI pipelines
  • agent and LLM tooling

It currently provides:

  • specify-it init to bootstrap a repository contract
  • specify-it new to create new spec scaffolds
  • specify-it check to validate repository specs
  • specify-it list to enumerate known specs
  • specify-it print-config --json to expose the resolved repository contract for tools and agents
  • official agent-facing skills for assisted spec workflows

Getting Started

Install specify-it as a development dependency:

npm install -D specify-it

Initialize the repository:

npx specify-it init

Create a new spec:

npx specify-it new --title="add social login"

Validate the repository specs:

npx specify-it check

Inspect the resolved repository contract:

npx specify-it print-config --json

After init, your repository gets a deterministic contract through:

  • specify-it.config.json
  • a dedicated specs directory
  • a predictable section structure
  • validation rules that can run locally and in CI

How Specify It! Works

Every repository that uses specify-it has a deterministic contract in specify-it.config.json.

That contract defines:

  • where specs live
  • how spec files are named
  • which sections they must contain
  • whether groups are used
  • which validations apply during local development and CI

Generated configs can include a $schema entry that points editors and tools to the published JSON Schema for the current package version.

The CLI enforces that contract.

At a high level:

  • deterministic commands define and validate the repository rules
  • agent-facing skills consume those rules for assisted workflows

This separation lets repositories keep a stable source of truth for structural rules while still enabling LLM-assisted authoring.

Core Commands

specify-it init

Bootstraps specify-it in the current repository.

npx specify-it init

Useful variants:

npx specify-it init --bare
npx specify-it init --format=json

init creates the repository contract and the initial specs structure.

specify-it new

Creates a new spec scaffold from the repository configuration.

npx specify-it new --title="bootstrap release workflow"

If the repository uses spec groups:

npx specify-it new --title="add config loader" --group=feat

Key behavior:

  • --title is required
  • specs.groups is optional
  • when groups are configured, --group is required
  • the filename is always derived from the configured naming strategy

specify-it check

Validates repository specs against specify-it.config.json.

npx specify-it check

Machine-readable output:

npx specify-it check --json

The checker validates:

  • repository layout
  • filename shape
  • file extension
  • Markdown section order and required sections
  • commit-aware repository rules when configured

specify-it list

Lists known specs from the configured repository layout.

npx specify-it list

Machine-readable output:

npx specify-it list --json

This is useful for scripts, CI, and agent tooling that need spec inventory.

specify-it print-config

Prints the resolved repository contract as JSON.

npx specify-it print-config --json

This command is designed for tools and agents that need a deterministic view of the repository rules without parsing multiple project files.

Configuration

specify-it init generates a specify-it.config.json file that becomes the source of truth for the repository spec workflow.

Generated configs include:

{
  "$schema": "https://unpkg.com/[email protected]/schemas/specify-it.json"
}

The published schema lives at:

https://unpkg.com/[email protected]/schemas/specify-it.json

Example:

{
  "$schema": "https://unpkg.com/[email protected]/schemas/specify-it.json",
  "specs": {
    "root": ".specs",
    "format": "md",
    "language": "en",
    "naming": "timestamp-slug",
    "sections": {
      "order": ["Title", "Objective", "Scope", "Design", "Examples", "Acceptance Criteria"],
      "required": ["Objective", "Scope", "Design", "Acceptance Criteria"],
      "optional": ["Examples"]
    }
  },
  "agents": {
    "syncDocuments": ["AGENTS.md", "README.md"]
  },
  "checks": {
    "requireSpecsDirectory": true,
    "requireOrderedSections": true,
    "requireKnownExtension": true,
    "commitSpecs": {
      "mode": "one",
      "maxChangedSpecs": 1,
      "requireLatest": true
    }
  }
}

Grouped repositories can add:

{
  "specs": {
    "groups": ["feat", "fix", "docs", "chore"]
  }
}

Naming strategies

Supported specs.naming values:

  • timestamp-slug
  • slug
  • sequence-slug
  • date-slug
  • datetime-slug
  • group-timestamp-slug
  • timestamp-group-slug
  • group-slug

Slug segments use ASCII snake_case across every naming strategy.

Configuration reference

| path | required | description | | ------------------------------------ | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | specs.root | true | defines where repository specs live | | specs.format | true | defines the single source of truth for the project spec format; current bootstrap values are md, json, html, and xml | | specs.language | true | communicates the expected language for LLM-authored specs | | specs.naming | true | defines the filename strategy for specs; supported values are timestamp-slug, slug, sequence-slug, date-slug, datetime-slug, group-timestamp-slug, timestamp-group-slug, and group-slug; slug segments use ASCII snake_case | | specs.groups | false | optionally lists the allowed spec groups; when present, specify-it new requires --group with one of the configured values | | specs.sections.order | true | defines the canonical section order for markdown-style specs | | specs.sections.required | true | lists sections that must exist in every compliant spec | | specs.sections.optional | true | lists sections that may be omitted | | agents.syncDocuments | true | lists repository documents that should stay aligned with spec and workflow changes | | checks.requireSpecsDirectory | true | requires the configured specs directory to exist | | checks.requireOrderedSections | true | requires specs to follow the configured section order | | checks.requireKnownExtension | true | requires spec files to match the configured format | | checks.commitSpecs.mode | true | describes commit-level expectations for specs; supported values are none, one, and any | | checks.commitSpecs.maxChangedSpecs | false | optionally caps how many spec files may be changed in the current Git working set | | checks.commitSpecs.requireLatest | true | expresses whether a newly added spec in a commit must be the latest spec in its target specs directory by timestamp order |

Agent Skills

specify-it combines deterministic CLI commands with agent-facing skills.

  • commands define and enforce the repository contract
  • skills use that contract for assisted workflows

The first official skill currently shipped by the project is:

  • skills/creating-specs-with-specify-it/

That skill is designed for repositories that already use specify-it and follows this workflow:

  1. run npx specify-it print-config --json
  2. read the repository contract
  3. create the spec with npx specify-it new
  4. draft the content inside the generated scaffold
  5. run npx specify-it check when final validation is needed

For agents or environments without native skill support, a repository can mirror that same workflow in documents such as AGENTS.md.

Release

The project uses release-it for package releases.

  • yarn release is the local release entrypoint
  • .release-it.json defines Git tags, npm publication, GitHub releases, and changelog generation
  • .github/workflows/release.yml defines the manual GitHub Actions workflow for patch, minor, and major releases
  • the workflow verifies npm authentication explicitly with npm whoami
  • release-it uses --no-verify on automated version commits so mechanical release metadata updates do not get blocked by human-focused pre-commit checks
  • the package publishes to https://registry.npmjs.org/

The release workflow runs:

  • yarn format:check
  • yarn lint:check
  • yarn type-check
  • yarn test
  • yarn build

Contributing

The repository follows a spec-first workflow for implementation work:

  1. create the relevant spec
  2. refine the spec until the design is aligned
  3. approve the spec
  4. implement the change

Helpful project documents:

  • AGENTS.md defines collaboration and spec-writing rules for contributors and coding agents
  • IDEA.md captures early-stage product direction and open questions
  • .specs/ stores implementation-ready and approved specs

For local project development:

  • yarn build emits runnable output to dist/
  • yarn start runs the built CLI
  • yarn start:dev runs the source entrypoint directly
  • yarn test runs the Vitest suite
  • yarn test:cov runs the suite with coverage
  • yarn specify-it:check runs the released CLI against this repository