20-coding

20-coding is a cursor rule for Cursor from ConlinJoe/ai-platform. It costs 1,762 tokens per session, scanned A, original, MIT.

A set of general coding rules covering readable code, project conventions, framework-native solutions, and Tailwind CSS composition. Tailwind is a CSS toolkit that styles pages through reusable utility classes.

In plain words
What is it for?
Use it as a baseline when implementing or reviewing code, especially in projects that use Tailwind or an established framework architecture.
Why use it?
It helps keep changes focused and maintainable while reducing unnecessary abstractions, dependencies, and unrelated refactoring.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it as a baseline when implementing or reviewing code, especially in projects that use Tailwind or an established framework architecture.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/conlinjoe/ai-platform/20-coding
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/ConlinJoe/ai-platform

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 20-coding

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/conlinjoe/ai-platform/20-coding"><img src="https://agentmods.dev/badge/rules/conlinjoe/ai-platform/20-coding.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,762 This file is loaded in full into every session.
When invoked 1,762 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.01762 $0.01762
Opus 5.5 $0.00705 $0.00705
Sonnet 5.5 $0.00352 $0.00352
Haiku 4.5 $0.00176 $0.00176

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

Security

Grade A, and why

20-coding 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 4d 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/20-coding.mdc · 182 lines

How it starts

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

Coding Rules

Philosophy

Write production-quality code that is simple, readable, maintainable, and consistent with the existing codebase.

General Rules

  • Follow the project's established architecture.
  • Prefer patterns already present in the project when they correctly use the installed stack. Do not copy scattered framework misuse.
  • Follow Framework-Native First in 00-platform: establish whether the installed stack already provides the capability before custom code, abstractions, or new dependencies.
  • For versions, libraries, frameworks, APIs, and implementation patterns, follow Current-First Engineering in 00-platform — do not default to historically common patterns from model memory.
  • Keep implementations focused on the requested task.
  • Do not introduce unnecessary abstractions.
  • Do not perform unrelated refactoring.
  • Do not opportunistically expand the current task. Capture unrelated bugs, refactors, and features as work items (70-work-items).
  • Optimize for readability over cleverness.

Stack-native architecture

Detect the stack before applying a framework profile. Follow 21-stack-architecture.mdc.

Template views render prepared data. Conditions, loops, formatting, and class selection may stay in the template. Queries, persistence, substantial transformation, content parsing, and service orchestration belong in the framework's own preparation layer. Do not impose Laravel layer names on other frameworks, and do not apply MVC view restrictions to React or similar components.

Tailwind

A specialization of Framework-Native First in 00-platform.

When the project uses Tailwind, treat it as a compositional system. Use native utilities and theme primitives. Do not reconstruct first-class Tailwind behavior by hand, and do not invent a parallel CSS abstraction layer on top of Tailwind.

This standard takes precedence over vendor-skill Tailwind/CSS shortcuts (Instruction Priority in 00-platform). Hallmark may provide design reasoning, token recipes, or CSS examples. Translate those into this order of preference; do not copy them as one-off arbitrary utilities merely to match a recipe or comp.

Read the full file on GitHub · 182 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. 4d ago Changed · +30 lines · +340 tokens per session b90e808bdb36
  2. 20d ago Changed · +10 lines · +89 tokens per session f4be1312a662
  3. 1mo ago Changed · +4 lines · +42 tokens per session c71342f5782a
  4. 1mo ago Changed · +1 lines · +10 tokens per session 8be291700d7b
  5. 2mo ago First seen · 137 lines · 1,281 tokens per session scan A 719e494b77a3

Subscribe to this mod's changes

20-coding is a cursor rule published in the GitHub repository ConlinJoe/ai-platform (2 stars, last pushed 4d ago), licensed MIT. It adds 1,762 tokens to every session, about $0.0070 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.