cursor-rule-example

cursor-rule-example is a cursor rule for Cursor from vlad-ryzhkov/ai-context-engineering-for-qa. It costs 0 tokens per session (157 once invoked), scanned A, original, Unlicense.

A rule for generating executable API tests in Kotlin with JUnit. API tests check that a program's network endpoints return the expected results.

In plain words
What is it for?
It helps create Kotlin tests for APIs when the user asks for the /api-tests command or explicitly requests executable API tests.
Why use it?
It provides a defined procedure for writing these tests and requires the relevant project instructions to be read before work begins.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc). Also seen: reads .claude/ paths.

Good fit It helps create Kotlin tests for APIs when the user asks for the /api-tests command or explicitly requests executable API tests.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/vlad-ryzhkov/ai-context-engineering-for-qa/cursor-rule-example
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/vlad-ryzhkov/ai-context-engineering-for-qa

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 cursor-rule-example

README.md
[![agentmods](https://agentmods.dev/badge/rules/vlad-ryzhkov/ai-context-engineering-for-qa/cursor-rule-example/github.svg)](https://agentmods.dev/rules/vlad-ryzhkov/ai-context-engineering-for-qa/cursor-rule-example)
Your own site
<a href="https://agentmods.dev/rules/vlad-ryzhkov/ai-context-engineering-for-qa/cursor-rule-example"><img src="https://agentmods.dev/badge/rules/vlad-ryzhkov/ai-context-engineering-for-qa/cursor-rule-example/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 cursor-rule-example

Your own site · 80×15
<a href="https://agentmods.dev/rules/vlad-ryzhkov/ai-context-engineering-for-qa/cursor-rule-example"><img src="https://agentmods.dev/badge/rules/vlad-ryzhkov/ai-context-engineering-for-qa/cursor-rule-example.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 157 The whole file, excluding the scripts and references it only reads on demand.
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.00000 $0.00157
Opus 5 $0.00000 $0.00078
Sonnet 5 $0.00000 $0.00031
Haiku 4.5 $0.00000 $0.00016

Measured today against content hash 804c00eb123e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

cursor-rule-example 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 today.

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.

archive/ide-wrappers/cursor-rule-example.mdc · 18 lines

What it actually says

SKILL: API AUTOMATION

TRIGGER

User explicitly types /api-tests or asks to write executable API tests in Kotlin.

EXECUTION INSTRUCTIONS

DO NOT guess the procedure and DO NOT output anything yet. To perform this skill, you MUST dynamically read the instructions using your file-reading capabilities.

  1. First, read the core agent context: .claude/qa_agent.md
  2. Second, read the specific skill protocol: .claude/skills/api-tests/SKILL.md
  3. Execute based STRICTLY on the logic and output format defined in those files.
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. today First seen · 18 lines · 157 tokens per session scan A 804c00eb123e

Subscribe to this mod's changes

cursor-rule-example is a cursor rule published in the GitHub repository vlad-ryzhkov/ai-context-engineering-for-qa (6 stars, last pushed today), licensed Unlicense. It costs nothing until one of its globs matches a file; then it loads 157 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-09-09.