heraspec 0.1.12 → 0.1.14

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.
Files changed (129) hide show
  1. package/LICENSE +22 -22
  2. package/README.md +188 -103
  3. package/bin/heraspec.js +4805 -1122
  4. package/bin/heraspec.js.map +4 -4
  5. package/dist/core/templates/skills/CHANGELOG.md +117 -117
  6. package/dist/core/templates/skills/README-template.md +58 -58
  7. package/dist/core/templates/skills/README.md +38 -38
  8. package/dist/core/templates/skills/content-optimization-skill.md +104 -104
  9. package/dist/core/templates/skills/data/design-systems.csv +54 -0
  10. package/dist/core/templates/skills/data/pages-proposed.csv +21 -21
  11. package/dist/core/templates/skills/data/pages.csv +9 -9
  12. package/dist/core/templates/skills/data/typography.csv +57 -57
  13. package/dist/core/templates/skills/deploy-documentation-skill.md +408 -0
  14. package/dist/core/templates/skills/design-system-skill.md +176 -0
  15. package/dist/core/templates/skills/documents/templates/documentation-landing-page.html +63 -63
  16. package/dist/core/templates/skills/documents/templates/documentation.html +49 -49
  17. package/dist/core/templates/skills/documents/templates/landing-script.js +38 -38
  18. package/dist/core/templates/skills/documents/templates/landing-style.css +158 -158
  19. package/dist/core/templates/skills/documents/templates/script.js +56 -56
  20. package/dist/core/templates/skills/documents/templates/style.css +155 -155
  21. package/dist/core/templates/skills/documents/templates/technical-doc-template.md +16 -16
  22. package/dist/core/templates/skills/documents/templates/user-guide-template.md +16 -16
  23. package/dist/core/templates/skills/documents-skill.md +104 -104
  24. package/dist/core/templates/skills/e2e-test-skill.md +119 -119
  25. package/dist/core/templates/skills/git-embed-skill.md +57 -0
  26. package/dist/core/templates/skills/integration-test-skill.md +118 -118
  27. package/dist/core/templates/skills/knowledge/README.md +63 -0
  28. package/dist/core/templates/skills/knowledge/design-systems/airbnb/DESIGN.md +246 -0
  29. package/dist/core/templates/skills/knowledge/design-systems/airtable/DESIGN.md +89 -0
  30. package/dist/core/templates/skills/knowledge/design-systems/apple/DESIGN.md +313 -0
  31. package/dist/core/templates/skills/knowledge/design-systems/bmw/DESIGN.md +180 -0
  32. package/dist/core/templates/skills/knowledge/design-systems/cal/DESIGN.md +259 -0
  33. package/dist/core/templates/skills/knowledge/design-systems/claude/DESIGN.md +312 -0
  34. package/dist/core/templates/skills/knowledge/design-systems/clay/DESIGN.md +304 -0
  35. package/dist/core/templates/skills/knowledge/design-systems/clickhouse/DESIGN.md +281 -0
  36. package/dist/core/templates/skills/knowledge/design-systems/cohere/DESIGN.md +266 -0
  37. package/dist/core/templates/skills/knowledge/design-systems/coinbase/DESIGN.md +129 -0
  38. package/dist/core/templates/skills/knowledge/design-systems/composio/DESIGN.md +307 -0
  39. package/dist/core/templates/skills/knowledge/design-systems/cursor/DESIGN.md +309 -0
  40. package/dist/core/templates/skills/knowledge/design-systems/elevenlabs/DESIGN.md +265 -0
  41. package/dist/core/templates/skills/knowledge/design-systems/expo/DESIGN.md +281 -0
  42. package/dist/core/templates/skills/knowledge/design-systems/figma/DESIGN.md +220 -0
  43. package/dist/core/templates/skills/knowledge/design-systems/framer/DESIGN.md +246 -0
  44. package/dist/core/templates/skills/knowledge/design-systems/hashicorp/DESIGN.md +278 -0
  45. package/dist/core/templates/skills/knowledge/design-systems/ibm/DESIGN.md +332 -0
  46. package/dist/core/templates/skills/knowledge/design-systems/index.json +72 -0
  47. package/dist/core/templates/skills/knowledge/design-systems/intercom/DESIGN.md +146 -0
  48. package/dist/core/templates/skills/knowledge/design-systems/kraken/DESIGN.md +125 -0
  49. package/dist/core/templates/skills/knowledge/design-systems/linear.app/DESIGN.md +367 -0
  50. package/dist/core/templates/skills/knowledge/design-systems/lovable/DESIGN.md +298 -0
  51. package/dist/core/templates/skills/knowledge/design-systems/minimax/DESIGN.md +257 -0
  52. package/dist/core/templates/skills/knowledge/design-systems/mintlify/DESIGN.md +326 -0
  53. package/dist/core/templates/skills/knowledge/design-systems/miro/DESIGN.md +108 -0
  54. package/dist/core/templates/skills/knowledge/design-systems/mistral.ai/DESIGN.md +261 -0
  55. package/dist/core/templates/skills/knowledge/design-systems/mongodb/DESIGN.md +266 -0
  56. package/dist/core/templates/skills/knowledge/design-systems/notion/DESIGN.md +309 -0
  57. package/dist/core/templates/skills/knowledge/design-systems/nvidia/DESIGN.md +293 -0
  58. package/dist/core/templates/skills/knowledge/design-systems/ollama/DESIGN.md +267 -0
  59. package/dist/core/templates/skills/knowledge/design-systems/opencode.ai/DESIGN.md +281 -0
  60. package/dist/core/templates/skills/knowledge/design-systems/pinterest/DESIGN.md +230 -0
  61. package/dist/core/templates/skills/knowledge/design-systems/posthog/DESIGN.md +256 -0
  62. package/dist/core/templates/skills/knowledge/design-systems/raycast/DESIGN.md +268 -0
  63. package/dist/core/templates/skills/knowledge/design-systems/replicate/DESIGN.md +261 -0
  64. package/dist/core/templates/skills/knowledge/design-systems/resend/DESIGN.md +303 -0
  65. package/dist/core/templates/skills/knowledge/design-systems/revolut/DESIGN.md +185 -0
  66. package/dist/core/templates/skills/knowledge/design-systems/runwayml/DESIGN.md +244 -0
  67. package/dist/core/templates/skills/knowledge/design-systems/sanity/DESIGN.md +357 -0
  68. package/dist/core/templates/skills/knowledge/design-systems/sentry/DESIGN.md +262 -0
  69. package/dist/core/templates/skills/knowledge/design-systems/spacex/DESIGN.md +194 -0
  70. package/dist/core/templates/skills/knowledge/design-systems/spotify/DESIGN.md +246 -0
  71. package/dist/core/templates/skills/knowledge/design-systems/stripe/DESIGN.md +322 -0
  72. package/dist/core/templates/skills/knowledge/design-systems/supabase/DESIGN.md +255 -0
  73. package/dist/core/templates/skills/knowledge/design-systems/superhuman/DESIGN.md +252 -0
  74. package/dist/core/templates/skills/knowledge/design-systems/together.ai/DESIGN.md +263 -0
  75. package/dist/core/templates/skills/knowledge/design-systems/uber/DESIGN.md +295 -0
  76. package/dist/core/templates/skills/knowledge/design-systems/vercel/DESIGN.md +310 -0
  77. package/dist/core/templates/skills/knowledge/design-systems/voltagent/DESIGN.md +323 -0
  78. package/dist/core/templates/skills/knowledge/design-systems/warp/DESIGN.md +253 -0
  79. package/dist/core/templates/skills/knowledge/design-systems/webflow/DESIGN.md +92 -0
  80. package/dist/core/templates/skills/knowledge/design-systems/wise/DESIGN.md +173 -0
  81. package/dist/core/templates/skills/knowledge/design-systems/x.ai/DESIGN.md +257 -0
  82. package/dist/core/templates/skills/knowledge/design-systems/zapier/DESIGN.md +328 -0
  83. package/dist/core/templates/skills/knowledge/frameworks/php/codeigniter/rise-cms/profile.json +27 -0
  84. package/dist/core/templates/skills/knowledge/frameworks/php/codeigniter/rise-cms/structure.md +137 -0
  85. package/dist/core/templates/skills/knowledge/frameworks/php/laravel/botble/profile.json +39 -0
  86. package/dist/core/templates/skills/knowledge/frameworks/php/laravel/botble/structure.md +208 -0
  87. package/dist/core/templates/skills/knowledge/frameworks/php/wordpress/core/profile.json +51 -0
  88. package/dist/core/templates/skills/knowledge/frameworks/php/wordpress/core/structure.md +369 -0
  89. package/dist/core/templates/skills/knowledge/index.json +65 -0
  90. package/dist/core/templates/skills/module-codebase-skill.md +110 -110
  91. package/dist/core/templates/skills/plugin-directory-skill.md +396 -396
  92. package/dist/core/templates/skills/project-memory-skill.md +222 -0
  93. package/dist/core/templates/skills/project-memory-skill.vi.md +223 -0
  94. package/dist/core/templates/skills/scripts/CODE_EXPLANATION.md +394 -394
  95. package/dist/core/templates/skills/scripts/SEARCH_ALGORITHMS_COMPARISON.md +421 -421
  96. package/dist/core/templates/skills/scripts/SEARCH_MODES_GUIDE.md +238 -238
  97. package/dist/core/templates/skills/scripts/__pycache__/core.cpython-311.pyc +0 -0
  98. package/dist/core/templates/skills/scripts/core.py +391 -385
  99. package/dist/core/templates/skills/scripts/search.py +1 -1
  100. package/dist/core/templates/skills/smart-explore-skill.md +141 -0
  101. package/dist/core/templates/skills/sourcecode-analyzer-skill.md +210 -0
  102. package/dist/core/templates/skills/sourcecode-analyzer-skill.vi.md +210 -0
  103. package/dist/core/templates/skills/suggestion-skill.md +118 -118
  104. package/dist/core/templates/skills/templates/accessibility-checklist.md +40 -40
  105. package/dist/core/templates/skills/templates/example-prompt-full-theme.md +333 -333
  106. package/dist/core/templates/skills/templates/page-types-guide.md +338 -338
  107. package/dist/core/templates/skills/templates/pages-proposed-summary.md +273 -273
  108. package/dist/core/templates/skills/templates/pre-delivery-checklist.md +42 -42
  109. package/dist/core/templates/skills/templates/prompt-template-full-theme.md +313 -313
  110. package/dist/core/templates/skills/templates/responsive-design.md +40 -40
  111. package/dist/core/templates/skills/ui-ux-skill.md +595 -584
  112. package/dist/core/templates/skills/unit-test-skill.md +111 -111
  113. package/dist/core/templates/skills/ux-element/templates/Controller.php +50 -50
  114. package/dist/core/templates/skills/ux-element/templates/Shortcode.php +23 -23
  115. package/dist/core/templates/skills/ux-element/templates/Template.html +20 -20
  116. package/dist/core/templates/skills/ux-element/templates/Thumbnail.svg +8 -8
  117. package/dist/core/templates/skills/ux-element/templates/View.php +21 -21
  118. package/dist/core/templates/skills/ux-element-skill.md +83 -83
  119. package/dist/core/templates/skills/wordpress-plugin-check-skill.md +151 -76
  120. package/dist/core/templates/skills/wordpress-plugin-standard/templates/admin-dashboard.php +47 -47
  121. package/dist/core/templates/skills/wordpress-plugin-standard/templates/admin-settings.php +60 -60
  122. package/dist/core/templates/skills/wordpress-plugin-standard/templates/assets/admin-css.css +22 -22
  123. package/dist/core/templates/skills/wordpress-plugin-standard/templates/assets/admin-js.js +15 -15
  124. package/dist/core/templates/skills/wordpress-plugin-standard/templates/plugin-main.php +169 -169
  125. package/dist/core/templates/skills/wordpress-plugin-standard/templates/readme.txt +41 -41
  126. package/dist/core/templates/skills/wordpress-plugin-standard/templates/uninstall.php +21 -21
  127. package/dist/core/templates/skills/wordpress-plugin-standard-skill.md +100 -100
  128. package/dist/index.js +4068 -278
  129. package/package.json +75 -72
@@ -1,117 +1,117 @@
1
- # UI/UX Skill Changelog
2
-
3
- ## New Features
4
-
5
- ### 🔍 Multiple Search Modes
6
-
7
- UI/UX Builder now supports 3 search modes for better results:
8
-
9
- 1. **BM25 (Default)** ⚡
10
- - Fast keyword-based search
11
- - Zero dependencies
12
- - Works out of the box
13
- - Best for exact keyword matches
14
-
15
- 2. **Vector Mode** 🧠
16
- - Semantic search using sentence transformers
17
- - Understands meaning and synonyms
18
- - ~15-20% better results than BM25
19
- - Requires: `pip install sentence-transformers scikit-learn`
20
-
21
- 3. **Hybrid Mode** 🎯
22
- - Combines BM25 + Vector search
23
- - Best overall results (~25% improvement)
24
- - Catches both exact and semantic matches
25
- - Requires: `pip install sentence-transformers scikit-learn`
26
-
27
- **Usage:**
28
- ```bash
29
- # BM25 (default)
30
- python3 scripts/search.py "minimalism" --domain style
31
-
32
- # Vector (semantic)
33
- python3 scripts/search.py "elegant dark theme" --domain style --mode vector
34
-
35
- # Hybrid (best)
36
- python3 scripts/search.py "modern minimal design" --domain style --mode hybrid
37
- ```
38
-
39
- ### 📄 Multi-Page Website Support
40
-
41
- Added support for creating complete website packages with 9 default page types:
42
-
43
- 1. Home
44
- 2. About
45
- 3. Post Details
46
- 4. Category
47
- 5. Pricing
48
- 6. FAQ
49
- 7. Contact
50
- 8. Product Category (e-commerce)
51
- 9. Product Details (e-commerce)
52
-
53
- **New Domain:** `pages` - Search for page type templates
54
-
55
- **Usage:**
56
- ```bash
57
- python3 scripts/search.py "home homepage" --domain pages
58
- python3 scripts/search.py "pricing plans" --domain pages
59
- ```
60
-
61
- ### 📚 Enhanced Documentation
62
-
63
- - Added `SEARCH_MODES_GUIDE.md` - Detailed guide on search modes
64
- - Added `SEARCH_ALGORITHMS_COMPARISON.md` - Algorithm comparison
65
- - Added `CODE_EXPLANATION.md` - How the search engine works
66
- - Updated `ui-ux-skill.md` with search mode examples
67
- - Added references to base [UI UX Pro Max Skill](https://github.com/nextlevelbuilder/ui-ux-pro-max-skill) project that UI/UX Builder is built upon
68
-
69
- ## Improvements
70
-
71
- - Auto-fallback to BM25 if Vector/Hybrid dependencies not installed
72
- - Better error messages and warnings
73
- - Mode information in search results output
74
- - Updated all examples with search mode options
75
-
76
- ## Migration Guide
77
-
78
- ### For Existing Users
79
-
80
- No changes required! BM25 remains the default mode.
81
-
82
- ### To Use New Features
83
-
84
- 1. **For Vector/Hybrid modes:**
85
- ```bash
86
- pip install sentence-transformers scikit-learn
87
- ```
88
-
89
- 2. **Update your search commands:**
90
- ```bash
91
- # Old (still works)
92
- python3 scripts/search.py "query" --domain style
93
-
94
- # New (better results)
95
- python3 scripts/search.py "query" --domain style --mode hybrid
96
- ```
97
-
98
- 3. **For multi-page websites:**
99
- ```bash
100
- # Search page types
101
- python3 scripts/search.py "home" --domain pages
102
- ```
103
-
104
- ## Performance
105
-
106
- | Mode | Speed | Accuracy | Dependencies |
107
- |------|-------|----------|--------------|
108
- | BM25 | ⭐⭐⭐⭐⭐ | ⭐⭐⭐ | None |
109
- | Vector | ⭐⭐⭐ | ⭐⭐⭐⭐⭐ | sentence-transformers |
110
- | Hybrid | ⭐⭐⭐ | ⭐⭐⭐⭐⭐ | sentence-transformers |
111
-
112
- ## Backward Compatibility
113
-
114
- ✅ All existing commands work without changes
115
- ✅ BM25 remains default mode
116
- ✅ Auto-fallback if dependencies missing
117
- ✅ No breaking changes
1
+ # UI/UX Skill Changelog
2
+
3
+ ## New Features
4
+
5
+ ### 🔍 Multiple Search Modes
6
+
7
+ UI/UX Builder now supports 3 search modes for better results:
8
+
9
+ 1. **BM25 (Default)** ⚡
10
+ - Fast keyword-based search
11
+ - Zero dependencies
12
+ - Works out of the box
13
+ - Best for exact keyword matches
14
+
15
+ 2. **Vector Mode** 🧠
16
+ - Semantic search using sentence transformers
17
+ - Understands meaning and synonyms
18
+ - ~15-20% better results than BM25
19
+ - Requires: `pip install sentence-transformers scikit-learn`
20
+
21
+ 3. **Hybrid Mode** 🎯
22
+ - Combines BM25 + Vector search
23
+ - Best overall results (~25% improvement)
24
+ - Catches both exact and semantic matches
25
+ - Requires: `pip install sentence-transformers scikit-learn`
26
+
27
+ **Usage:**
28
+ ```bash
29
+ # BM25 (default)
30
+ python3 scripts/search.py "minimalism" --domain style
31
+
32
+ # Vector (semantic)
33
+ python3 scripts/search.py "elegant dark theme" --domain style --mode vector
34
+
35
+ # Hybrid (best)
36
+ python3 scripts/search.py "modern minimal design" --domain style --mode hybrid
37
+ ```
38
+
39
+ ### 📄 Multi-Page Website Support
40
+
41
+ Added support for creating complete website packages with 9 default page types:
42
+
43
+ 1. Home
44
+ 2. About
45
+ 3. Post Details
46
+ 4. Category
47
+ 5. Pricing
48
+ 6. FAQ
49
+ 7. Contact
50
+ 8. Product Category (e-commerce)
51
+ 9. Product Details (e-commerce)
52
+
53
+ **New Domain:** `pages` - Search for page type templates
54
+
55
+ **Usage:**
56
+ ```bash
57
+ python3 scripts/search.py "home homepage" --domain pages
58
+ python3 scripts/search.py "pricing plans" --domain pages
59
+ ```
60
+
61
+ ### 📚 Enhanced Documentation
62
+
63
+ - Added `SEARCH_MODES_GUIDE.md` - Detailed guide on search modes
64
+ - Added `SEARCH_ALGORITHMS_COMPARISON.md` - Algorithm comparison
65
+ - Added `CODE_EXPLANATION.md` - How the search engine works
66
+ - Updated `ui-ux-skill.md` with search mode examples
67
+ - Added references to base [UI UX Pro Max Skill](https://github.com/nextlevelbuilder/ui-ux-pro-max-skill) project that UI/UX Builder is built upon
68
+
69
+ ## Improvements
70
+
71
+ - Auto-fallback to BM25 if Vector/Hybrid dependencies not installed
72
+ - Better error messages and warnings
73
+ - Mode information in search results output
74
+ - Updated all examples with search mode options
75
+
76
+ ## Migration Guide
77
+
78
+ ### For Existing Users
79
+
80
+ No changes required! BM25 remains the default mode.
81
+
82
+ ### To Use New Features
83
+
84
+ 1. **For Vector/Hybrid modes:**
85
+ ```bash
86
+ pip install sentence-transformers scikit-learn
87
+ ```
88
+
89
+ 2. **Update your search commands:**
90
+ ```bash
91
+ # Old (still works)
92
+ python3 scripts/search.py "query" --domain style
93
+
94
+ # New (better results)
95
+ python3 scripts/search.py "query" --domain style --mode hybrid
96
+ ```
97
+
98
+ 3. **For multi-page websites:**
99
+ ```bash
100
+ # Search page types
101
+ python3 scripts/search.py "home" --domain pages
102
+ ```
103
+
104
+ ## Performance
105
+
106
+ | Mode | Speed | Accuracy | Dependencies |
107
+ |------|-------|----------|--------------|
108
+ | BM25 | ⭐⭐⭐⭐⭐ | ⭐⭐⭐ | None |
109
+ | Vector | ⭐⭐⭐ | ⭐⭐⭐⭐⭐ | sentence-transformers |
110
+ | Hybrid | ⭐⭐⭐ | ⭐⭐⭐⭐⭐ | sentence-transformers |
111
+
112
+ ## Backward Compatibility
113
+
114
+ ✅ All existing commands work without changes
115
+ ✅ BM25 remains default mode
116
+ ✅ Auto-fallback if dependencies missing
117
+ ✅ No breaking changes
@@ -1,58 +1,58 @@
1
- # Skills Directory
2
-
3
- This directory contains reusable skills for HeraSpec projects.
4
-
5
- ## What Are Skills?
6
-
7
- Skills are reusable patterns and workflows that help AI agents implement tasks consistently. Each skill contains:
8
-
9
- - **skill.md**: Complete guide on how to use the skill
10
- - **templates/**: Reusable templates
11
- - **scripts/**: Automation scripts
12
- - **examples/**: Good and bad examples
13
-
14
- ## Skill Structure
15
-
16
- ```
17
- skills/
18
- ├── <project-type>/ # Project-specific skills
19
- │ └── <skill-name>/
20
- │ ├── skill.md
21
- │ ├── templates/
22
- │ ├── scripts/
23
- │ └── examples/
24
-
25
- └── <skill-name>/ # Cross-cutting skills
26
- ├── skill.md
27
- ├── templates/
28
- ├── scripts/
29
- └── examples/
30
- ```
31
-
32
- ## How Agents Use Skills
33
-
34
- When a task has a skill tag:
35
- \`\`\`markdown
36
- ## 1. Feature (projectType: perfex-module, skill: module-codebase)
37
- - [ ] Task 1.1
38
- \`\`\`
39
-
40
- The agent will:
41
- 1. Find skill folder: \`heraspec/skills/perfex-module/module-codebase/\`
42
- 2. Read \`skill.md\` to understand process
43
- 3. Use templates and scripts from skill folder
44
- 4. Follow guidelines in skill.md
45
-
46
- ## Available Skills
47
-
48
- Run \`heraspec skill list\` to see all available skills.
49
-
50
- ## Creating New Skills
51
-
52
- 1. Create skill folder structure
53
- 2. Write \`skill.md\` following the template
54
- 3. Add templates, scripts, examples as needed
55
- 4. Update this README
56
-
57
- See \`docs/SKILLS_STRUCTURE_PROPOSAL.md\` for detailed structure.
58
-
1
+ # Skills Directory
2
+
3
+ This directory contains reusable skills for HeraSpec projects.
4
+
5
+ ## What Are Skills?
6
+
7
+ Skills are reusable patterns and workflows that help AI agents implement tasks consistently. Each skill contains:
8
+
9
+ - **skill.md**: Complete guide on how to use the skill
10
+ - **templates/**: Reusable templates
11
+ - **scripts/**: Automation scripts
12
+ - **examples/**: Good and bad examples
13
+
14
+ ## Skill Structure
15
+
16
+ ```
17
+ skills/
18
+ ├── <project-type>/ # Project-specific skills
19
+ │ └── <skill-name>/
20
+ │ ├── skill.md
21
+ │ ├── templates/
22
+ │ ├── scripts/
23
+ │ └── examples/
24
+
25
+ └── <skill-name>/ # Cross-cutting skills
26
+ ├── skill.md
27
+ ├── templates/
28
+ ├── scripts/
29
+ └── examples/
30
+ ```
31
+
32
+ ## How Agents Use Skills
33
+
34
+ When a task has a skill tag:
35
+ \`\`\`markdown
36
+ ## 1. Feature (projectType: perfex-module, skill: module-codebase)
37
+ - [ ] Task 1.1
38
+ \`\`\`
39
+
40
+ The agent will:
41
+ 1. Find skill folder: \`heraspec/skills/perfex-module/module-codebase/\`
42
+ 2. Read \`skill.md\` to understand process
43
+ 3. Use templates and scripts from skill folder
44
+ 4. Follow guidelines in skill.md
45
+
46
+ ## Available Skills
47
+
48
+ Run \`heraspec skill list\` to see all available skills.
49
+
50
+ ## Creating New Skills
51
+
52
+ 1. Create skill folder structure
53
+ 2. Write \`skill.md\` following the template
54
+ 3. Add templates, scripts, examples as needed
55
+ 4. Update this README
56
+
57
+ See \`docs/SKILLS_STRUCTURE_PROPOSAL.md\` for detailed structure.
58
+
@@ -1,38 +1,38 @@
1
- # Skills Templates
2
-
3
- This directory contains skill.md templates and resources for HeraSpec skills.
4
-
5
- ## Available Skills
6
-
7
- - `module-codebase-skill.md` - For Perfex module codebase structure
8
- - `ui-ux-skill.md` - For UI/UX design and styling (with UI/UX Builder integration)
9
- - `documents-skill.md` - For technical and user documentation
10
- - `content-optimization-skill.md` - For content and CTA optimization
11
- - `wordpress-plugin-check-skill.md` - Run WordPress Plugin Check and fix issues
12
- - `plugin-directory-skill.md` - **NEW** Review plugin against 18 WordPress.org Directory Guidelines
13
-
14
- ## UI/UX Skill Resources
15
-
16
- The `ui-ux-skill.md` includes integration with UI/UX Builder (built upon [UI UX Pro Max Skill](https://github.com/nextlevelbuilder/ui-ux-pro-max-skill)):
17
-
18
- - **Scripts**: `scripts/search.py` and `scripts/core.py` for searching design database
19
- - **Search Modes**:
20
- - **BM25** (default) - Fast keyword-based search, zero dependencies
21
- - **Vector** - Semantic search with ~15-20% better results (requires: `pip install sentence-transformers scikit-learn`)
22
- - **Hybrid** - Best of both worlds with ~25% better results (requires: `pip install sentence-transformers scikit-learn`)
23
- - **Data**: `data/` folder contains CSV databases for:
24
- - Styles (57 UI styles)
25
- - Colors (95 color palettes)
26
- - Typography (56 font pairings)
27
- - Charts (24 chart types)
28
- - Products (product recommendations)
29
- - Pages (9+ page types for multi-page websites)
30
- - Landing pages (page structures)
31
- - UX guidelines (98 best practices)
32
- - Stacks (8 tech stack guidelines)
33
-
34
- ## Usage
35
-
36
- When creating a new skill, copy the appropriate template and customize it for your specific skill.
37
-
38
- For UI/UX tasks, agents will automatically use the search scripts to find relevant design intelligence before implementing.
1
+ # Skills Templates
2
+
3
+ This directory contains skill.md templates and resources for HeraSpec skills.
4
+
5
+ ## Available Skills
6
+
7
+ - `module-codebase-skill.md` - For Perfex module codebase structure
8
+ - `ui-ux-skill.md` - For UI/UX design and styling (with UI/UX Builder integration)
9
+ - `documents-skill.md` - For technical and user documentation
10
+ - `content-optimization-skill.md` - For content and CTA optimization
11
+ - `wordpress-plugin-check-skill.md` - Run WordPress Plugin Check and fix issues
12
+ - `plugin-directory-skill.md` - **NEW** Review plugin against 18 WordPress.org Directory Guidelines
13
+
14
+ ## UI/UX Skill Resources
15
+
16
+ The `ui-ux-skill.md` includes integration with UI/UX Builder (built upon [UI UX Pro Max Skill](https://github.com/nextlevelbuilder/ui-ux-pro-max-skill)):
17
+
18
+ - **Scripts**: `scripts/search.py` and `scripts/core.py` for searching design database
19
+ - **Search Modes**:
20
+ - **BM25** (default) - Fast keyword-based search, zero dependencies
21
+ - **Vector** - Semantic search with ~15-20% better results (requires: `pip install sentence-transformers scikit-learn`)
22
+ - **Hybrid** - Best of both worlds with ~25% better results (requires: `pip install sentence-transformers scikit-learn`)
23
+ - **Data**: `data/` folder contains CSV databases for:
24
+ - Styles (57 UI styles)
25
+ - Colors (95 color palettes)
26
+ - Typography (56 font pairings)
27
+ - Charts (24 chart types)
28
+ - Products (product recommendations)
29
+ - Pages (9+ page types for multi-page websites)
30
+ - Landing pages (page structures)
31
+ - UX guidelines (98 best practices)
32
+ - Stacks (8 tech stack guidelines)
33
+
34
+ ## Usage
35
+
36
+ When creating a new skill, copy the appropriate template and customize it for your specific skill.
37
+
38
+ For UI/UX tasks, agents will automatically use the search scripts to find relevant design intelligence before implementing.
@@ -1,104 +1,104 @@
1
- # Skill: Content Optimization (Cross-Cutting)
2
-
3
- ## Purpose
4
-
5
- This skill is used to optimize content and increase CTA (Call-to-Action) conversion for the product/module being developed. Focus on conversion optimization and user engagement.
6
-
7
- ## When to Use
8
-
9
- - When creating landing pages
10
- - When designing CTA buttons
11
- - When writing marketing content
12
- - When optimizing email campaigns
13
- - When needing to increase conversion rates
14
-
15
- ## Step-by-Step Process
16
-
17
- ### Step 1: Analyze Goals
18
- - Identify conversion goal (signup, purchase, download, etc.)
19
- - Identify target audience
20
- - Identify value proposition
21
- - Research competitors
22
-
23
- ### Step 2: Create Content Variants
24
- - Use template: `templates/cta-template.md`
25
- - Use template: `templates/landing-page-template.md`
26
- - Create multiple variants for A/B testing
27
- - Run script: `scripts/generate-ab-test-variants.sh`
28
-
29
- ### Step 3: Optimize CTA Placement
30
- - Above the fold for primary CTA
31
- - Multiple CTAs for long pages
32
- - Exit-intent CTAs
33
- - Follow good examples in `examples/high-conversion-cta/`
34
-
35
- ### Step 4: Test & Measure
36
- - Setup A/B testing
37
- - Run script: `scripts/analyze-cta-performance.py`
38
- - Measure conversion rates
39
- - Track user behavior
40
-
41
- ### Step 5: Iterate
42
- - Analyze results
43
- - Optimize based on data
44
- - Test new variants
45
- - Continuously improve
46
-
47
- ## Required Input
48
-
49
- - **Conversion goal**: Signup, purchase, download, etc.
50
- - **Target audience**: Demographics, interests, pain points
51
- - **Value proposition**: Unique selling points
52
- - **Current conversion rate**: Baseline for comparison
53
- - **Content type**: Landing page, email, banner, etc.
54
-
55
- ## Expected Output
56
-
57
- - Optimized content with clear CTAs
58
- - Multiple variants for A/B testing
59
- - Performance metrics and analysis
60
- - Recommendations for improvement
61
-
62
- ## Tone & Rules
63
-
64
- ### Content Principles
65
- - **Clear value**: Clear value proposition
66
- - **Urgency**: Create sense of urgency (if appropriate)
67
- - **Benefit-focused**: Focus on benefits, not just features
68
- - **Action-oriented**: Language that stimulates action
69
-
70
- ### CTA Best Practices
71
- - Action verbs: "Get Started", "Download Now", "Try Free"
72
- - Clear and specific
73
- - Visually prominent
74
- - Above the fold
75
- - Mobile-friendly
76
-
77
- ### Limitations
78
- - ❌ DO NOT use misleading claims
79
- - ❌ DO NOT create too many CTAs (confusion)
80
- - ❌ DO NOT ignore mobile experience
81
- - ❌ DO NOT skip loading speed
82
- - ❌ DO NOT test without measuring
83
-
84
- ## Available Templates
85
-
86
- - `templates/cta-template.md` - CTA template
87
- - `templates/landing-page-template.md` - Landing page template
88
- - `templates/email-campaign-template.md` - Email marketing template
89
-
90
- ## Available Scripts
91
-
92
- - `scripts/analyze-cta-performance.py` - Analyze CTA performance
93
- - `scripts/generate-ab-test-variants.sh` - Generate variants for A/B testing
94
-
95
- ## Examples
96
-
97
- See `examples/` directory for reference:
98
- - `high-conversion-cta/` - Effective CTA (high conversion)
99
- - `low-conversion-cta/` - CTA that needs improvement (low conversion)
100
-
101
- ## Links to Other Skills
102
-
103
- - **ui-ux**: Use to style CTAs and optimize visual hierarchy
104
- - **documents**: Use to document conversion strategies
1
+ # Skill: Content Optimization (Cross-Cutting)
2
+
3
+ ## Purpose
4
+
5
+ This skill is used to optimize content and increase CTA (Call-to-Action) conversion for the product/module being developed. Focus on conversion optimization and user engagement.
6
+
7
+ ## When to Use
8
+
9
+ - When creating landing pages
10
+ - When designing CTA buttons
11
+ - When writing marketing content
12
+ - When optimizing email campaigns
13
+ - When needing to increase conversion rates
14
+
15
+ ## Step-by-Step Process
16
+
17
+ ### Step 1: Analyze Goals
18
+ - Identify conversion goal (signup, purchase, download, etc.)
19
+ - Identify target audience
20
+ - Identify value proposition
21
+ - Research competitors
22
+
23
+ ### Step 2: Create Content Variants
24
+ - Use template: `templates/cta-template.md`
25
+ - Use template: `templates/landing-page-template.md`
26
+ - Create multiple variants for A/B testing
27
+ - Run script: `scripts/generate-ab-test-variants.sh`
28
+
29
+ ### Step 3: Optimize CTA Placement
30
+ - Above the fold for primary CTA
31
+ - Multiple CTAs for long pages
32
+ - Exit-intent CTAs
33
+ - Follow good examples in `examples/high-conversion-cta/`
34
+
35
+ ### Step 4: Test & Measure
36
+ - Setup A/B testing
37
+ - Run script: `scripts/analyze-cta-performance.py`
38
+ - Measure conversion rates
39
+ - Track user behavior
40
+
41
+ ### Step 5: Iterate
42
+ - Analyze results
43
+ - Optimize based on data
44
+ - Test new variants
45
+ - Continuously improve
46
+
47
+ ## Required Input
48
+
49
+ - **Conversion goal**: Signup, purchase, download, etc.
50
+ - **Target audience**: Demographics, interests, pain points
51
+ - **Value proposition**: Unique selling points
52
+ - **Current conversion rate**: Baseline for comparison
53
+ - **Content type**: Landing page, email, banner, etc.
54
+
55
+ ## Expected Output
56
+
57
+ - Optimized content with clear CTAs
58
+ - Multiple variants for A/B testing
59
+ - Performance metrics and analysis
60
+ - Recommendations for improvement
61
+
62
+ ## Tone & Rules
63
+
64
+ ### Content Principles
65
+ - **Clear value**: Clear value proposition
66
+ - **Urgency**: Create sense of urgency (if appropriate)
67
+ - **Benefit-focused**: Focus on benefits, not just features
68
+ - **Action-oriented**: Language that stimulates action
69
+
70
+ ### CTA Best Practices
71
+ - Action verbs: "Get Started", "Download Now", "Try Free"
72
+ - Clear and specific
73
+ - Visually prominent
74
+ - Above the fold
75
+ - Mobile-friendly
76
+
77
+ ### Limitations
78
+ - ❌ DO NOT use misleading claims
79
+ - ❌ DO NOT create too many CTAs (confusion)
80
+ - ❌ DO NOT ignore mobile experience
81
+ - ❌ DO NOT skip loading speed
82
+ - ❌ DO NOT test without measuring
83
+
84
+ ## Available Templates
85
+
86
+ - `templates/cta-template.md` - CTA template
87
+ - `templates/landing-page-template.md` - Landing page template
88
+ - `templates/email-campaign-template.md` - Email marketing template
89
+
90
+ ## Available Scripts
91
+
92
+ - `scripts/analyze-cta-performance.py` - Analyze CTA performance
93
+ - `scripts/generate-ab-test-variants.sh` - Generate variants for A/B testing
94
+
95
+ ## Examples
96
+
97
+ See `examples/` directory for reference:
98
+ - `high-conversion-cta/` - Effective CTA (high conversion)
99
+ - `low-conversion-cta/` - CTA that needs improvement (low conversion)
100
+
101
+ ## Links to Other Skills
102
+
103
+ - **ui-ux**: Use to style CTAs and optimize visual hierarchy
104
+ - **documents**: Use to document conversion strategies