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

compass-m

v1.0.30

Published

AI-powered Product Management toolkit.

Downloads

3,085

Readme

Compass

npm version npm downloads license platforms

Compass is an AI workflow library for Product Management and Development. Describe what you want — Compass turns it into specs, plans, and code with parallel AI workers running in fresh isolated contexts.


What it does

| Role | Flow | Output | |---|---|---| | Product Manager / Product Owner | brief → plan → run → check | PRD · User Stories · Epic · Research · Metrics plan · Compliance review · Roadmap · Sprint plan · Release notes | | Developer | spec → prepare → cook → test → commit | DESIGN-SPEC · TEST-SPEC · wave plan (DAG) · scoped code commits on feat branch · test results |

Each task runs in a fresh AI context with strict file scope — no context rot, no scope creep.


Install

npx compass-m

Requires macOS/Linux, Node ≥ 16.


Quick start

Product Management:

/compass:init                    # one-time setup
/compass:brief "add 2FA login"   # clarify scope, pick Colleagues
/compass:plan                    # review execution DAG
/compass:run                     # parallel Colleagues draft PRD + stories
/compass:check                   # validate + push to Jira/Confluence

Development:

/compass:init dev                              # one-time: stack detect + GitNexus
/compass:spec "implement STORY-001"            # → DESIGN-SPEC + TEST-SPEC
/compass:prepare                               # → wave plan (DAG)
/compass:cook                                  # → parallel Agents implement
# Auto-chains: cook → test → commit (with confirmation)

Full automation:

/compass:spec --auto "add rate limiting"       # → prepare → cook → test → commit, no interruptions

Quick fix:

/compass:fix "login returns 500 after deploy"  # trace → patch → verify → commit

Pipeline

Product Management

┌──────────┐    ┌──────────┐    ┌──────────┐    ┌──────────┐
│  brief   │ ──→│   plan   │ ──→│   run    │ ──→│  check   │
│          │    │          │    │          │    │          │
│ clarify  │    │ DAG of   │    │ wave-by- │    │ validate │
│ + pick   │    │ wave +   │    │ wave     │    │ + deliver│
│Colleagues│    │ budget   │    │ parallel │    │ to Jira  │
└──────────┘    └──────────┘    └──────────┘    └────┬─────┘
                                                     │
                                                     ▼
                                              ┌──────────────┐
                                              │PRD + Stories │
                                              │   + Epics    │
                                              └──────────────┘

Development

┌──────────┐    ┌──────────┐    ┌──────────┐    ┌────────────┐    ┌──────────┐
│   spec   │ ──→│ prepare  │ ──→│   cook   │ ──→│   test     │ ──→│  commit  │
│          │    │          │    │          │    │            │    │          │
│ DESIGN-  │    │ DAG of   │    │ wave-by- │    │ run        │    │ smart    │
│ SPEC +   │    │ wave +   │    │ wave     │    │ TEST-SPEC  │    │ stage +  │
│ TEST-    │    │ budget + │    │ parallel │    │ acceptance │    │ generate │
│ SPEC     │    │ context  │    │ Agents   │    │ or detect  │    │ message  │
│          │    │ packs    │    │          │    │ suite      │    │          │
└──────────┘    └──────────┘    └──────────┘    └────────────┘    └──────────┘

Full Product Lifecycle

  Product Management                              Development
 ┌─────────────────────────────────────┐    ┌────────────────────────────────────────────────┐
 │                                     │    │                                                │
 │  brief ──→ plan ──→ run ──→ check ──┼──→ │  spec ──→ prepare ──→ cook ──→ test ──→ commit │
 │                                     │    │                                                │
 └─────────────────────────────────────┘    └────────────────────────────────────────────────┘
                                  │              ↑
                                  └─ PRD ────────┘
                                     Stories
                                     Epics

  Quick Fix (standalone)
 ┌───────────────────────────────────────────────────────────┐
 │  fix ──→ trace ──→ patch ──→ test ──→ commit              │
 └───────────────────────────────────────────────────────────┘

Each task runs in a fresh context with strict context_pointers — no context rot, no scope creep.


Core commands

PM pipeline

| Command | Action | |---|---| | brief <task> | Clarify scope, pick AI Colleagues | | plan | Emit plan.json DAG with dependencies + budgets | | run | Execute plan wave-by-wave with parallel Colleagues | | check | Validate outputs, deliver to Jira/Confluence |

Dev pipeline

| Command | Action | |---|---| | spec <task> | Turn task → DESIGN-SPEC + TEST-SPEC (adaptive per code/ops/content) | | prepare | Decompose spec → wave-based execution plan with context_pointers | | cook | Execute plan — one Agent per task, parallel within waves, fresh context each | | test | Run TEST-SPEC acceptance or auto-detected test suite | | commit | Generate conventional commit message from staged/changed files | | fix <bug> | Cross-layer root-cause trace → ≤5-file hotfix |

Artifacts (single-doc commands)

| Command | Action | |---|---| | prd | Write a PRD following the 11-section template (no code) | | story | User Stories + Acceptance Criteria in Given/When/Then format | | epic | Scaffold an epic folder with user-stories + tasks subfolders | | research | Competitive / market / user / tech research reports | | ideate | Brainstorm 5-10 feature ideas from a pain point | | prioritize | Score backlog with RICE / MoSCoW / Kano frameworks | | prototype | UI prototype via Figma integration | | roadmap | Product roadmap with Gantt chart | | sprint | Sprint planning by capacity + sprint review aggregation | | release | Generate release notes from completed stories | | report | Period reports — quarterly, half-year, annual, custom | | feedback | Structured user-feedback collection + theming |

Utility

| Command | Action | |---|---| | init | First-time project setup — language, prefix, integrations | | init dev | Lightweight dev setup — stack detect + GitNexus | | project | List or switch registered projects | | setup | Configure Jira / Figma / Confluence / Vercel integrations | | status | Project dashboard — docs, progress, blockers | | cleanup | Close stale pipelines, archive old sessions | | update | Update Compass to latest version | | help | Show all commands (/compass:help dev for dev mode) | | undo | Restore previous version of last modified document | | migrate | Migrate state from v0.x to v1.0 (idempotent) |

Full list: /compass:help (PM mode) or /compass:help dev (dev mode).


AI Colleagues

10 specialized workers composed per task needs, running in parallel waves:

Research Aggregator · Market Analyst · Data Analyst · Product Writer · Story Breaker · Backlog Prioritizer · UX Reviewer · Consistency Reviewer · Compliance Reviewer · Stakeholder Communicator

Each runs in an isolated context with only the files its task needs — no shared state, no context bleed. Team is auto-derived from task complexity + domain signals; manual override available.


Architecture

┌─────────────────────────────────────────────┐
│  AI Host (Claude Code / OpenCode)           │
│  • Reads workflows, reasons, calls tools    │
│  • Spawns Agent sub-contexts for parallel   │
└─────────────────────────────────────────────┘
              │ calls
              ▼
┌─────────────────────────────────────────────┐
│  compass-cli (Rust binary)                  │
│  • Project registry resolve                 │
│  • Context packing (slice by line range)    │
│  • DAG validation + wave enumeration        │
│  • Plan/spec/PRD schema validation          │
│  • State + memory management                │
└─────────────────────────────────────────────┘
  • Workflows (markdown) — AI interprets, does reasoning and creative output
  • CLI (Rust) — deterministic I/O, math, state, validation

Highlights

  • Fresh context per task — strict context_pointers enforced by validator, no context rot
  • Real parallel dispatch — cook/run emit N Agent tool calls in a single message
  • GitNexus integration — dev workflows use gitnexus_impact() for blast radius, gitnexus_context() for call graph (optional, falls back to Grep)
  • Worker rules — base rules + 15 framework addons (TypeScript, React, Rust, Python, Go, etc.) composed into every worker prompt
  • Auto-chain mode--auto flag runs full pipeline with recommended defaults, no prompts
  • Durable project memory — FIFO 10 sessions with aggregate preservation across rotation
  • Multi-project registrycompass-cli project resolve always knows active project, survives IDE restarts

Hosts

| Host | Status | |---|---| | Claude Code | ✅ Native — /compass:* commands auto-discovered | | OpenCode | ✅ Native — detected during install, full app restart required | | Other AI | ⚠️ Paste workflow manually: cat ~/.compass/core/workflows/<name>.md |


Update / Uninstall

npx compass-m                # idempotent update — preserves ~/.compass/projects.json
npx compass-m --uninstall    # remove commands, keep source
rm -rf ~/.compass            # full removal

Contributing

Issues + PRs: mrmandovn/compass

git clone https://github.com/mrmandovn/compass.git ~/.compass
cd ~/.compass/cli && cargo build --release && cargo test

License

MIT © Mando