site-architecture

site-architecture is a cursor rule for Cursor from rajitsaha/100xprism. It costs 31 tokens per session (3,068 once invoked), scanned A, original, MIT.

Guidance for planning a website's page hierarchy, navigation, URLs, and internal links.

In plain words
What is it for?
Use it to map a new site, restructure an existing site, organize content sections, and plan URL patterns.
Why use it?
It helps make content easier for visitors and search engines to find, while accounting for business goals, existing pages, and redirects.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it to map a new site, restructure an existing site, organize content sections, and plan URL patterns.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/rajitsaha/100xprism/site-architecture
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/rajitsaha/100xprism

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 site-architecture

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/rajitsaha/100xprism/site-architecture"><img src="https://agentmods.dev/badge/rules/rajitsaha/100xprism/site-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 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,068 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.00031 $0.03068
Opus 5 $0.00015 $0.01534
Sonnet 5 $0.00006 $0.00614
Haiku 4.5 $0.00003 $0.00307

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

Security

Grade A, and why

site-architecture 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/site-architecture.mdc · 348 lines

How it starts

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

Site Architecture

Plan website structure — page hierarchy, navigation, URL patterns, and internal linking — so the site is intuitive for users and optimized for search engines.

Before Planning

Product context: If .agents/product-marketing-context.md exists (or .claude/product-marketing-context.md in older setups), read it first and tailor output to it; only ask for what it doesn't cover.

Gather this context (ask if not provided):

1. Business Context

  • What does the company do?
  • Primary audiences?
  • Top 3 site goals? (conversions, SEO traffic, education, support)

2. Current State

  • New site or restructuring?
  • If restructuring: what's broken? (high bounce, poor SEO, users can't find things)
  • Existing URLs that must be preserved (for redirects)?

3. Site Type

SaaS marketing site, content/blog, e-commerce, documentation, hybrid (SaaS + content), or small business/local.

4. Content Inventory

  • How many pages exist or are planned?
  • Most important pages? (by traffic, conversions, or business value)
  • Planned sections or expansions?

Site Types and Starting Points

Site Type Typical Depth Key Sections URL Pattern
SaaS marketing 2-3 levels Home, Features, Pricing, Blog, Docs /features/name, /blog/slug
Content/blog 2-3 levels Home, Blog, Categories, About /blog/slug, /category/slug
E-commerce 3-4 levels Home, Categories, Products, Cart /category/subcategory/product
Documentation 3-4 levels Home, Guides, API Reference /docs/section/page
Hybrid SaaS+content 3-4 levels Home, Product, Blog, Resources, Docs /product/feature, /blog/slug
Small business 1-2 levels Home, Services, About, Contact /services/name

For full page hierarchy templates: See references/site-type-templates.md

Read the full file on GitHub · 348 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 · 348 lines · 31 tokens per session scan A 364c1475ce0c

Subscribe to this mod's changes

site-architecture is a cursor rule published in the GitHub repository rajitsaha/100xprism (10 stars, last pushed 9d ago), licensed MIT. It adds 31 tokens to every session and 3,068 once invoked, about $0.0002 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-09-03.