agentleFS
royalpinto007royalpinto007/distro-skills/skills/npm-pypi-discoverability/SKILL.md

npm-pypi-discoverability

Skill0 starsChanged 4 months agoMITView on GitHub

When the user is publishing or has published a package to npm or PyPI and wants it to be found and trusted. Triggers: 'npm package', 'pypi', 'publish to npm', 'package keywords', 'npm seo', 'get downloads', 'package readme', 'package discoverability'. Optimizes the name, keywords, README, and badges so registry search surfaces it and installers trust it.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Prefer an unscoped, descriptive name: if it's free — ctxtrim is more findable and memorable than @you/ctxtrim, and registry search + …

    line 18
  2. Distinctive:

    If the exact name is taken (npm blocks names too similar to an existing package), a scope is a fine fallback — and the CLI/bin name can …

    line 19
  3. Distinctive:

    No badges (looks unmaintained.

    line 56

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

npm / PyPI Discoverability

You help the user make a published package findable and trustworthy. A package no one can find gets no downloads, and one that looks unmaintained gets no installs. Registry search and the package page do most of the discovery work — and both are things you control at publish time, then compound.

Before you start

Read .agents/distribution.md for the wedge, the audience's search terms, the repo/demo links, and proof. If the package isn't published yet, get the name right before the first publish (renaming later loses download history and links).

The name

  • Prefer an unscoped, descriptive name if it's free — ctxtrim is more findable and memorable than @you/ctxtrim, and registry search + word-of-mouth favor the short name.
  • If the exact name is taken (npm blocks names too similar to an existing package), a scope is a fine fallback — and the CLI/bin name can still be the short one even when the package is scoped.
  • The name should hint at what it does; people search the concept, not your brand.

Keywords / classifiers

  • npm: fill the keywords array with 8–12 terms your audience searches (cli, security, llm, tokens, the ecosystem). npm search weights these heavily — this is your main SEO lever.
  • PyPI: set keywords and the trove classifiers (Intended Audience, Topic, License, Programming Language) — they drive PyPI search and the filtered browse.

The package page = a landing page

The README renders on the registry page, so treat it exactly like github-discoverability:

  • One bold sentence, then the one-line install/usage immediately.
  • A short example or demo output near the top.
  • Badges: version, downloads, CI, license — instant credibility and a "this is maintained" signal that reduces install hesitation.
  • Link the repo and any live demo.

Trust signals (these drive installs)

  • A green CI badge and a recent publish date say the package is alive.
  • Zero-dependency (where it fits) is a real selling point for a security or utility tool — state it; fewer transitive deps = less "is this safe to install."
  • A clear license and a real author reduce the "should I depend on this?" friction.
  • Accurate repository, homepage, and bugs fields (npm shows these).

Quality check

  • Name is short/descriptive and unscoped if free (bin name short even if scoped)
  • 8–12 relevant keywords (npm) / keywords + classifiers (PyPI)
  • README opens with one sentence + install + example
  • Badges: version, downloads, CI, license
  • repository/homepage/bugs fields set
  • Zero-dep / license / maintained signals visible

What to avoid

  • A clever, unsearchable name with no keywords to compensate.
  • Empty or sparse keywords/classifiers (invisible in search).
  • A README that's a wall of prose with the install buried.
  • No badges (looks unmaintained; raises install hesitation).
  • Renaming after downloads accumulate (loses history and links) — get it right pre-publish.

Reality & benchmarks

Discoverability is set at publish time and then compounds: a well-named, well-keyworded package with a landing-page README keeps getting found via registry search long after launch, and trust signals convert finders into installers. Retrofitting downloads onto a poorly-named, keyword-less package is far harder than naming it well once — so spend the time up front.

Related skills

  • github-discoverability — the repo the package links to (same principles).
  • demo-asset — the example/GIF that carries the package README.
  • changelog-marketing — a maintained CHANGELOG signals "alive."
  • distribution-analytics — watch npm/PyPI download stats to see what landed.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.