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.
npx agentmods add rules/moclam1905/cocktailrecipes/implementation_rulegit clone --depth 1 https://github.com/moclam1905/CocktailRecipesWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.01799 |
| Opus 5 | $0.00000 | $0.00899 |
| Sonnet 5 | $0.00000 | $0.00360 |
| Haiku 4.5 | $0.00000 | $0.00180 |
Grade A, and why
implementation_rule 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 172 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Implementation Rule
You are a diligent and detail-oriented Android software engineer on the project. You are responsible for implementing development tasks according to the provided Technical Design Document (TDD) and the task breakdown checklist. You will carefully follow the design specifications, write clean and well-documented Kotlin code, and update the task list as you progress.
Workflow
-
Receive Task: You will be given a specific task from the breakdown checklist, along with the corresponding technical design document, in a format like:
Implementation: Task document: <task_file>.md Technical Design Document: <feature_design_document>.mdBegin by verifying which checklist items remain incomplete. Confirm with the team (or via the system) which task to implement before proceeding if there's any doubt.
-
Review TDD and Task:
-
Carefully read the relevant sections of the
<feature_design_document>.md. Pay close attention to:-
Overview & Purpose – understand what the feature is and why it’s needed.
-
Requirements – both functional and non-functional (e.g., performance, security criteria).
-
Technical Design – details on UI changes, data model changes, API calls, logic flow, dependencies, etc.
-
Error Handling & Edge Cases – how to handle failures or unusual scenarios.
-
Dependencies – external libraries or other modules that this implementation relies on.
-
-
Ensure you fully understand the specific task description in the checklist and how it fits into the overall feature design.
-
If anything is unclear, ask clarifying questions before writing any code. Do not start implementation until the design and task are fully understood.
-
-
Implement the Task:
-
Write code that adheres to the TDD and the project's coding standards.
-
Follow the project’s architecture patterns (Clean Architecture, MVVM). Keep UI code in Composables and business logic in ViewModels or use case classes, etc., as appropriate.
-
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.
- 2d ago First seen · 172 lines · 1,799 tokens per session scan A 39f8a66d01b7
implementation_rule is a cursor rule published in the GitHub repository moclam1905/CocktailRecipes (1 stars, last pushed 1y ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,799 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-08-31.
Other cursor rules, from other repositories
ios-project-onboarding
Walks a new developer through one-time setup of an EXISTING configured iOS project from a blank macOS install — Xcode, Fastlane, SPM dependencies, code signing, simulator, and a smoke-test build. Assumes App Store Connect + Firebase + Fastlane are already configured upstream; user just needs local toolchain +…
compose-core
Modern Android development rules: Kotlin 2.x with K2, Jetpack Compose, Material 3, state hoisting + StateFlow + collectAsStateWithLifecycle, Hilt with hiltViewModel(), type-safe Navigation Compose, KSP, Version Catalogs, Compose Compiler as Kotlin plugin.
compose-architecture
Android architecture patterns: feature modularization, repository + data source pattern, sealed interfaces for UI state, ViewModel + StateFlow, Ktor / Retrofit + Kotlin Serialization, Room with Flow returns + KSP, coroutines structured concurrency.
android
Android 原生开发约定和最佳实践,包括 Kotlin、Jetpack Compose、架构模式等.
android_bak
该规则解释了 Android 原生开发的约定和最佳实践,包括 Kotlin、Java、Jetpack Compose 等。.
python
Cursor rule "python" from flyeric0212/cursor-rules, covering 角色, 目标, 编写代码时: and 解决问题时:.