heraspec 0.1.14 → 0.1.15
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/LICENSE +187 -0
- package/README.md +94 -95
- package/bin/heraspec.js +195 -80
- package/bin/heraspec.js.map +2 -2
- package/dist/core/templates/skills/README.md +41 -38
- package/dist/core/templates/skills/campaign-plan/skill.md +76 -0
- package/dist/core/templates/skills/campaign-plan/skill.vi.md +76 -0
- package/dist/core/templates/skills/campaign-plan-skill.md +76 -0
- package/dist/core/templates/skills/campaign-plan-skill.vi.md +76 -0
- package/dist/core/templates/skills/code-review/skill.md +70 -0
- package/dist/core/templates/skills/code-review/skill.vi.md +70 -0
- package/dist/core/templates/skills/code-review-skill.md +70 -0
- package/dist/core/templates/skills/code-review-skill.vi.md +70 -0
- package/dist/core/templates/skills/content-creation/skill.md +69 -0
- package/dist/core/templates/skills/content-creation/skill.vi.md +69 -0
- package/dist/core/templates/skills/content-creation-skill.md +69 -0
- package/dist/core/templates/skills/content-creation-skill.vi.md +69 -0
- package/dist/core/templates/skills/content-optimization/skill.md +104 -0
- package/dist/core/templates/skills/debug/skill.md +69 -0
- package/dist/core/templates/skills/debug/skill.vi.md +69 -0
- package/dist/core/templates/skills/debug-skill.md +69 -0
- package/dist/core/templates/skills/debug-skill.vi.md +69 -0
- package/dist/core/templates/skills/deploy-documentation/skill.md +408 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/airbnb/DESIGN.md +246 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/airtable/DESIGN.md +89 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/apple/DESIGN.md +313 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/bmw/DESIGN.md +180 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/cal/DESIGN.md +259 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/claude/DESIGN.md +312 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/clay/DESIGN.md +304 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/clickhouse/DESIGN.md +281 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/cohere/DESIGN.md +266 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/coinbase/DESIGN.md +129 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/composio/DESIGN.md +307 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/cursor/DESIGN.md +309 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/elevenlabs/DESIGN.md +265 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/expo/DESIGN.md +281 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/figma/DESIGN.md +220 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/framer/DESIGN.md +246 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/hashicorp/DESIGN.md +278 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/ibm/DESIGN.md +332 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/index.json +72 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/intercom/DESIGN.md +146 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/kraken/DESIGN.md +125 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/linear.app/DESIGN.md +367 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/lovable/DESIGN.md +298 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/minimax/DESIGN.md +257 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/mintlify/DESIGN.md +326 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/miro/DESIGN.md +108 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/mistral.ai/DESIGN.md +261 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/mongodb/DESIGN.md +266 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/notion/DESIGN.md +309 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/nvidia/DESIGN.md +293 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/ollama/DESIGN.md +267 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/opencode.ai/DESIGN.md +281 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/pinterest/DESIGN.md +230 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/posthog/DESIGN.md +256 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/raycast/DESIGN.md +268 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/replicate/DESIGN.md +261 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/resend/DESIGN.md +303 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/revolut/DESIGN.md +185 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/runwayml/DESIGN.md +244 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/sanity/DESIGN.md +357 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/sentry/DESIGN.md +262 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/spacex/DESIGN.md +194 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/spotify/DESIGN.md +246 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/stripe/DESIGN.md +322 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/supabase/DESIGN.md +255 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/superhuman/DESIGN.md +252 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/together.ai/DESIGN.md +263 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/uber/DESIGN.md +295 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/vercel/DESIGN.md +310 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/voltagent/DESIGN.md +323 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/warp/DESIGN.md +253 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/webflow/DESIGN.md +92 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/wise/DESIGN.md +173 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/x.ai/DESIGN.md +257 -0
- package/dist/core/templates/skills/design-system/knowledge/design-systems/zapier/DESIGN.md +328 -0
- package/dist/core/templates/skills/design-system/skill.md +176 -0
- package/dist/core/templates/skills/documents/skill.md +104 -0
- package/dist/core/templates/skills/e2e-test/skill.md +119 -0
- package/dist/core/templates/skills/email-sequence/skill.md +68 -0
- package/dist/core/templates/skills/email-sequence/skill.vi.md +68 -0
- package/dist/core/templates/skills/email-sequence-skill.md +68 -0
- package/dist/core/templates/skills/email-sequence-skill.vi.md +68 -0
- package/dist/core/templates/skills/git-embed/skill.md +57 -0
- package/dist/core/templates/skills/integration-test/skill.md +118 -0
- package/dist/core/templates/skills/knowledge/README.md +63 -63
- package/dist/core/templates/skills/knowledge/design-systems/index.json +72 -72
- package/dist/core/templates/skills/knowledge/frameworks/php/codeigniter/rise-cms/profile.json +27 -27
- package/dist/core/templates/skills/knowledge/frameworks/php/codeigniter/rise-cms/structure.md +137 -137
- package/dist/core/templates/skills/knowledge/frameworks/php/laravel/botble/profile.json +39 -39
- package/dist/core/templates/skills/knowledge/frameworks/php/laravel/botble/structure.md +207 -207
- package/dist/core/templates/skills/knowledge/frameworks/php/wordpress/core/profile.json +51 -51
- package/dist/core/templates/skills/knowledge/frameworks/php/wordpress/core/structure.md +369 -369
- package/dist/core/templates/skills/knowledge/index.json +65 -65
- package/dist/core/templates/skills/perfex-module/module-codebase/skill.md +110 -0
- package/dist/core/templates/skills/project-memory/skill.md +222 -0
- package/dist/core/templates/skills/project-memory/skill.vi.md +223 -0
- package/dist/core/templates/skills/seo-audit/skill.md +75 -0
- package/dist/core/templates/skills/seo-audit/skill.vi.md +75 -0
- package/dist/core/templates/skills/seo-audit-skill.md +75 -0
- package/dist/core/templates/skills/seo-audit-skill.vi.md +75 -0
- package/dist/core/templates/skills/smart-explore/skill.md +141 -0
- package/dist/core/templates/skills/sourcecode-analyzer/skill.md +210 -0
- package/dist/core/templates/skills/sourcecode-analyzer/skill.vi.md +210 -0
- package/dist/core/templates/skills/spec-writer/skill.md +61 -0
- package/dist/core/templates/skills/spec-writer/skill.vi.md +61 -0
- package/dist/core/templates/skills/spec-writer-skill.md +61 -0
- package/dist/core/templates/skills/spec-writer-skill.vi.md +61 -0
- package/dist/core/templates/skills/sql-queries/skill.md +67 -0
- package/dist/core/templates/skills/sql-queries/skill.vi.md +67 -0
- package/dist/core/templates/skills/sql-queries-skill.md +67 -0
- package/dist/core/templates/skills/sql-queries-skill.vi.md +67 -0
- package/dist/core/templates/skills/suggestion/skill.md +118 -0
- package/dist/core/templates/skills/system-design/skill.md +70 -0
- package/dist/core/templates/skills/system-design/skill.vi.md +70 -0
- package/dist/core/templates/skills/system-design-skill.md +70 -0
- package/dist/core/templates/skills/system-design-skill.vi.md +70 -0
- package/dist/core/templates/skills/tech-debt/skill.md +70 -0
- package/dist/core/templates/skills/tech-debt/skill.vi.md +70 -0
- package/dist/core/templates/skills/tech-debt-skill.md +70 -0
- package/dist/core/templates/skills/tech-debt-skill.vi.md +70 -0
- package/dist/core/templates/skills/ui-ux/data/charts.csv +26 -0
- package/dist/core/templates/skills/ui-ux/data/colors.csv +97 -0
- package/dist/core/templates/skills/ui-ux/data/design-systems.csv +54 -0
- package/dist/core/templates/skills/ui-ux/data/landing.csv +31 -0
- package/dist/core/templates/skills/ui-ux/data/pages-proposed.csv +22 -0
- package/dist/core/templates/skills/ui-ux/data/pages.csv +10 -0
- package/dist/core/templates/skills/ui-ux/data/products.csv +97 -0
- package/dist/core/templates/skills/ui-ux/data/prompts.csv +24 -0
- package/dist/core/templates/skills/ui-ux/data/stacks/flutter.csv +53 -0
- package/dist/core/templates/skills/ui-ux/data/stacks/html-tailwind.csv +56 -0
- package/dist/core/templates/skills/ui-ux/data/stacks/nextjs.csv +53 -0
- package/dist/core/templates/skills/ui-ux/data/stacks/react-native.csv +52 -0
- package/dist/core/templates/skills/ui-ux/data/stacks/react.csv +54 -0
- package/dist/core/templates/skills/ui-ux/data/stacks/svelte.csv +54 -0
- package/dist/core/templates/skills/ui-ux/data/stacks/swiftui.csv +51 -0
- package/dist/core/templates/skills/ui-ux/data/stacks/vue.csv +50 -0
- package/dist/core/templates/skills/ui-ux/data/styles.csv +59 -0
- package/dist/core/templates/skills/ui-ux/data/typography.csv +58 -0
- package/dist/core/templates/skills/ui-ux/data/ux-guidelines.csv +100 -0
- package/dist/core/templates/skills/ui-ux/scripts/CODE_EXPLANATION.md +394 -0
- package/dist/core/templates/skills/ui-ux/scripts/SEARCH_ALGORITHMS_COMPARISON.md +421 -0
- package/dist/core/templates/skills/ui-ux/scripts/SEARCH_MODES_GUIDE.md +238 -0
- package/dist/core/templates/skills/ui-ux/scripts/core.py +391 -0
- package/dist/core/templates/skills/ui-ux/scripts/search.py +73 -0
- package/dist/core/templates/skills/ui-ux/skill.md +595 -0
- package/dist/core/templates/skills/ui-ux/templates/accessibility-checklist.md +40 -0
- package/dist/core/templates/skills/ui-ux/templates/example-prompt-full-theme.md +333 -0
- package/dist/core/templates/skills/ui-ux/templates/page-types-guide.md +338 -0
- package/dist/core/templates/skills/ui-ux/templates/pages-proposed-summary.md +273 -0
- package/dist/core/templates/skills/ui-ux/templates/pre-delivery-checklist.md +42 -0
- package/dist/core/templates/skills/ui-ux/templates/prompt-template-full-theme.md +313 -0
- package/dist/core/templates/skills/ui-ux/templates/responsive-design.md +40 -0
- package/dist/core/templates/skills/unit-test/skill.md +111 -0
- package/dist/core/templates/skills/wordpress/plugin-check/skill.md +151 -0
- package/dist/core/templates/skills/wordpress/plugin-directory/skill.md +396 -0
- package/dist/core/templates/skills/wordpress/plugin-standard/skill.md +100 -0
- package/dist/core/templates/skills/wordpress/plugin-standard/templates/admin-dashboard.php +47 -0
- package/dist/core/templates/skills/wordpress/plugin-standard/templates/admin-settings.php +60 -0
- package/dist/core/templates/skills/wordpress/plugin-standard/templates/assets/admin-css.css +22 -0
- package/dist/core/templates/skills/wordpress/plugin-standard/templates/assets/admin-js.js +15 -0
- package/dist/core/templates/skills/wordpress/plugin-standard/templates/plugin-main.php +169 -0
- package/dist/core/templates/skills/wordpress/plugin-standard/templates/readme.txt +41 -0
- package/dist/core/templates/skills/wordpress/plugin-standard/templates/uninstall.php +21 -0
- package/dist/core/templates/skills/wordpress/ux-element/skill.md +83 -0
- package/dist/core/templates/skills/wordpress/ux-element/templates/Controller.php +50 -0
- package/dist/core/templates/skills/wordpress/ux-element/templates/Shortcode.php +23 -0
- package/dist/core/templates/skills/wordpress/ux-element/templates/Template.html +20 -0
- package/dist/core/templates/skills/wordpress/ux-element/templates/Thumbnail.svg +8 -0
- package/dist/core/templates/skills/wordpress/ux-element/templates/View.php +21 -0
- package/dist/index.js +195 -79
- package/package.json +1 -1
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
# Skill: Design System Reference (Cross-Cutting)
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
This skill provides access to **54 real-world design systems** extracted from production websites (Stripe, Vercel, Linear, Supabase, Apple, etc.) in the Google Stitch DESIGN.md format. Each design system contains detailed color palettes, typography rules, component stylings, shadow systems, and agent-ready prompts.
|
|
6
|
+
|
|
7
|
+
Use this skill to create UIs that match the look and feel of specific well-known brands, or to find design inspiration from real-world references.
|
|
8
|
+
|
|
9
|
+
## When to Use
|
|
10
|
+
|
|
11
|
+
- When user requests UI "like Stripe" / "inspired by Vercel" / "Linear-style"
|
|
12
|
+
- When building a product in a specific industry (fintech, devtools, AI) and need proven design patterns
|
|
13
|
+
- When you need precise color values, font weights, shadow values from real design systems
|
|
14
|
+
- When creating a DESIGN.md for a new project
|
|
15
|
+
- When comparing design approaches (e.g., Stripe vs Vercel shadow philosophies)
|
|
16
|
+
|
|
17
|
+
## Prerequisites
|
|
18
|
+
|
|
19
|
+
None — this skill uses the same search engine as UI/UX skill.
|
|
20
|
+
|
|
21
|
+
## Step-by-Step Process
|
|
22
|
+
|
|
23
|
+
### Step 1: Identify the Design Reference
|
|
24
|
+
|
|
25
|
+
Determine which design system(s) are relevant:
|
|
26
|
+
|
|
27
|
+
**By brand name:**
|
|
28
|
+
```bash
|
|
29
|
+
python3 scripts/search.py "stripe" --domain design-system
|
|
30
|
+
python3 scripts/search.py "linear dark mode" --domain design-system
|
|
31
|
+
python3 scripts/search.py "vercel minimal" --domain design-system
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
**By style/industry:**
|
|
35
|
+
```bash
|
|
36
|
+
python3 scripts/search.py "fintech premium dark" --domain design-system
|
|
37
|
+
python3 scripts/search.py "developer tools dark emerald" --domain design-system
|
|
38
|
+
python3 scripts/search.py "ai platform warm editorial" --domain design-system
|
|
39
|
+
python3 scripts/search.py "enterprise blue structured" --domain design-system
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
**By visual technique:**
|
|
43
|
+
```bash
|
|
44
|
+
python3 scripts/search.py "shadow-as-border" --domain design-system
|
|
45
|
+
python3 scripts/search.py "neon glow dark" --domain design-system
|
|
46
|
+
python3 scripts/search.py "blue-tinted shadows" --domain design-system
|
|
47
|
+
python3 scripts/search.py "luminance stacking" --domain design-system
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### Step 2: Read the Full DESIGN.md
|
|
51
|
+
|
|
52
|
+
After finding a matching brand, read the complete DESIGN.md from knowledge base:
|
|
53
|
+
|
|
54
|
+
```
|
|
55
|
+
knowledge/design-systems/<folder>/DESIGN.md
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
The `Folder` field in search results tells you the directory name. For example:
|
|
59
|
+
- Stripe → `knowledge/design-systems/stripe/DESIGN.md`
|
|
60
|
+
- Linear → `knowledge/design-systems/linear.app/DESIGN.md`
|
|
61
|
+
- Supabase → `knowledge/design-systems/supabase/DESIGN.md`
|
|
62
|
+
|
|
63
|
+
### Step 3: Apply the Design System
|
|
64
|
+
|
|
65
|
+
Use the `Agent_Quick_Prompt` from search results as a starting point, then reference the full DESIGN.md for details:
|
|
66
|
+
|
|
67
|
+
1. **Colors**: Apply exact hex values from Color Palette section
|
|
68
|
+
2. **Typography**: Use specified fonts, weights, and letter-spacing
|
|
69
|
+
3. **Components**: Follow button, card, input, navigation specifications
|
|
70
|
+
4. **Shadows**: Use exact shadow values (this is often what makes a design "feel" right)
|
|
71
|
+
5. **Spacing**: Follow the spacing scale and border-radius values
|
|
72
|
+
6. **Do's/Don'ts**: Respect the design system's guardrails
|
|
73
|
+
|
|
74
|
+
### Step 4: Combine with UI/UX Skill
|
|
75
|
+
|
|
76
|
+
For maximum quality, combine design-system references with other UI/UX skill searches:
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
# 1. Get the design system reference
|
|
80
|
+
python3 scripts/search.py "stripe" --domain design-system
|
|
81
|
+
|
|
82
|
+
# 2. Get UX guidelines
|
|
83
|
+
python3 scripts/search.py "animation" --domain ux
|
|
84
|
+
python3 scripts/search.py "accessibility" --domain ux
|
|
85
|
+
|
|
86
|
+
# 3. Get page structure
|
|
87
|
+
python3 scripts/search.py "pricing plans" --domain pages
|
|
88
|
+
|
|
89
|
+
# 4. Get stack-specific guidelines
|
|
90
|
+
python3 scripts/search.py "responsive layout" --stack html-tailwind
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
## Available Design Systems
|
|
94
|
+
|
|
95
|
+
### By Category
|
|
96
|
+
|
|
97
|
+
| Category | Count | Examples |
|
|
98
|
+
|----------|-------|---------|
|
|
99
|
+
| **AI & ML** | 12 | Claude, Mistral AI, Ollama, Cursor, xAI, ElevenLabs |
|
|
100
|
+
| **Developer Tools** | 14 | Vercel, Linear, Supabase, Raycast, Warp, Sentry |
|
|
101
|
+
| **Infrastructure** | 6 | Stripe, MongoDB, HashiCorp, ClickHouse, Sanity |
|
|
102
|
+
| **Design & Productivity** | 10 | Notion, Figma, Framer, Miro, Airtable, Pinterest |
|
|
103
|
+
| **Fintech & Crypto** | 4 | Coinbase, Revolut, Wise, Kraken |
|
|
104
|
+
| **Enterprise & Consumer** | 8 | Apple, Airbnb, Spotify, BMW, SpaceX, Uber, IBM |
|
|
105
|
+
|
|
106
|
+
### By Theme
|
|
107
|
+
|
|
108
|
+
| Theme | Brands |
|
|
109
|
+
|-------|--------|
|
|
110
|
+
| **Dark-mode native** | Linear, Supabase, Cursor, Spotify, SpaceX, Warp, Resend |
|
|
111
|
+
| **Light-first** | Stripe, Vercel, Notion, Apple, Mintlify, Ollama |
|
|
112
|
+
| **Both modes** | IBM, Uber, Framer, Lovable, Cohere, Together AI |
|
|
113
|
+
|
|
114
|
+
### By Design Philosophy
|
|
115
|
+
|
|
116
|
+
| Philosophy | Brand | Key Technique |
|
|
117
|
+
|------------|-------|---------------|
|
|
118
|
+
| Weight-as-luxury | Stripe | font-weight: 300 for elegance |
|
|
119
|
+
| Shadow-as-border | Vercel | box-shadow: 0px 0px 0px 1px rgba() |
|
|
120
|
+
| Luminance stacking | Linear | Background opacity stepping for depth |
|
|
121
|
+
| Warm editorial | Claude | Terracotta accent, anti-tech-cold palette |
|
|
122
|
+
| Terminal-native | Resend, Warp | Monospace accents, dark void backgrounds |
|
|
123
|
+
| Full-bleed imagery | SpaceX | Text over cinematic photos |
|
|
124
|
+
|
|
125
|
+
## Search Reference
|
|
126
|
+
|
|
127
|
+
```bash
|
|
128
|
+
# Search by brand
|
|
129
|
+
python3 scripts/search.py "<brand-name>" --domain design-system
|
|
130
|
+
|
|
131
|
+
# Search by keywords
|
|
132
|
+
python3 scripts/search.py "<style-keywords>" --domain design-system
|
|
133
|
+
|
|
134
|
+
# Search with semantic mode
|
|
135
|
+
python3 scripts/search.py "elegant dark developer tool" --domain design-system --mode hybrid
|
|
136
|
+
|
|
137
|
+
# Multiple results
|
|
138
|
+
python3 scripts/search.py "fintech" --domain design-system -n 5
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
## DESIGN.md Format (Google Stitch Standard)
|
|
142
|
+
|
|
143
|
+
Each DESIGN.md file contains 9 standard sections:
|
|
144
|
+
|
|
145
|
+
1. **Visual Theme & Atmosphere** — Design philosophy, mood, density
|
|
146
|
+
2. **Color Palette & Roles** — Hex values with semantic roles
|
|
147
|
+
3. **Typography Rules** — Font families, full type scale table
|
|
148
|
+
4. **Component Stylings** — Buttons, cards, inputs with states
|
|
149
|
+
5. **Layout Principles** — Spacing scale, grid, whitespace
|
|
150
|
+
6. **Depth & Elevation** — Shadow system, surface hierarchy
|
|
151
|
+
7. **Do's and Don'ts** — Design guardrails, anti-patterns
|
|
152
|
+
8. **Responsive Behavior** — Breakpoints, touch targets
|
|
153
|
+
9. **Agent Prompt Guide** — Quick reference prompts for AI agents
|
|
154
|
+
|
|
155
|
+
## Updating Design Systems
|
|
156
|
+
|
|
157
|
+
Design system files are sourced from [awesome-design-md](https://github.com/VoltAgent/awesome-design-md). To update:
|
|
158
|
+
|
|
159
|
+
1. Pull latest from `awesome-design-md` repository
|
|
160
|
+
2. Copy updated `DESIGN.md` files to `knowledge/design-systems/<folder>/`
|
|
161
|
+
3. Update `design-systems.csv` in `data/` if new brands are added
|
|
162
|
+
4. Update `index.json` in `knowledge/design-systems/` with new entries
|
|
163
|
+
|
|
164
|
+
## Tips for Best Results
|
|
165
|
+
|
|
166
|
+
1. **Be specific** — "dark mode with purple accents" is better than "dark"
|
|
167
|
+
2. **Reference real brands** — "like Stripe" gives much better results than "fintech"
|
|
168
|
+
3. **Read the full DESIGN.md** — The CSV gives a summary, but the DESIGN.md has full specs
|
|
169
|
+
4. **Combine skills** — Design-system + UI/UX + Stack = production-quality output
|
|
170
|
+
5. **Use Agent_Quick_Prompt** — Each entry has a ready-to-use prompt in the CSV
|
|
171
|
+
|
|
172
|
+
## Links to Other Skills
|
|
173
|
+
|
|
174
|
+
- **ui-ux**: Use together for comprehensive design system + UX guidelines
|
|
175
|
+
- **documents**: Use to document your project's design system
|
|
176
|
+
- **content-optimization**: Use to optimize CTA placement with brand colors
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# Skill: Documents (Cross-Cutting & Multi-Format)
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
This skill is used to create comprehensive documentation for both technical and end-user audiences. It supports parallel generation of Markdown files (for repository/GitHub) and interactive HTML files (for browser-based manuals).
|
|
6
|
+
|
|
7
|
+
## Core Requirements
|
|
8
|
+
|
|
9
|
+
### 1. Multi-Format Output
|
|
10
|
+
Every documentation task should ideally generate four versions:
|
|
11
|
+
- `documentation.txt`: A concise, text-only overview for quick reading and AI context.
|
|
12
|
+
- `documentation.md`: High-quality Markdown for version control and GitHub READMEs.
|
|
13
|
+
- `documentation.html`: An interactive, premium documentation page with sidebar navigation.
|
|
14
|
+
- `documentation-landing-page.html`: A visual, high-end landing page to showcase the project/plugin.
|
|
15
|
+
|
|
16
|
+
### 2. Dynamic Design (Not Fixed Templates)
|
|
17
|
+
- **Do NOT follow a rigid template**: The Agent must **design** the documentation layout and content structure specifically for the project.
|
|
18
|
+
- **Synergy with ui-ux**: use of the `ui-ux` skill is **MANDATORY** for `documentation.html` and `documentation-landing-page.html`.
|
|
19
|
+
|
|
20
|
+
### 3. Standard Quality Structure (Mandatory)
|
|
21
|
+
To ensure clarity and completeness, the generated documentation MUST include:
|
|
22
|
+
|
|
23
|
+
#### A. Interactive Documentation (documentation.html)
|
|
24
|
+
1. **Quick Start**: Clear steps to get running in < 2 minutes.
|
|
25
|
+
2. **System Requirements**: OS, versions, dependencies.
|
|
26
|
+
3. **Installation & Setup**: Detailed step-by-step guide.
|
|
27
|
+
4. **Configuration**: Explanation of all settings (config files, UI settings).
|
|
28
|
+
5. **Core Features**: Deep dive into each component found in `heraspec/specs/`.
|
|
29
|
+
6. **Technical Reference**: (For Devs) API endpoints, Hooks, Filters, Functions.
|
|
30
|
+
7. **Troubleshooting & FAQ**: Common issues and solutions.
|
|
31
|
+
|
|
32
|
+
#### B. Premium Landing Page (documentation-landing-page.html)
|
|
33
|
+
1. **Hero Section**: High-impact headline and clear sub-headline.
|
|
34
|
+
2. **Value Proposition**: Briefly explain "The Problem" vs "The Solution".
|
|
35
|
+
3. **Feature Showcase**: A visual grid of key benefits with icons/images.
|
|
36
|
+
4. **How It Works**: A simplified 1-2-3 step process of using the project.
|
|
37
|
+
5. **CTA (Call to Action)**: Prominent buttons to "Get Started" or "View Docs".
|
|
38
|
+
|
|
39
|
+
### 4. Visual Excellence
|
|
40
|
+
- Use gradients, smooth animations (fade-in, slide), and premium fonts (e.g., Inter, Montserrat).
|
|
41
|
+
- The HTML documentation should feel like a modern SaaS dashboard or a high-end technical manual.
|
|
42
|
+
|
|
43
|
+
### 4. Project-Wide Scope
|
|
44
|
+
When tasked with generating documentation for the entire project:
|
|
45
|
+
- **Data Source**: Agent MUST read `heraspec/project.md` and ALL files in `heraspec/specs/`.
|
|
46
|
+
- **Synthesis**: Agent must combine information from all components and features into a unified manual.
|
|
47
|
+
- **Landing Page**: Should serve as the project homepage, summarizing the main value proposition and key features across all modules.
|
|
48
|
+
|
|
49
|
+
## Implementation Steps
|
|
50
|
+
|
|
51
|
+
### Step 1: Intelligence Gathering & Design Planning
|
|
52
|
+
1. **Analyze Project**: Scan all relevant `.md` files in the project. Understand the core purpose and technical details.
|
|
53
|
+
2. **Enforce UI/UX Dependency**:
|
|
54
|
+
- Check if `heraspec/skills/ui-ux/` exists.
|
|
55
|
+
- If missing: **Execute `heraspec skill add ui-ux`** immediately. Do NOT proceed with HTML generation until this skill is available.
|
|
56
|
+
3. **Define Design System**: Consult the `ui-ux` skill to establish a visual language (colors, fonts, animation styles).
|
|
57
|
+
4. **Plan Structures**: Outline what needs to go into the `.txt`, `.md`, and `.html` versions.
|
|
58
|
+
|
|
59
|
+
### Step 2: Constructing Documentation Assets
|
|
60
|
+
1. **Compose documentation.txt & .md**: Focus on clarity and technical accuracy.
|
|
61
|
+
2. **Develop documentation.html**: Build a split-panel layout (Sidebar + Content). DO NOT just fill a template; **write the HTML/CSS/JS** needed to make it look premium and project-specific.
|
|
62
|
+
3. **Design documentation-landing-page.html**: Create a compelling Hero section and feature showcase. Link to the main docs.
|
|
63
|
+
|
|
64
|
+
## Required Input
|
|
65
|
+
|
|
66
|
+
- **Project Context**: The name of the plugin/project (e.g., "polyutilities").
|
|
67
|
+
- **Specs/Docs**: All existing documentation and specification files.
|
|
68
|
+
- **Design Guidelines**: Inputs from the `ui-ux` skill.
|
|
69
|
+
|
|
70
|
+
## Expected Output (Save to /documentations/)
|
|
71
|
+
|
|
72
|
+
**CRITICAL**: All files MUST be placed in a `/documentations` folder at the project root. If this folder does not exist, the Agent MUST create it first.
|
|
73
|
+
|
|
74
|
+
- `/documentations/documentation.txt`: Plain text overview.
|
|
75
|
+
- `/documentations/documentation.md`: Markdown version.
|
|
76
|
+
- `/documentations/documentation.html`: Interactive split-panel HTML.
|
|
77
|
+
- `/documentations/documentation-landing-page.html`: Visual landing page.
|
|
78
|
+
- `/documentations/style.css` & `/documentations/landing-style.css`: Custom-generated styles.
|
|
79
|
+
- `/documentations/script.js` & `/documentations/landing-script.js`: Interactive logic.
|
|
80
|
+
|
|
81
|
+
## Tone & Rules
|
|
82
|
+
|
|
83
|
+
- **Consistent Content**: The core information must be synchronized across all formats.
|
|
84
|
+
- **Design Autonomy**: The Agent is responsible for the final aesthetic and structural quality.
|
|
85
|
+
- **Visual Impact**: Documentation must WOW the user with its premium feel.
|
|
86
|
+
|
|
87
|
+
## Reference Templates
|
|
88
|
+
These are provided as starting points or inspiration. The Agent should feel free to expand or modify them to suit the project:
|
|
89
|
+
|
|
90
|
+
- `templates/documentation.html` - Base HTML documentation layout
|
|
91
|
+
- `templates/documentation-landing-page.html` - Premium Landing Page layout
|
|
92
|
+
- `templates/style.css` - Premium styles for HTML documentation
|
|
93
|
+
- `templates/landing-style.css` - Premium styles for Landing Page
|
|
94
|
+
- `templates/script.js` - Interactive logic for HTML documentation
|
|
95
|
+
- `templates/landing-script.js` - Interactive logic for Landing Page
|
|
96
|
+
- `templates/technical-doc-template.md` - Technical documentation
|
|
97
|
+
- `templates/user-guide-template.md` - User guide
|
|
98
|
+
- `templates/api-doc-template.md` - API documentation
|
|
99
|
+
- `templates/changelog-template.md` - Changelog template
|
|
100
|
+
|
|
101
|
+
## Links to Other Skills
|
|
102
|
+
|
|
103
|
+
- **ui-ux**: ESSENTIAL. Use this to determine the look and feel of the HTML documentation.
|
|
104
|
+
- **content-optimization**: Use to ensure the text is clear and professional.
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
# Skill: End-to-End (E2E) Testing (Cross-Cutting)
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
This skill is used to create end-to-end tests that verify complete user workflows from start to finish. E2E tests simulate real user interactions with the application.
|
|
6
|
+
|
|
7
|
+
## When to Use
|
|
8
|
+
|
|
9
|
+
- When testing complete user workflows
|
|
10
|
+
- When testing critical user journeys
|
|
11
|
+
- When testing UI interactions
|
|
12
|
+
- When verifying application behavior from user perspective
|
|
13
|
+
- When testing authentication flows
|
|
14
|
+
- When testing payment/transaction flows
|
|
15
|
+
|
|
16
|
+
## Step-by-Step Process
|
|
17
|
+
|
|
18
|
+
### Step 1: Identify User Journeys
|
|
19
|
+
- Map critical user workflows
|
|
20
|
+
- Identify key user scenarios
|
|
21
|
+
- List user personas and their goals
|
|
22
|
+
- Determine test priorities (critical paths first)
|
|
23
|
+
- Document expected user behavior
|
|
24
|
+
|
|
25
|
+
### Step 2: Set Up E2E Testing Framework
|
|
26
|
+
- Choose E2E testing tool (Playwright, Cypress, Selenium, etc.)
|
|
27
|
+
- Configure test environment
|
|
28
|
+
- Set up test browser/headless mode
|
|
29
|
+
- Configure test data and user accounts
|
|
30
|
+
- Set up test application instance
|
|
31
|
+
|
|
32
|
+
### Step 3: Write E2E Tests
|
|
33
|
+
- Create test files for each user journey
|
|
34
|
+
- Write tests simulating user actions (click, type, navigate)
|
|
35
|
+
- Test complete workflows from start to finish
|
|
36
|
+
- Verify UI elements and feedback
|
|
37
|
+
- Test error scenarios and edge cases
|
|
38
|
+
- Use page objects for maintainability
|
|
39
|
+
|
|
40
|
+
### Step 4: Run and Verify
|
|
41
|
+
- Run E2E tests
|
|
42
|
+
- Verify tests pass consistently
|
|
43
|
+
- Check test execution time
|
|
44
|
+
- Review test failures and flakiness
|
|
45
|
+
- Ensure tests are stable and reliable
|
|
46
|
+
|
|
47
|
+
### Step 5: Maintain Tests
|
|
48
|
+
- Update tests when UI changes
|
|
49
|
+
- Keep page objects synchronized with UI
|
|
50
|
+
- Document test scenarios
|
|
51
|
+
- Monitor test stability
|
|
52
|
+
|
|
53
|
+
## Required Input
|
|
54
|
+
|
|
55
|
+
- **User journeys**: List of critical user workflows
|
|
56
|
+
- **Test environment**: Application URL and test environment setup
|
|
57
|
+
- **Test accounts**: User accounts for testing
|
|
58
|
+
- **E2E framework**: Testing framework to use
|
|
59
|
+
- **Browser**: Browser to test in (Chrome, Firefox, etc.)
|
|
60
|
+
|
|
61
|
+
## Expected Output
|
|
62
|
+
|
|
63
|
+
- E2E test files
|
|
64
|
+
- Test scenarios covering user journeys
|
|
65
|
+
- Page objects for UI elements
|
|
66
|
+
- Passing E2E test suite
|
|
67
|
+
- Documentation of E2E test scenarios
|
|
68
|
+
|
|
69
|
+
## Tone & Rules
|
|
70
|
+
|
|
71
|
+
### Test Scope
|
|
72
|
+
- Focus on critical user journeys
|
|
73
|
+
- Test from user perspective
|
|
74
|
+
- Verify complete workflows
|
|
75
|
+
- Test happy paths and error scenarios
|
|
76
|
+
|
|
77
|
+
### Test Stability
|
|
78
|
+
- Use reliable selectors (data-testid, stable IDs)
|
|
79
|
+
- Add appropriate waits for async operations
|
|
80
|
+
- Handle flaky elements (retries, explicit waits)
|
|
81
|
+
- Keep tests independent and isolated
|
|
82
|
+
|
|
83
|
+
### Performance
|
|
84
|
+
- E2E tests are slowest (run separately)
|
|
85
|
+
- Use headless mode for CI
|
|
86
|
+
- Parallelize tests when possible
|
|
87
|
+
- Consider test execution time
|
|
88
|
+
|
|
89
|
+
### Limitations
|
|
90
|
+
- ❌ DO NOT test every UI element (focus on journeys)
|
|
91
|
+
- ❌ DO NOT use brittle selectors (XPath with complex paths)
|
|
92
|
+
- ❌ DO NOT skip error handling
|
|
93
|
+
- ❌ DO NOT write tests that depend on timing
|
|
94
|
+
- ❌ DO NOT test implementation details
|
|
95
|
+
|
|
96
|
+
## Available Templates
|
|
97
|
+
|
|
98
|
+
- `templates/e2e-test-template.js` - JavaScript/Playwright template
|
|
99
|
+
- `templates/e2e-test-template.ts` - TypeScript/Cypress template
|
|
100
|
+
- `templates/e2e-test-template.py` - Python/Selenium template
|
|
101
|
+
|
|
102
|
+
## Available Scripts
|
|
103
|
+
|
|
104
|
+
- `scripts/setup-e2e-env.sh` - Set up E2E test environment
|
|
105
|
+
- `scripts/run-e2e-tests.sh` - Run E2E test suite
|
|
106
|
+
|
|
107
|
+
## Examples
|
|
108
|
+
|
|
109
|
+
See `examples/` directory for reference:
|
|
110
|
+
- `good-e2e-test/` - Well-structured E2E tests
|
|
111
|
+
- `bad-e2e-test/` - Examples to avoid
|
|
112
|
+
|
|
113
|
+
## Links to Other Skills
|
|
114
|
+
|
|
115
|
+
- **unit-test**: Use for testing individual components
|
|
116
|
+
- **integration-test**: Use for testing component interactions
|
|
117
|
+
- **ui-ux**: Reference when testing UI interactions
|
|
118
|
+
- **documents**: Use to document E2E test strategy
|
|
119
|
+
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# Skill: Email Sequence (Cross-Cutting)
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Design and draft multi-email sequences (drip campaigns, nurture flows, onboarding series) with full copy, timing delays, branching logic, exit conditions, and performance benchmarks.
|
|
6
|
+
|
|
7
|
+
## When to Use
|
|
8
|
+
|
|
9
|
+
- When building user onboarding, lead nurturing, re-engagement, win-back, or product launch email flows.
|
|
10
|
+
- When you need a complete campaign map showing visual delays and conditions.
|
|
11
|
+
- When setting up automated email campaigns in platforms like Klaviyo, HubSpot, Mailchimp, or Customer.io.
|
|
12
|
+
|
|
13
|
+
## Step-by-Step Process
|
|
14
|
+
|
|
15
|
+
### Step 1: Sequence Strategy
|
|
16
|
+
- Define the core goal of the sequence (e.g., convert trial to paid) and exit conditions (when a recipient completes the goal, remove them).
|
|
17
|
+
- Establish the overall narrative arc and progression across all emails.
|
|
18
|
+
|
|
19
|
+
### Step 2: Sequence Architecture & Delays
|
|
20
|
+
- Map out the number of emails and delay intervals (e.g., Email 1 on day 0, Email 2 on day 3, etc.).
|
|
21
|
+
- Set branching logic based on user action (e.g., opened but did not click vs. clicked).
|
|
22
|
+
|
|
23
|
+
### Step 3: Write Email Copy
|
|
24
|
+
- For each email, provide 2-3 subject line options and a compelling preview text (40-90 chars).
|
|
25
|
+
- Draft scannable body copy with clear benefit hooks and exactly one primary CTA.
|
|
26
|
+
|
|
27
|
+
### Step 4: Define Exit & Suppression Logic
|
|
28
|
+
- Specify who should be excluded (suppression rules) and when they exit the flow automatically.
|
|
29
|
+
|
|
30
|
+
### Step 5: Establish Performance Benchmarks
|
|
31
|
+
- Provide standard industry metrics (Open Rate, CTR, Conversion Rate) for tracking.
|
|
32
|
+
|
|
33
|
+
## Required Input
|
|
34
|
+
|
|
35
|
+
- **Sequence Type**: Onboarding, lead nurture, re-engagement, win-back, etc.
|
|
36
|
+
- **Goal**: The single action that ends the sequence.
|
|
37
|
+
- **Audience**: Segmentation details, buyer persona, lifecycle stage.
|
|
38
|
+
- **Delays/Timing**: Desired delay intervals.
|
|
39
|
+
|
|
40
|
+
## Expected Output
|
|
41
|
+
|
|
42
|
+
- **Sequence Overview Table**: Summary of emails, delays, and CTAs.
|
|
43
|
+
- **Email Drafts**: Full copy-paste-ready drafts including subject lines, preview text, body copy, and CTAs.
|
|
44
|
+
- **Branching Flow Diagram**: Text-based ASCII flow chart displaying paths and exit points.
|
|
45
|
+
- **Target Performance Benchmarks Table**: Expected Open Rate, CTR, and Conversion metrics.
|
|
46
|
+
|
|
47
|
+
## Tone & Rules
|
|
48
|
+
|
|
49
|
+
- Write in a friendly, conversational, yet highly professional and value-first tone.
|
|
50
|
+
- Avoid multiple competing CTAs in a single email. Keep it highly focused on one next step.
|
|
51
|
+
- Include personalization tokens (e.g., `{{first_name}}`, `{{company}}`) in email body text.
|
|
52
|
+
|
|
53
|
+
## Available Templates
|
|
54
|
+
|
|
55
|
+
- None
|
|
56
|
+
|
|
57
|
+
## Available Scripts
|
|
58
|
+
|
|
59
|
+
- None
|
|
60
|
+
|
|
61
|
+
## Examples
|
|
62
|
+
|
|
63
|
+
See `examples/` directory.
|
|
64
|
+
|
|
65
|
+
## Links to Other Skills
|
|
66
|
+
|
|
67
|
+
- **content-creation**: Use content guidelines and hook formulas to write email drafts.
|
|
68
|
+
- **documents**: Use to outline technical integration guides linked in the emails.
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# Kỹ năng: Chuỗi Email Tự động (Email Sequence) (Cross-Cutting)
|
|
2
|
+
|
|
3
|
+
## Mục đích
|
|
4
|
+
|
|
5
|
+
Thiết kế và soạn thảo các chuỗi email tự động (drip campaigns, nurture flows, onboarding series) kèm nội dung chi tiết, thời gian giãn cách giữa các email, logic rẽ nhánh, điều kiện dừng và các chỉ số đo lường hiệu năng.
|
|
6
|
+
|
|
7
|
+
## Khi nào sử dụng
|
|
8
|
+
|
|
9
|
+
- Khi xây dựng chuỗi email chào mừng (onboarding), nuôi dưỡng leads (lead nurture), tương tác lại (re-engagement), kéo khách hàng quay lại (win-back) hoặc ra mắt sản phẩm.
|
|
10
|
+
- Khi cần sơ đồ hóa toàn bộ luồng gửi email kèm các điều kiện rẽ nhánh và điểm dừng.
|
|
11
|
+
- Khi thiết lập các chiến dịch tự động hóa trên các nền tảng như Klaviyo, HubSpot, Mailchimp hoặc Customer.io.
|
|
12
|
+
|
|
13
|
+
## Quy trình từng bước
|
|
14
|
+
|
|
15
|
+
### Bước 1: Chiến lược Chuỗi Email
|
|
16
|
+
- Xác định mục tiêu cốt lõi của chuỗi (ví dụ: chuyển đổi từ dùng thử sang trả phí) và điều kiện thoát khỏi luồng (khi người nhận hoàn thành mục tiêu, tự động dừng gửi).
|
|
17
|
+
- Thiết lập cốt truyện (narrative arc) xuyên suốt và logic tiến trình giữa các email.
|
|
18
|
+
|
|
19
|
+
### Bước 2: Cấu trúc Chuỗi & Thời gian chờ (Delays)
|
|
20
|
+
- Lên sơ đồ số lượng email và khoảng cách thời gian gửi (ví dụ: Email 1 gửi ngay ngày 0, Email 2 sau 3 ngày, v.v...).
|
|
21
|
+
- Thiết lập logic rẽ nhánh dựa trên hành động của người nhận (ví dụ: đã mở nhưng chưa click vs. đã click link).
|
|
22
|
+
|
|
23
|
+
### Bước 3: Soạn thảo Nội dung Email
|
|
24
|
+
- Với mỗi email, cung cấp 2-3 phương án dòng tiêu đề (subject lines) và mô tả preview text hấp dẫn (40-90 ký tự).
|
|
25
|
+
- Viết thân bài dễ đọc, ngắn gọn, đi thẳng vào lợi ích của khách hàng và chỉ chứa duy nhất một CTA chính.
|
|
26
|
+
|
|
27
|
+
### Bước 4: Định nghĩa Điều kiện Dừng & Loại trừ
|
|
28
|
+
- Chỉ rõ các đối tượng cần loại trừ (suppression rules) và thời điểm họ tự động thoát khỏi luồng để tránh spam.
|
|
29
|
+
|
|
30
|
+
### Bước 5: Thiết lập Chỉ số Đo lường (Benchmarks)
|
|
31
|
+
- Đưa ra các chỉ số tiêu chuẩn của ngành (Tỷ lệ Mở - Open Rate, Tỷ lệ Click - CTR, Tỷ lệ Chuyển đổi) để theo dõi và tối ưu.
|
|
32
|
+
|
|
33
|
+
## Input yêu cầu
|
|
34
|
+
|
|
35
|
+
- **Loại chuỗi**: Chào mừng (onboarding), nuôi dưỡng leads, re-engagement, win-back, v.v...
|
|
36
|
+
- **Mục tiêu**: Hành động duy nhất để hoàn thành chuỗi email.
|
|
37
|
+
- **Đối tượng**: Chi tiết phân khúc, chân dung khách hàng, giai đoạn vòng đời.
|
|
38
|
+
- **Thời gian chờ/Giãn cách**: Khoảng cách mong muốn giữa các email.
|
|
39
|
+
|
|
40
|
+
## Output mong đợi
|
|
41
|
+
|
|
42
|
+
- **Bảng tóm tắt chuỗi**: Tóm tắt các email, thời gian chờ, và CTAs.
|
|
43
|
+
- **Bản thảo chi tiết**: Bài viết hoàn chỉnh sẵn sàng copy-paste, bao gồm các phương án tiêu đề, preview text, thân bài và CTAs.
|
|
44
|
+
- **Sơ đồ luồng rẽ nhánh**: Sơ đồ ASCII mô tả trực quan các luồng gửi và điểm dừng.
|
|
45
|
+
- **Bảng mục tiêu hiệu năng**: Tỷ lệ mở, tỷ lệ click và tỷ lệ chuyển đổi kỳ vọng.
|
|
46
|
+
|
|
47
|
+
## Giọng điệu & Quy tắc
|
|
48
|
+
|
|
49
|
+
- Viết bằng giọng điệu thân thiện, mang tính đối thoại nhưng vẫn giữ sự chuyên nghiệp và luôn trao giá trị trước.
|
|
50
|
+
- Tránh chèn quá nhiều CTAs cạnh tranh nhau trong một email. Tập trung cao độ vào một hành động tiếp theo duy nhất.
|
|
51
|
+
- Sử dụng các token cá nhân hóa (ví dụ: `{{first_name}}`, `{{company}}`) trong văn bản.
|
|
52
|
+
|
|
53
|
+
## Templates có sẵn
|
|
54
|
+
|
|
55
|
+
- Không có
|
|
56
|
+
|
|
57
|
+
## Templates Scripts có sẵn
|
|
58
|
+
|
|
59
|
+
- Không có
|
|
60
|
+
|
|
61
|
+
## Ví dụ
|
|
62
|
+
|
|
63
|
+
Xem thư mục `examples/`.
|
|
64
|
+
|
|
65
|
+
## Liên kết với các kỹ năng khác
|
|
66
|
+
|
|
67
|
+
- **content-creation**: Áp dụng các nguyên tắc viết tiêu đề và viết mở bài thu hút để soạn thảo email.
|
|
68
|
+
- **documents**: Dùng để phác thảo các hướng dẫn kỹ thuật chi tiết được đính kèm trong link email.
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# Skill: Email Sequence (Cross-Cutting)
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Design and draft multi-email sequences (drip campaigns, nurture flows, onboarding series) with full copy, timing delays, branching logic, exit conditions, and performance benchmarks.
|
|
6
|
+
|
|
7
|
+
## When to Use
|
|
8
|
+
|
|
9
|
+
- When building user onboarding, lead nurturing, re-engagement, win-back, or product launch email flows.
|
|
10
|
+
- When you need a complete campaign map showing visual delays and conditions.
|
|
11
|
+
- When setting up automated email campaigns in platforms like Klaviyo, HubSpot, Mailchimp, or Customer.io.
|
|
12
|
+
|
|
13
|
+
## Step-by-Step Process
|
|
14
|
+
|
|
15
|
+
### Step 1: Sequence Strategy
|
|
16
|
+
- Define the core goal of the sequence (e.g., convert trial to paid) and exit conditions (when a recipient completes the goal, remove them).
|
|
17
|
+
- Establish the overall narrative arc and progression across all emails.
|
|
18
|
+
|
|
19
|
+
### Step 2: Sequence Architecture & Delays
|
|
20
|
+
- Map out the number of emails and delay intervals (e.g., Email 1 on day 0, Email 2 on day 3, etc.).
|
|
21
|
+
- Set branching logic based on user action (e.g., opened but did not click vs. clicked).
|
|
22
|
+
|
|
23
|
+
### Step 3: Write Email Copy
|
|
24
|
+
- For each email, provide 2-3 subject line options and a compelling preview text (40-90 chars).
|
|
25
|
+
- Draft scannable body copy with clear benefit hooks and exactly one primary CTA.
|
|
26
|
+
|
|
27
|
+
### Step 4: Define Exit & Suppression Logic
|
|
28
|
+
- Specify who should be excluded (suppression rules) and when they exit the flow automatically.
|
|
29
|
+
|
|
30
|
+
### Step 5: Establish Performance Benchmarks
|
|
31
|
+
- Provide standard industry metrics (Open Rate, CTR, Conversion Rate) for tracking.
|
|
32
|
+
|
|
33
|
+
## Required Input
|
|
34
|
+
|
|
35
|
+
- **Sequence Type**: Onboarding, lead nurture, re-engagement, win-back, etc.
|
|
36
|
+
- **Goal**: The single action that ends the sequence.
|
|
37
|
+
- **Audience**: Segmentation details, buyer persona, lifecycle stage.
|
|
38
|
+
- **Delays/Timing**: Desired delay intervals.
|
|
39
|
+
|
|
40
|
+
## Expected Output
|
|
41
|
+
|
|
42
|
+
- **Sequence Overview Table**: Summary of emails, delays, and CTAs.
|
|
43
|
+
- **Email Drafts**: Full copy-paste-ready drafts including subject lines, preview text, body copy, and CTAs.
|
|
44
|
+
- **Branching Flow Diagram**: Text-based ASCII flow chart displaying paths and exit points.
|
|
45
|
+
- **Target Performance Benchmarks Table**: Expected Open Rate, CTR, and Conversion metrics.
|
|
46
|
+
|
|
47
|
+
## Tone & Rules
|
|
48
|
+
|
|
49
|
+
- Write in a friendly, conversational, yet highly professional and value-first tone.
|
|
50
|
+
- Avoid multiple competing CTAs in a single email. Keep it highly focused on one next step.
|
|
51
|
+
- Include personalization tokens (e.g., `{{first_name}}`, `{{company}}`) in email body text.
|
|
52
|
+
|
|
53
|
+
## Available Templates
|
|
54
|
+
|
|
55
|
+
- None
|
|
56
|
+
|
|
57
|
+
## Available Scripts
|
|
58
|
+
|
|
59
|
+
- None
|
|
60
|
+
|
|
61
|
+
## Examples
|
|
62
|
+
|
|
63
|
+
See `examples/` directory.
|
|
64
|
+
|
|
65
|
+
## Links to Other Skills
|
|
66
|
+
|
|
67
|
+
- **content-creation**: Use content guidelines and hook formulas to write email drafts.
|
|
68
|
+
- **documents**: Use to outline technical integration guides linked in the emails.
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# Kỹ năng: Chuỗi Email Tự động (Email Sequence) (Cross-Cutting)
|
|
2
|
+
|
|
3
|
+
## Mục đích
|
|
4
|
+
|
|
5
|
+
Thiết kế và soạn thảo các chuỗi email tự động (drip campaigns, nurture flows, onboarding series) kèm nội dung chi tiết, thời gian giãn cách giữa các email, logic rẽ nhánh, điều kiện dừng và các chỉ số đo lường hiệu năng.
|
|
6
|
+
|
|
7
|
+
## Khi nào sử dụng
|
|
8
|
+
|
|
9
|
+
- Khi xây dựng chuỗi email chào mừng (onboarding), nuôi dưỡng leads (lead nurture), tương tác lại (re-engagement), kéo khách hàng quay lại (win-back) hoặc ra mắt sản phẩm.
|
|
10
|
+
- Khi cần sơ đồ hóa toàn bộ luồng gửi email kèm các điều kiện rẽ nhánh và điểm dừng.
|
|
11
|
+
- Khi thiết lập các chiến dịch tự động hóa trên các nền tảng như Klaviyo, HubSpot, Mailchimp hoặc Customer.io.
|
|
12
|
+
|
|
13
|
+
## Quy trình từng bước
|
|
14
|
+
|
|
15
|
+
### Bước 1: Chiến lược Chuỗi Email
|
|
16
|
+
- Xác định mục tiêu cốt lõi của chuỗi (ví dụ: chuyển đổi từ dùng thử sang trả phí) và điều kiện thoát khỏi luồng (khi người nhận hoàn thành mục tiêu, tự động dừng gửi).
|
|
17
|
+
- Thiết lập cốt truyện (narrative arc) xuyên suốt và logic tiến trình giữa các email.
|
|
18
|
+
|
|
19
|
+
### Bước 2: Cấu trúc Chuỗi & Thời gian chờ (Delays)
|
|
20
|
+
- Lên sơ đồ số lượng email và khoảng cách thời gian gửi (ví dụ: Email 1 gửi ngay ngày 0, Email 2 sau 3 ngày, v.v...).
|
|
21
|
+
- Thiết lập logic rẽ nhánh dựa trên hành động của người nhận (ví dụ: đã mở nhưng chưa click vs. đã click link).
|
|
22
|
+
|
|
23
|
+
### Bước 3: Soạn thảo Nội dung Email
|
|
24
|
+
- Với mỗi email, cung cấp 2-3 phương án dòng tiêu đề (subject lines) và mô tả preview text hấp dẫn (40-90 ký tự).
|
|
25
|
+
- Viết thân bài dễ đọc, ngắn gọn, đi thẳng vào lợi ích của khách hàng và chỉ chứa duy nhất một CTA chính.
|
|
26
|
+
|
|
27
|
+
### Bước 4: Định nghĩa Điều kiện Dừng & Loại trừ
|
|
28
|
+
- Chỉ rõ các đối tượng cần loại trừ (suppression rules) và thời điểm họ tự động thoát khỏi luồng để tránh spam.
|
|
29
|
+
|
|
30
|
+
### Bước 5: Thiết lập Chỉ số Đo lường (Benchmarks)
|
|
31
|
+
- Đưa ra các chỉ số tiêu chuẩn của ngành (Tỷ lệ Mở - Open Rate, Tỷ lệ Click - CTR, Tỷ lệ Chuyển đổi) để theo dõi và tối ưu.
|
|
32
|
+
|
|
33
|
+
## Input yêu cầu
|
|
34
|
+
|
|
35
|
+
- **Loại chuỗi**: Chào mừng (onboarding), nuôi dưỡng leads, re-engagement, win-back, v.v...
|
|
36
|
+
- **Mục tiêu**: Hành động duy nhất để hoàn thành chuỗi email.
|
|
37
|
+
- **Đối tượng**: Chi tiết phân khúc, chân dung khách hàng, giai đoạn vòng đời.
|
|
38
|
+
- **Thời gian chờ/Giãn cách**: Khoảng cách mong muốn giữa các email.
|
|
39
|
+
|
|
40
|
+
## Output mong đợi
|
|
41
|
+
|
|
42
|
+
- **Bảng tóm tắt chuỗi**: Tóm tắt các email, thời gian chờ, và CTAs.
|
|
43
|
+
- **Bản thảo chi tiết**: Bài viết hoàn chỉnh sẵn sàng copy-paste, bao gồm các phương án tiêu đề, preview text, thân bài và CTAs.
|
|
44
|
+
- **Sơ đồ luồng rẽ nhánh**: Sơ đồ ASCII mô tả trực quan các luồng gửi và điểm dừng.
|
|
45
|
+
- **Bảng mục tiêu hiệu năng**: Tỷ lệ mở, tỷ lệ click và tỷ lệ chuyển đổi kỳ vọng.
|
|
46
|
+
|
|
47
|
+
## Giọng điệu & Quy tắc
|
|
48
|
+
|
|
49
|
+
- Viết bằng giọng điệu thân thiện, mang tính đối thoại nhưng vẫn giữ sự chuyên nghiệp và luôn trao giá trị trước.
|
|
50
|
+
- Tránh chèn quá nhiều CTAs cạnh tranh nhau trong một email. Tập trung cao độ vào một hành động tiếp theo duy nhất.
|
|
51
|
+
- Sử dụng các token cá nhân hóa (ví dụ: `{{first_name}}`, `{{company}}`) trong văn bản.
|
|
52
|
+
|
|
53
|
+
## Templates có sẵn
|
|
54
|
+
|
|
55
|
+
- Không có
|
|
56
|
+
|
|
57
|
+
## Templates Scripts có sẵn
|
|
58
|
+
|
|
59
|
+
- Không có
|
|
60
|
+
|
|
61
|
+
## Ví dụ
|
|
62
|
+
|
|
63
|
+
Xem thư mục `examples/`.
|
|
64
|
+
|
|
65
|
+
## Liên kết với các kỹ năng khác
|
|
66
|
+
|
|
67
|
+
- **content-creation**: Áp dụng các nguyên tắc viết tiêu đề và viết mở bài thu hút để soạn thảo email.
|
|
68
|
+
- **documents**: Dùng để phác thảo các hướng dẫn kỹ thuật chi tiết được đính kèm trong link email.
|