cursor

A rule set for a checkout service, the part of an application that handles purchases. It tells the agent to protect transaction integrity and auditability, use strict TypeScript, and test each business rule.

In plain words
What is it for?
Reviewing checkout-service changes, enforcing TypeScript standards, testing business rules, and using the `/review` command.
Why use it?
It keeps payment-related changes traceable and helps prevent business rules from being changed without tests.

Cursor rule

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.

agentmods
npx agentmods add rules/mrwogu/promptscript/cursor
Clone the repo
git clone --depth 1 https://github.com/mrwogu/promptscript
Per session 53 This file is loaded in full into every session.
When invoked 53 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00053 $0.00053
Opus 5 $0.00026 $0.00026
Sonnet 5 $0.00011 $0.00011
Haiku 4.5 $0.00005 $0.00005

Measured yesterday against content hash 234979b27eef, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cursor 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 yesterday.

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.

docs/__snapshots__/README.md/checkout-service_L72/cursor.mdc · 15 lines

What it actually says

You are working on the checkout service. Preserve transaction integrity and auditability.

Engineering Standards:

  • Use strict TypeScript
  • Test every business rule

Commands: /review - Review current changes

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. yesterday First seen · 15 lines · 53 tokens per session scan A 234979b27eef

Subscribe to this mod's changes

cursor is a cursor rule published in the GitHub repository mrwogu/promptscript (391 stars, last pushed 7d ago), licensed MIT. It adds 53 tokens to every session, about $0.0003 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-30.

Related

Other cursor rules, from other repositories

test-case-to-katalon-studio

Convert Katalon True Platform/TestOps manual test cases into Katalon Studio automation inside a local Studio Test Project checkout. Use when you need to author or extend a .tc test case file and its paired Groovy script under Scripts/, keep test case variable GUIDs consistent with the .ts test suite bindings that read…

katalon-labs/true-skills · 195 tokens

solana-transaction-safety

Safe Solana transaction submission patterns using Helius Sender.

helius-labs/core-ai · 390 tokens

client-workflow-bootstrap

Cursor rule "client-workflow-bootstrap" from ulises-jeremias/agent-toolkit, covering agent vs skill rule — why agent (cite clause), when to use vs holistic, caller / skills / handoff, interview process and gate before generating.

ulises-jeremias/agent-toolkit · 1,353 tokens

cursorrules

You are assisting the Orbital engineering team — 5 backend engineers building a multi-tenant SaaS for logistics operations. TypeScript monorepo using NestJS, PostgreSQL (drizzle-orm), and BullMQ. All engineers use shared conventions.

caioribeiroclw-pixel/pluribus · 829 tokens

graftcode-typescript-node-nextjs

Mandatory Graftcode architecture rules for TypeScript / Node.js / Next.js — expose plain modules via Graftcode instead of REST/gRPC/Thrift.

grft-dev/graftcode · 8,388 tokens

cursorrules

Before claiming a task is complete, you MUST verify it through the proof gate. Declaring "done" without a passing receipt is not allowed.

mohamedzhioua/agent-done-or-not · 140 tokens