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

clean-writing-system

v0.1.0

Published

Install a writing system for AI coding agents into your repository. Vendors the style guide and wires up Claude Code, Cursor, and AGENTS.md.

Readme

clean-writing-system

Install a writing system for AI coding agents into your repository. Copies the style guide in, then points Claude Code, Cursor, or AGENTS.md at it.

npx clean-writing-system init

No dependencies. Node 18 or later. Nothing to keep installed.

What it does

Detected Claude Code (.claude), Cursor (.cursor)

? Which writing system?     ste
? Wire up which tools?      Claude Code, Cursor
? Also add the linter?      yes

Plan
  create  writing-systems/ste.md
  create  .claude/skills/clean-writing/SKILL.md
  create  .cursor/rules/clean-writing.mdc
  create  clean-writing.config.json
  update  package.json  (+ scripts.lint:prose, + devDependencies.clean-writing-lint)

Done. 5 written, 0 unchanged.

The style guide lands in your repository as a normal file. You own it, you can edit it, and a reviewer sees your changes in a diff. That is the point. A rules file inside node_modules never reaches the agent, because node_modules is in .gitignore and no agent reads it.

Options

--system <name>    ste (default) or orwell
--tools <list>     claude, cursor, agents. Default is what it detects
--with-lint        Add the clean-writing-lint script, config, and devDependency
--dir <path>       Target repository. Default is the working directory
--dry-run          Print the plan and change nothing
--force            Overwrite files this tool owns, losing local edits
--yes              Take the defaults and skip every prompt

Look before you leap:

npx clean-writing-system init --dry-run

Scripted, with no prompts:

npx clean-writing-system init --system ste --tools claude,cursor --yes

What it writes

| Tool | File | |---|---| | Claude Code | .claude/skills/clean-writing/SKILL.md | | Cursor | .cursor/rules/clean-writing.mdc | | Codex, Copilot, Gemini CLI, Zed, Windsurf, Aider | a managed block in AGENTS.md |

For Claude Code it writes a skill, not a line in CLAUDE.md. A skill loads only when the task is prose, so the rules cost nothing on every other turn.

Detection proposes and never decides. It reads .claude/, CLAUDE.md, .cursor/, .cursorrules, and AGENTS.md. When it finds none of them it suggests AGENTS.md, which reaches the most tools for one file. Override it all with --tools.

Running it twice is safe

Two rules make this true.

This tool never overwrites a file it owns in silence. If writing-systems/ste.md differs from the copy it would write, the run stops and reports a conflict. Your edits survive. Pass --force when you do want the upstream copy back.

AGENTS.md belongs to you, so this tool manages one fenced region inside it:

<!-- clean-writing-system:start -->
## Writing style
Follow the rules in `writing-systems/ste.md` for all prose you write or edit.
<!-- clean-writing-system:end -->

A second run replaces what is between the markers. It leaves your other sections alone, wherever they sit in the file.

The vendored guide also carries a version stamp, so you can always tell which release it came from:

<!-- clean-writing-system: ste v0.1.0 -->

The two systems

| System | Words | Use it when | |---|---|---| | ste | ~1900 | You want rules a machine can check. Substitution tables, a core vocabulary, per-artifact rules for comments and error messages | | orwell | ~400 | You want judgment and a short checklist. Cheap in context, weaker on vocabulary |

Take ste unless context budget is tight.

Checking the result

The style guide tells the agent how to write. clean-writing-lint tells you whether it did. --with-lint wires it up in one step.

Use it from code

import { buildPlan, applyPlan, detect } from 'clean-writing-system';

const plan = buildPlan({ dir: process.cwd(), system: 'ste', tools: ['claude'] });
console.log(plan.map((a) => `${a.kind} ${a.path}`));
applyPlan(process.cwd(), plan);

buildPlan never touches the disk. Only applyPlan writes.

Credit

The style guide it installs comes from ste-writing-skill.md by Ege Çelebi, MIT, which distills ASD-STE100 Simplified Technical English. Full credit, his cross-model test results, and what this project adds are in the repository README.

MIT.