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

@casualjim/pi-cavekit

v0.1.2

Published

Cavekit SPEC.md workflow packaged for Pi

Downloads

427

Readme

pi-cavekit

Pi-native port of JuliusBrussee/cavekit: a compact SPEC.md workflow for spec-driven development.

Cavekit keeps one durable project artifact at repo root:

SPEC.md

The package bundles upstream Cavekit FORMAT.md as the reference for that file's sections, addressing rules, pipe tables, and caveman-style spec encoding.

Install

pi install npm:@casualjim/pi-cavekit

For local development from this monorepo:

pi install ./packages/pi-cavekit

Commands

This package exposes Pi prompt templates with upstream Cavekit command names:

  • /ck:spec [bug: <description> | amend <§X.n> | from-code | <idea>] — create, distill, amend, or backprop project SPEC.md.
  • /ck:build [§T.n | --next | --all] — plan and execute selected §T tasks from SPEC.md.
  • /ck:check [§V | §I | §T | --all] — read-only drift report comparing SPEC.md to current code.

Pi prompt template filenames preserve the command names: prompts/ck:spec.md, prompts/ck:build.md, and prompts/ck:check.md.

Included skills

  • cavekit-specSPEC.md creation, distillation, amendment, and bug backprop mutation.
  • cavekit-build — plan-then-execute implementation against selected SPEC.md tasks.
  • cavekit-check — read-only drift detection for §V invariants, §I interfaces, and §T task status.
  • cavekit-backprop — bug-to-spec analysis that proposes §B and §V updates.

Pi also registers skills as /skill:<name> commands when skill commands are enabled. The /ck:* prompt templates are the primary Cavekit UX.

FORMAT.md and SPEC.md

  • FORMAT.md is packaged reference material copied from upstream Cavekit.
  • SPEC.md is the user's project-root working artifact.
  • Cavekit skills use FORMAT.md to write/check SPEC.md sections:
    • §G goal
    • §C constraints
    • §I interfaces
    • §V invariants
    • §T tasks
    • §B bugs

SPEC.md is not a managed package asset. This package does not create .pi managed manifests, synchronize project config, or install hooks.

Relationship to pi-caveman

pi-cavekit does not bundle upstream Cavekit's embedded skills/caveman and does not depend on @casualjim/pi-caveman.

Use @casualjim/pi-caveman as a complementary package for general terse response mode, commit messages, review comments, and memory compression. Cavekit only uses the FORMAT.md spec encoding rules for SPEC.md content.

Non-goals

This package does not include:

  • a Pi extension;
  • /ck:init;
  • managed project config;
  • upstream shell installers;
  • Claude Code plugin manifests;
  • hooks, statusline integrations, or runtime orchestration;
  • active setup for non-Pi agents.

Development

npm test --workspace @casualjim/pi-cavekit
npm run typecheck --workspace @casualjim/pi-cavekit

Attribution

This package is a Pi port of Cavekit by Julius Brussee:

  • Upstream: https://github.com/JuliusBrussee/cavekit
  • License: MIT, see LICENSE