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

kota-skillz

v1.0.2

Published

An industrial-grade 'Vibe Coding' standard library and context manager for AI coding agents.

Downloads

333

Readme


🛑 The Problem: AI Needs Constraints

The rise of "Vibe Coding" (building software entirely by talking to AI agents like Cursor, Copilot, or Gemini) has exposed a massive flaw in current models: They lack context.

When you tell an AI to "build a login page," it relies on the statistical average of GitHub. It will give you a basic, unstyled layout, use insecure sequential IDs, probably forget to add a Content Security Policy, and write logic that fails under distributed concurrency.

AI doesn't know your architecture. It doesn't know your performance budget. It doesn't know that you want mobile-first design.

🛠️ The Solution: Kota Skillz

Kota Skillz is not a framework. It is an industrial standard library designed strictly for consumption by Large Language Models.

It is an opinionated execution protocol (AI_ONBOARDING.md) backed by a repository of 88+ highly dense, machine-readable Markdown patterns (patterns/). It provides the exact constraints an AI needs to write production-grade code.

The Journey to Prod

To build this knowledge base, we didn't just write arbitrary "best practices." We ingested 11 of the most authoritative software engineering bibles, extracted their core heuristics, and translated them into actionable Markdown patterns for AI context windows.

Backend & Data Systems (The DDIA Standard):

  1. Designing Data-Intensive Applications (Martin Kleppmann)
  2. Building Microservices (Sam Newman)
  3. System Design Interview (Alex Xu)
  4. Operating Systems: Three Easy Pieces (Arpaci-Dusseau)
  5. Clean Code (Robert C. Martin)
  6. Clean Architecture (Robert C. Martin)
  7. The Pragmatic Programmer (Thomas & Hunt)

Security (The ASVS Standard): 8. OWASP ASVS (Application Security Verification Standard) v4.0 Level 2

Frontend & UX (The UX Standard): 9. Refactoring UI (Adam Wathan & Steve Schoger) 10. Don't Make Me Think (Steve Krug) 11. The Design of Everyday Things (Don Norman)


🚀 How It Works

By injecting Kota Skillz into your project, you provide the AI with a strict cognitive framework.

When the AI tries to write a database query, it is forced by the AI_ONBOARDING.md protocol to consult the patterns/data/ directory. It will automatically apply snapshot isolation and broadcast hash joins.

When it tries to write a frontend component, it will consult patterns/frontend/design-system/design-tokens.md and use your HSL color scales and base-16 spacing values instead of arbitrary pixel values.

The AI_ONBOARDING.md Protocol

This is the core constitution. It uses the "Sparse Memory" directive to force the AI to use Hermeneutic Reasoning, preventing the "lost in the middle" context window problem.

The patterns/ Directory

Contains highly specialized markdown files covering:

  • api/ (BFFs, event sourcing)
  • architecture/ (CQRS, snowflake IDs)
  • concurrency/ (Rate limiting)
  • data/ (ACID isolation, sharding)
  • frontend/ (Accessibility, CRP, HSL tokens)
  • resiliency/ (Circuit breakers, bulkheads)
  • security/ (ASVS compliance, SSRF prevention)

💻 Installation & Usage

1. Install Globally

npm install -g kota-skillz

2. Initialize in your project

Navigate to your project's root directory and run:

kota init

This will copy the AI_ONBOARDING.md file and the entire patterns/ directory into your project.

3. Connect to your AI IDE (Cursor / Copilot / Windsurf)

For Cursor:

  1. Open your project in Cursor.
  2. In your .cursorrules file or the Cursor AI settings, add the following line:
    CRITICAL: Before writing any code, you MUST read the rules in `AI_ONBOARDING.md` and consult the relevant architectural patterns in the `patterns/` directory.
  3. Start vibe coding. Watch as the AI generates code that looks like it was written by a Staff Engineer.

CLI Commands

| Command | Description | | :--- | :--- | | kota init | Installs the AI constitution and pattern library into the current directory. | | kota onboard | Prints the AI_ONBOARDING.md text to the console (useful for piping to other tools). | | kota audit | (Coming Soon) Runs a static analysis check against the QA patterns. |


🤝 Contributing

We welcome contributions to expand the pattern library! Patterns must be:

  1. Short and dense (AI context windows are precious).
  2. Actionable (provide concrete code examples).
  3. Backed by industry-standard literature (cite your sources).

📄 License

MIT