Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add rules/docs-plus/docs.plus/scripts-naminggit clone --depth 1 https://github.com/docs-plus/docs.plusWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.01354 |
| Opus 5 | $0.00000 | $0.00677 |
| Sonnet 5 | $0.00000 | $0.00271 |
| Haiku 4.5 | $0.00000 | $0.00135 |
Grade A, and why
scripts-naming scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Scripts Naming Convention
Authoritative source: .cursor/docs/scripts-naming-convention.md. Read it before adding or renaming a script, Make target, or file under scripts/.
Grammar
- npm/Bun script keys:
<verb>|<verb>:<axis>|<verb>:<scope>:<modifier>|<tool>:<sub>|pre<verb>/post<verb>. - Make targets:
<verb>|<verb>-<env>-<scope>-<modifier>|<scope>-<verb>(only for grouped families:infra-*verb members,swarm-*run-mode members). Kebab-case, no colons. - Script files in
scripts/andpackages/<pkg>/scripts/: kebab-case, verb-first when action-oriented,.tsfor new scripts,.shonly when shell is genuinely required,.mjsonly for JS-tooling configs.
Closed vocabularies
- Modifiers:
:fix,:ci,:watch,:coverage,:dry. - Environments:
:prod,:stage,:dev. - Scopes:
:unit,:e2e,:webapp,:admin,:backend,:rest,:ws,:worker,:styles,:family,:screenshots,:nested-to-flat. - Lifecycle hooks:
prepare,postinstall,pretest,prepack,prepublishOnly, plus genericpre<verb>/post<verb>over the reserved verb list. Do not invent new ones (noprebuild,postlint).
Banned
- Suffixes:
:all,:full,:everything,:complete,:local. - Verbs:
validate(usecheckor<verb>:ci),serve(usestart),watchas a bare verb (use<verb>:watch),audit,compile(usebuild),all. - Filename traps in
scripts/:validate-*,*-emergency*,fix-production-*,temp-*,quick-*,wip-*,final-*,v2-*, date prefixes, author prefixes. These are exactly the names that filledscripts/archive/.
Documented exceptions and corner cases
@docs.plus/hocuspocushas no baredev(service trio:dev:rest/dev:ws/dev:worker).- Webapp
startruntime asymmetry: barestartruns Node;start:prod/start:stagerun Bun. migrate:nested-to-flat[:dry]— kebab-cased migration scope + closed-vocab dry modifier.- Single-tool wrapper workspaces (e.g.
@docs.plus/supabase_back) use bare verbs; the workspace name encodes the tool prefix. - Husky hook filenames (
pre-commit.sh,pre-push.sh,commit-msg.sh,post-merge.sh) and npm-lifecycle script files (prepack.ts,preflight.ts) keep their upstream-mandated names. - Make's env axis includes
local(e.g.make dev-local) — legitimate, not subject to the npm-side:localban. swarm-*is a grouped Make family whose members are document-swarm run modes (swarm-demo,swarm-stress), not verbs — mirrors the@docs.plus/document-swarm run --modeCLI.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 62 lines · 1,354 tokens per session scan A e16d79e6595d
scripts-naming is a cursor rule published in the GitHub repository docs-plus/docs.plus (88 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,354 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other cursor rules, from other repositories
rule-generating-agent
This rule is essential for maintaining consistency and quality in rule creation across the codebase. It must be followed whenever: (1) A user requests a new rule to be created, (2) An existing rule needs modification, (3) The user asks to remember certain behaviors or patterns, or (4) Future behavior changes are…
ts-dependency-management-agent
Apply when adding, removing, or managing dependencies, or when structuring code modules in a TypeScript project, especially for CLIs. Promotes minimizing external dependencies, using lockfiles (package-lock.json), vetting dependencies, following SOLID principles for modular code, and using dependency injection for…
ts-cli-command-definition-agent
Apply when defining or modifying CLI commands, subcommands, and options in a TypeScript project, particularly when using libraries like Commander.js or Yargs. Ensures use of robust parsing, POSIX-style flags, descriptive names, clear argument notation, and separation of parsing from implementation logic.
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.
dev-standard
Apache Superset development standards and guidelines for Cursor IDE.
typescript
Changes to these high-fan-out internals can affect every message, delta, element, or rerun. Keep work in them minimal, and benchmark changes with representative stress-test apps.