FREE AI PROMPT LIBRARY

Better prompts. Cleaner websites.

Use these battle-tested prompts with ChatGPT/Codex, Claude/Claude Code, Grok, or Gemini against your own GitHub repository. Download our universal AGENTS.md file so every AI session respects your layout, SEO, and security boundaries.

AI EDITING STUDIO

From prompt to reviewable change.

4 steps
Step 1 of 4

Define the job

Choose a prompt for a specific build, design, migration or maintenance task.

Browse prompts
Example preview01
Define the job
01Scope the request
02Provide project context
03State constraints

Illustration · not connected to your accounts

Step 2 of 4

Set repository rules

Use AGENTS.md to set your architecture, accessibility and security boundaries.

Open AGENTS.md
Example preview02
Set repository rules
01Read existing rules
02Limit changes
03Keep secrets out

Illustration · not connected to your accounts

Step 3 of 4

Ask for changes

Use your preferred coding assistant and request a reviewable diff.

Choose AI assistant
Example preview03
Ask for changes
01Describe desired result
02Inspect diff
03Run tests

Illustration · not connected to your accounts

Step 4 of 4

Verify before launch

Check the rendered site and approve changes only after the build passes.

Open QA checklist
Example preview04
Verify before launch
01Mobile and keyboard
02Metadata and links
03Deployment review

Illustration · not connected to your accounts

Core GuardrailsWorks with: ChatGPT / Codex, Claude / Claude Code, Grok, Gemini

Universal AI Guardrails (Paste First or Save as AGENTS.md)

Start every session with this rule set so your AI tool never breaks layouts, exposes secrets, or adds bloated frameworks.

Copy-paste prompt
You are the development assistant for my independently owned static website.

Infrastructure:
- Framework: Astro (static output) or clean semantic HTML
- Source control: GitHub (production branch: main)
- Hosting: Cloudflare Pages (build: npm run build, output: dist)

Rules:
1. Read README.md, AGENTS.md, and the existing folder structure before editing.
2. Preserve existing functionality, brand identity, and routes.
3. Use reusable CSS classes and CSS custom properties — avoid scattered inline styles.
4. Maintain semantic HTML (one <h1> per page, landmarks) and responsive mobile layouts.
5. Target WCAG 2.2 AA accessibility (contrast >= 4.5:1, alt text, labeled inputs, keyboard focus).
6. Keep SEO metadata, canonical links, and JSON-LD accurate.
7. Never expose passwords, secrets, or API keys; never alter DNS, billing, or account permissions.
8. Make edits on a reviewable branch, run npm run build and tests, and wait for my approval before merging to main.
9. Report changed files, build results, and exact rollback steps.
New BuildWorks with: Claude Code, Codex, Gemini (Antigravity), Grok Build

Build a Complete 4-Page Business Website in Astro

Use right after creating a minimal Astro repository to scaffold a fast, clean multi-page business site.

Copy-paste prompt
Build a clean, fast static Astro website for my business using zero unnecessary client-side JavaScript.

Business details:
- Business name: [YOUR BUSINESS NAME]
- Industry & core service: [E.G. RESIDENTIAL PLUMBING & WATER HEATERS]
- City / Service area: [E.G. ANCHORAGE & MAT-SU VALLEY, ALASKA]
- Phone: [YOUR PHONE]
- Email: [YOUR EMAIL]
- Primary CTA: [E.G. CALL FOR SAME-DAY SERVICE / REQUEST A FREE QUOTE]
- Brand vibe & colors: [E.G. CLEAN NAVY + WARM AMBER, HIGH CONTRAST]

Create:
1. src/layouts/BaseLayout.astro with sticky mobile-friendly nav, skip link, canonical URL, Open Graph tags, and LocalBusiness JSON-LD.
2. src/styles/global.css with centralized :root design tokens and WCAG 2.2 AA contrast.
3. Pages: Home (/), Services (/services/), About (/about/), Contact (/contact/), and 404 (/404.astro).
4. public/robots.txt, public/sitemap.xml, and public/_headers.
5. Run npm run build and verify every route compiles cleanly with zero warnings.
Design & CopyWorks with: ChatGPT, Claude, Grok, Gemini

Write Clear, High-Trust Small Business Website Copy

Turn rough notes about your business into sharp, jargon-free headlines, service descriptions, and FAQs.

Copy-paste prompt
Rewrite my business notes into clear, honest, high-converting website copy. Avoid generic corporate buzzwords ("elevate", "synergy", "cutting-edge", "bespoke").

My business:
- What we do: [DESCRIBE SERVICES]
- Who we help & location: [TARGET CUSTOMERS & AREA]
- What makes us trustworthy: [YEARS IN BUSINESS, LICENSE/INSURANCE, LOCAL ROOTS, GUARANTEES]
- Typical pricing or starting rates: [OPTIONAL]
- Top 5 questions customers ask on the phone: [LIST QUESTIONS]

Deliver:
1. 3 options for a clear Hero Headline (under 10 words) + 1-sentence subheadline.
2. Service section blurbs (2–3 plain sentences each).
3. An honest "Why Choose Us" section grounded in specific facts.
4. 6 FAQ Q&As written in natural language so both customers and AI search engines get direct answers.
MigrationWorks with: Claude Code, Codex, Gemini (Antigravity)

Convert Exported WordPress / Wix / Squarespace Content Into Clean Astro

After exporting text and sitemap URLs from your old website builder, use this prompt to rebuild cleanly without carrying over old code bloat.

Copy-paste prompt
I am migrating my website off [WORDPRESS / WIX / SQUARESPACE] to a static Astro website hosted on Cloudflare Pages.

Tasks:
1. Convert the attached exported page text into clean semantic Astro pages using our shared BaseLayout.astro and global.css classes — strip all legacy page-builder shortcodes, inline styles, and external CDN image links.
2. Preserve all high-value URL slugs identically where possible.
3. Generate a complete public/_redirects file mapping every changed legacy URL to its new canonical Astro route using 301 redirects.
4. Flag any legacy image URLs still pointing to wp-content, wixstatic.com, or squarespace-cdn.com so I can replace them with local assets.
5. Run npm run build and provide a summary table of Old URL -> New URL -> Status.
SEO & AEOWorks with: ChatGPT, Claude, Grok, Gemini

SEO, Structured Data & AI Search (AEO/GEO) Upgrade

Run on your repository before launch to tighten titles, descriptions, LocalBusiness JSON-LD, and answer clarity.

Copy-paste prompt
Audit every page in src/pages/ for SEO and AI search discoverability (AEO/GEO) without keyword stuffing.

Check and fix:
1. Unique <title> (50–60 chars) and <meta name="description"> (140–160 chars) per page.
2. Valid canonical URL and Open Graph tags (og:title, og:description, og:url, og:type).
3. Accurate Schema.org JSON-LD (LocalBusiness / Organization + FAQPage where real FAQs exist) — do NOT invent fake reviews, ratings, or addresses.
4. Clear semantic headings (one <h1> per page, logical <h2>/<h3> sections) and concise factual summaries of who we serve, where we operate, and how to contact us.
5. Verify public/robots.txt and public/sitemap.xml list every public page accurately.
AccessibilityWorks with: Claude Code, Codex, Gemini (Antigravity)

WCAG 2.2 AA Accessibility Code Review & Fix

Inspect your templates and CSS for contrast, keyboard navigation, landmarks, and screen-reader accessibility before going live.

Copy-paste prompt
Review all Astro layouts, pages, and CSS in this repository against WCAG 2.2 AA accessibility best practices.

Check and fix:
1. Skip-to-content link, <header>, <nav aria-label>, <main>, and <footer> landmarks.
2. Heading hierarchy (exactly one <h1> per page, no skipped heading levels).
3. Color contrast >= 4.5:1 for body text and >= 3:1 for large text, borders, and focus outlines.
4. Visible :focus-visible outlines on all interactive elements (links, buttons, inputs, mobile menu toggle).
5. Descriptive alt attributes on all meaningful images (alt="" only on decorative elements).
6. Proper <label for="..."> elements on every form field and accessible aria-expanded / aria-controls states on interactive toggles.

Remind me which checks still require manual keyboard and screen-reader testing.
Routine EditsWorks with: ChatGPT / Codex, Claude / Claude Code, Gemini

Add a New Service or Location Page Safely

Everyday maintenance — add a new service page, seasonal special, or announcement without disturbing the rest of the site.

Copy-paste prompt
Add a new static page at /services/[NEW-SERVICE-SLUG]/ following our existing BaseLayout.astro and global.css styles.

Page details:
- Service name: [SERVICE NAME]
- Summary & deliverables: [BULLETS]
- Pricing or quote CTA: [DETAILS]
- 3 common customer questions: [QUESTIONS]

Also:
1. Link the new page from our Services overview page (and footer if appropriate).
2. Add the new URL to public/sitemap.xml.
3. Run npm run build and show me the exact git diff before merging to main.
Forms & SecurityWorks with: Claude Code, Codex, Gemini (Antigravity)

Add a Spam-Protected Contact Form With Cloudflare Turnstile

Add a lightweight contact form backed by a Cloudflare Pages Function and Turnstile with zero WordPress plugins.

Copy-paste prompt
Add an accessible static contact form on /contact/ backed by a Cloudflare Pages Function at functions/api/contact.js with Cloudflare Turnstile verification.

Requirements:
1. Accessible form fields (Name, Email, Phone optional, Message) with visible <label> tags and a honeypot field.
2. Verify the Turnstile token server-side using env.TURNSTILE_SECRET_KEY (never hardcode secrets).
3. Validate input lengths, sanitize output, and return clean JSON errors with appropriate HTTP status codes.
4. Document exact Cloudflare environment variables needed (TURNSTILE_SITE_KEY, TURNSTILE_SECRET_KEY, and mail provider key) in README.md without committing any secrets.