file-naming

file-naming is a cursor rule for Cursor from brendadeeznuts1111/betting-brain-v3. It costs 1,046 tokens per session, scanned A, original, MIT.

Rules for naming files and directories, mainly using lowercase words joined with hyphens. A naming convention is a shared way to keep project files predictable.

In plain words
What is it for?
Use it when naming TypeScript source files, tests, configuration files, documentation, and folders.
Why use it?
Consistent names make files easier to find and reduce confusion when several developers or tools work in the same codebase.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions CLAUDE.md; mentions Cursor.

Good fit Use it when naming TypeScript source files, tests, configuration files, documentation, and folders.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/brendadeeznuts1111/betting-brain-v3/file-naming
Install

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.

Clone the repo
git clone --depth 1 https://github.com/brendadeeznuts1111/betting-brain-v3

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for file-naming

README.md
[![agentmods](https://agentmods.dev/badge/rules/brendadeeznuts1111/betting-brain-v3/file-naming/github.svg)](https://agentmods.dev/rules/brendadeeznuts1111/betting-brain-v3/file-naming)
Your own site
<a href="https://agentmods.dev/rules/brendadeeznuts1111/betting-brain-v3/file-naming"><img src="https://agentmods.dev/badge/rules/brendadeeznuts1111/betting-brain-v3/file-naming/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for file-naming

Your own site · 80×15
<a href="https://agentmods.dev/rules/brendadeeznuts1111/betting-brain-v3/file-naming"><img src="https://agentmods.dev/badge/rules/brendadeeznuts1111/betting-brain-v3/file-naming.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,046 This file is loaded in full into every session.
When invoked 1,046 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What 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.

ModelPer sessionOnce invoked
Fable 5.1 $0.01046 $0.01046
Opus 5 $0.00523 $0.00523
Sonnet 5 $0.00209 $0.00209
Haiku 4.5 $0.00105 $0.00105

Measured 10d ago against content hash 723669e261e3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

file-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 10d 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.

.cursor/rules/file-naming.mdc · 175 lines

How it starts

The opening of the file, as written. The whole thing — 175 lines — stays where its author put it; the contents beside it link to each section on GitHub.

File Naming Conventions

General Rules

Use lowercase kebab-case for all files and directories:

  • betting-analytics.ts
  • mcp-integration.md
  • test-helpers.ts
  • BettingAnalytics.ts
  • MCP_Integration.md
  • testHelpers.ts

No spaces or mixed case in filenames.

TypeScript Files

Source Files

src/
├── index.ts                    # Entry point
├── mcp/
│   ├── server.ts              # Single word or kebab-case
│   ├── tool-registry.ts
│   └── handlers/
│       ├── steam-moves.ts
│       └── risk-concentration.ts

Test Files

tests/
├── unit/
│   ├── clv.test.ts            # Preferred: feature.test.ts
│   ├── sharp-score.test.ts
│   └── bet-ticker-sniffer.test.ts
├── integration/
│   ├── queue-integration.test.ts
│   └── trigger-implementation.test.ts

Patterns:

  • *.test.ts (preferred)
  • *_test.ts (alternative)
  • *.spec.ts (alternative)

Configuration Files

Standard names (keep as-is):

  • package.json
  • tsconfig.json
  • wrangler.toml
  • bunfig.toml

Environment configs:

  • wrangler.staging.toml
  • wrangler.production.toml

Documentation Files

Uppercase for major docs:

  • README.md
  • LICENSE
  • CLAUDE.md
  • CHANGELOG.md
  • CONTRIBUTING.md

Uppercase for status/important docs:

  • TESTING_STATUS.md
  • MCP_INTEGRATION_STATUS.md
  • AUTOMATION_GUIDE.md

Kebab-case for guides:

  • quick-start.md
  • debugging-guide.md
  • api-reference.md

Script Files

scripts/
├── test-mcp.ts                # Kebab-case
├── test-handlers-direct.ts
├── format.ts
├── lint.ts
└── automation/
    └── build-and-test.ts

HTML Files

tools/
├── extension-checker.html     # Kebab-case
├── system-health-monitor.html
└── troubleshooting-guide.html

dashboards/
├── dashboard-enhanced.html    # Kebab-case
├── dashboard-pro.html
└── dashboard-positions.html

Directories

Always lowercase, kebab-case:

  • browser-extension/
  • node_modules/
  • test-results/
  • BrowserExtension/
  • Node_Modules/

Read the full file on GitHub · 175 lines

Changes

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.

  1. 10d ago First seen · 175 lines · 1,046 tokens per session scan A 723669e261e3

Subscribe to this mod's changes

file-naming is a cursor rule published in the GitHub repository brendadeeznuts1111/betting-brain-v3 (8 stars, last pushed 11mo ago), licensed MIT. It adds 1,046 tokens to every session, about $0.0052 per session on Opus 5. 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-31.