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

@rmirandasv/pi-sdlc

v0.0.2

Published

Ask and plan modes for Pi: clarify requirements, produce an implementation plan, then execute it.

Readme

@rmirandasv/pi-sdlc

Ask, plan, and SDLC modes for Pi: explore a codebase, clarify requirements, write a PRD and specs, then execute.

npm

Plan mode preview

Status

This is 0.0.1. It ships ask mode, plan mode, the /sdlc loop (fuzzy requirement → PRD → specs → execute), and web search.

/plan is unchanged: it is still the short path from a plan to implementing code. /sdlc is the longer gated pipeline.

Install

Requires Pi.

pi install npm:@rmirandasv/pi-sdlc

Or try it for the current run only:

pi -e npm:@rmirandasv/pi-sdlc

Commands

| Command | What it does | | --- | --- | | /ask | Enter ask mode. Read-only tools only. Explore and research without changing files. | | /ask:exit | Leave ask mode and restore the default toolset. | | /plan | Enter plan mode. Clarify the work, ask questions, and write a plan. Execute implements that plan. | | /plan:exit | Leave plan mode, discard the draft, and restore the default toolset. | | /sdlc | Enter the SDLC loop at the PRD stage. Optional arguments seed the requirement. | | /sdlc:specs | Skip the PRD stage. Pick an existing PRD and plan specs for it. | | /sdlc:exit | Leave SDLC, keep any PRD/specs already written, and restore the default toolset. |

Ask, plan, and SDLC are mutually exclusive. Entering one exits the other.

/ask is an optional prelude. The SDLC loop starts in a plan-like gated stage, not in ask mode.

Plan flow

/plan is the short path. It does not write a PRD.

  1. /plan — the agent explores the repo and asks clarifying questions when it needs a decision.
  2. When the plan is ready, it writes a temporary markdown draft (present_plan).
  3. Choose one of:
    • Execute the plan — leave plan mode and implement it now.
    • Save to project... — copy the draft to a path you choose (default docs/plans/<title>.md).
    • Request changes — stay in plan mode and refine the draft.
    • Discard and exit — delete the draft and return to normal mode.

SDLC flow

/sdlc is the long path: fuzzy requirement → PRD → specs → execute.

  1. /sdlc — the agent explores the repo, asks clarifying questions, and presents a PRD (present_artifact). The draft is the PRD, not a plan for writing one.
  2. Approve PRD writes docs/sdlc/prd/<slug>.md and opens specs planning. Request changes stays in the PRD stage. Discard exits and deletes the draft (files already on disk stay).
  3. The agent reads the PRD and presents a specs breakdown. Approve writes one file per spec under docs/sdlc/specs/<slug>/ via write_spec.
  4. When the specs are on disk, choose:
    • Execute specs — leave SDLC and implement them now.
    • Refine specs — go back to specs planning.
    • Exit — keep the files and return to normal mode.

/sdlc:specs starts at step 3 with a PRD already in docs/sdlc/prd/.

Default artifact paths:

docs/sdlc/prd/<slug>.md
docs/sdlc/specs/<slug>/01-session-api.md
docs/sdlc/specs/<slug>/02-ui.md

PRD and specs stages do not get generic write / edit tools. The only project writes are the approved PRD (copied by the extension) and write_spec after the specs plan is approved.

Web search

web_search uses the Tavily API. Set TAVILY_API_KEY in the environment.

Ask, plan, and SDLC still work without the key. Search calls fail until it is set.

License

MIT. See LICENSE.

Issues and source: github.com/rmirandasv/pi-sdlc.