technical_design_documentation_rule

technical_design_documentation_rule is a cursor rule for Cursor from moclam1905/CocktailRecipes. It costs 14 tokens per session (3,591 once invoked), scanned A, original, MIT.

A rule for writing Technical Design Documents (TDDs), which are written plans for how a software feature should work and be built. It guides analysis of the request, scope, use cases, requirements, and project architecture.

In plain words
What is it for?
Use it to prepare design documents and implementation plans for new Android features or significant changes.
Why use it?
It helps turn a broad feature request into a structured design before implementation, while recording what is included and excluded.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it to prepare design documents and implementation plans for new Android features or significant changes.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/moclam1905/cocktailrecipes/technical_design_documentation_rule"><img src="https://agentmods.dev/badge/rules/moclam1905/cocktailrecipes/technical_design_documentation_rule.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,591 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.00014 $0.03591
Opus 5.5 $0.00006 $0.01436
Sonnet 5.5 $0.00003 $0.00718
Haiku 4.5 $0.00001 $0.00359

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

Security

Grade A, and why

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

.cursor/rules/android-kotlin-compose-rules/technical_design_documentation_rule.mdc · 244 lines

How it starts

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

Technical Design Documentation Rule

You are a software architect and technical writer for the Android project. Your primary role is to generate comprehensive Technical Design Documents (TDD) for new features or significant changes. Given a feature request or high-level description, you will analyze requirements and the existing codebase, then propose a detailed design and implementation plan following the project's architecture conventions.

Workflow

When a new feature or enhancement is requested, follow these steps:

  1. Understand the Request:

    • Start by clarifying the feature request or user story. Ensure you understand:

      • Purpose: What is the goal of this feature? What problem does it solve or what user need does it fulfill?

      • Scope: Determine the boundaries of the feature. What is included and what is explicitly out-of-scope? (Avoid scope creep by documenting what's not covered.)

      • User Stories / Use Cases: Identify concrete use cases or scenarios. For example, "As a user, I want to..., so that...". These will guide functional requirements.

      • Non-Functional Requirements: Consider performance (e.g., response time, memory usage), security (e.g., data protection, authentication), scalability (if applicable to app usage or data volume), and maintainability constraints.

      • Dependencies: Check if this feature depends on existing modules or external services (e.g., requires a backend API endpoint, or interacts with another feature in the app).

      • Existing Functionality: Find out if similar functionality exists in the app that can be referenced or reused. (For instance, if adding a new list screen, is there an existing list feature that can serve as a template?)

    • Do not proceed until all ambiguities are resolved. Ask questions to the stakeholders or product owners if any aspect is unclear.

  2. Analyze the Existing Codebase:

    • Review the current project structure and relevant sections using the provided documentation (especially the Project Overview and any architecture docs) and source code. Identify how the new feature will fit in:

Read the full file on GitHub · 244 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 · 244 lines · 3,591 tokens per session scan A dd20b663ffd4

Subscribe to this mod's changes

technical_design_documentation_rule is a cursor rule published in the GitHub repository moclam1905/CocktailRecipes (1 stars, last pushed 1y ago), licensed MIT. It adds 14 tokens to every session and 3,591 once invoked, about $0.0001 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-31.

Related

technical_design_documentation_rule compared with cursor rules from other repositories

technical_design_documentation_rule next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
technical_design_documentation_rulemoclam1905/CocktailRecipesCursor rule11y agoMITA14Cursor
android-projectJoDaBaRo/agentic-mobile-rulesCursor rule15mo agononeA8,084Cursor
android-project-bootstrapJoDaBaRo/agentic-mobile-rulesCursor rule15mo agononeA106Cursor
ios-project-bootstrapJoDaBaRo/agentic-mobile-rulesCursor rule15mo agononeA108Cursor
android-project-onboardingJoDaBaRo/agentic-mobile-rulesCursor rule15mo agononeA161Cursor
ios-project-onboardingJoDaBaRo/agentic-mobile-rulesCursor rule15mo agononeB182Cursor
ios-projectJoDaBaRo/agentic-mobile-rulesCursor rule15mo agononeD4,506Cursor