// AI CODING AGENT 01 · REPOSITORY & .CURSORRULES SETUP

Websites Engineered for Cursor AI.

Open your website repository in Cursor, press Cmd+I in Composer, and add pages, update pricing, or launch campaigns in plain English — backed by custom .cursorrules guardrails and Cloudflare preview sandboxes.

Provider: AnysphereConfig: .cursorrules & .cursor/rules/*.mdcBot / Indexer: Direct Git Repository Indexing

// Architecture & Integration

Why WordPress Fails in Cursor — and Why Static Astro Excels.

Cursor's Agent and Composer modes work by indexing your local codebase, reading TypeScript interfaces, and applying multi-file diffs across components and content files. When a business website runs on WordPress, Wix, or Squarespace, 90% of your page content, menus, and settings live inside remote MySQL tables or proprietary SaaS databases that Cursor cannot see or version-control.

FOURAK engineers your website as a clean, 100% owner-controlled Astro + React + TypeScript repository on GitHub. Every service page, rate card, case study, and FAQ lives in strongly typed src/data/*.ts and Markdown files, governed by a custom .cursorrules specification at the root of your repo.

// Example Cursor AI Workflows on a FOURAK Site
  • >Add a new seasonal package to src/data/rates.ts and link it on the homepage hero.
  • >Create a new case study page for our Anchorage project following the existing CaseStudy schema.
  • >Update our FAQ section with three new questions about winter scheduling and run npm run build.
// Included Repository Configuration (.cursorrules & .cursor/rules/*.mdc)
# .cursorrules — FOURAK Client Repository Standard
project: Astro 5 + React 19 + TypeScript + Tailwind CSS (Static Output)
deployment: Cloudflare Pages (Auto-preview on PR branches)

rules:
  - Content edits belong in src/data/*.ts and src/content/
  - Never hardcode API keys; all secrets reside in Cloudflare env bindings
  - Enforce WCAG 2.2 Level AA contrast (>= 4.5:1) across Dark, Light, and Orange themes
  - Run "npm run build" to verify zero TypeScript or broken-link errors before commit

// 4-Layer Engineering Setup

How We Configure Your Site for Cursor AI.

Every FOURAK website ships pre-wired for both direct repository coding and real-time LLM answer engine indexing — with zero ongoing credit lock-in.

STEP 01 // .cursorrules & .cursor/rules/

Root-Level Cursor Rulebook

We author bespoke .cursorrules and scoped .cursor/rules/*.mdc files that teach Cursor your exact brand voice, color tokens, component hierarchy, and WCAG 2.2 AA accessibility rules.

FOURAK AI-Ready Standard100% Client Owned
STEP 02 // src/data/*.ts

Typed Content Collections

Instead of digging through raw HTML, Cursor edits clean TypeScript arrays with strict interfaces. If a required SEO title or schema field is omitted, Cursor's TypeScript linter flags it immediately.

FOURAK AI-Ready Standard100% Client Owned
STEP 03 // Git Branch + Cloudflare Preview

Instant Preview URLs on Every Prompt

Push any Cursor branch to GitHub and Cloudflare Pages builds an isolated preview URL in ~30 seconds so you can review changes before merging to main.

FOURAK AI-Ready Standard100% Client Owned
STEP 04 // functions/api/* Isolation

Protected Edge Backend

Cloudflare D1 databases, Turnstile verification, and Resend email keys stay locked in server-side Cloudflare environment variables so Cursor never touches sensitive credentials.

FOURAK AI-Ready Standard100% Client Owned

// Technical Questions & Answers

Cursor AI Website FAQ.

// Q.01

Do I need to be a programmer to use Cursor on a FOURAK website?

No. Because we separate your website's content into clean src/data/*.ts files and pre-configure .cursorrules, you can ask Cursor's Agent mode in plain English to update text, swap photos, or add a new landing page.

// Q.02

What happens if Cursor makes a mistake in the code?

First, Astro's build check (npm run build) blocks any broken syntax from deploying to production. Second, because everything is tracked in GitHub, any change can be reverted with a single click.

// Q.03

Can FOURAK still manage updates if we don't want to run Cursor ourselves?

Yes. You have 100% ownership of the repo — you can edit it yourself with Cursor, have your internal team use it, or ask FOURAK to handle updates at any time.

// Universal AI Interoperability

Other Supported AI Tools & LLMs.

View All 12 AI Integrations
Anthropic · Repo Coding Agent

Claude Code

Run Anthropic's terminal and desktop agent (`claude`) directly inside your website repository. Every FOURAK build ships with a tailored `CLAUDE.md` architectural manifest and full `ClaudeBot` search indexing.

View Setup
Google DeepMind · Repo Coding Agent

Google Antigravity

FOURAK builds and maintains production web systems using Google DeepMind's Antigravity agentic coding environment (`agy`). Every client repository ships with `AGENTS.md` workspace isolation, WCAG 2.2 AA rules, and automated deployment pipelines.

View Setup
GitHub / Microsoft · Repo Coding Agent

GitHub Copilot

Assign a GitHub Issue to `@copilot` straight from your browser or mobile phone — and let GitHub Copilot's Coding Agent open a pull request with a live Cloudflare Pages preview link ready for your approval.

View Setup
Codeium / Windsurf · Repo Coding Agent

Windsurf IDE

Harness Windsurf's deep codebase awareness and Cascade multi-file flows on a clean, zero-bloat Astro + TypeScript website repository pre-configured with `.windsurfrules`.

View Setup
OpenAI · LLM Provider & Crawler

OpenAI / ChatGPT

Work with OpenAI's Codex CLI and ChatGPT GitHub connectors directly on your codebase (`AGENTS.md`), while ensuring `OAI-SearchBot` and `GPTBot` rank and cite your business in ChatGPT Search.

View Setup
xAI · LLM Provider & Crawler

xAI Grok & GrokBot

Make your website first-class for xAI's Grok ecosystem — from using Grok 3 / Grok 4 for repository coding and content generation to ensuring `GrokBot`, `xAI-Bot`, and X/Twitter real-time crawlers index and cite your business.

View Setup
Google · LLM Provider & Crawler

Google Gemini

Feed your entire website repository into Google Gemini's 1M+ token context window or run `@google/gemini-cli` in your terminal (`GEMINI.md`) — while dominating Google AI Overviews with 100/100 Core Web Vitals and entity-linked Schema.org.

View Setup
Perplexity · LLM Provider & Crawler

Perplexity AI

Perplexity AI is a citation-first answer engine. We engineer your website with open `PerplexityBot` access, `/llms-full.txt` documentation, empirical comparison tables, and structured JSON-LD so Perplexity cites your domain as the primary source.

View Setup
Meta / Open Source · LLM Provider & Crawler

Meta Llama / Local AI

Need 100% air-gapped or on-premise AI editing? Because a FOURAK website is pure static TypeScript, React, and Markdown with zero cloud builder lock-in, you can run Meta Llama 3.3 / Llama 4 locally via Ollama or vLLM on your own hardware.

View Setup
DeepSeek / Alibaba Qwen (Open Weight) · Repo Coding Agent

DeepSeek & Qwen Coder

Plug open-weight powerhouses like DeepSeek-V3/R1 and Qwen Coder into Cline, Roo Code, or Aider — and update your website for pennies per million tokens with full TypeScript and Cloudflare preview safety.

View Setup
Mistral AI · LLM Provider & Crawler

Mistral & Codestral

Combine sub-100ms IDE code completions from Mistral's Codestral model on your TypeScript repository with full `MistralAI-User` web search indexing for Le Chat.

View Setup
Ready for Cursor AI

Own an AI-Ready Website Built for Cursor AI.

We configure your Astro + GitHub + Cloudflare repository with custom instruction manifests, Cloudflare preview sandboxes, and `/llms.txt` indexing from day one.