xiaohongshu
xiaohongshu
authoring-stitch-prompts
Converts natural-language descriptions or UI spec files into optimized Google Stitch prompts. Use when creating, refining, or validating design directives for Google Stitch. Follows Stitch best practices with short, directive prompts focused on screens, structure, and visual hierarchy.
Full skill instructions
design-intent/:
design-intent/memory/constitution.mdUse this Skill whenever users need Stitch-ready wording, prompt refinements, or style-consistent rewrites.
Generate optimized prompts in feature-based directories with organized artifact storage:
Feature Name (Directory):
a-z0-9- characters, collapse duplicate hyphens, trim endsdashboard, "landing page" → landing, "admin panel" → admin-panelDirectory Structure:
design-intent/google-stitch/{feature}/exports/ - For Stitch-generated outputs (PNG, SVG, HTML)wireframes/ - For pre-work mockups and reference imagesFile Composition:
<!-- Layout: {Title Case Name} --> HTML comment label--- separator line<!-- Component: {Title Case Name} --> HTML comment label--- separator (between components, not after last)6-Prompt Stitch Limit:
prompt-v{version}.mdprompt-v{version}-part{N}.mdVersion Auto-Increment:
design-intent/google-stitch/{feature}/prompt-v*.mdFile Path Resolution:
git rev-parse --show-toplevel{root}/design-intent/google-stitch/{feature}/ directory{feature}/exports/ and {feature}/wireframes/ subdirectories{feature}/prompt-v{version}.mdReport:
📂 Feature: {feature}/
📄 File: prompt-v{version}.md
Contains {N} prompts (within 6-prompt limit ✓):
• Layout: {Title}
• Component: {Title}
• Component: {Title}
Directory structure:
design-intent/google-stitch/{feature}/
├── prompt-v{version}.md ← Generated prompt
├── exports/ ← Place Stitch outputs here
└── wireframes/ ← Place mockups/references here
Usage:
1. Copy prompt file → Paste into Stitch → Generate designs
2. Save Stitch exports to exports/ directory
3. Store wireframes/mockups in wireframes/ directory
Examples:
Multi-component page (4 prompts):
Input: "Analytics dashboard with KPI cards, revenue chart, and subscriptions table"
Output: design-intent/google-stitch/dashboard/prompt-v1.md
Directory created:
design-intent/google-stitch/dashboard/
├── prompt-v1.md
├── exports/
└── wireframes/
File content:
<!-- Layout: Analytics Dashboard -->
Design a web dashboard page for SaaS analytics overview.
[...layout prompt content...]
---
<!-- Component: KPI Metrics -->
Design metric cards displaying key SaaS performance indicators.
[...component prompt content...]
---
<!-- Component: Revenue Chart -->
Design an interactive line chart for monthly revenue tracking.
[...component prompt content...]
---
<!-- Component: Subscriptions Table -->
Design a subscription activity table showing recent changes.
[...component prompt content...]
Single component (1 prompt):
Input: "Login form with email and password"
Output: design-intent/google-stitch/login/prompt-v1.md
Directory created:
design-intent/google-stitch/login/
├── prompt-v1.md
├── exports/
└── wireframes/
File content:
<!-- Component: Login Form -->
Design a login form for web application.
[...component prompt content...]
Large page split (8 prompts → 2 files):
Input: "Admin panel with navigation, dashboard, users, roles, settings, audit logs, notifications"
Output: design-intent/google-stitch/admin-panel/prompt-v1-part1.md (6 prompts)
- Layout: Admin Panel
- Component: Navigation
- Component: Dashboard
- Component: Users
- Component: Roles
- Component: Settings
Output: design-intent/google-stitch/admin-panel/prompt-v1-part2.md (2 prompts)
- Component: Audit Logs
- Component: Notifications
Directory created:
design-intent/google-stitch/admin-panel/
├── prompt-v1-part1.md
├── prompt-v1-part2.md
├── exports/
└── wireframes/
⚠️ Warning: Use part1 first, then part2 in separate Stitch session
Iteration (auto-increment):
Existing: design-intent/google-stitch/dashboard/prompt-v1.md
Input: "Update analytics dashboard with new metrics"
Auto-detected version → prompt-v2.md
Output: design-intent/google-stitch/dashboard/prompt-v2.md
Directory structure:
design-intent/google-stitch/dashboard/
├── prompt-v1.md ← Previous version
├── prompt-v2.md ← New version
├── exports/
└── wireframes/
(Entire file versioned together, versions coexist in same directory)
Feature Directory Benefits:
--- separator conventionAccepted
/specs/dashboard.md)/prompt command (see below)When invoked via the /prompt command with user preferences, the skill receives structured input:
Brief: dashboard for fitness app
Components: activity-summary, workout-chart, goals-progress
Style: Consumer
Structure: Combined
Field Handling:
| Field | Behavior |
|---|---|
Brief | Original user input - process normally |
Components | Use specified list, skip auto-detection |
Style | Apply style mapping, override design context |
Structure | Respect choice: Combined/Split/Auto |
Style Mapping:
| Style Value | Applied Cues |
|---|---|
| Enterprise | enterprise-grade, professional, data-dense, clean sans-serif typography |
| Consumer | friendly, approachable, vibrant accents, generous whitespace |
| Minimal | clean, minimal, ample whitespace, subtle shadows, restrained palette |
| Playful | playful, colorful, fun, animated feel, rounded corners, bold typography |
| Custom: [text] | Extract cues from user's custom description |
| Auto | Use design context discovery (Step 0.5) |
Structure Handling:
| Structure Value | Behavior |
|---|---|
| Combined | Skip split detection, generate single file with all components |
| Split | Force separate prompts per component |
| Auto | Use smart defaults (Step 1.5/1.6) |
See WORKFLOW.md for detailed parsing logic.
Input Detail Levels
All detail levels are valid—Stitch infers patterns from minimal descriptions:
Use adjectives to convey vibe when details are sparse ("vibrant fitness app", "minimal meditation app").
High-level loop: parse → condense → format → validate.
Detailed branching logic, including cue extraction and revision handling, lives in WORKFLOW.md.
Prompts must follow the Stitch-friendly template:
Reference templates/authoring-stitch-prompts-template.md for wording patterns and templates/layout-prompt-template.md for layout/foundation prompts.
Representative before/after samples (SaaS dashboard, banking app, iterative edits, spec conversions) are in EXAMPLES.md. Use them to mirror tone and formatting; keep this file lean by not re-embedding the full transcripts here.
REFERENCE.md or templates/authoring-stitch-prompts-template.md.When design-intent/ exists in the project, the skill enhances style cues with project context:
The skill does NOT inject specific tokens (hex colors, spacing values)—only high-level descriptors that help Stitch generate contextually appropriate designs.
Fallback behavior: If design-intent/ is not found, the skill works standalone using default style cues.
See WORKFLOW.md for discovery logic and WORKFLOW.md for injection rules.
For advanced usage:
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience