Skip to content
Prompt

10x-astro-starter — Windsurf Rules

by przeprogramowani

AI Summary

This file provides guidance to AI Agent when working with code in this repository. Pre-commit hooks: husky + lint-staged runs on and on . Full server-side rendering ( in astro.config.mjs). All pages are server-rendered by default. API routes must export .

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to add the "10x-astro-starter — Windsurf Rules" prompt rules to my project.
Repository: https://github.com/przeprogramowani/10x-astro-starter

Please read the repo to find the rules/prompt file, then:
1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type)
2. If there's an existing rules file, merge the new rules in rather than overwriting
3. Confirm what was added

Description

Start your journey with Astro, TypeScript and React ✨

Rules for AI

This file provides guidance to AI Agent when working with code in this repository.

Commands

• npm run dev — start dev server on port 3000 • npm run build — production build (SSR via @astrojs/node standalone adapter) • npm run preview — preview production build • npm run lint — ESLint (flat config, eslint.config.js) • npm run lint:fix — auto-fix lint issues • npm run format — Prettier (includes prettier-plugin-astro) Pre-commit hooks: husky + lint-staged runs eslint --fix on .{ts,tsx,astro} and prettier --write on .{json,css,md}.

Architecture

Astro 5 SSR app with React 19 islands, Tailwind 4, Supabase auth, and shadcn/ui components.

Rendering mode

Full server-side rendering (output: "server" in astro.config.mjs). All pages are server-rendered by default. API routes must export const prerender = false.

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 22d ago
Active
AdoptionUnder 100 stars
68 ★ · Niche
DocsMissing or thin
Undocumented

GitHub Signals

Stars68
Forks74
Issues0
Updated22d ago
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Any AI assistant that accepts custom rules or system prompts

Claude
ChatGPT
Cursor
Windsurf
Copilot
+ more