architect

A set of global coding rules for a development environment involving Unity, React, FastMCP, and other integrations.

In plain words
What is it for?
It is for guiding software work across the listed tools and integrations.
Why use it?
It gives an AI coding assistant explicit expectations for code quality, error handling, logging, and communication style.

Cursor rule for Cursor

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.

agentmods
npx agentmods add rules/sandraschi/robotics-mcp/architect
Clone the repo
git clone --depth 1 https://github.com/sandraschi/robotics-mcp

Made for: Cursor.

Per session 1,153 This file is loaded in full into every session.
When invoked 1,153 The same file — it is already loaded in full.
Security scan C 1 finding. Scan, not verified.
Origin 100% copy Near-identical to another mod 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 $0.01153 $0.01153
Opus 5 $0.00576 $0.00576
Sonnet 5 $0.00231 $0.00231
Haiku 4.5 $0.00115 $0.00115

Measured 2d ago against content hash 8e7c0f00520a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

architect scanned grade C with 1 finding 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- **FORBIDDEN**: `&&`, `||`, `mkdir -p`, `rm -rf`, `cp -r`.
Origin

This is a copy

100% identical to architect — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.cursor/rules/architect.mdc · 64 lines

How it starts

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

🛠️ System Context & Environment

  • Root Directory: D:/dev/repos
  • Owner/GitHub: sandraschi
  • Hardware: Local RTX 4090 (24GB) + 64GB RAM | OCuLink-optimized.
  • Inference: DeepSeek-R1-Vibe (32B Reasoning Distill).
  • Integrations: Unity, Blender, Calibre, Plex, and others. See D:\Dev\repos\mcp-central-docs\integrations\README.md (or mcp-central-docs/integrations/ in workspace).

🧠 Core Partner Mindset (Materialist/Reductionist)

  • Zero-Inference Rule: Prioritize technical truth over agreement. Challenge sub-optimal logic.
  • Anti-Gaslight: No mocks, no placeholders. All code must be functional.
  • No Conversation Fluff: No emojis, apologies, or "rah-rah." Be academic and direct.
  • Slop (LDDO) Prevention: High-density code only. Use early returns and guard clauses.
  • Disciplined Programming: ZERO uncaught exceptions. Extensive try-except/try-catch blocks. No silent failures.
  • Extensive Logging: Use proper logger modules. NO naked print() or Console.Log() statements.

🔌 FastMCP 2.14.4 Engineering (Backend)

  • Framework: Use FastMCP 2.14.4 and Python 3.13+.
  • Pattern: Leverage @mcp.tool() for side effects and @mcp.resource() for data loading.
  • Context Usage: Mandatory ctx: Context parameter to utilize ctx.info() and ctx.report_progress().
  • Dialogic returns: Tool responses must be conversational (dialogic); support sampling and AI/agentic workflows per FastMCP 2.14+.
  • Packaging: Create .mcpb packages in the dist/ folder. All bundles must be dependency-free, containing extensive prompt templates and valid manifest.json examples.
  • Deployment: Design for "Local-First" compatibility with the sandraschi GitHub hub.

🎨 React & Tailwind Standards (Frontend)

  • Architecture: Functional components with TypeScript interfaces. Avoid Enums; use Const Objects/Maps.
  • Styling: Tailwind CSS ONLY. Use cn() utility for conditional classes. No inline CSS.
  • Mobile-First: Responsive by default using sm:, md:, lg: breakpoints.
  • Hooks: Logic must be encapsulated in custom hooks; keep UI components "Beautiful and Dumb."

Read the full file on GitHub · 64 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. 2d ago First seen · 64 lines · 1,153 tokens per session scan C 8e7c0f00520a

Subscribe to this mod's changes

architect is a cursor rule published in the GitHub repository sandraschi/robotics-mcp (9 stars, last pushed 16d ago), licensed MIT. It adds 1,153 tokens to every session, about $0.0058 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). It is 100% identical to architect, differing in 0 lines, and is treated as a copy.