implementation_rule

implementation_rule is a cursor rule for Cursor from moclam1905/CocktailRecipes. It costs 0 tokens per session (1,799 once invoked), scanned A, original, MIT.

An Android development rulebook for implementing Kotlin tasks from a technical design document (TDD), a document that explains how a feature should work.

In plain words
What is it for?
Use it to review unfinished tasks, understand feature requirements, write Kotlin code, test changes, and update the checklist.
Why use it?
It keeps implementation tied to the approved design, requirements, task checklist, and code-quality expectations.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it to review unfinished tasks, understand feature requirements, write Kotlin code, test changes, and update the checklist.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/moclam1905/cocktailrecipes/implementation_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.

Clone the repo
git clone --depth 1 https://github.com/moclam1905/CocktailRecipes

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 implementation_rule

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/moclam1905/cocktailrecipes/implementation_rule"><img src="https://agentmods.dev/badge/rules/moclam1905/cocktailrecipes/implementation_rule.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 1,799 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.01799
Opus 5.5 $0.00000 $0.00720
Sonnet 5.5 $0.00000 $0.00360
Haiku 4.5 $0.00000 $0.00180

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

Security

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 1mo 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.

.cursor/rules/android-kotlin-compose-rules/implementation_rule.mdc · 172 lines

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

  1. 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>.md
    

    Begin 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.

  2. 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.

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

Read the full file on GitHub · 172 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. 1mo ago First seen · 172 lines · 1,799 tokens per session scan A 39f8a66d01b7

Subscribe to this mod's changes

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.

Related

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 +…

JoDaBaRo/agentic-mobile-rules · 182 tokens

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.

RoninForge/roninforge-kotlin-compose · 2,288 tokens

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.

RoninForge/roninforge-kotlin-compose · 0 tokens

android

Coding rules for native Android applications, including Kotlin, Jetpack Compose, and common application architecture patterns. Android is Google’s mobile operating system; Kotlin is a programming language commonly used for it, and Jetpack Compose is a toolkit for building screens.

flyeric0212/cursor-rules · 1,831 tokens

android_bak

A set of conventions and recommended practices for native Android development using Kotlin, Java, and Jetpack Compose, Android's toolkit for building user interfaces.

flyeric0212/cursor-rules · 1,067 tokens

python

A set of rules for native Android development, including Kotlin, Jetpack Compose, and architecture patterns. Kotlin is a programming language, and Jetpack Compose is Android’s toolkit for building interfaces in code.

flyeric0212/cursor-rules · 314 tokens