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

@witooh/pi-steering

v0.2.0

Published

Load Kiro steering files into Pi

Readme

pi-steering

A Pi extension that reads Kiro Steering from existing projects without requiring files to be moved or rules to be rewritten.

Supported features

| Kiro Steering | Behavior in Pi | | --- | --- | | Global scope | Reads ~/.kiro/steering/**/*.md | | Workspace scope | Reads <cwd>/.kiro/steering/**/*.md when the project is trusted | | inclusion: always | Adds the content to the system prompt for every request; this is the default when frontmatter is omitted | | inclusion: fileMatch | Matches globs against workspace-relative paths and injects steering before working with matching files | | inclusion: manual | Invoked with #file-name or /steering <file-name> | | inclusion: auto | Exposes name, description, and the path so the agent can load relevant steering automatically | | #[[file:path]] | Reads workspace-relative file content into context while preventing path traversal |

When global and workspace instructions conflict, the extension places workspace steering later and explicitly gives it priority, matching Kiro's behavior.

Installation

Install from npm:

pi install npm:@witooh/pi-steering

Alternatively, install directly from GitHub:

pi install git:github.com/witooh/pi-steering

Try the current checkout without installing it:

npm install
pi -e .

Pi loads the package through pi.extensions in package.json.

Examples

Always included

.kiro/steering/project.md

# Project conventions

- Use pnpm.
- Add tests for behavior changes.

The mode can also be declared explicitly:

---
inclusion: always
---

# Project conventions

Conditional inclusion

---
inclusion: fileMatch
fileMatchPattern: ["**/*.ts", "**/*.tsx"]
---

# TypeScript conventions

When a Pi file tool opens or modifies a path matching the pattern, the extension adds the steering file to the conversation context. For the first matching edit or write, the extension blocks the mutation once and asks the agent to retry after the steering instructions have been delivered. The TUI shows only the steering file path (not the full body); the agent still receives the full content.

Manual inclusion

---
inclusion: manual
---

# Review checklist

Invoke manual steering in either form:

Review this code using #review
/steering review Review the staged changes

The manual steering name comes from the filename (review.md becomes review). Both forms inject the full steering body for the agent while the TUI only displays the file name/path.

Auto inclusion

---
inclusion: auto
name: api-design
description: REST API conventions. Use when creating or changing API endpoints.
---

# API design rules

The extension adds only this metadata to the system prompt so the agent can load the full content when the request matches the description. Auto steering can also be invoked explicitly with #api-design or /steering api-design.

Live file references

Follow the contract in #[[file:docs/api.md]].

The path must remain inside the workspace. Each referenced file is limited to 50 KiB to prevent excessive context growth.

Limitations

  • Automatic fileMatch activation works for tool calls that expose a path argument. Shell commands and custom tools that hide paths inside command text rely on the steering index, which instructs the agent to load matching rules before proceeding.
  • auto relies on the model to compare the request with each description, so descriptions should be precise and specific.
  • The workspace root is the current working directory used to start Pi.
  • Steering files with invalid frontmatter are skipped with a warning rather than loaded under the wrong inclusion mode.

Development

npm test
npm run typecheck

References