cursorrules

cursorrules is a cursor rule for Cursor from tugkanboz/awesome-cursorrules. It costs 400 tokens per session, scanned A, original, MIT.

A set of rules for building Appium tests, which automate Android and iOS apps, across different devices, operating systems, and app types.

In plain words
What is it for?
It is for structuring mobile test projects, locating elements, handling gestures and waits, managing devices and emulators, and installing, resetting, or cleaning up apps.
Why use it?
It addresses differences between platforms, screen sizes, app states, device setups, and native or web-based app views.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit It is for structuring mobile test projects, locating elements, handling gestures and waits, managing devices and emulators, and installing, resetting, or cleaning up apps.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/tugkanboz/awesome-cursorrules/cursorrules
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/tugkanboz/awesome-cursorrules

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 cursorrules

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/tugkanboz/awesome-cursorrules/cursorrules"><img src="https://agentmods.dev/badge/rules/tugkanboz/awesome-cursorrules/cursorrules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 400 This file is loaded in full into every session.
When invoked 400 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.00400 $0.00400
Opus 5.5 $0.00160 $0.00160
Sonnet 5.5 $0.00080 $0.00080
Haiku 4.5 $0.00040 $0.00040

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

Security

Grade A, and why

cursorrules 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 3mo 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.

rules/appium-mobile-test-automation-framework/.cursorrules · 82 lines

How it starts

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

Project: Appium Mobile Test Automation Framework

Framework Structure

  • Support both Android and iOS platforms
  • Use Page Object Model pattern
  • Implement proper test hierarchy
  • Create platform-specific implementations

Coding Standards

  • Follow language-specific conventions (Java/Python)
  • Use proper naming conventions
  • Implement clean code principles
  • Maximum method length: 30 lines

Mobile Elements Strategy

  • Use proper element locator strategies
  • Implement gestures handling
  • Handle native, hybrid, and web contexts
  • Create reusable mobile actions

Test Organization

  • Group tests by features/screens
  • Implement test priorities
  • Create separate suites for platforms
  • Use proper test categorization

Best Practices

  • Handle app states properly
  • Implement proper waiting strategies
  • Use proper capability management
  • Handle different screen sizes/resolutions
  • Implement proper cleanup

Device Management

  • Handle real devices and emulators
  • Implement device farms integration
  • Manage app installation/uninstallation
  • Handle different OS versions

Application Management

  • Handle app lifecycle
  • Manage app permissions
  • Handle app reset strategies
  • Implement proper app configuration

Test Data

  • Manage test data for different platforms
  • Handle localization testing
  • Implement data-driven tests
  • Keep sensitive data secure

Reporting

  • Generate platform-specific reports
  • Include screenshots and videos
  • Log device information
  • Track test execution metrics

Performance Monitoring

  • Monitor app performance
  • Track memory usage
  • Measure app launch time
  • Monitor battery consumption

CI/CD Integration

  • Configure for different CI platforms
  • Handle parallel execution
  • Manage device allocation
  • Configure test distribution

Error Handling

  • Implement proper exception handling
  • Create recovery mechanisms
  • Handle device-specific errors
  • Implement retry mechanisms

Documentation

  • Document setup requirements
  • Maintain platform-specific guides
  • Include troubleshooting guides
  • Document known issues

Read the full file on GitHub · 82 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. 3mo ago First seen · 82 lines · 400 tokens per session scan A 7e66268f726e

Subscribe to this mod's changes

cursorrules is a cursor rule published in the GitHub repository tugkanboz/awesome-cursorrules (24 stars, last pushed 2mo ago), licensed MIT. It adds 400 tokens to every session, about $0.0016 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

cursorrules compared with cursor rules from other repositories

cursorrules next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cursorrulestugkanboz/awesome-cursorrulesCursor rule242mo agoMITA400Cursor
ask-firstjaansokk/cursor_toolsCursor rule110d agoMITA42Cursor
include-specsjaansokk/cursor_toolsCursor rule110d agoMITA57Cursor
update-specsjaansokk/cursor_toolsCursor rule110d agoMITA63Cursor
git-mv-renamejaansokk/cursor_toolsCursor rule110d agoMITA27Cursor
cursorrulessurvivorforge/cursor-rulesCursor rule197mo agoMITA2,136Cursor
refactoringnedcodes-ok/cursorrules-collectionCursor rule389mo agoMITA683Cursor