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

reyson-spec-gate

v0.1.1

Published

Interactive installer for a spec-first workflow scaffold with docs, skills, and optional agent guidance files.

Readme

reyson-spec-gate

A spec-first installer for coding-agent workflow rules, docs, and skills.

reyson-spec-gate is designed to install a consistent pre-coding workflow into a workspace so that agents do not jump directly from a loose request into implementation.

Its central rule is simple:

No coding before the spec is clear, the task list exists, and the checklist exists.


Recommended usage

Do not rely on global installation as the primary path.

The recommended way to use this package is:

npx reyson-spec-gate

This launches the interactive installer directly and avoids depending on a permanently global npm installation.


What it installs

The installer always installs the shared workflow assets:

  • docs/spec-workflow.md
  • skills/generate-task-list/SKILL.md
  • skills/generate-checklist/SKILL.md

It also installs RULES.md only for selected agents.

It does not install:

  • AGENTS.md
  • CLAUDE.md

All agent-specific rule entrypoints are normalized to RULES.md.


Supported agents

The interactive installer currently supports these agent targets:

  1. Codex
  2. Trae
  3. Claude Code
  4. Cursor
  5. Antigravity

You can select one or more targets in the same run.

If you do not select anything, the installer will:

  • default to Codex
  • print a message explaining that Codex was chosen by default

Interactive behavior

Run:

npx reyson-spec-gate

The installer will ask:

  1. which directory to install into
  2. which agent targets to install for

Agent selection is multi-select.

Example:

  • 1,3,4 installs for Codex, Claude Code, and Cursor

If you press ENTER without choosing an agent, it falls back to Codex.


Output structure

The installer writes the shared assets into the target directory and installs rule files per agent under agents/<agent>/RULES.md.

Example output:

my-project/
├── docs/
│   └── spec-workflow.md
├── skills/
│   ├── generate-task-list/
│   │   └── SKILL.md
│   └── generate-checklist/
│       └── SKILL.md
└── agents/
    ├── codex/
    │   └── RULES.md
    ├── claude-code/
    │   └── RULES.md
    └── cursor/
        └── RULES.md

This structure avoids filename collisions when multiple agents are installed in one run.


Non-interactive usage

If you want a scriptable path, you can still run the installer non-interactively.

Default to Codex

npx reyson-spec-gate install --yes --dir ./my-project

Install multiple agent targets

npx reyson-spec-gate install --yes --dir ./my-project --agents codex,trae,claude,cursor,antigravity

Why npx is preferred

The purpose of this package is to run an installation workflow, not simply to sit globally on a machine.

Using npx reyson-spec-gate is preferable because:

  • it is explicit
  • it is easy to run in any repository
  • it avoids stale global versions
  • it keeps the install workflow lightweight

Global installation can still work, but it is no longer the recommended entrypoint.


Workflow model

This package is based on a spec-first coding workflow.

The intended flow is:

  1. The agent reads docs/spec-workflow.md
  2. The agent checks whether the current work has:
    • a working spec
    • a task list
    • a checklist
  3. If the task list is missing, the agent uses generate-task-list
  4. If the checklist is missing, the agent uses generate-checklist
  5. Only after both artifacts exist does coding begin
  6. After coding, the checklist is revisited before claiming completion

Responsibilities

docs/spec-workflow.md

This file is the workflow knowledge source.

It defines:

  • the pre-coding gate
  • artifact ordering
  • task-list requirements
  • checklist requirements
  • coding readiness rules
  • post-coding verification rules

skills/generate-task-list

This skill generates or normalizes an explicit task list from a spec or plan.

skills/generate-checklist

This skill generates a checklist from the working spec and task list.

agents/<agent>/RULES.md

Each selected agent receives a RULES.md entrypoint.

Its job is to remind the target agent to:

  • read the workflow doc first
  • check for task list and checklist presence
  • generate missing artifacts before implementation
  • avoid coding before the pre-coding gate passes

Example installation commands

Install for Codex only

npx reyson-spec-gate install --yes --dir ./my-project --agents codex

Install for Trae and Cursor

npx reyson-spec-gate install --yes --dir ./my-project --agents trae,cursor

Install for all supported agents

npx reyson-spec-gate install --yes --dir ./my-project --agents codex,trae,claude,cursor,antigravity

Development

Run locally:

node bin/reyson-spec-gate.js --help
node bin/reyson-spec-gate.js install

Package identity

Current npm package:

reyson-spec-gate

Recommended invocation:

npx reyson-spec-gate

Notes

This repository intentionally standardizes every agent rule entrypoint to RULES.md.

That means:

  • no AGENTS.md
  • no CLAUDE.md
  • a single normalized rules filename for all supported agent targets

This keeps the workflow easier to reason about and easier to extend.