saropa_lints_instructions

saropa_lints_instructions is a cursor rule for Cursor from saropa/saropa_lints. It costs 512 tokens per session, scanned A, original, MIT.

Project-specific instructions for developing Saropa Lints, a Dart package that provides custom checks for Dart code. They describe where to register new checks, how to test them, and which project files to update.

In plain words
What is it for?
Use them when adding or changing lint rules, updating project indexes or release notes, creating test fixtures, and running the required analysis, tests, and formatting.
Why use it?
They keep changes consistent with the package's structure and prevent incomplete work, such as an unregistered lint or missing tests and documentation.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc). Also seen: mentions CLAUDE.md.

Good fit Use them when adding or changing lint rules, updating project indexes or release notes, creating test fixtures, and running the required analysis, tests, and formatting.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/saropa/saropa_lints/saropa_lints_instructions
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/saropa/saropa_lints

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 saropa_lints_instructions

README.md
[![agentmods](https://agentmods.dev/badge/rules/saropa/saropa_lints/saropa_lints_instructions/github.svg)](https://agentmods.dev/rules/saropa/saropa_lints/saropa_lints_instructions)
Your own site
<a href="https://agentmods.dev/rules/saropa/saropa_lints/saropa_lints_instructions"><img src="https://agentmods.dev/badge/rules/saropa/saropa_lints/saropa_lints_instructions/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 saropa_lints_instructions

Your own site · 80×15
<a href="https://agentmods.dev/rules/saropa/saropa_lints/saropa_lints_instructions"><img src="https://agentmods.dev/badge/rules/saropa/saropa_lints/saropa_lints_instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 512 This file is loaded in full into every session.
When invoked 512 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.00512 $0.00512
Opus 5.5 $0.00205 $0.00205
Sonnet 5.5 $0.00102 $0.00102
Haiku 4.5 $0.00051 $0.00051

Measured 2mo ago against content hash 512f76bbb8b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

saropa_lints_instructions 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 2mo 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.

extension/media/saropa_lints_instructions.mdc · 38 lines

What it actually says

Guidelines when working on the saropa_lints codebase (Dart custom lint rules package).

Essential Files to Update

Workflow

  • Adding a rule: Implement in appropriate lib/src/rules/*_rules.dart, extend DartLintRule or SaropaLintRule, add DartDoc with Bad/Good examples, register in all_rules.dart and tiers.dart, add ROADMAP entry, add fixture in example/ (mark violations with // LINT) and unit test in test/.
  • Validation: Run /analyze, /test, /format. Use Skill(lint-rules) when adding or modifying rules.
  • Example dirs: All example*/ must be in analysis_options.yaml under analyzer > exclude (they contain intentional violations).

You Must NOT

  • Add or support // ignore: or // ignore_for_file: (no quick fixes that insert ignore; no custom ignore-detection in rules). Fix the rule or the code instead.
  • Add quick fixes that only insert a // TODO: ... comment; fixes must make a real code change that resolves the violation.
  • Add Co-authored-by, AI attribution, or emojis to commit messages.

Principles

  • Search first: Check CODEBASE_INDEX.md and lib/src utilities before adding new code.
  • ProjectContext: Use for package detection, platform detection, file classification—do not reimplement.
  • Type checking over string matching; early returns for simple checks.
  • Code quality: Functions ≤50 lines, parameters ≤3, nesting ≤3, files ≤200 lines (self-reviewer enforces).

Commands and Skills

  • /analyze, /test, /format, /review, /commit as in CLAUDE.md.
  • Skill(lint-rules) for rule work; Skill(publishing) for releasing.
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. 2mo ago Changed · -9 tokens per session 512f76bbb8b0
  2. 2mo ago First seen · 38 lines · 521 tokens per session scan A 639e9e261f27

Subscribe to this mod's changes

saropa_lints_instructions is a cursor rule published in the GitHub repository saropa/saropa_lints (10 stars, last pushed 4d ago), licensed MIT. It adds 512 tokens to every session, about $0.0020 per session on Opus 5.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.

Related

saropa_lints_instructions compared with cursor rules from other repositories

saropa_lints_instructions next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
saropa_lints_instructionssaropa/saropa_lintsCursor rule104d agoMITA512Cursor
fixysfAskri/archguardianCursor rule48mo agoMITA0Cursor
validation-harnessBlackLeg15/desafio_bloc_1Cursor rule73mo agononeA0Cursor
testingBlackLeg15/desafio_bloc_1Cursor rule73mo agononeA0Cursor
create-analyzegurkanfikretgunak/masterfabric_coreCursor rule168mo agononeA0Cursor
error-handlingnedcodes-ok/cursor-doctorCursor rule108mo agoMITA493Cursor
ponytailDietrichGebert/ponytailCursor rule185k8d agoMITA604Cursor