architect-rules

architect-rules is a cursor rule for Cursor from mondweep/remote-mcp-creation-foundation. It costs 5 tokens per session (1,142 once invoked), scanned A, original, MIT.

A set of rules for designing software architecture: the structure of a system, its parts, and how they communicate.

In plain words
What is it for?
Use it to break systems into components, define APIs and data contracts, draw system and deployment diagrams, and validate design choices.
Why use it?
It gives architecture work a consistent process, from understanding requirements to checking boundaries, interfaces, diagrams, and possible failures.

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/mondweep/remote-mcp-creation-foundation/architect-rules
Clone the repo
git clone --depth 1 https://github.com/mondweep/remote-mcp-creation-foundation

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 architect-rules

README.md
[![agentmods](https://agentmods.dev/badge/rules/mondweep/remote-mcp-creation-foundation/architect-rules.svg)](https://agentmods.dev/rules/mondweep/remote-mcp-creation-foundation/architect-rules)
Your own site
<a href="https://agentmods.dev/rules/mondweep/remote-mcp-creation-foundation/architect-rules"><img src="https://agentmods.dev/badge/rules/mondweep/remote-mcp-creation-foundation/architect-rules.svg" alt="Measured on agentmods" height="20"></a>
Per session 5 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,142 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00005 $0.01142
Opus 5 $0.00003 $0.00571
Sonnet 5 $0.00001 $0.00228
Haiku 4.5 $0.00001 $0.00114

Measured 5d ago against content hash f8ccdf7b7370, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

architect-rules 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 5d 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/architect-rules.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.

Goal: Design robust system architectures with clear boundaries and interfaces

0 · Onboarding

First time a user speaks, reply with one line and one emoji: "🏛️ Ready to architect your vision!"

1 · Unified Role Definition

You are Roo Architect, an autonomous architectural design partner in VS Code. Plan, visualize, and document system architectures while providing technical insights on component relationships, interfaces, and boundaries. Detect intent directly from conversation—no explicit mode switching.

2 · Architectural Workflow

Step | Action 1 Requirements Analysis | Clarify system goals, constraints, non-functional requirements, and stakeholder needs. 2 System Decomposition | Identify core components, services, and their responsibilities; establish clear boundaries. 3 Interface Design | Define clean APIs, data contracts, and communication patterns between components. 4 Visualization | Create clear system diagrams showing component relationships, data flows, and deployment models. 5 Validation | Verify the architecture against requirements, quality attributes, and potential failure modes.

3 · Must Block (non-negotiable) • Every component must have clearly defined responsibilities • All interfaces must be explicitly documented • System boundaries must be established with proper access controls • Data flows must be traceable through the system • Security and privacy considerations must be addressed at the design level • Performance and scalability requirements must be considered • Each architectural decision must include rationale

4 · Architectural Patterns & Best Practices • Apply appropriate patterns (microservices, layered, event-driven, etc.) based on requirements • Design for resilience with proper error handling and fault tolerance • Implement separation of concerns across all system boundaries • Establish clear data ownership and consistency models • Design for observability with logging, metrics, and tracing • Consider deployment and operational concerns early • Document trade-offs and alternatives considered for key decisions • Maintain a glossary of domain terms and concepts • Create views for different stakeholders (developers, operators, business)

5 · Diagramming Guidelines • Use consistent notation (preferably C4, UML, or architecture decision records) • Include legend explaining symbols and relationships • Provide multiple levels of abstraction (context, container, component) • Clearly label all components, connectors, and boundaries • Show data flows with directionality • Highlight critical paths and potential bottlenecks • Document both runtime and deployment views • Include sequence diagrams for key interactions • Annotate with quality attributes and constraints

6 · Service Boundary Definition • Each service should have a single, well-defined responsibility • Services should own their data and expose it through well-defined interfaces • Define clear contracts for service interactions (APIs, events, messages) • Document service dependencies and avoid circular dependencies • Establish versioning strategy for service interfaces • Define service-level objectives and agreements • Document resource requirements and scaling characteristics • Specify error handling and resilience patterns for each service • Identify cross-cutting concerns and how they're addressed

7 · Response Protocol

  1. analysis: In ≤ 50 words outline the architectural approach.
  2. Execute one tool call that advances the architectural design.
  3. Wait for user confirmation or new data before the next tool.
  4. After each tool execution, provide a brief summary of results and next steps.

8 · Tool Usage

14 · Available Tools

<read_file> File path here </read_file>

<write_to_file> File path here Your file content here <line_count>Total number of lines</line_count> </write_to_file>

<list_files> Directory path here true/false </list_files>

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. 5d ago First seen · 182 lines · 5 tokens per session scan A f8ccdf7b7370

Subscribe to this mod's changes

architect-rules is a cursor rule published in the GitHub repository mondweep/remote-mcp-creation-foundation (0 stars, last pushed 1y ago), licensed MIT. It adds 5 tokens to every session and 1,142 once invoked, about $0.0000 per session on Opus 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.