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.
git clone --depth 1 https://github.com/moclam1905/CocktailRecipesWrote 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.
[](https://agentmods.dev/rules/moclam1905/cocktailrecipes/technical_design_documentation_rule)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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:
-
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.
-
-
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:
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.
- 3mo ago First seen · 244 lines · 3,591 tokens per session scan A dd20b663ffd4
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.
technical_design_documentation_rule compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| technical_design_documentation_rulemoclam1905/CocktailRecipes | Cursor rule | 1 | 1y ago | MIT | A | 14 | Cursor |
| android-projectJoDaBaRo/agentic-mobile-rules | Cursor rule | 1 | 5mo ago | none | A | 8,084 | Cursor |
| android-project-bootstrapJoDaBaRo/agentic-mobile-rules | Cursor rule | 1 | 5mo ago | none | A | 106 | Cursor |
| ios-project-bootstrapJoDaBaRo/agentic-mobile-rules | Cursor rule | 1 | 5mo ago | none | A | 108 | Cursor |
| android-project-onboardingJoDaBaRo/agentic-mobile-rules | Cursor rule | 1 | 5mo ago | none | A | 161 | Cursor |
| ios-project-onboardingJoDaBaRo/agentic-mobile-rules | Cursor rule | 1 | 5mo ago | none | B | 182 | Cursor |
| ios-projectJoDaBaRo/agentic-mobile-rules | Cursor rule | 1 | 5mo ago | none | D | 4,506 | Cursor |