com-example-service-NewAnnotationsShowcase

com-example-service-NewAnnotationsShowcase is a cursor rule for Cursor from PIsberg/vibetags. It costs 454 tokens per session, scanned A, original, MIT.

Rules for a Java service containing restricted database operations, performance-sensitive calculations, and handling of sensitive data.

In plain words
What is it for?
Controlling who may call database-wipe operations, keeping Fibonacci calculations allocation-free and side-effect-free, sanitizing raw SQL input, and masking credit-card and password values.
Why use it?
They limit dangerous callers, side effects, SQL injection risks, and accidental exposure of passwords or payment details in logs.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Controlling who may call database-wipe operations, keeping Fibonacci calculations allocation-free and side-effect-free, sanitizing raw SQL input, and masking credit-card and password values.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/pisberg/vibetags/com-example-service-newannotationsshowcase
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/PIsberg/vibetags

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 com-example-service-NewAnnotationsShowcase

README.md
[![agentmods](https://agentmods.dev/badge/rules/pisberg/vibetags/com-example-service-newannotationsshowcase/github.svg)](https://agentmods.dev/rules/pisberg/vibetags/com-example-service-newannotationsshowcase)
Your own site
<a href="https://agentmods.dev/rules/pisberg/vibetags/com-example-service-newannotationsshowcase"><img src="https://agentmods.dev/badge/rules/pisberg/vibetags/com-example-service-newannotationsshowcase/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 com-example-service-NewAnnotationsShowcase

Your own site · 80×15
<a href="https://agentmods.dev/rules/pisberg/vibetags/com-example-service-newannotationsshowcase"><img src="https://agentmods.dev/badge/rules/pisberg/vibetags/com-example-service-newannotationsshowcase.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 454 This file is loaded in full into every session.
When invoked 454 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.00454 $0.00454
Opus 5.5 $0.00182 $0.00182
Sonnet 5.5 $0.00091 $0.00091
Haiku 4.5 $0.00045 $0.00045

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

Security

Grade A, and why

com-example-service-NewAnnotationsShowcase 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.

examples/basic/.cursor/rules/com-example-service-NewAnnotationsShowcase.mdc · 48 lines

What it actually says

Rules for NewAnnotationsShowcase

Rules for method executeSecureDatabaseWipe

  • Allowed Callers: [com.example.service.PricingService, com.example.payment.PaymentProcessor]

Rules for method calculateFastFibonacci

  • Policy: ZERO_ALLOCATION
  • Rule: Strictly limit or prevent object allocations.

Rules for method calculateFastFibonacci

  • Rule: Must remain a pure function. Forbid state modifications and side effects.
  • Reason: Memoized elsewhere on the assumption it is referentially transparent; adding logging or a cache mutation here would corrupt those callers

Rules for parameter NewAnnotationsShowcase.executeDatabaseQuery(java.lang.String)#sqlRawInput

  • Target Filters: SQL_INJECTION
  • Rule: Run raw input strings through approved sanitizers.

Secure Logging Masking

  • Rule: Never pass these raw variables to log appenders or stdout streams.

Rules for parameter NewAnnotationsShowcase.registerUserSession(java.lang.String,java.lang.String,java.lang.String)#creditCardNumber

  • Policy: MASK_CREDIT_CARD

Rules for parameter NewAnnotationsShowcase.registerUserSession(java.lang.String,java.lang.String,java.lang.String)#passwordRaw

  • Policy: HASH

Rules for method runComplexMatrixMath

  • Complexity Level: HIGH
  • Rule: Any logic modification requires updating a walkthrough/markdown file with structured architectural rationale.

Rules for method deprecatedLegacyCalculatePrice

  • Status: Strict Deprecation (No new references)
  • JIRA Ticket: DEBT-742
  • Replacement: com.example.service.PricingService

Rules for method temporaryUpstreamBypass

  • Expiration: 2028-12-31
  • Reason: Hotfix workaround until upstream payment provider updates their API.
  • Rule: Hotfix or stub that must be removed before expiration.
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 · +454 tokens per session 1c35010ee450
  2. 3mo ago First seen · 48 lines · 0 tokens per session scan A 43cc021f835e

Subscribe to this mod's changes

com-example-service-NewAnnotationsShowcase is a cursor rule published in the GitHub repository PIsberg/vibetags (26 stars, last pushed today), licensed MIT. It adds 454 tokens to every session, about $0.0018 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-30.

Related

com-example-service-NewAnnotationsShowcase compared with cursor rules from other repositories

com-example-service-NewAnnotationsShowcase next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
com-example-service-NewAnnotationsShowcasePIsberg/vibetagsCursor rule26todayMITA454Cursor
java-springboot-jpa-cursorrules-prompt-fileItamarZand88/awesome-agent-conventionsCursor rule384mo agoMITA1,052Cursor
cursormrwogu/promptscriptCursor rule3247d agoMITA53Cursor
java-17-development-standardsbeettlle/pi-spineCursor rule35d agoMITA0Cursor
project-modules-and-stackSiborne/YiSmart-CloudCursor rule511d agoMITA418Cursor
design-patternssijeeshmiziha/visionagentCursor rule28mo agoMITA894Cursor
080-creative-phase-metricssavagelysubtle/BIG-BRAIN-Memory-BankCursor rule51y agoMITA0Cursor