@dedesfr/prompter 0.8.5 → 0.8.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +48 -0
- package/convex-setup.md +403 -0
- package/dist/cli/index.js +1 -1
- package/package.json +1 -1
- package/skills/design-md/README.md +34 -0
- package/skills/design-md/SKILL.md +172 -0
- package/skills/design-md/examples/DESIGN.md +154 -0
- package/skills/enhance-prompt/README.md +34 -0
- package/skills/enhance-prompt/SKILL.md +204 -0
- package/skills/enhance-prompt/references/KEYWORDS.md +114 -0
- package/skills/feature-planner/SKILL.md +305 -0
- package/skills/feature-planner/assets/implementation-plan-template.md +85 -0
- package/skills/project-orchestrator/SKILL.md +34 -0
- package/skills/project-orchestrator/assets/plan-summary-template.md +38 -4
- package/skills/prompter-workflow/SKILL.md +166 -0
- package/skills/prompter-workflow/evals/evals.json +89 -0
- package/src/cli/index.ts +1 -1
- package/skills/skill-creator/LICENSE.txt +0 -202
- package/skills/skill-creator/SKILL.md +0 -485
- package/skills/skill-creator/agents/analyzer.md +0 -274
- package/skills/skill-creator/agents/comparator.md +0 -202
- package/skills/skill-creator/agents/grader.md +0 -223
- package/skills/skill-creator/assets/eval_review.html +0 -146
- package/skills/skill-creator/eval-viewer/generate_review.py +0 -471
- package/skills/skill-creator/eval-viewer/viewer.html +0 -1325
- package/skills/skill-creator/references/schemas.md +0 -430
- package/skills/skill-creator/scripts/__init__.py +0 -0
- package/skills/skill-creator/scripts/aggregate_benchmark.py +0 -401
- package/skills/skill-creator/scripts/generate_report.py +0 -326
- package/skills/skill-creator/scripts/improve_description.py +0 -247
- package/skills/skill-creator/scripts/package_skill.py +0 -136
- package/skills/skill-creator/scripts/quick_validate.py +0 -103
- package/skills/skill-creator/scripts/run_eval.py +0 -310
- package/skills/skill-creator/scripts/run_loop.py +0 -328
- package/skills/skill-creator/scripts/utils.py +0 -47
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
# Design System: Furniture Collections List
|
|
2
|
+
**Project ID:** 13534454087919359824
|
|
3
|
+
|
|
4
|
+
## 1. Visual Theme & Atmosphere
|
|
5
|
+
|
|
6
|
+
The Furniture Collections List embodies a **sophisticated, minimalist sanctuary** that marries the pristine simplicity of Scandinavian design with the refined visual language of luxury editorial presentation. The interface feels **spacious and tranquil**, prioritizing breathing room and visual clarity above all else. The design philosophy is gallery-like and photography-first, allowing each furniture piece to command attention as an individual art object.
|
|
7
|
+
|
|
8
|
+
The overall mood is **airy yet grounded**, creating an aspirational aesthetic that remains approachable and welcoming. The interface feels **utilitarian in its restraint** but elegant in its execution, with every element serving a clear purpose while maintaining visual sophistication. The atmosphere evokes the serene ambiance of a high-end furniture showroom where customers can browse thoughtfully without visual overwhelm.
|
|
9
|
+
|
|
10
|
+
**Key Characteristics:**
|
|
11
|
+
- Expansive whitespace creating generous breathing room between elements
|
|
12
|
+
- Clean, architectural grid system with structured content blocks
|
|
13
|
+
- Photography-first presentation with minimal UI interference
|
|
14
|
+
- Whisper-soft visual hierarchy that guides without shouting
|
|
15
|
+
- Refined, understated interactive elements
|
|
16
|
+
- Professional yet inviting editorial tone
|
|
17
|
+
|
|
18
|
+
## 2. Color Palette & Roles
|
|
19
|
+
|
|
20
|
+
### Primary Foundation
|
|
21
|
+
- **Warm Barely-There Cream** (#FCFAFA) – Primary background color. Creates an almost imperceptible warmth that feels more inviting than pure white, serving as the serene canvas for the entire experience.
|
|
22
|
+
- **Crisp Very Light Gray** (#F5F5F5) – Secondary surface color used for card backgrounds and content areas. Provides subtle visual separation while maintaining the airy, ethereal quality.
|
|
23
|
+
|
|
24
|
+
### Accent & Interactive
|
|
25
|
+
- **Deep Muted Teal-Navy** (#294056) – The sole vibrant accent in the palette. Used exclusively for primary call-to-action buttons (e.g., "Shop Now", "View all products"), active navigation links, selected filter states, and subtle interaction highlights. This sophisticated anchor color creates visual focus points without disrupting the serene neutral foundation.
|
|
26
|
+
|
|
27
|
+
### Typography & Text Hierarchy
|
|
28
|
+
- **Charcoal Near-Black** (#2C2C2C) – Primary text color for headlines and product names. Provides strong readable contrast while being softer and more refined than pure black.
|
|
29
|
+
- **Soft Warm Gray** (#6B6B6B) – Secondary text used for body copy, product descriptions, and supporting metadata. Creates clear typographic hierarchy without harsh contrast.
|
|
30
|
+
- **Ultra-Soft Silver Gray** (#E0E0E0) – Tertiary color for borders, dividers, and subtle structural elements. Creates separation so gentle it's almost imperceptible.
|
|
31
|
+
|
|
32
|
+
### Functional States (Reserved for system feedback)
|
|
33
|
+
- **Success Moss** (#10B981) – Stock availability, confirmation states, positive indicators
|
|
34
|
+
- **Alert Terracotta** (#EF4444) – Low stock warnings, error states, critical alerts
|
|
35
|
+
- **Informational Slate** (#64748B) – Neutral system messages, informational callouts
|
|
36
|
+
|
|
37
|
+
## 3. Typography Rules
|
|
38
|
+
|
|
39
|
+
**Primary Font Family:** Manrope
|
|
40
|
+
**Character:** Modern, geometric sans-serif with gentle humanist warmth. Slightly rounded letterforms that feel contemporary yet approachable.
|
|
41
|
+
|
|
42
|
+
### Hierarchy & Weights
|
|
43
|
+
- **Display Headlines (H1):** Semi-bold weight (600), generous letter-spacing (0.02em for elegance), 2.75-3.5rem size. Used sparingly for hero sections and major page titles.
|
|
44
|
+
- **Section Headers (H2):** Semi-bold weight (600), subtle letter-spacing (0.01em), 2-2.5rem size. Establishes clear content zones and featured collections.
|
|
45
|
+
- **Subsection Headers (H3):** Medium weight (500), normal letter-spacing, 1.5-1.75rem size. Product names and category labels.
|
|
46
|
+
- **Body Text:** Regular weight (400), relaxed line-height (1.7), 1rem size. Descriptions and supporting content prioritize comfortable readability.
|
|
47
|
+
- **Small Text/Meta:** Regular weight (400), slightly tighter line-height (1.5), 0.875rem size. Prices, availability, and metadata remain legible but visually recessive.
|
|
48
|
+
- **CTA Buttons:** Medium weight (500), subtle letter-spacing (0.01em), 1rem size. Balanced presence without visual aggression.
|
|
49
|
+
|
|
50
|
+
### Spacing Principles
|
|
51
|
+
- Headers use slightly expanded letter-spacing for refined elegance
|
|
52
|
+
- Body text maintains generous line-height (1.7) for effortless reading
|
|
53
|
+
- Consistent vertical rhythm with 2-3rem between related text blocks
|
|
54
|
+
- Large margins (4-6rem) between major sections to reinforce spaciousness
|
|
55
|
+
|
|
56
|
+
## 4. Component Stylings
|
|
57
|
+
|
|
58
|
+
### Buttons
|
|
59
|
+
- **Shape:** Subtly rounded corners (8px/0.5rem radius) – approachable and modern without appearing playful or childish
|
|
60
|
+
- **Primary CTA:** Deep Muted Teal-Navy (#294056) background with pure white text, comfortable padding (0.875rem vertical, 2rem horizontal)
|
|
61
|
+
- **Hover State:** Subtle darkening to deeper navy, smooth 250ms ease-in-out transition
|
|
62
|
+
- **Focus State:** Soft outer glow in the primary color for keyboard navigation accessibility
|
|
63
|
+
- **Secondary CTA (if needed):** Outlined style with Deep Muted Teal-Navy border, transparent background, hover fills with whisper-soft teal tint
|
|
64
|
+
|
|
65
|
+
### Cards & Product Containers
|
|
66
|
+
- **Corner Style:** Gently rounded corners (12px/0.75rem radius) creating soft, refined edges
|
|
67
|
+
- **Background:** Alternates between Warm Barely-There Cream and Crisp Very Light Gray based on layering needs
|
|
68
|
+
- **Shadow Strategy:** Flat by default. On hover, whisper-soft diffused shadow appears (`0 2px 8px rgba(0,0,0,0.06)`) creating subtle depth
|
|
69
|
+
- **Border:** Optional hairline border (1px) in Ultra-Soft Silver Gray for delicate definition when shadows aren't present
|
|
70
|
+
- **Internal Padding:** Generous 2-2.5rem creating comfortable breathing room for content
|
|
71
|
+
- **Image Treatment:** Full-bleed at the top of cards, square or 4:3 ratio, seamless edge-to-edge presentation
|
|
72
|
+
|
|
73
|
+
### Navigation
|
|
74
|
+
- **Style:** Clean horizontal layout with generous spacing (2-3rem) between menu items
|
|
75
|
+
- **Typography:** Medium weight (500), subtle uppercase, expanded letter-spacing (0.06em) for refined sophistication
|
|
76
|
+
- **Default State:** Charcoal Near-Black text
|
|
77
|
+
- **Active/Hover State:** Smooth 200ms color transition to Deep Muted Teal-Navy
|
|
78
|
+
- **Active Indicator:** Thin underline (2px) in Deep Muted Teal-Navy appearing below current section
|
|
79
|
+
- **Mobile:** Converts to elegant hamburger menu with sliding drawer
|
|
80
|
+
|
|
81
|
+
### Inputs & Forms
|
|
82
|
+
- **Stroke Style:** Refined 1px border in Soft Warm Gray
|
|
83
|
+
- **Background:** Warm Barely-There Cream with transition to Crisp Very Light Gray on focus
|
|
84
|
+
- **Corner Style:** Matching button roundness (8px/0.5rem) for visual consistency
|
|
85
|
+
- **Focus State:** Border color shifts to Deep Muted Teal-Navy with subtle outer glow
|
|
86
|
+
- **Padding:** Comfortable 0.875rem vertical, 1.25rem horizontal for touch-friendly targets
|
|
87
|
+
- **Placeholder Text:** Ultra-Soft Silver Gray, elegant and unobtrusive
|
|
88
|
+
|
|
89
|
+
### Product Cards (Specific Pattern)
|
|
90
|
+
- **Image Area:** Square (1:1) or landscape (4:3) ratio filling card width completely
|
|
91
|
+
- **Content Stack:** Product name (H3), brief descriptor, material/finish, price
|
|
92
|
+
- **Price Display:** Emphasized with semi-bold weight (600) in Charcoal Near-Black
|
|
93
|
+
- **Hover Behavior:** Gentle lift effect (translateY -4px) combined with enhanced shadow
|
|
94
|
+
- **Spacing:** Consistent 1.5rem internal padding below image
|
|
95
|
+
|
|
96
|
+
## 5. Layout Principles
|
|
97
|
+
|
|
98
|
+
### Grid & Structure
|
|
99
|
+
- **Max Content Width:** 1440px for optimal readability and visual balance on large displays
|
|
100
|
+
- **Grid System:** Responsive 12-column grid with fluid gutters (24px mobile, 32px desktop)
|
|
101
|
+
- **Product Grid:** 4 columns on large desktop, 3 on desktop, 2 on tablet, 1 on mobile
|
|
102
|
+
- **Breakpoints:**
|
|
103
|
+
- Mobile: <768px
|
|
104
|
+
- Tablet: 768-1024px
|
|
105
|
+
- Desktop: 1024-1440px
|
|
106
|
+
- Large Desktop: >1440px
|
|
107
|
+
|
|
108
|
+
### Whitespace Strategy (Critical to the Design)
|
|
109
|
+
- **Base Unit:** 8px for micro-spacing, 16px for component spacing
|
|
110
|
+
- **Vertical Rhythm:** Consistent 2rem (32px) base unit between related elements
|
|
111
|
+
- **Section Margins:** Generous 5-8rem (80-128px) between major sections creating dramatic breathing room
|
|
112
|
+
- **Edge Padding:** 1.5rem (24px) mobile, 3rem (48px) tablet/desktop for comfortable framing
|
|
113
|
+
- **Hero Sections:** Extra-generous top/bottom padding (8-12rem) for impactful presentation
|
|
114
|
+
|
|
115
|
+
### Alignment & Visual Balance
|
|
116
|
+
- **Text Alignment:** Left-aligned for body and navigation (optimal readability), centered for hero headlines and featured content
|
|
117
|
+
- **Image to Text Ratio:** Heavily weighted toward imagery (70-30 split) reinforcing photography-first philosophy
|
|
118
|
+
- **Asymmetric Balance:** Large hero images offset by compact, refined text blocks
|
|
119
|
+
- **Visual Weight Distribution:** Strategic use of whitespace to draw eyes to hero products and primary CTAs
|
|
120
|
+
- **Reading Flow:** Clear top-to-bottom, left-to-right pattern with intentional focal points
|
|
121
|
+
|
|
122
|
+
### Responsive Behavior & Touch
|
|
123
|
+
- **Mobile-First Foundation:** Core experience designed and perfected for smallest screens first
|
|
124
|
+
- **Progressive Enhancement:** Additional columns, imagery, and details added gracefully at larger breakpoints
|
|
125
|
+
- **Touch Targets:** Minimum 44x44px for all interactive elements (WCAG AAA compliant)
|
|
126
|
+
- **Image Optimization:** Responsive images with appropriate resolutions for each breakpoint, lazy-loading for performance
|
|
127
|
+
- **Collapsing Strategy:** Navigation collapses to hamburger, grid reduces columns, padding scales proportionally
|
|
128
|
+
|
|
129
|
+
## 6. Design System Notes for Stitch Generation
|
|
130
|
+
|
|
131
|
+
When creating new screens for this project using Stitch, reference these specific instructions:
|
|
132
|
+
|
|
133
|
+
### Language to Use
|
|
134
|
+
- **Atmosphere:** "Sophisticated minimalist sanctuary with gallery-like spaciousness"
|
|
135
|
+
- **Button Shapes:** "Subtly rounded corners" (not "rounded-md" or "8px")
|
|
136
|
+
- **Shadows:** "Whisper-soft diffused shadows on hover" (not "shadow-sm")
|
|
137
|
+
- **Spacing:** "Generous breathing room" and "expansive whitespace"
|
|
138
|
+
|
|
139
|
+
### Color References
|
|
140
|
+
Always use the descriptive names with hex codes:
|
|
141
|
+
- Primary CTA: "Deep Muted Teal-Navy (#294056)"
|
|
142
|
+
- Backgrounds: "Warm Barely-There Cream (#FCFAFA)" or "Crisp Very Light Gray (#F5F5F5)"
|
|
143
|
+
- Text: "Charcoal Near-Black (#2C2C2C)" or "Soft Warm Gray (#6B6B6B)"
|
|
144
|
+
|
|
145
|
+
### Component Prompts
|
|
146
|
+
- "Create a product card with gently rounded corners, full-bleed square product image, and whisper-soft shadow on hover"
|
|
147
|
+
- "Design a primary call-to-action button in Deep Muted Teal-Navy (#294056) with subtle rounded corners and comfortable padding"
|
|
148
|
+
- "Add a navigation bar with generous spacing between items, using medium-weight Manrope with subtle uppercase and expanded letter-spacing"
|
|
149
|
+
|
|
150
|
+
### Incremental Iteration
|
|
151
|
+
When refining existing screens:
|
|
152
|
+
1. Focus on ONE component at a time (e.g., "Update the product grid cards")
|
|
153
|
+
2. Be specific about what to change (e.g., "Increase the internal padding of product cards from 1.5rem to 2rem")
|
|
154
|
+
3. Reference this design system language consistently
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Stitch Enhance Prompt Skill
|
|
2
|
+
|
|
3
|
+
## Install
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npx skills add google-labs-code/stitch-skills --skill enhance-prompt --global
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## Example Prompt
|
|
10
|
+
|
|
11
|
+
```text
|
|
12
|
+
Enhance my prompt "make me a login page" for better Stitch generation results.
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Skill Structure
|
|
16
|
+
|
|
17
|
+
This repository follows the **Agent Skills** open standard. Each skill is self-contained with its own logic, workflow, and reference materials.
|
|
18
|
+
|
|
19
|
+
```text
|
|
20
|
+
enhance-prompt/
|
|
21
|
+
├── SKILL.md — Core instructions & workflow
|
|
22
|
+
├── references/ — UI/UX vocabulary and adjective palettes
|
|
23
|
+
└── README.md — This file
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## How it Works
|
|
27
|
+
|
|
28
|
+
When activated, the agent follows a prompt enhancement pipeline:
|
|
29
|
+
|
|
30
|
+
1. **Assessment**: Evaluates the input for missing elements (platform, structure, visual style, colors).
|
|
31
|
+
2. **DESIGN.md Check**: Looks for an existing design system to inject; recommends creating one if missing.
|
|
32
|
+
3. **Enhancement**: Applies UI/UX keywords, vibe adjectives, and structured page sections.
|
|
33
|
+
4. **Formatting**: Outputs a Stitch-optimized prompt with design system block and numbered structure.
|
|
34
|
+
5. **Delivery**: Returns enhanced text for user review, with optional file output.
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: enhance-prompt
|
|
3
|
+
description: Transforms vague UI ideas into polished, Stitch-optimized prompts. Enhances specificity, adds UI/UX keywords, injects design system context, and structures output for better generation results.
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- "Read"
|
|
6
|
+
- "Write"
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Enhance Prompt for Stitch
|
|
10
|
+
|
|
11
|
+
You are a **Stitch Prompt Engineer**. Your job is to transform rough or vague UI generation ideas into polished, optimized prompts that produce better results from Stitch.
|
|
12
|
+
|
|
13
|
+
## Prerequisites
|
|
14
|
+
|
|
15
|
+
Before enhancing prompts, consult the official Stitch documentation for the latest best practices:
|
|
16
|
+
|
|
17
|
+
- **Stitch Effective Prompting Guide**: https://stitch.withgoogle.com/docs/learn/prompting/
|
|
18
|
+
|
|
19
|
+
This guide contains up-to-date recommendations that may supersede or complement the patterns in this skill.
|
|
20
|
+
|
|
21
|
+
## When to Use This Skill
|
|
22
|
+
|
|
23
|
+
Activate when a user wants to:
|
|
24
|
+
- Polish a UI prompt before sending to Stitch
|
|
25
|
+
- Improve a prompt that produced poor results
|
|
26
|
+
- Add design system consistency to a simple idea
|
|
27
|
+
- Structure a vague concept into an actionable prompt
|
|
28
|
+
|
|
29
|
+
## Enhancement Pipeline
|
|
30
|
+
|
|
31
|
+
Follow these steps to enhance any prompt:
|
|
32
|
+
|
|
33
|
+
### Step 1: Assess the Input
|
|
34
|
+
|
|
35
|
+
Evaluate what's missing from the user's prompt:
|
|
36
|
+
|
|
37
|
+
| Element | Check for | If missing... |
|
|
38
|
+
|---------|-----------|---------------|
|
|
39
|
+
| **Platform** | "web", "mobile", "desktop" | Add based on context or ask |
|
|
40
|
+
| **Page type** | "landing page", "dashboard", "form" | Infer from description |
|
|
41
|
+
| **Structure** | Numbered sections/components | Create logical page structure |
|
|
42
|
+
| **Visual style** | Adjectives, mood, vibe | Add appropriate descriptors |
|
|
43
|
+
| **Colors** | Specific values or roles | Add design system or suggest |
|
|
44
|
+
| **Components** | UI-specific terms | Translate to proper keywords |
|
|
45
|
+
|
|
46
|
+
### Step 2: Check for DESIGN.md
|
|
47
|
+
|
|
48
|
+
Look for a `DESIGN.md` file in the current project:
|
|
49
|
+
|
|
50
|
+
**If DESIGN.md exists:**
|
|
51
|
+
1. Read the file to extract the design system block
|
|
52
|
+
2. Include the color palette, typography, and component styles
|
|
53
|
+
3. Format as a "DESIGN SYSTEM (REQUIRED)" section in the output
|
|
54
|
+
|
|
55
|
+
**If DESIGN.md does not exist:**
|
|
56
|
+
1. Add this note at the end of the enhanced prompt:
|
|
57
|
+
|
|
58
|
+
```
|
|
59
|
+
---
|
|
60
|
+
💡 **Tip:** For consistent designs across multiple screens, create a DESIGN.md
|
|
61
|
+
file using the `design-md` skill. This ensures all generated pages share the
|
|
62
|
+
same visual language.
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### Step 3: Apply Enhancements
|
|
66
|
+
|
|
67
|
+
Transform the input using these techniques:
|
|
68
|
+
|
|
69
|
+
#### A. Add UI/UX Keywords
|
|
70
|
+
|
|
71
|
+
Replace vague terms with specific component names:
|
|
72
|
+
|
|
73
|
+
| Vague | Enhanced |
|
|
74
|
+
|-------|----------|
|
|
75
|
+
| "menu at the top" | "navigation bar with logo and menu items" |
|
|
76
|
+
| "button" | "primary call-to-action button" |
|
|
77
|
+
| "list of items" | "card grid layout" or "vertical list with thumbnails" |
|
|
78
|
+
| "form" | "form with labeled input fields and submit button" |
|
|
79
|
+
| "picture area" | "hero section with full-width image" |
|
|
80
|
+
|
|
81
|
+
#### B. Amplify the Vibe
|
|
82
|
+
|
|
83
|
+
Add descriptive adjectives to set the mood:
|
|
84
|
+
|
|
85
|
+
| Basic | Enhanced |
|
|
86
|
+
|-------|----------|
|
|
87
|
+
| "modern" | "clean, minimal, with generous whitespace" |
|
|
88
|
+
| "professional" | "sophisticated, trustworthy, with subtle shadows" |
|
|
89
|
+
| "fun" | "vibrant, playful, with rounded corners and bold colors" |
|
|
90
|
+
| "dark mode" | "dark theme with high-contrast accents on deep backgrounds" |
|
|
91
|
+
|
|
92
|
+
#### C. Structure the Page
|
|
93
|
+
|
|
94
|
+
Organize content into numbered sections:
|
|
95
|
+
|
|
96
|
+
```markdown
|
|
97
|
+
**Page Structure:**
|
|
98
|
+
1. **Header:** Navigation with logo and menu items
|
|
99
|
+
2. **Hero Section:** Headline, subtext, and primary CTA
|
|
100
|
+
3. **Content Area:** [Describe the main content]
|
|
101
|
+
4. **Footer:** Links, social icons, copyright
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
#### D. Format Colors Properly
|
|
105
|
+
|
|
106
|
+
When colors are mentioned, format them as:
|
|
107
|
+
```
|
|
108
|
+
Descriptive Name (#hexcode) for functional role
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
Examples:
|
|
112
|
+
- "Deep Ocean Blue (#1a365d) for primary buttons and links"
|
|
113
|
+
- "Warm Cream (#faf5f0) for page background"
|
|
114
|
+
- "Soft Gray (#6b7280) for secondary text"
|
|
115
|
+
|
|
116
|
+
### Step 4: Format the Output
|
|
117
|
+
|
|
118
|
+
Structure the enhanced prompt in this order:
|
|
119
|
+
|
|
120
|
+
```markdown
|
|
121
|
+
[One-line description of the page purpose and vibe]
|
|
122
|
+
|
|
123
|
+
**DESIGN SYSTEM (REQUIRED):**
|
|
124
|
+
- Platform: [Web/Mobile], [Desktop/Mobile]-first
|
|
125
|
+
- Theme: [Light/Dark], [style descriptors]
|
|
126
|
+
- Background: [Color description] (#hex)
|
|
127
|
+
- Primary Accent: [Color description] (#hex) for [role]
|
|
128
|
+
- Text Primary: [Color description] (#hex)
|
|
129
|
+
- [Additional design tokens...]
|
|
130
|
+
|
|
131
|
+
**Page Structure:**
|
|
132
|
+
1. **[Section]:** [Description]
|
|
133
|
+
2. **[Section]:** [Description]
|
|
134
|
+
...
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
## Output Options
|
|
138
|
+
|
|
139
|
+
**Default:** Return the enhanced prompt as text for the user to copy.
|
|
140
|
+
|
|
141
|
+
**Optional file output:** If the user requests, write to a file:
|
|
142
|
+
- `next-prompt.md` — for use with the `stitch-loop` skill
|
|
143
|
+
- Custom filename specified by user
|
|
144
|
+
|
|
145
|
+
## Examples
|
|
146
|
+
|
|
147
|
+
### Example 1: Vague Input → Structured Prompt
|
|
148
|
+
|
|
149
|
+
**User input:**
|
|
150
|
+
> "make me a login page"
|
|
151
|
+
|
|
152
|
+
**Enhanced output:**
|
|
153
|
+
```markdown
|
|
154
|
+
A clean, trustworthy login page with a centered form and subtle branding.
|
|
155
|
+
|
|
156
|
+
**DESIGN SYSTEM (REQUIRED):**
|
|
157
|
+
- Platform: Web, Desktop-first
|
|
158
|
+
- Theme: Light, minimal, professional
|
|
159
|
+
- Background: Clean White (#ffffff)
|
|
160
|
+
- Surface: Soft Gray (#f9fafb) for form card
|
|
161
|
+
- Primary Accent: Deep Blue (#2563eb) for submit button and links
|
|
162
|
+
- Text Primary: Near Black (#111827) for headings
|
|
163
|
+
- Text Secondary: Medium Gray (#6b7280) for labels
|
|
164
|
+
- Buttons: Subtly rounded (8px), full-width on form
|
|
165
|
+
- Cards: Gently rounded (12px), soft shadow for elevation
|
|
166
|
+
|
|
167
|
+
**Page Structure:**
|
|
168
|
+
1. **Header:** Minimal logo, centered
|
|
169
|
+
2. **Login Card:** Centered form with email, password fields, "Forgot password?" link
|
|
170
|
+
3. **Submit Button:** Primary blue "Sign In" button
|
|
171
|
+
4. **Footer:** "Don't have an account? Sign up" link
|
|
172
|
+
|
|
173
|
+
---
|
|
174
|
+
💡 **Tip:** For consistent designs across multiple screens, create a DESIGN.md
|
|
175
|
+
file using the `design-md` skill.
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
### Example 2: Feature Request → Targeted Edit
|
|
179
|
+
|
|
180
|
+
**User input:**
|
|
181
|
+
> "add a search bar"
|
|
182
|
+
|
|
183
|
+
**Enhanced output:**
|
|
184
|
+
```markdown
|
|
185
|
+
Add a search bar to the header navigation.
|
|
186
|
+
|
|
187
|
+
**Specific changes:**
|
|
188
|
+
- Location: Header, right side before user avatar
|
|
189
|
+
- Style: Pill-shaped input with subtle gray background (#f3f4f6)
|
|
190
|
+
- Icon: Magnifying glass icon on the left, inside the input
|
|
191
|
+
- Placeholder: "Search..." in light gray (#9ca3af)
|
|
192
|
+
- Behavior: Expands on focus with subtle shadow
|
|
193
|
+
- Width: 240px default, 320px on focus
|
|
194
|
+
|
|
195
|
+
**Context:** This is a targeted edit. Make only this change while preserving all existing elements.
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
## Tips for Best Results
|
|
199
|
+
|
|
200
|
+
1. **Be specific early** — Vague inputs need more enhancement
|
|
201
|
+
2. **Match the user's intent** — Don't over-design if they want simple
|
|
202
|
+
3. **Keep it structured** — Numbered sections help Stitch understand hierarchy
|
|
203
|
+
4. **Include the design system** — Consistency is key for multi-page projects
|
|
204
|
+
5. **One change at a time for edits** — Don't bundle unrelated changes
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
# UI/UX Keywords Reference
|
|
2
|
+
|
|
3
|
+
Progressive disclosure reference for common UI terminology and adjective palettes.
|
|
4
|
+
|
|
5
|
+
## Component Keywords
|
|
6
|
+
|
|
7
|
+
### Navigation
|
|
8
|
+
- navigation bar, nav menu, header
|
|
9
|
+
- breadcrumbs, tabs, sidebar
|
|
10
|
+
- hamburger menu, dropdown menu
|
|
11
|
+
- back button, close button
|
|
12
|
+
|
|
13
|
+
### Content Containers
|
|
14
|
+
- hero section, hero banner
|
|
15
|
+
- card, card grid, tile
|
|
16
|
+
- modal, dialog, popup
|
|
17
|
+
- accordion, collapsible section
|
|
18
|
+
- carousel, slider
|
|
19
|
+
|
|
20
|
+
### Forms
|
|
21
|
+
- input field, text input
|
|
22
|
+
- dropdown, select menu
|
|
23
|
+
- checkbox, radio button
|
|
24
|
+
- toggle switch
|
|
25
|
+
- date picker, time picker
|
|
26
|
+
- search bar, search input
|
|
27
|
+
- submit button, form actions
|
|
28
|
+
|
|
29
|
+
### Calls to Action
|
|
30
|
+
- primary button, secondary button
|
|
31
|
+
- ghost button, text link
|
|
32
|
+
- floating action button (FAB)
|
|
33
|
+
- icon button
|
|
34
|
+
|
|
35
|
+
### Feedback
|
|
36
|
+
- toast notification, snackbar
|
|
37
|
+
- alert banner, warning message
|
|
38
|
+
- loading spinner, skeleton loader
|
|
39
|
+
- progress bar, step indicator
|
|
40
|
+
|
|
41
|
+
### Layout
|
|
42
|
+
- grid layout, flexbox
|
|
43
|
+
- sidebar layout, split view
|
|
44
|
+
- sticky header, fixed footer
|
|
45
|
+
- full-width, contained width
|
|
46
|
+
- centered content, max-width container
|
|
47
|
+
|
|
48
|
+
## Adjective Palettes
|
|
49
|
+
|
|
50
|
+
### Minimal / Clean
|
|
51
|
+
- minimal, clean, uncluttered
|
|
52
|
+
- generous whitespace, breathing room
|
|
53
|
+
- subtle, understated, refined
|
|
54
|
+
- simple, focused, distraction-free
|
|
55
|
+
|
|
56
|
+
### Professional / Corporate
|
|
57
|
+
- sophisticated, polished, trustworthy
|
|
58
|
+
- corporate, business-like, formal
|
|
59
|
+
- subtle shadows, clean lines
|
|
60
|
+
- structured, organized, hierarchical
|
|
61
|
+
|
|
62
|
+
### Playful / Fun
|
|
63
|
+
- vibrant, colorful, energetic
|
|
64
|
+
- rounded corners, soft edges
|
|
65
|
+
- bold, expressive, dynamic
|
|
66
|
+
- friendly, approachable, warm
|
|
67
|
+
|
|
68
|
+
### Premium / Luxury
|
|
69
|
+
- elegant, luxurious, high-end
|
|
70
|
+
- dramatic, bold contrasts
|
|
71
|
+
- sleek, modern, cutting-edge
|
|
72
|
+
- exclusive, boutique, curated
|
|
73
|
+
|
|
74
|
+
### Dark Mode
|
|
75
|
+
- dark theme, night mode
|
|
76
|
+
- high-contrast accents
|
|
77
|
+
- soft glows, subtle highlights
|
|
78
|
+
- deep backgrounds, muted surfaces
|
|
79
|
+
|
|
80
|
+
### Organic / Natural
|
|
81
|
+
- earthy tones, natural colors
|
|
82
|
+
- warm, inviting, cozy
|
|
83
|
+
- textured, tactile, handcrafted
|
|
84
|
+
- flowing, organic shapes
|
|
85
|
+
|
|
86
|
+
## Color Role Terminology
|
|
87
|
+
|
|
88
|
+
### Backgrounds
|
|
89
|
+
- page background, canvas
|
|
90
|
+
- surface color, card background
|
|
91
|
+
- overlay, scrim
|
|
92
|
+
|
|
93
|
+
### Text
|
|
94
|
+
- primary text, heading color
|
|
95
|
+
- secondary text, body copy
|
|
96
|
+
- muted text, placeholder
|
|
97
|
+
- inverse text (on dark backgrounds)
|
|
98
|
+
|
|
99
|
+
### Accents
|
|
100
|
+
- primary accent, brand color
|
|
101
|
+
- secondary accent, highlight
|
|
102
|
+
- success, error, warning colors
|
|
103
|
+
- hover state, active state
|
|
104
|
+
|
|
105
|
+
## Shape Descriptions
|
|
106
|
+
|
|
107
|
+
| Technical | Natural Language |
|
|
108
|
+
|-----------|------------------|
|
|
109
|
+
| `rounded-none` | sharp, squared-off edges |
|
|
110
|
+
| `rounded-sm` | slightly softened corners |
|
|
111
|
+
| `rounded-md` | gently rounded corners |
|
|
112
|
+
| `rounded-lg` | generously rounded corners |
|
|
113
|
+
| `rounded-xl` | very rounded, pillow-like |
|
|
114
|
+
| `rounded-full` | pill-shaped, circular |
|