stitch-astro-wp-delivery

SOP for delivering client websites using Google Stitch for design, Astro for frontend, and headless WordPress CMS for dynamic content.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "stitch-astro-wp-delivery" with this command: npx skills add mayank1059/stitch-astro-wp-skill/mayank1059-stitch-astro-wp-skill-stitch-astro-wp-delivery

Stitch → Astro + WordPress Website Delivery

Complete workflow for AI-generated designs → production websites.

Stack

ComponentTechnologyPurpose
DesignGoogle StitchAI mockup generation
FrontendAstroStatic site generation
StylingTailwind CSSStitch-native
CMSWordPress (headless)Blog, portfolio
SEORankMathMeta, schema
HostingCloudflare PagesFrontend CDN

Phase 1: Design Generation (1-2 hrs)

1.1 Write Stitch Prompts

Use detailed prompts with: sections, colors, typography, content.

1.2 Generate in Stitch

# Use Stitch MCP tools:
mcp_stitch_create_project
mcp_stitch_generate_screen_from_text
mcp_stitch_fetch_screen_code

1.3 Organize Exports

client-name/
├── stitch-exports/
│   ├── homepage.html
│   ├── about.html
│   └── ...

Phase 2: WordPress Setup (2-3 hrs)

2.1 Install WordPress

  • Subdomain: wp.clientdomain.com
  • Plugins: RankMath, ACF, Classic Editor

2.2 Configure

// wp-config.php - CORS
header("Access-Control-Allow-Origin: *");

Phase 3: Astro Setup (1 hr)

npm create astro@latest client-name
npx astro add tailwind sitemap

Project Structure

src/
├── components/
├── layouts/MainLayout.astro
├── lib/wordpress.js
├── pages/
│   ├── index.astro
│   └── blog/[...slug].astro

Phase 4: Convert Stitch HTML (4-8 hrs)

4.1 WordPress API Helper

// src/lib/wordpress.js
const WP_URL = 'https://wp.clientdomain.com/wp-json/wp/v2';

export async function getPosts(count = 10) {
  const res = await fetch(`${WP_URL}/posts?per_page=${count}&_embed`);
  return res.json();
}

export async function getPost(slug) {
  const res = await fetch(`${WP_URL}/posts?slug=${slug}&_embed`);
  const posts = await res.json();
  return posts[0];
}

4.2 Convert Pages

  1. Create .astro file for each Stitch export
  2. Wrap with MainLayout
  3. Extract reusable components

Phase 5: Testing (1-2 hrs)

npm run dev

Checklist:

  • All pages load
  • Blog pulls from WordPress
  • Mobile responsive
  • SEO meta present

Phase 6: Deployment (30 min)

npm run build
npx wrangler pages deploy ./dist --project-name=client-name

Or connect GitHub to Cloudflare Pages.


Phase 7: Handoff (1 hr)

Provide client:

  • WordPress admin URL + credentials
  • Brief editing guide
  • Support contact

Time Estimate

PhaseHours
Design2-4
WordPress2-3
Astro1
Conversion4-8
Testing1-2
Deploy0.5
Handoff1
Total12-20

Maintenance

Requires Rebuild:

  • Homepage changes, new pages, service updates

Auto-Reflects:

  • Blog posts (from WP API)
  • Portfolio items

Final Checklist

  • All Stitch exports converted
  • WordPress + RankMath configured
  • Blog pulling from WordPress
  • Sitemap + robots.txt
  • Deployed to Cloudflare
  • Custom domain + SSL
  • Client has credentials

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

openclaw-version-monitor

监控 OpenClaw GitHub 版本更新,获取最新版本发布说明,翻译成中文, 并推送到 Telegram 和 Feishu。用于:(1) 定时检查版本更新 (2) 推送版本更新通知 (3) 生成中文版发布说明

Archived SourceRecently Updated
Coding

ask-claude

Delegate a task to Claude Code CLI and immediately report the result back in chat. Supports persistent sessions with full context memory. Safe execution: no data exfiltration, no external calls, file operations confined to workspace. Use when the user asks to run Claude, delegate a coding task, continue a previous Claude session, or any task benefiting from Claude Code's tools (file editing, code analysis, bash, etc.).

Archived SourceRecently Updated
Coding

ai-dating

This skill enables dating and matchmaking workflows. Use it when a user asks to make friends, find a partner, run matchmaking, or provide dating preferences/profile updates. The skill should execute `dating-cli` commands to complete profile setup, task creation/update, match checking, contact reveal, and review.

Archived SourceRecently Updated
Coding

clawhub-rate-limited-publisher

Queue and publish local skills to ClawHub with a strict 5-per-hour cap using the local clawhub CLI and host scheduler.

Archived SourceRecently Updated