35-roots

35-roots is a cursor rule for Cursor from ConlinJoe/ai-platform. It costs 0 tokens per session (3,022 once invoked), scanned A, original, MIT.

A set of coding rules for Roots, Radicle, and Sage WordPress projects. It covers how WordPress content, menus, forms, custom fields, sliders, and templates fit together.

In plain words
What is it for?
Use it when building or changing Sage themes, WordPress menus and pages, ACF Pro fields, WPForms Lite forms, navigation, or Keen Slider galleries.
Why use it?
It keeps work aligned with this specific WordPress setup and prevents applying its conventions to unrelated projects.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when building or changing Sage themes, WordPress menus and pages, ACF Pro fields, WPForms Lite forms, navigation, or Keen Slider galleries.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/conlinjoe/ai-platform/35-roots"><img src="https://agentmods.dev/badge/rules/conlinjoe/ai-platform/35-roots.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 3,022 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.00000 $0.03022
Opus 5.5 $0.00000 $0.01209
Sonnet 5.5 $0.00000 $0.00604
Haiku 4.5 $0.00000 $0.00302

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

Security

Grade A, and why

35-roots 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/35-roots.mdc · 315 lines

How it starts

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

Roots / Radicle / Sage

Apply this rule only to Roots Radicle applications and Sage themes (typically with Acorn). Do not apply it to Laravel web applications, plain WordPress without this stack, React, Rails, or other non-WordPress projects.

For tasks involving WordPress menus, navigation, forms, ACF fields, sliders/galleries, Sage/Blade templates, Acorn, or initial page/menu architecture on this stack, follow this profile. The platform copy lives at core/project-profiles/roots-radicle.md.

Architecture

  • Follow Roots / WordPress / Sage conventions for the installed or intentionally selected ecosystem (Current-First Engineering in 00-platform).
  • Follow Framework-Native First in 00-platform.
  • WordPress remains the source of truth for content, pages, menus, menu locations, menu items, hierarchy, labels, and URLs.
  • Navi adapts WordPress navigation into structured data for Sage/Blade.
  • Sage/Blade owns presentation. Frontend layout remains code-owned.
  • Blade renders prepared data. Queries, ACF reads, and content assembly belong in composers or the equivalent Acorn layer, not in the template. See 21-stack-architecture.
  • ACF Pro is the preferred structured-content layer. WordPress owns native content; ACF owns intentional structured metadata. ACF is not a page builder.
  • Keen Slider is the preferred slider/carousel/gallery library. Integrate it through Sage/Vite.
  • WPForms Lite is the default forms layer for ordinary form needs. Gravity Forms remains a valid project-specific choice, not the default.
  • A project-native provisioner may establish reproducible project-defined WordPress structure. It is not a runtime CMS.
  • Acorn provides the Laravel-based application layer inside WordPress.

These stack preferences are subordinate to Current-First Engineering, Framework-Native First, compatibility checks, license/credential requirements, and explicit project ADRs/contracts. Do not force them onto existing projects that already have intentional alternatives.

Read the full file on GitHub · 315 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 · +3 lines 28feeb3d08d8
  2. 18d ago Changed · +20 lines b3fe82ab62ad
  3. 20d ago Changed · +9 lines 061fb568b94c
  4. 1mo ago Changed · +9 lines 46225018328d
  5. 2mo ago First seen · 274 lines · 0 tokens per session scan A eb73d8992360

Subscribe to this mod's changes

35-roots is a cursor rule published in the GitHub repository ConlinJoe/ai-platform (2 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,022 tokens. 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.