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

llm-guidelines

v1.0.0

Published

Operating rules for LLM coding agents — reduces silent assumptions, overbuilding, scope creep, contract breaks, premature optimization, fake verification, and unsupervised output

Downloads

19

Readme

🤖 LLM Guidelines 🤖

A set of operating rules for AI coding agents that fix the things they get wrong most often.

Supported providersManual installStructureCreditLicense


Run this in an interactive terminal:

npx llm-guidelines

The installer walks through three steps:

  1. Which AI coding tool? (16 supported)
  2. Where? Global (home directory) or local (current project)
  3. How? Skill directory (auto-discovered) or system instruction (appended to config file)

Only supported combinations are installed. Unsupported providers for the chosen scope/method are skipped automatically. If a provider supports just one scope or method, it auto-selects.


What it is

A set of operating rules that makes AI coding agents more reliable. It's a single file (SKILL.md) that the model reads at the start of every session. The rules tell it to surface assumptions instead of hiding them, keep changes small, respect existing code, prove things work before saying they do, and treat its own output as a draft that needs review.

The skill is self-contained — one file, no dependencies. It's composable — use it alongside repo-, framework-, language-, or task-specific skills without conflicts. It works with any provider that supports skill files or system instructions.

What problems does it solve

The models are good at writing code. They're bad at judgment. Specifically:

  • Silent assumptions. The model decides things you never asked for, then builds on top of those decisions without telling you.
  • Overbuilding. You ask for something simple and get 1000 lines of abstraction. You say "couldn't you just do X?" and it goes "of course!" and cuts it to 100 lines. Every time.
  • Scope creep in diffs. You ask it to fix one function and the diff includes reformatting, renaming, and restructuring three other files.
  • Silent contract breaks. The model changes public APIs, persistence formats, or error semantics as a side effect without flagging that external behavior shifted.
  • Premature optimization. The model jumps to a clever or optimized solution before proving the straightforward approach works, then debugs the wrong complexity.
  • Fake verification. The model tells you something is fixed or verified when it never ran a test, never reproduced the bug, never checked anything. It just read the code and felt confident.
  • No supervision awareness. The model treats its own output as trusted and final instead of draft work that needs human review, especially for subtle or high-impact changes.

These aren't rare. They happen constantly. This skill gives the model explicit operating rules to stop doing all of them.


In January 2026, Andrej Karpathy posted about coding with LLM agents every day. He described what keeps going wrong: the models make assumptions and just run with them, they overcomplicate everything, they touch code you didn't ask them to touch, and they say "fixed" when they never ran anything.

A lot of engineers had been hitting the same problems but nobody had written them down in one place. The full text is in OBSERVATIONS.md.

We took those observations and turned them into rules a coding agent can follow. Instead of just reading the post and nodding, the idea was to encode the problems as constraints the model sees every session.


Skill directory (recommended)

Copies SKILL.md and OBSERVATIONS.md into the provider's skill directory. If the agent supports autodiscovery, it picks them up without any extra configuration.

For Cursor, the installer creates a .mdc rule file with the right frontmatter instead.

System instruction (append)

Appends the guidelines to the provider's instruction file (e.g. CLAUDE.md, AGENTS.md, .windsurfrules). The content is wrapped in markers so re-running the installer updates it in place:

<!-- llm-guidelines:start -->
(guidelines content)
<!-- llm-guidelines:end -->

Skill directory + system instruction

| Provider | Skill (Global) | Skill (Local) | Instruction (Local) | | -------------- | ----------------------------- | ------------------- | --------------------------------- | | Claude Code | ~/.claude/skills/ | .claude/skills/ | CLAUDE.md | | Windsurf | ~/.codeium/windsurf/skills/ | .windsurf/skills/ | .windsurfrules | | Codex CLI | ~/.codex/skills/ | .codex/skills/ | AGENTS.md | | Gemini CLI | ~/.gemini/skills/ | .gemini/skills/ | GEMINI.md | | GitHub Copilot | - | - | .github/copilot-instructions.md |

Skill directory only

| Provider | Global | Local | | ----------- | ------------------------------- | -------------------- | | Augment | ~/.augment/skills/ | .augment/skills/ | | Trae | ~/.trae/skills/ | .trae/skills/ | | Qwen Code | ~/.qwen/skills/ | .qwen/skills/ | | Kilo Code | ~/.config/kilo/skills/ | .kilo/skills/ | | OpenCode | ~/.config/opencode/skills/ | .opencode/skills/ | | CodeBuddy | ~/.codebuddy/skills/ | .codebuddy/skills/ | | Antigravity | ~/.gemini/antigravity/skills/ | .agent/skills/ | | Generic | ~/.llm-guidelines/ | .llm-guidelines/ |

System instruction only

| Provider | Target file | | -------- | ---------------- | | Cline | .clinerules | | Aider | CONVENTIONS.md |

Rule file only

| Provider | Local | | -------- | --------------------- | | Cursor | .cursor/rules/*.mdc |


If you prefer not to use the interactive installer:

Copy into a skill directory

# Claude Code (local)
mkdir -p .claude/skills/llm-guidelines
cp skills/llm-guidelines/SKILL.md skills/llm-guidelines/OBSERVATIONS.md .claude/skills/llm-guidelines/

# Claude Code (global)
mkdir -p ~/.claude/skills/llm-guidelines
cp skills/llm-guidelines/SKILL.md skills/llm-guidelines/OBSERVATIONS.md ~/.claude/skills/llm-guidelines/

Embed into project instructions

Copy the content from skills/llm-guidelines/SKILL.md into your tool's instruction file (CLAUDE.md, .windsurfrules, AGENTS.md, etc.).


.
├── package.json
├── bin/
│   └── cli.js                # npx entry point
├── src/
│   ├── install.js            # Interactive installer
│   └── providers.js          # Provider definitions
└── skills/
    └── llm-guidelines/
        ├── SKILL.md          # The rules the model follows
        └── OBSERVATIONS.md   # Karpathy's original post

The observations behind this project come from Andrej Karpathy's post about coding with LLM agents. He wrote down what everyone was thinking. We just gave the models a way to listen.


MIT License. See LICENSE.

Copyright (c) 2026 uhl.solutions


Made with ♥️ by uhl.solutions.