@istmx/skills 1.0.0
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/README.md +49 -0
- package/bin/cli.js +251 -0
- package/istm/SKILL.md +65 -0
- package/istm-animate/SKILL.md +87 -0
- package/istm-animate/animations/animation_utils.md +280 -0
- package/istm-animate/animations/animations.md +220 -0
- package/istm-animate/animations/core_motion.md +250 -0
- package/istm-animate/animations/examples/README.md +29 -0
- package/istm-animate/animations/examples/nuxt/app/app.vue +3 -0
- package/istm-animate/animations/examples/nuxt/app/composables/useGSAP.ts +91 -0
- package/istm-animate/animations/examples/nuxt/app/pages/index.vue +55 -0
- package/istm-animate/animations/examples/nuxt/nuxt.config.ts +4 -0
- package/istm-animate/animations/examples/nuxt/package.json +18 -0
- package/istm-animate/animations/examples/react/App.jsx +46 -0
- package/istm-animate/animations/examples/react/index.html +12 -0
- package/istm-animate/animations/examples/react/main.jsx +9 -0
- package/istm-animate/animations/examples/react/package.json +21 -0
- package/istm-animate/animations/examples/react/vite.config.js +7 -0
- package/istm-animate/animations/examples/vanilla/index.html +33 -0
- package/istm-animate/animations/examples/vanilla/main.js +36 -0
- package/istm-animate/animations/examples/vue/app.vue +47 -0
- package/istm-animate/animations/examples/vue/index.html +15 -0
- package/istm-animate/animations/examples/vue/main.js +9 -0
- package/istm-animate/animations/examples/vue/package.json +19 -0
- package/istm-animate/animations/examples/vue/vite.config.js +7 -0
- package/istm-animate/animations/framework_motion.md +262 -0
- package/istm-animate/animations/motion.csv +17 -0
- package/istm-animate/animations/motion.md +11 -0
- package/istm-animate/animations/motion_catalog.json +226 -0
- package/istm-animate/animations/motion_performance.md +75 -0
- package/istm-animate/animations/motion_plugins.md +429 -0
- package/istm-animate/animations/react_animations.md +132 -0
- package/istm-animate/animations/scroll_trigger_effects.md +291 -0
- package/istm-animate/animations/timeline_sequencing.md +103 -0
- package/istm-architecture/SKILL.md +109 -0
- package/istm-architecture/frameworks/angular.csv +51 -0
- package/istm-architecture/frameworks/astro.csv +54 -0
- package/istm-architecture/frameworks/avalonia.csv +57 -0
- package/istm-architecture/frameworks/flutter.csv +53 -0
- package/istm-architecture/frameworks/javafx.csv +76 -0
- package/istm-architecture/frameworks/jetpack-compose.csv +53 -0
- package/istm-architecture/frameworks/laravel.csv +51 -0
- package/istm-architecture/frameworks/nextjs.csv +53 -0
- package/istm-architecture/frameworks/nuxtjs.csv +59 -0
- package/istm-architecture/frameworks/react-native.csv +52 -0
- package/istm-architecture/frameworks/react.csv +54 -0
- package/istm-architecture/frameworks/svelte.csv +54 -0
- package/istm-architecture/frameworks/swiftui.csv +51 -0
- package/istm-architecture/frameworks/uwp.csv +56 -0
- package/istm-architecture/frameworks/vue.csv +50 -0
- package/istm-architecture/frameworks/winui.csv +60 -0
- package/istm-architecture/frameworks/wpf.csv +57 -0
- package/istm-architecture/templates/agents.md +229 -0
- package/istm-architecture/templates/architecture.md +111 -0
- package/istm-architecture/templates/design.md +138 -0
- package/istm-architecture/templates/project-overview.md +215 -0
- package/istm-awwward-designer/SKILL.md +43 -0
- package/istm-awwward-designer/libraries/threejs.csv +54 -0
- package/istm-awwward-designer/references/accessibility.md +774 -0
- package/istm-awwward-designer/references/anim-anti-patterns.md +576 -0
- package/istm-awwward-designer/references/animation-map.md +166 -0
- package/istm-awwward-designer/references/animation-standards.md +86 -0
- package/istm-awwward-designer/references/anti-patterns.md +191 -0
- package/istm-awwward-designer/references/color-systems.md +604 -0
- package/istm-awwward-designer/references/css-performance.md +477 -0
- package/istm-awwward-designer/references/descender-safety.md +490 -0
- package/istm-awwward-designer/references/design-audit.md +93 -0
- package/istm-awwward-designer/references/font-loading.md +378 -0
- package/istm-awwward-designer/references/image-optimization.md +440 -0
- package/istm-awwward-designer/references/invention-gate.md +356 -0
- package/istm-awwward-designer/references/micro-interactions.md +825 -0
- package/istm-awwward-designer/references/page-transitions.md +365 -0
- package/istm-awwward-designer/references/performance-standards.md +79 -0
- package/istm-awwward-designer/references/quality-gate.md +103 -0
- package/istm-awwward-designer/references/responsive-design.md +778 -0
- package/istm-awwward-designer/references/scoring-guide.md +201 -0
- package/istm-awwward-designer/references/scroll-patterns.md +668 -0
- package/istm-awwward-designer/references/stitch-brief.md +124 -0
- package/istm-awwward-designer/references/tech-stack.md +204 -0
- package/istm-awwward-designer/references/technical-audit.md +133 -0
- package/istm-awwward-designer/references/technique-families.md +293 -0
- package/istm-awwward-designer/references/testing.md +535 -0
- package/istm-awwward-designer/references/text-animation.md +585 -0
- package/istm-awwward-designer/references/typography.md +504 -0
- package/istm-awwward-designer/references/usability-audit.md +108 -0
- package/istm-awwward-designer/references/visual-standards.md +97 -0
- package/istm-design/SKILL.md +98 -0
- package/istm-design/colors/color_theory.md +293 -0
- package/istm-design/colors/colors.csv +193 -0
- package/istm-design/colors/colors_catalog.json +4034 -0
- package/istm-design/colors/palette.json +21 -0
- package/istm-design/styles/design_system.md +288 -0
- package/istm-design/styles/html-tailwind.csv +56 -0
- package/istm-design/styles/nuxt-ui.csv +71 -0
- package/istm-design/styles/product_design.md +55 -0
- package/istm-design/styles/shadcn.csv +61 -0
- package/istm-design/styles/style.md +12 -0
- package/istm-design/styles/styles.csv +85 -0
- package/istm-design/styles/styles_catalog.json +2018 -0
- package/istm-design/styles/ui-reasoning.csv +162 -0
- package/istm-design/styles/uno.csv +60 -0
- package/istm-design/typography/font_and_font.md +10 -0
- package/istm-design/typography/google-fonts.csv +1924 -0
- package/istm-design/typography/sans_serif_fonts.md +112 -0
- package/istm-design/typography/typography.csv +75 -0
- package/istm-design/typography/typography_catalog.json +964 -0
- package/istm-design/ux/app-interface.csv +31 -0
- package/istm-design/ux/charts.csv +26 -0
- package/istm-design/ux/icons.csv +106 -0
- package/istm-design/ux/landing.csv +35 -0
- package/istm-design/ux/products.csv +193 -0
- package/istm-design/ux/react-performance.csv +45 -0
- package/istm-design/ux/responsive_rules.md +62 -0
- package/istm-design/ux/storytelling.md +47 -0
- package/istm-design/ux/ux-guidelines.csv +100 -0
- package/istm-design/ux/ux_guidelines.json +1190 -0
- package/istm-system-design/SKILL.md +88 -0
- package/istm-system-design/principles/01-architecture-patterns.md +24 -0
- package/istm-system-design/principles/02-database-selection.md +32 -0
- package/istm-system-design/principles/03-api-design.md +25 -0
- package/istm-system-design/principles/04-authentication-security.md +23 -0
- package/istm-system-design/principles/05-caching-performance.md +21 -0
- package/istm-system-design/principles/06-asynchronous-processing.md +17 -0
- package/istm-system-design/principles/07-infrastructure-deployment.md +22 -0
- package/istm-system-design/principles/08-low-level-design.md +35 -0
- package/istm-system-design/principles/09-state-management.md +14 -0
- package/istm-system-design/principles/10-error-handling-and-logging.md +26 -0
- package/istm-system-design/principles/11-testing-strategy.md +18 -0
- package/istm-system-design/principles/12-seo-and-web-vitals.md +18 -0
- package/istm-system-design/stacks/SETUP.md +82 -0
- package/istm-system-design/stacks/STACK.md +67 -0
- package/istm-system-design/stacks/WORKFLOW.md +84 -0
- package/istm-system-design/templates/api-route.ts.template +32 -0
- package/istm-system-design/templates/migrations.md.template +30 -0
- package/istm-system-design/templates/schema.drizzle.ts.template +17 -0
- package/istm-system-design/templates/schema.prisma.template +28 -0
- package/istm-system-design/templates/trpc-router.ts.template +22 -0
- package/istm-system-design/templates/zod-validators.ts.template +14 -0
- package/istm-workflow/istm-audit/SKILL.md +108 -0
- package/istm-workflow/istm-audit/agent-prompt.md +393 -0
- package/istm-workflow/istm-audit/agents/openai.yaml +7 -0
- package/istm-workflow/istm-audit/modes/area.md +19 -0
- package/istm-workflow/istm-audit/modes/gapfill.md +12 -0
- package/istm-workflow/istm-audit/modes/greenfield.md +24 -0
- package/istm-workflow/istm-audit/modes/tool-skills.md +39 -0
- package/istm-workflow/istm-audit/modes/whole-repo.md +5 -0
- package/istm-workflow/istm-audit/patterns/clean-architecture.md +15 -0
- package/istm-workflow/istm-audit/patterns/domain-driven.md +16 -0
- package/istm-workflow/istm-audit/patterns/functional.md +16 -0
- package/istm-workflow/istm-audit/patterns/solid-oop.md +17 -0
- package/istm-workflow/istm-check/SKILL.md +52 -0
- package/istm-workflow/istm-check/agents/openai.yaml +7 -0
- package/istm-workflow/istm-check/modes/review.md +156 -0
- package/istm-workflow/istm-check/modes/verify.md +197 -0
- package/istm-workflow/istm-check/review-agent-prompt.md +57 -0
- package/istm-workflow/istm-check/review-guide.md +133 -0
- package/istm-workflow/istm-craft/SKILL.md +37 -0
- package/istm-workflow/istm-craft/agent-modes/architecture.md +73 -0
- package/istm-workflow/istm-craft/agent-modes/cross-cutting.md +65 -0
- package/istm-workflow/istm-craft/agent-modes/enhancement.md +45 -0
- package/istm-workflow/istm-craft/agent-modes/feature.md +85 -0
- package/istm-workflow/istm-craft/agent-prompt.md +249 -0
- package/istm-workflow/istm-craft/agents/openai.yaml +7 -0
- package/istm-workflow/istm-craft/internal/after-subagent.md +90 -0
- package/istm-workflow/istm-craft/internal/design-conversation.md +140 -0
- package/istm-workflow/istm-craft/internal/tool-discovery.md +58 -0
- package/istm-workflow/istm-craft/spec-template.md +278 -0
- package/istm-workflow/istm-debug/SKILL.md +102 -0
- package/istm-workflow/istm-debug/agents/openai.yaml +7 -0
- package/istm-workflow/istm-develop/SKILL.md +144 -0
- package/istm-workflow/istm-develop/agents/openai.yaml +7 -0
- package/istm-workflow/istm-develop/checklist.md +95 -0
- package/istm-workflow/istm-develop/flow/build.md +133 -0
- package/istm-workflow/istm-develop/flow/git.md +34 -0
- package/istm-workflow/istm-develop/logical-guide.md +99 -0
- package/istm-workflow/istm-develop/ui/existing.md +23 -0
- package/istm-workflow/istm-develop/ui/generate.md +131 -0
- package/istm-workflow/istm-develop/ui/image.md +41 -0
- package/istm-workflow/istm-develop/ui/implementation.md +281 -0
- package/istm-workflow/istm-develop/ui/mcp.md +11 -0
- package/istm-workflow/istm-develop/ui-guide.md +164 -0
- package/istm-workflow/istm-document/SKILL.md +123 -0
- package/istm-workflow/istm-document/agent-prompt.md +57 -0
- package/istm-workflow/istm-document/agents/openai.yaml +7 -0
- package/istm-workflow/istm-document/templates/changelog.md +54 -0
- package/istm-workflow/istm-document/templates/postmortem.md +58 -0
- package/istm-workflow/istm-document/templates/pr.md +43 -0
- package/istm-workflow/istm-document/templates/release-note.md +41 -0
- package/istm-workflow/istm-scope/SKILL.md +100 -0
- package/istm-workflow/istm-scope/agents/openai.yaml +7 -0
- package/istm-workflow/istm-scope/approaches/facade.md +33 -0
- package/istm-workflow/istm-scope/approaches/journey.md +31 -0
- package/istm-workflow/istm-scope/approaches/skateboard.md +33 -0
- package/istm-workflow/istm-scope/approaches/tracer-bullet.md +34 -0
- package/istm-workflow/istm-scope/modes/add.md +14 -0
- package/istm-workflow/istm-scope/modes/plan-brownfield.md +11 -0
- package/istm-workflow/istm-scope/modes/plan-greenfield.md +20 -0
- package/istm-workflow/istm-scope/modes/plan-monorepo.md +8 -0
- package/istm-workflow/istm-scope/modes/plan.md +120 -0
- package/istm-workflow/istm-scope/modes/replan.md +13 -0
- package/istm-workflow/istm-scope/scope-template.md +148 -0
- package/istm-workflow/istm-sync/SKILL.md +166 -0
- package/istm-workflow/istm-sync/agent-prompt.md +211 -0
- package/istm-workflow/istm-sync/agents/openai.yaml +7 -0
- package/istm-workflow/istm-test/SKILL.md +233 -0
- package/istm-workflow/istm-test/agent-prompt.md +62 -0
- package/istm-workflow/istm-test/agents/openai.yaml +7 -0
- package/istm-workflow/istm-test/modes/setup.md +97 -0
- package/istm-workflow/istm-test/writing-guide.md +196 -0
- package/package.json +35 -0
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+
# Invention Gate: Brand Metaphor → Animation Map + Stitch Prompt
|
|
2
|
+
|
|
3
|
+
The Invention Gate is the creative engine. It takes Phase 1 interview answers and produces two outputs that drive the entire pipeline: an **animation map** (what the site does) and a **Stitch prompt** (what the site looks like). The user reviews and confirms the animation map before the Stitch prompt is generated.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Input: Interview Answers (Phase 1)
|
|
8
|
+
|
|
9
|
+
1. Brand name
|
|
10
|
+
2. Brand identity — what it does, what it stands for
|
|
11
|
+
3. Target audience — who it serves, what they expect
|
|
12
|
+
4. Tier — 1 (CSS), 2 (GSAP), 2.5 (light 3D), 3 (WebGL)
|
|
13
|
+
5. Page count and content per page
|
|
14
|
+
6. Interactive/data-driven sections (forms, dashboards, auth, checkout)
|
|
15
|
+
7. Reference sites (optional)
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## The 4-Step Process
|
|
20
|
+
|
|
21
|
+
### Step 1: Extract Brand Metaphor
|
|
22
|
+
|
|
23
|
+
Three metaphors are extracted from the brand brief — not invented. They describe what the brand *feels* like, not what it *means*.
|
|
24
|
+
|
|
25
|
+
**Metaphor 1: Physical Sensation**
|
|
26
|
+
Question: "If I could touch the brand, what texture would it be?"
|
|
27
|
+
|
|
28
|
+
Not: "The brand is sophisticated."
|
|
29
|
+
But: "The brand feels like cold steel, precisely machined. Edges you wouldn't accidentally cut yourself on. Not dangerous — just exact."
|
|
30
|
+
Or: "The brand feels like warm amber glass — smooth, clear, with depth you can see into. Substance without heaviness."
|
|
31
|
+
|
|
32
|
+
**Metaphor 2: Materiality**
|
|
33
|
+
Question: "What material is this brand made of?"
|
|
34
|
+
|
|
35
|
+
Not: "The brand is elegant."
|
|
36
|
+
But: "The brand is liquid mercury — reflective, responsive to even tiny vibration, impossible to hold perfectly still."
|
|
37
|
+
Or: "The brand is frosted glass. You can see something is behind it, but not clearly. The thing behind matters more than the surface."
|
|
38
|
+
|
|
39
|
+
**Metaphor 3: Emotional Trigger**
|
|
40
|
+
Question: "What feeling does the brand invoke in the person encountering it?"
|
|
41
|
+
|
|
42
|
+
Not: "The brand is premium."
|
|
43
|
+
But: "The brand invokes vertigo — the good kind. Standing at a height and feeling the pull down. Disorienting but absolutely clear."
|
|
44
|
+
Or: "The brand invokes the moment of unwrapping. The satisfaction of something special arriving accessible and affordable."
|
|
45
|
+
|
|
46
|
+
**Where metaphors come from:**
|
|
47
|
+
- The brand brief (exact phrases the client uses)
|
|
48
|
+
- The client's own language when describing their work
|
|
49
|
+
- Competitor positioning (what does this brand need to be the inverse of?)
|
|
50
|
+
- First gut impression — what is the feeling before the thought
|
|
51
|
+
|
|
52
|
+
#### Deep Extraction Warning
|
|
53
|
+
|
|
54
|
+
The most common failure: latching onto one concrete detail from the brief and mistaking it for the metaphor. This produces an animation approach that fits the detail but misses the brand's essential nature.
|
|
55
|
+
|
|
56
|
+
Example of the failure:
|
|
57
|
+
- Brief says: "performances begin in total silence for minutes before anything moves"
|
|
58
|
+
- Wrong extraction: "the brand is about stillness before motion" → Loading/Reveal (one-time ritual)
|
|
59
|
+
- Right extraction: "the brand is kinetic memory — the body carries what the mind cannot speak" → Cursor (continuous physical expression throughout every interaction)
|
|
60
|
+
|
|
61
|
+
The detail (silence before motion) describes one performance. The metaphor (body as memory) describes the brand continuously.
|
|
62
|
+
|
|
63
|
+
**The test:** "Does this metaphor describe what the brand *does once* or what the brand *is continuously*?" If once — keep extracting.
|
|
64
|
+
|
|
65
|
+
#### Metaphor Quality Gates
|
|
66
|
+
|
|
67
|
+
Each metaphor must pass three tests before proceeding:
|
|
68
|
+
|
|
69
|
+
- **Grounding:** Can you touch, see, or feel it? Quote the exact brief phrase it came from.
|
|
70
|
+
- **Continuity:** Does it describe the brand continuously — not just at one moment?
|
|
71
|
+
- **Distinctiveness:** Would a competitor in the same industry arrive at the same metaphor? If yes — dig deeper.
|
|
72
|
+
|
|
73
|
+
All three must pass. If any fail, re-extract.
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
### Step 2: Derive Motion Language
|
|
78
|
+
|
|
79
|
+
From the metaphors — typically the strongest of the three — derive the site's motion language. This determines easing character and animation personality across the entire project.
|
|
80
|
+
|
|
81
|
+
**Four qualities to define:**
|
|
82
|
+
|
|
83
|
+
| Quality | Question |
|
|
84
|
+
|---------|----------|
|
|
85
|
+
| **Speed** | Does this metaphor move fast or slow? |
|
|
86
|
+
| **Weight** | Does it feel heavy or light? |
|
|
87
|
+
| **Texture** | Smooth gradual transitions or sharp cuts? |
|
|
88
|
+
| **Response** | Does it react instantly or with deliberate delay? |
|
|
89
|
+
|
|
90
|
+
**Map qualities to easing:**
|
|
91
|
+
|
|
92
|
+
| Brand Quality | Easing Direction |
|
|
93
|
+
|---|---|
|
|
94
|
+
| Heavy, monumental | Long ease-out, no bounce — `power4.out` |
|
|
95
|
+
| Light, airy | Short ease-in-out, slight overshoot — `back.out(1.2)` |
|
|
96
|
+
| Precise, mechanical | Linear or stepped — `steps(8)` |
|
|
97
|
+
| Organic, fluid | Asymmetric cubic-bezier — `power2.inOut` |
|
|
98
|
+
| Energetic, fast | Quick ease-in, snap to position — `power3.in` |
|
|
99
|
+
| Contemplative, slow | Long duration (1.2s+), gentle ease-out — `power1.out` |
|
|
100
|
+
|
|
101
|
+
**Define 3 named project easings:**
|
|
102
|
+
- `ease-primary` — interaction easing (buttons, links, hover states)
|
|
103
|
+
- `ease-reveal` — content reveal easing (scroll enters, page load reveals)
|
|
104
|
+
- `ease-transition` — page transition easing (TanStack Router + GSAP)
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
### Step 3: Define Signature Interaction
|
|
109
|
+
|
|
110
|
+
One unique interaction derived from the brand metaphor. Must feel native to the brand — not a template pattern.
|
|
111
|
+
|
|
112
|
+
#### Choose an Interaction Territory (ONE only)
|
|
113
|
+
|
|
114
|
+
**Territory 1: Cursor**
|
|
115
|
+
The pointer becomes expressive — changes shape, trails, responds to proximity, distorts elements.
|
|
116
|
+
Best for: brands where navigating IS the experience — studios, agencies, brands where every gesture is expressive.
|
|
117
|
+
Note: underused. If the brand's emotional trigger involves precision, agency, performance, or play — seriously evaluate this before dismissing.
|
|
118
|
+
|
|
119
|
+
**Territory 2: Scroll**
|
|
120
|
+
Content movement through time is the signature. How sections reveal, pin, parallax — how text moves through the viewport.
|
|
121
|
+
Best for: narrative-driven sites, portfolios, manifesto brands.
|
|
122
|
+
|
|
123
|
+
**Territory 3: Loading/Reveal**
|
|
124
|
+
The first encounter is the signature. How the page introduces itself, what appears first, how content assembles.
|
|
125
|
+
Best for: studios, event sites, agencies where anticipation is part of the brand experience.
|
|
126
|
+
|
|
127
|
+
**Territory 4: Hover**
|
|
128
|
+
Engagement moments are the signature. What reveals, focuses, lifts, or develops on hover.
|
|
129
|
+
Best for: product sites, gallery experiences, discovery-driven content.
|
|
130
|
+
|
|
131
|
+
**Territory 5: Typography**
|
|
132
|
+
Text itself is the medium. How type moves, breathes, scrambles, changes weight or width based on interaction.
|
|
133
|
+
Best for: editorial sites, manifesto brands, publishing — anywhere language carries more weight than imagery.
|
|
134
|
+
Note: underused. If the brand's identity lives in language, time, or documentation — seriously evaluate this.
|
|
135
|
+
|
|
136
|
+
**Territory 6: Layout**
|
|
137
|
+
Space itself transforms. Grids reshuffle, columns merge and split, whitespace expands and contracts.
|
|
138
|
+
Best for: architecture firms, spatial brands, structural experiences.
|
|
139
|
+
|
|
140
|
+
#### Rejection Discipline
|
|
141
|
+
|
|
142
|
+
Before committing, explicitly reject at least 3 of the remaining territories with one-line reasoning tied to the brand's nature. This is not optional. Picking the first territory that fits without documented rejections means the gate was bypassed, not completed.
|
|
143
|
+
|
|
144
|
+
Rejections must be territory rejections — not aesthetic choices ("no parallax"). Reject the territory itself and explain why the brand's essential nature makes it the wrong container.
|
|
145
|
+
|
|
146
|
+
**Commitment test:** "If a competitor in the same industry used this same territory choice — would it still make sense?" If yes, you haven't found the right one yet.
|
|
147
|
+
|
|
148
|
+
#### The Twist
|
|
149
|
+
|
|
150
|
+
The counterintuitive element that makes the interaction unrepeatable. What makes someone say "wait, why is it doing that?" — not because it's confusing, but because it surprises and then instantly makes sense.
|
|
151
|
+
|
|
152
|
+
**Formula:**
|
|
153
|
+
```
|
|
154
|
+
[Territory] + [Metaphor material] + [Unexpected medium] = Signature Interaction
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
**Write the signature statement in this exact format:**
|
|
158
|
+
```
|
|
159
|
+
"When [specific user trigger], [brand metaphor] manifests as [specific technical implementation]
|
|
160
|
+
through [the twist that makes it unrepeatable]."
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
The statement must be specific enough that a developer can build it without a single clarifying question. Vague nouns ("particle effect," "dissolve," "smooth transition" without naming the mechanism) fail the test.
|
|
164
|
+
|
|
165
|
+
#### Usability Gates — Automatic Disqualifiers
|
|
166
|
+
|
|
167
|
+
If any apply, the interaction FAILS regardless of how well the metaphor maps. The metaphor may be right; the expression is wrong. Keep the metaphor, change the expression.
|
|
168
|
+
|
|
169
|
+
- **Any delay >4 seconds before content is accessible** — unskippable waits over 4 seconds are hostile UX. "The brand is about patience" does not override this.
|
|
170
|
+
- **Refresh resets meaningful state** — refreshing is not a user error. If refresh breaks the experience, the interaction penalizes standard browser behavior.
|
|
171
|
+
- **Content locked behind interaction completion** — interactions enhance content; they do not gatekeep it. Users must be able to access the primary content without completing any animation or ritual.
|
|
172
|
+
- **Audio without explicit user action** — browsers block autoplay. Audio must be opt-in with a visible, persistent toggle.
|
|
173
|
+
- **Hover as the only path to information** — hover is absent on touch devices. Any information conveyed exclusively through hover is inaccessible to 30%+ of users.
|
|
174
|
+
- **Intentional technical degradation** — broken image loading, artificial latency, or simulated failure states framed as "authenticity." This always reads as broken to anyone who doesn't know the concept. Find the expression in layout, sequence, or framing — not in making the browser behave badly.
|
|
175
|
+
|
|
176
|
+
---
|
|
177
|
+
|
|
178
|
+
### Step 4: Generate Animation Map
|
|
179
|
+
|
|
180
|
+
Using the tier, metaphors, motion language, signature interaction, and page structure from the interview — generate the full animation map following the schema in `references/animation-map.md`.
|
|
181
|
+
|
|
182
|
+
The animation map contains:
|
|
183
|
+
- Global settings: tier, easing values, scroll behavior, page transitions, signature interaction
|
|
184
|
+
- Per-page animation assignments for every section (type, trigger, description)
|
|
185
|
+
- Three.js overlay zones (Tier 2.5+) with mobile fallbacks
|
|
186
|
+
- SplitType targets with split type and stagger values
|
|
187
|
+
- ScrollTrigger pins
|
|
188
|
+
|
|
189
|
+
Read `references/technique-families.md` for interaction pattern options per tier.
|
|
190
|
+
Read `references/anti-patterns.md` before finalizing any pattern decision.
|
|
191
|
+
|
|
192
|
+
---
|
|
193
|
+
|
|
194
|
+
## Step 5: User Review Gate
|
|
195
|
+
|
|
196
|
+
**Do not generate the Stitch prompt yet.**
|
|
197
|
+
|
|
198
|
+
Present to the user:
|
|
199
|
+
1. The three brand metaphors with quality gate results
|
|
200
|
+
2. The motion language (speed, weight, texture, response → named easings)
|
|
201
|
+
3. The signature interaction statement
|
|
202
|
+
4. The animation map summarized per page
|
|
203
|
+
|
|
204
|
+
Then ask:
|
|
205
|
+
|
|
206
|
+
```
|
|
207
|
+
Here's what I've extracted from the brand before I write the Stitch prompt.
|
|
208
|
+
|
|
209
|
+
[Present metaphors, motion language, signature interaction, animation map summary]
|
|
210
|
+
|
|
211
|
+
Does this capture the brand correctly?
|
|
212
|
+
Any changes before I write the Stitch prompt?
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
Wait for explicit confirmation. If the user requests changes — revise the animation map and present again. Do not proceed to the Stitch prompt until the user confirms.
|
|
216
|
+
|
|
217
|
+
---
|
|
218
|
+
|
|
219
|
+
## Step 6: Generate Stitch Prompt
|
|
220
|
+
|
|
221
|
+
Only after user confirms the animation map.
|
|
222
|
+
|
|
223
|
+
Write the Stitch prompt following the format in `references/stitch-brief.md`. The Aesthetic Direction section is built by injecting the brand metaphors from this Invention Gate output verbatim, followed by the visual vocabulary and negative constraints each metaphor implies at rest.
|
|
224
|
+
|
|
225
|
+
---
|
|
226
|
+
|
|
227
|
+
## Output: Two Documents
|
|
228
|
+
|
|
229
|
+
**Output A: Animation Map**
|
|
230
|
+
Schema: `references/animation-map.md`
|
|
231
|
+
Contains: global settings, per-page assignments, Three.js zones, SplitType targets, scroll pins.
|
|
232
|
+
|
|
233
|
+
**Output B: Stitch Prompt**
|
|
234
|
+
Format: `references/stitch-brief.md`
|
|
235
|
+
Contains: brand identity (actual name + description), aesthetic direction (INVENTION metaphors injected + derived visual vocabulary), typography, color, icons, shared components, page structure, device target.
|
|
236
|
+
|
|
237
|
+
**Gate:** Both documents must exist and the animation map must be user-confirmed before Phase 3 begins.
|
|
238
|
+
|
|
239
|
+
---
|
|
240
|
+
|
|
241
|
+
## What the Invention Gate Does NOT Do
|
|
242
|
+
|
|
243
|
+
- Choose specific colors — Stitch owns this, or the user provides them
|
|
244
|
+
- Choose specific fonts — Stitch owns this
|
|
245
|
+
- Generate any code
|
|
246
|
+
- Make visual design decisions beyond aesthetic direction for the Stitch prompt
|
|
247
|
+
- Prescribe backend implementation
|
|
248
|
+
|
|
249
|
+
---
|
|
250
|
+
|
|
251
|
+
## Worked Examples
|
|
252
|
+
|
|
253
|
+
### Example 1: Fragrance E-Commerce (Tier 2)
|
|
254
|
+
|
|
255
|
+
**Brief:** Kenya-based store selling premium Middle Eastern fragrances. Kenya-wide delivery via Pickup Mtaani agents. Warm but premium — not flashy luxury, not budget discount. Value seekers who appreciate quality and discovery.
|
|
256
|
+
|
|
257
|
+
**Metaphor 1 (Physical Sensation):** Warm amber glass — smooth, clear, with depth you can see into. Substance without heaviness. Concentrated, refined, precious.
|
|
258
|
+
- Source quote: "Premium fragrances, Kenya-wide delivery"
|
|
259
|
+
- Grounding: ✓ — can touch/feel amber glass
|
|
260
|
+
- Continuity: ✓ — every interaction should feel warm, clear, substantial
|
|
261
|
+
- Distinctiveness: ✓ — not cold luxury, not cheap accessibility — warm value
|
|
262
|
+
|
|
263
|
+
**Metaphor 2 (Materiality):** Golden liquid in a vessel. Catches light when held right. Patience in the waiting — scent settles, develops, reveals itself.
|
|
264
|
+
- Source quote: "Value seekers, nationwide"
|
|
265
|
+
- Grounding: ✓
|
|
266
|
+
- Continuity: ✓ — every stage from browse to unbox is a reveal
|
|
267
|
+
- Distinctiveness: ✓ — the reveal experience is the brand, not just the product
|
|
268
|
+
|
|
269
|
+
**Metaphor 3 (Emotional Trigger):** The moment of unwrapping. The first spray. The satisfaction of something special arriving affordable and accessible.
|
|
270
|
+
- Source quote: "Kenya-wide delivery"
|
|
271
|
+
- Grounding: ✓
|
|
272
|
+
- Continuity: ✓ — from first browse to final pickup, anticipation built at each step
|
|
273
|
+
- Distinctiveness: ✓ — not just "delivery" but the event of receiving something special
|
|
274
|
+
|
|
275
|
+
**Motion Language:**
|
|
276
|
+
- Speed: Slow — amber is viscous, nothing snaps
|
|
277
|
+
- Weight: Substantial with presence, not heavy
|
|
278
|
+
- Texture: Smooth, gradual reveals — light catching glass at different angles
|
|
279
|
+
- Response: Deliberate, with slight delay — like lifting something precious
|
|
280
|
+
- `ease-primary`: `cubic-bezier(0.25, 0.46, 0.45, 0.94)` — warm ease-out, no snap
|
|
281
|
+
- `ease-reveal`: `power2.out`
|
|
282
|
+
- `ease-transition`: `power3.inOut`
|
|
283
|
+
|
|
284
|
+
**Territory: Hover**
|
|
285
|
+
|
|
286
|
+
Rejected:
|
|
287
|
+
1. Scroll: Value seekers are active browsers — scroll makes product feel passive, consumed rather than discovered
|
|
288
|
+
2. Typography: Fragrances are sensory — text as primary medium distracts from the visual product
|
|
289
|
+
3. Layout: Brand is about warmth and access, not structural engineering
|
|
290
|
+
4. Loading: One-time ritual doesn't serve the browse → buy journey
|
|
291
|
+
5. Cursor: Discovery through approach (hover) better serves e-commerce than continuous pointer expression
|
|
292
|
+
|
|
293
|
+
Commitment test: A competitor fragrance shop could use Hover — but they'd apply it to product images alone. This brand's Hover extends to the entire discovery experience: pricing reveals, agent proximity, delivery timelines. The hover IS the exploration.
|
|
294
|
+
|
|
295
|
+
**The Twist — Layered Lift:**
|
|
296
|
+
Product cards on hover don't zoom or brighten. They lift with depth — a shadow emerges, the card rises, then layers within the card separate progressively (image lifts first, then text, then price). The longer you hover, the more layers open. Leaving reverses the sequence smoothly. The physical sensation of picking up a bottle to examine it.
|
|
297
|
+
|
|
298
|
+
**Signature Statement:**
|
|
299
|
+
"When hovering over a product card, the brand's warm reveal manifests as a layered lift through GSAP-driven depth animation where hover duration progressively separates card layers and shadow depth, making the examination of a fragrance feel physical and intentional."
|
|
300
|
+
|
|
301
|
+
**Animation Map (global settings):**
|
|
302
|
+
```yaml
|
|
303
|
+
tier: 2
|
|
304
|
+
easing_language: "slow, warm, deliberate"
|
|
305
|
+
ease_primary: "cubic-bezier(0.25, 0.46, 0.45, 0.94)"
|
|
306
|
+
ease_reveal: "power2.out"
|
|
307
|
+
ease_transition: "power3.inOut"
|
|
308
|
+
scroll_behavior: lenis
|
|
309
|
+
page_transitions: tanstack-router
|
|
310
|
+
signature_interaction: "layered product card lift — hover duration drives progressive layer separation via GSAP"
|
|
311
|
+
```
|
|
312
|
+
|
|
313
|
+
---
|
|
314
|
+
|
|
315
|
+
### Example 2: Architecture Firm (Tier 2)
|
|
316
|
+
|
|
317
|
+
**Brief:** Berlin-based architecture firm specializing in cultural institutions. Monumental, restrained, structurally precise. Materials: concrete, steel, glass.
|
|
318
|
+
|
|
319
|
+
**Metaphors:**
|
|
320
|
+
1. Physical Sensation: Concrete and light — heavy but not oppressive. Precision visible in every surface.
|
|
321
|
+
2. Materiality: Steel under construction — incomplete potential. Value is in what's being built, not what's finished.
|
|
322
|
+
3. Emotional Trigger: Structural clarity — the understanding that everything rests on something solid. Visibility of load-bearing elements.
|
|
323
|
+
|
|
324
|
+
**Motion Language:**
|
|
325
|
+
- Speed: Deliberate, measured
|
|
326
|
+
- Weight: Heavy — concrete doesn't float
|
|
327
|
+
- Texture: Sharp, precise — no soft curves
|
|
328
|
+
- Response: Weighted delay — like structural mass resisting motion
|
|
329
|
+
- `ease-primary`: `power4.out` — heavy ease-out, monumental
|
|
330
|
+
- `ease-reveal`: `power3.out`
|
|
331
|
+
- `ease-transition`: `power2.inOut`
|
|
332
|
+
|
|
333
|
+
**Territory: Scroll**
|
|
334
|
+
|
|
335
|
+
Rejected:
|
|
336
|
+
1. Cursor: Architecture is about systems, not individual gesture — cursor individualizes what should feel structural
|
|
337
|
+
2. Loading: Construction should be visible throughout the experience, not only at entry
|
|
338
|
+
3. Hover: Too reactive — architecture is about weight and permanence, not responsiveness
|
|
339
|
+
|
|
340
|
+
**The Twist:**
|
|
341
|
+
Building sections don't scroll in — they're constructed as you scroll. Floors appear bottom-to-top. Structural elements (beams, columns) draw themselves with SVG stroke animation. Scroll velocity determines construction speed. Each floor visibly rests on the one below it — physical logic made visible.
|
|
342
|
+
|
|
343
|
+
**Signature Statement:**
|
|
344
|
+
"When scrolling through the portfolio, the brand's structural integrity manifests as real-time floor-by-floor construction through SVG stroke animation where scroll velocity determines assembly speed and each floor draws atop previously-completed structure."
|
|
345
|
+
|
|
346
|
+
**Animation Map (global settings):**
|
|
347
|
+
```yaml
|
|
348
|
+
tier: 2
|
|
349
|
+
easing_language: "heavy, deliberate, precise"
|
|
350
|
+
ease_primary: "power4.out"
|
|
351
|
+
ease_reveal: "power3.out"
|
|
352
|
+
ease_transition: "power2.inOut"
|
|
353
|
+
scroll_behavior: lenis
|
|
354
|
+
page_transitions: tanstack-router
|
|
355
|
+
signature_interaction: "scroll-velocity-driven SVG construction — floors build bottom-to-top as user scrolls"
|
|
356
|
+
```
|