sitemd + cursor

The best way to build websites with Cursor

sitemd is a static site generator / website building toolkit for AI code editors like Cursor.

It's a complete agent-driven framework with CLI, dev server, skills, auto-attaching rules, guardrails, best practices, and one-line integrations for essentials like SEO, analytics, content generation, doc writing, user login, content gating, dynamic data + detail pages, and more.

It's a site-building superpower for agents in Cursor.

Install sitemd for Cursor

Scaffold a fresh sitemd project and open it in Cursor:

npm i -g @sitemd-cc/sitemd
sitemd init my-site
cd my-site
cursor .

Cursor agent detects the sitemd project, picks up .cursor/rules/ and .cursor/skills/, and you're building.

Already have a sitemd project on disk and want the Cursor marketplace integration? In Cursor, run:

/add-plugin sitemd

Or search for sitemd in the Cursor Marketplace. That installs the auto-attaching rules and the full suite of sitemd skills — all configured automatically. The plugin expects you to already have sitemd installed globally (npm i -g @sitemd-cc/sitemd). Use sitemd init above for a fresh start.

Plugin source: .cursor/ (rules/, skills/) on the public sitemd repo.


Why use sitemd with Cursor

Cursor is amazing at editing code, and any agent will already happily build websites in Cursor from scratch. Adding sitemd makes the process faster and reduces friction.

sitemd is a super-efficient toolkit for AI coding agents to build websites. It ships with:


Why not just prompt my agent to build a site from scratch?

sitemd is a site-building superpower for agents in Cursor. It helps agents in Cursor build a consistent working site quickly by skipping all the scaffolding that's already baked-in to sitemd. sitemd is still very flexible and customizable, so you can still build sites however you want. sitemd also ships with one-line integrations for essentials like SEO, analytics, content generation, doc writing, user login, content gating, dynamic data + detail pages, and more that would take considerable time for you and your agent to build from scratch.


What Cursor gets out of the box


Build your first site with Cursor

After install, in any Cursor session inside a sitemd project:

"Build me a documentation site for my SaaS product"

Cursor agent calls sitemd status, then sitemd site-context to learn the conventions, then sitemd pages create-batch to scaffold pages, then sitemd content validate to check quality, then sitemd deploy when you confirm. The auto-attaching rules surface the right syntax reference as pages are created. You watch the dev server preview update live.

You can also run a skill directly:

/kickstart a portfolio site for a freelance designer named Mira

That spins up a complete first-draft site — pages, navigation, settings, theme, copy — from a single sentence.


Cursor FAQ

Does sitemd work with Cursor's plugin system?
Yes. Install with npm i -g @sitemd-cc/sitemd then sitemd init my-site — that scaffolds a project with the skills and auto-attaching rules wired for Cursor in one step. You can also /add-plugin sitemd from inside Cursor to add the marketplace integration.

What CLI commands does sitemd give Cursor agents?
A full suite of commands covering page CRUD, content generation, SEO, deploy, auth, dynamic data, batch operations, content validation, and project status. See CLI for the full list.

What rules does sitemd ship for Cursor?
Three auto-attaching rules: sitemd-project (always on, baseline context), sitemd-pages (loads when editing files in pages/), sitemd-settings (loads when editing files in settings/). They keep context relevant without flooding the agent.

What skills come with the plugin?
A full suite of skills including /write, /launch, /deploy, /seo, /kickstart, /clone, /og-image, /import, /site, /feedback, /reload, /shutdown, and more. Each is a standard skill that agents in Cursor discover and run by name. See Skills for the full list.

Do I have to host my site with sitemd?
No, and you couldn't even if you wanted to. sitemd isn't a website hosting service — it's a website building toolkit you install on your machine. You'll build your site locally, then deploy & host wherever you want.

Is there a free version/trial?
Yes. sitemd can run in free trial mode forever. You can preview all features in trial mode. You only need to pay when it's time to deploy your site.

Can I use sitemd for client sites?
Absolutely. 15% bulk discount when purchasing 50+ site slots at one time.

What other agents does sitemd support?
Claude Code, Codex, Gemini, OpenClaw, and any coding agent. The same skill format works across all of them.


Get Started

Try it in your browser

Demo sandbox →

Read all about it

Docs →

Try it on your machine

Install →