MCPAsk AI

Search

Search skills, authors and topics

wshobson / agents

brand-landingpage

Brand-first landing page designer — runs a brand-identity interview (colors, typography, shape language), then generates and iterates on a polished landing page via Stitch with deployment-ready HTML. Use when the user asks to create, design, or build a landing page, homepage, or marketing page and has no established visual direction. Skip when they have a design mockup, need a dashboard or app UI, are working at component level, building a multi-page app, or restyling with known design tokens —

Install

npx skills add https://github.com/wshobson/agents --skill brand-landingpage

Stitch Architecture Reference

Stable patterns for working with Stitch. This file covers concepts and taxonomies that remain consistent across SDK versions. For the current API surface (parameter names, return shapes, enum values), the authoritative source is the SDK repository linked in the Stitch Documentation section of SKILL.md.


Stitch Conceptual Model

  • Project: Top-level container. One project per landing page engagement. Contains screens and a design system.
  • Screen: A single generated UI design. Has associated HTML and a screenshot, both available as download URLs. Edits produce new screen versions; originals are preserved and can be revisited.
  • Design System: Project-wide visual tokens (colors, fonts, shapes, spacing). Applies consistently to all screens. Described in semantic language, not CSS.
  • Generation is asynchronous: Screen generation can take 1-3 minutes. Do NOT retry a generation call if it seems slow. Use get_screen or list_screens to check completion status.
  • Assets are URLs: Both getHtml() and getImage() return download URLs, not inline content. Download the files using whatever tools are available.
  • Namespace varies: Stitch MCP tool names may be prefixed differently depending on the server configuration. Always discover the prefix via list_tools at startup.

Font Personality Guide

Stitch supports 28 font enums. Use this guide to select fonts based on the brand personality established during the interview. Always select both a headline font and a body font.

Modern / Clean Sans-Serif

For brands described as: modern, clean, minimal, technical, sharp

Font EnumCharacterGood for
PLUS_JAKARTA_SANSGeometric, friendly, highly readableDefault modern choice
DM_SANSSlightly rounded, warm modernApproachable SaaS
GEISTSharp, contemporaryDev tools, Vercel-style products
SORAGeometric with personalityCreative tech, design tools
SPACE_GROTESKTechnical, spaciousEngineering tools, data products, APIs
IBM_PLEX_SANSStructured, authoritativeEnterprise, infrastructure
INTERNeutral, ubiquitousSafe default (may feel generic)

Warm / Friendly Sans-Serif

For brands described as: warm, friendly, approachable, inviting

Font EnumCharacterGood for
NUNITO_SANSRounded, softConsumer apps, community platforms
RUBIKSlightly rounded, substantialCollaboration tools, social products
LEXENDDesigned for reading easeEducation, accessibility-focused tools
MANROPEGeometric but warmLifestyle products, team tools

Professional / Corporate

For brands described as: professional, trustworthy, established, reliable

Font EnumCharacterGood for
PUBLIC_SANSGovernment-grade clarityCompliance, security, finance tools
SOURCE_SANS_THREEClean professionalConsulting, healthcare tech
WORK_SANSStraightforward workhorseUtility tools, productivity
HANKEN_GROTESKCrisp, NordicDesign systems, architecture
ARIMOFamiliar, Arial-likeConservative industries, B2B

Traditional / Elegant Serif

For brands described as: elegant, premium, refined, classic

Font EnumCharacterGood for
NEWSREADEREditorial, magazineContent platforms, publishing tools
LIBRE_CASLON_TEXTClassic, bookishWriting tools, knowledge bases
EB_GARAMONDOld-world elegancePremium services, high-end products
LITERATARefined, warmBoutique SaaS
SOURCE_SERIF_FOURWarm, readable serifProfessional services
DOMINESturdy, readableFinance, real estate platforms
NOTO_SERIFComprehensive, globalInternational products

Display / Statement (headline only -- pair with a neutral body font)

For brands that want a distinctive headline presence:

Font EnumCharacterGood for
EPILOGUEDistinctive, editorialCreative agencies, design tools
BE_VIETNAM_PROUnique characterConsumer products, marketplaces
SPLINE_SANSTechnical, preciseEngineering tools, SaaS
MONTSERRATGeometric, boldMarketing tools, events platforms
METROPOLISUrban, strongFitness apps, bold brands
Product typeHeadlineBodyFeel
SaaS / web appSORADM_SANSClean and approachable
Dev tool / CLI / APIGEISTSPACE_GROTESKTechnical and sharp
Open source projectPLUS_JAKARTA_SANSINTEROpen, readable, neutral
Developer portfolioEPILOGUELITERATADistinctive and refined
B2B / enterpriseHANKEN_GROTESKSOURCE_SANS_THREEAuthoritative and clear
Consumer productPLUS_JAKARTA_SANSNUNITO_SANSWarm and welcoming
Data / analyticsSPACE_GROTESKIBM_PLEX_SANSTechnical and structured
Premium / design toolEB_GARAMONDINTERElegant with readable body

Color Variant Decision Tree

Stitch design systems accept a colorVariant enum that controls how the palette is generated from the custom color. Use the brand adjectives from the interview to select the right variant.

Brand personalitycolorVariantRationaleExample products
Bold, vibrant, energeticVIBRANTHigh saturation, dynamicMarketing tools, social apps, community platforms
Clean, minimal, technicalNEUTRALMuted, restrainedDev tools, APIs, infrastructure products
Sophisticated, subtleTONAL_SPOTNuanced tonal variationsDesign tools, analytics platforms, B2B SaaS
Dramatic, singular, focusedMONOCHROMESingle-hue depthPortfolio sites, premium tools, focused products
Playful, expressive, creativeEXPRESSIVEWide chromatic rangeConsumer apps, creative tools, marketplaces
True-to-existing-brandFIDELITYStays closest to custom colorAny product with established brand colors
Earthy, natural, organicCONTENTWarm, content-derivedWellness apps, sustainability, outdoor
Whimsical, festive, diverseRAINBOWFull chromatic varietyCreative platforms, community tools
Fresh, colorful, cheerfulFRUIT_SALADVaried but coherentConsumer apps, education, social

Default Color Suggestions

When the user has no existing brand colors, suggest based on desired emotion:

Desired emotionSuggested hexColor description
Trust, reliability#1E40AFDeep blue
Stability, professionalism#1E3A5FNavy
Energy, passion, urgency#DC2626Red
Warmth, friendliness#EA580CWarm orange
Growth, health, open source#16A34AGreen
Modern, refreshing#0D9488Teal
Creativity, premium#7C3AEDPurple
Technical, developer-focused#4F46E5Indigo
Warmth, quality, heritage#D97706Amber
Neutrality, sophistication#374151Slate gray

Prompt Engineering Patterns

Generation Prompt Template

A {DESKTOP|MOBILE} landing page for "{projectName}", {one-sentence description}.
Hero: {headline concept} with a clear "{CTA button text}" button.Target users: {target user description}.Mood: {adj1}, {adj2}, {adj3}.
Sections:1. Hero with headline, subheadline, and primary call-to-action2. {Second section based on product type}3. {Third section}4. {Fourth section}5. Footer with links and secondary call-to-action

Select sections based on product type (see Section Taxonomy below).

Prompt Guidelines

Do:

  • Describe layout in terms of sections and content purpose
  • Mention the mood/feel even though the design system also encodes it (reinforcement helps)
  • Specify CTA button text explicitly (e.g., "Start Free Trial")
  • Keep prompts to 6-8 sentences maximum
  • Name specific section types (hero, testimonials, features, pricing)

Do not:

  • Write CSS, HTML, or code in the prompt
  • Reference pixels, padding, margins, or breakpoints
  • Ask for animations or interactivity (Stitch generates static HTML)
  • List more than 5-6 sections (overloading degrades quality)
  • Use vague instructions ("make it nice") -- be specific about structure

Edit Prompt Patterns

Change typePrompt pattern
Layout reorder"Move the testimonials section above the features section"
Color shift"Make the hero background darker" or "Use a warmer tone for the section backgrounds"
Typography"Make the headline larger and bolder"
Content swap"Change the headline to '{exact text}'"
CTA emphasis"Make the call-to-action button more prominent with higher contrast"
Remove element"Remove the third feature card"
Add section"Add a pricing section before the footer"
Whitespace"Add more breathing room between sections"

Variant Prompt Patterns

IntentPromptSuggested settings
Subtle refinement"Polish the typography and spacing"REFINE, aspects: [TEXT_FONT, LAYOUT]
Color exploration"Try warmer color palettes"EXPLORE, aspects: [COLOR_SCHEME]
Layout alternatives"Show different ways to arrange the hero section"EXPLORE, aspects: [LAYOUT]
Broad exploration"Try a different approach to this page"EXPLORE, aspects: [LAYOUT, COLOR_SCHEME, IMAGES]
Total rethink"Reimagine this page from scratch"REIMAGINE, all aspects

Landing Page Section Taxonomy

Standard Sections (in suggested order)

#SectionPurposeInclude when
1HeroHeadline + subheadline + primary CTA + optional visualAlways (first section)
2Social Proof BarLogos of users/companies, GitHub stars, "used by X teams"Product has notable adopters or metrics
3Problem / SolutionWhat pain point you solve and howTarget users have a specific, articulable problem
4Features / Benefits3-4 value propositions with iconsProduct has multiple distinct capabilities
5How It Works3-step process or workflowProduct has a clear usage flow (install, configure, run)
6Code Snippet / DemoExample usage, CLI output, or API callDev tools, CLIs, SDKs, APIs
7IntegrationsLogos of compatible tools/platformsProduct connects to an ecosystem
8Testimonials2-3 user quotes or case studiesProduct has user feedback or endorsements
9PricingTiers, free/paid, or open source badgeWhen pricing model is a selling point
10FAQ4-6 common questionsWhen the product needs explanation
11About / StoryBrief founder or team narrativePersonal brands, indie projects
12Final CTARepeat primary action with urgencyAlways (second-to-last)
13FooterLinks, social, legal, GitHub linkAlways (last)

Section Selection by Product Type

Product typeRecommended sections
SaaS / web appHero, Social Proof, Features, How It Works, Pricing, Testimonials, Final CTA, Footer
Dev tool / CLIHero, Code Snippet, Features, How It Works, Integrations, Final CTA, Footer
API / SDKHero, Code Snippet, Features, Integrations, Pricing, FAQ, Final CTA, Footer
Open source projectHero, Code Snippet, Features, Social Proof (stars/contributors), About, Final CTA, Footer
Developer portfolioHero, Featured Projects, Testimonials, About, Final CTA, Footer
Side project / indie productHero, Problem/Solution, Features, Pricing, FAQ, Final CTA, Footer
Agency / consultancyHero, Problem/Solution, How It Works, Testimonials, Social Proof, Final CTA, Footer

Design System Quick Reference

Roundness Values

EnumRadiusFeelTailwind parallelTypical use
ROUND_FOUR4pxSharp, preciseroundedFintech, enterprise, dev tools
ROUND_EIGHT8pxBalanced, modernrounded-lgDefault for most products
ROUND_TWELVE12pxSoft, friendlyrounded-xlConsumer apps, SaaS
ROUND_FULLPill/full circlePlayful, boldrounded-fullStartups, creative, badges

Design System Creation Sequence

  1. Call create_project with the project name as the title
  2. Build the DesignSystem object using the translation mappings from the interview
  3. Call create_design_system with the project ID
  4. Immediately call update_design_system -- this is required to render the system; create alone is not sufficient
  5. Save the project ID and design system asset ID to .stitch/metadata.json

Applying a Design System to Existing Screens

This is the step that requires careful data handling:

  1. Call get_project with the project name to retrieve screenInstances
  2. Each screenInstance contains two required fields:
    • id -- the instance ID (different from screen ID)
    • sourceScreen -- resource name in format projects/{project}/screens/{screen}
  3. Build a selectedScreenInstances array containing objects with both id and sourceScreen
  4. Call apply_design_system with projectId, assetId (from the design system), and selectedScreenInstances
  5. Re-fetch screens after applying to get updated HTML

Common mistake: using the screen ID as the instance ID. They are different values. The instance ID comes from the screenInstances array in the get_project response.