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

@osdlc/corpus-sdlc-starter

v0.1.0

Published

A starter knowledge base for an sdlc planning corpus: shared principles as corpus-schema records, typed by @osdlc/corpus-profile-sdlc. A repo names it under references in its corpus's root file and cites its records by id.

Readme

@osdlc/corpus-sdlc-starter

The sdlc starter is a small knowledge base that a work repo references and cites. It holds shared records, for now two draft principles, as a corpus-schema corpus. Its types come from the sdlc profile, @osdlc/corpus-profile-sdlc, which it names under extends and takes through uses: [sdlc/*].

| Record | Title | | ------------------------------------------------------------- | ------------------------------------------------------------------- | | P-0001 | Normalize equivalent inputs at the boundary, and reject invalid ones | | P-0002 | Favor deterministic over probabilistic judgement |

Both are open/draft and marked need_human_review: true.

Reference it from a repo

Install the starter and the profile in the folder that holds your corpus, or in any folder above it. The profile is a peer dependency of the starter, so your project holds one version of it:

pnpm add -D @osdlc/corpus-sdlc-starter @osdlc/corpus-profile-sdlc

Name both in your corpus's root file. The profile gives your corpus its types, under extends. The starter gives it records to cite, under references. extends and uses need level 2:

---
corpus-schema: 0
level: 2
extends:
  sdlc: "@osdlc/corpus-profile-sdlc"
references:
  osdlc: "@osdlc/corpus-sdlc-starter"
uses: [sdlc/*]
---

Your principles/ folder needs no schema file: uses gives it the profile's type, which the starter's principles have too.

Cite a starter principle by id, as a quoted wikilink: related: ["[[P-0002]]"]. The validator finds it among the starter's records. A wikilink to a referenced corpus's record is a link into its copy, so write the copy and commit it:

npx @osdlc/corpus-schema sync docs/planning
npx @osdlc/corpus-schema validate --strict docs/planning

sync writes _references/osdlc/ beside your root file. The profile gets no copy, since it gives types only. Run sync again after you update the starter. A record of yours may share an id with a starter record, but a reference by id that matches both is an error, so keep your ids apart.

packages/profiles/sdlc/tests/downstream/ is a corpus set up this way.

Add a principle

  1. Take the next free id: P-0003.
  2. Write corpus/principles/P-0003.md. Copy the frontmatter of P-0002, and set id, title and created. Keep state: open/draft and need_human_review: true until it is reviewed.
  3. Give it exactly one category tag: principle/product, principle/technical, principle/project or principle/llm-ai.
  4. Write the body: ## Statement, ## Why and ## How it applies. The profile does not check body sections yet.
  5. Check it, from the repository root: sh tools/build-corpus-schema.sh and pnpm install --frozen-lockfile, then sh packages/profiles/sdlc/tests/package.sh and sh tools/leak-check.sh.
  6. Add a changeset for @osdlc/corpus-sdlc-starter.

The starter names each record by its id alone, P-0003.md. A name with a slug, such as P-0003-a-slug.md, works too: corpus-schema cuts the id out of the file name.