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

@patimweb/pi-cap-bestpractices

v2.0.0

Published

SAP CAP (Cloud Application Programming Model) skills for the pi coding agent — ships the official SAP capire/skills (cap-developer, cap-add-remote-service, cap-trivia, cap-upgrade) as a git submodule.

Readme

pi-cap-bestpractices

SAP CAP (Cloud Application Programming Model) skills for the pi coding agent.

This package ships the official, SAP-maintained capire/skills repository as a git submodule, making the curated CAP skills available to pi. The previous hand-written skill has been replaced by the upstream skills, which follow the same open Agent Skills standard that pi implements.

Included skills

| Skill | Purpose | |-------|---------| | cap-developer | Build/extend CAP apps (Node.js & Java): project setup, CDS modeling, declarative annotations, custom handlers | | cap-add-remote-service | Consume external services (Calesi pattern): consumption views, delegation & federation handlers | | cap-upgrade | Upgrade a CAP project to a newer CDS version (cds upgrade + manual major-jump workflows) | | cap-trivia | Interactive CAP trivia quiz (requires the CAP MCP server) |

Installation

# From npm (once published)
pi install npm:@patimweb/pi-cap-bestpractices

# From local path during development
pi install /path/to/pi-cap-bestpractices

Usage

The skills are loaded on demand. Trigger them by working on CAP/CDS code, or explicitly:

/skill:cap-developer
/skill:cap-add-remote-service
/skill:cap-upgrade

Keeping the skills up to date

The skills are tracked as a submodule pinned to a specific upstream commit. To pull the latest SAP skills:

git submodule update --remote skills
# review, then commit the updated submodule pointer

When cloning this repo fresh (including in CI), initialize the submodule:

git clone --recurse-submodules [email protected]:Smotherer007/pi-cap-bestpractices.git
# or, after a normal clone:
git submodule update --init --recursive

Development

git submodule update --init --recursive   # first time
npm test                                  # validate every SKILL.md frontmatter
npm test:watch                            # run tests on change

Publishing as a pi Package

The package declares "pi.skills": ["./skills/skills"] (the upstream repo keeps its skills under a nested skills/ directory). CI initializes the submodule (submodules: recursive) before tests and release, so the skill content ships inside the npm tarball. Releases are automated via semantic-release on pushes to main (and pre-releases on next).

License

  • This package (packaging, workflows, config): MIT — Copyright Patrick Weppelmann.
  • The bundled skills (skills/): Apache-2.0 — Copyright SAP SE or an SAP affiliate company and capire/skills contributors. See skills/LICENSE and skills/LICENSES/.