@lebtiga/sonic-agent 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/LICENSE.txt +223 -0
- package/README.md +61 -0
- package/bin/sonic.js +304 -0
- package/lib/index.js +20 -0
- package/lib/installer.js +156 -0
- package/lib/license.js +48 -0
- package/package.json +46 -0
- package/plugin/.claude-plugin/plugin.json +13 -0
- package/plugin/README.md +100 -0
- package/plugin/agents/sonic.md +80 -0
- package/plugin/commands/sonic-build.md +145 -0
- package/plugin/commands/sonic-help.md +71 -0
- package/plugin/skills/accessibility-qa/SKILL.md +160 -0
- package/plugin/skills/accessibility-qa/templates/accessibility-qa-report-template.md +123 -0
- package/plugin/skills/accessibility-qa/templates/wcag-compliance-statement.md +70 -0
- package/plugin/skills/aka-wireframe-wp/SKILL.md +149 -0
- package/plugin/skills/aka-wireframe-wp/assets/aka-framework-theme/README.md +190 -0
- package/plugin/skills/aka-wireframe-wp/assets/aka-framework-theme/footer.php +49 -0
- package/plugin/skills/aka-wireframe-wp/assets/aka-framework-theme/functions.php +395 -0
- package/plugin/skills/aka-wireframe-wp/assets/aka-framework-theme/header.php +58 -0
- package/plugin/skills/aka-wireframe-wp/assets/aka-framework-theme/index.php +39 -0
- package/plugin/skills/aka-wireframe-wp/assets/aka-framework-theme/page-answer.php +62 -0
- package/plugin/skills/aka-wireframe-wp/assets/aka-framework-theme/page-authority-hub.php +122 -0
- package/plugin/skills/aka-wireframe-wp/assets/aka-framework-theme/page-knowledge.php +58 -0
- package/plugin/skills/aka-wireframe-wp/assets/aka-framework-theme/style.css +633 -0
- package/plugin/skills/aka-wireframe-wp/references/content-generator.md +371 -0
- package/plugin/skills/aka-wireframe-wp/references/internal-linker.md +430 -0
- package/plugin/skills/aka-wireframe-wp/references/orchestrator.md +269 -0
- package/plugin/skills/aka-wireframe-wp/references/prompts-library.md +880 -0
- package/plugin/skills/aka-wireframe-wp/references/seo-optimizer.md +433 -0
- package/plugin/skills/aka-wireframe-wp/references/strategy-planner.md +317 -0
- package/plugin/skills/aka-wireframe-wp/references/wordpress-deployer.md +545 -0
- package/plugin/skills/authority-site-builder/SKILL.md +138 -0
- package/plugin/skills/brand-philosophy/SKILL.md +77 -0
- package/plugin/skills/freepik-spaces/SKILL.md +122 -0
- package/plugin/skills/freepik-spaces/docs/automation-guide.md +233 -0
- package/plugin/skills/freepik-spaces/docs/research-notes.md +264 -0
- package/plugin/skills/freepik-spaces/plans/naseberry-demo-plan.md +320 -0
- package/plugin/skills/freepik-spaces/templates/naseberry-demo.json +302 -0
- package/plugin/skills/freepik-spaces/templates/saas-demo.json +212 -0
- package/plugin/skills/frontend-design/LICENSE.txt +177 -0
- package/plugin/skills/frontend-design/SKILL.md +77 -0
- package/plugin/skills/programmatic-seo/SKILL.md +236 -0
- package/plugin/skills/programmatic-seo/references/playbooks.md +293 -0
- package/plugin/skills/seo-qa/SKILL.md +132 -0
- package/plugin/skills/seo-qa/templates/schema-localbusiness.json +49 -0
- package/plugin/skills/seo-qa/templates/schema-service.json +36 -0
- package/plugin/skills/seo-qa/templates/seo-qa-report-template.md +90 -0
- package/plugin/skills/visual-identity/SKILL.md +109 -0
- package/plugin/skills/visual-identity/templates/style-guide-template.md +108 -0
- package/plugin/skills/website-image-gen/SKILL.md +82 -0
- package/plugin/skills/website-image-gen/templates/blog-featured.md +56 -0
- package/plugin/skills/website-image-gen/templates/hero-service-photo.md +56 -0
- package/plugin/skills/wordpress-pro/SKILL.md +105 -0
- package/plugin/skills/wordpress-pro/references/gutenberg-blocks.md +870 -0
- package/plugin/skills/wordpress-pro/references/hooks-filters.md +845 -0
- package/plugin/skills/wordpress-pro/references/performance-security.md +1012 -0
- package/plugin/skills/wordpress-pro/references/plugin-architecture.md +1041 -0
- package/plugin/skills/wordpress-pro/references/theme-development.md +858 -0
- package/plugin/sops/SOP-Sonic 777/authority-site-sop.html +1100 -0
- package/plugin/sops/SOP-WORDPRESS-330-PAGE-SITES.md +926 -0
- package/scripts/postinstall.js +109 -0
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "SaaS Product Demo Template",
|
|
3
|
+
"description": "Generate professional demo visuals for SaaS/dashboard products",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"author": "Sonic",
|
|
6
|
+
|
|
7
|
+
"variables": {
|
|
8
|
+
"PRODUCT_NAME": "Your SaaS Product",
|
|
9
|
+
"PRODUCT_DESCRIPTION": "Analytics platform for business intelligence",
|
|
10
|
+
"KEY_FEATURES": ["Real-time dashboards", "Custom reports", "Team collaboration", "Data export"],
|
|
11
|
+
"PERSONA_TYPES": ["Startup founder", "Enterprise executive", "Data analyst", "Marketing manager"],
|
|
12
|
+
"USE_CASES": ["Data analysis", "Team reporting", "Performance tracking", "Business insights"]
|
|
13
|
+
},
|
|
14
|
+
|
|
15
|
+
"nodes": [
|
|
16
|
+
{
|
|
17
|
+
"id": "start",
|
|
18
|
+
"type": "text",
|
|
19
|
+
"label": "START HERE",
|
|
20
|
+
"content": "SaaS Product Demo Workflow\n\nEdit the input nodes below to customize for your product.",
|
|
21
|
+
"position": { "x": 0, "y": 0 }
|
|
22
|
+
},
|
|
23
|
+
|
|
24
|
+
{
|
|
25
|
+
"id": "product-input",
|
|
26
|
+
"type": "text",
|
|
27
|
+
"label": "PRODUCT INPUT",
|
|
28
|
+
"content": "Product: {{PRODUCT_NAME}}\n\nDescription: {{PRODUCT_DESCRIPTION}}\n\nKey Features:\n- {{KEY_FEATURES}}",
|
|
29
|
+
"position": { "x": 200, "y": 0 }
|
|
30
|
+
},
|
|
31
|
+
|
|
32
|
+
{
|
|
33
|
+
"id": "feature-list-generator",
|
|
34
|
+
"type": "assistant",
|
|
35
|
+
"label": "FEATURE LIST GENERATOR",
|
|
36
|
+
"prompt": "Based on this product description, create a detailed list of 6 visual feature highlights that would look impressive in a dashboard screenshot. Format as a numbered list with brief descriptions.",
|
|
37
|
+
"position": { "x": 400, "y": -100 }
|
|
38
|
+
},
|
|
39
|
+
|
|
40
|
+
{
|
|
41
|
+
"id": "feature-list",
|
|
42
|
+
"type": "list",
|
|
43
|
+
"label": "FEATURE VISUALS LIST",
|
|
44
|
+
"items": [
|
|
45
|
+
"Analytics dashboard with real-time metrics, KPI cards, and trend graphs",
|
|
46
|
+
"Data visualization panel with interactive charts and filtering",
|
|
47
|
+
"Team collaboration view with user activity and comments",
|
|
48
|
+
"Report builder interface with drag-and-drop components",
|
|
49
|
+
"Settings page with integrations and API configuration",
|
|
50
|
+
"Mobile responsive view of the main dashboard"
|
|
51
|
+
],
|
|
52
|
+
"position": { "x": 600, "y": -100 }
|
|
53
|
+
},
|
|
54
|
+
|
|
55
|
+
{
|
|
56
|
+
"id": "dashboard-generator",
|
|
57
|
+
"type": "image-generator",
|
|
58
|
+
"label": "DASHBOARD SCREENSHOTS",
|
|
59
|
+
"config": {
|
|
60
|
+
"model": "flux-kontext-pro",
|
|
61
|
+
"aspect_ratio": "16:9",
|
|
62
|
+
"num_images": 4
|
|
63
|
+
},
|
|
64
|
+
"prompt_template": "Professional SaaS dashboard UI screenshot, {{PRODUCT_NAME}} analytics platform, {{FEATURE}}, clean modern interface with data visualizations, dark mode design, high-fidelity mockup, minimal and elegant, web application design, 4K quality",
|
|
65
|
+
"position": { "x": 800, "y": -200 }
|
|
66
|
+
},
|
|
67
|
+
|
|
68
|
+
{
|
|
69
|
+
"id": "ui-variations",
|
|
70
|
+
"type": "image-generator",
|
|
71
|
+
"label": "UI MOCKUP VARIATIONS",
|
|
72
|
+
"config": {
|
|
73
|
+
"model": "flux-kontext-pro",
|
|
74
|
+
"aspect_ratio": "16:9",
|
|
75
|
+
"num_images": 4
|
|
76
|
+
},
|
|
77
|
+
"prompt_template": "SaaS product UI mockup, {{FEATURE}}, light mode design, professional web application interface, subtle gradients, modern typography, data-driven dashboard, clean layout, enterprise software aesthetic",
|
|
78
|
+
"position": { "x": 800, "y": -50 }
|
|
79
|
+
},
|
|
80
|
+
|
|
81
|
+
{
|
|
82
|
+
"id": "persona-input",
|
|
83
|
+
"type": "text",
|
|
84
|
+
"label": "USER PERSONAS",
|
|
85
|
+
"content": "Target Users:\n1. Startup founder - Early 30s, casual professional\n2. Enterprise executive - Mid 40s, formal business attire\n3. Data analyst - Late 20s, smart casual\n4. Marketing manager - Early 30s, creative professional",
|
|
86
|
+
"position": { "x": 200, "y": 150 }
|
|
87
|
+
},
|
|
88
|
+
|
|
89
|
+
{
|
|
90
|
+
"id": "persona-list",
|
|
91
|
+
"type": "list",
|
|
92
|
+
"label": "PERSONA LIST",
|
|
93
|
+
"items": [
|
|
94
|
+
"Startup founder, early 30s, casual professional attire, confident expression",
|
|
95
|
+
"Enterprise executive, mid 40s, formal business suit, authoritative presence",
|
|
96
|
+
"Data analyst, late 20s, smart casual with glasses, focused and analytical",
|
|
97
|
+
"Marketing manager, early 30s, creative professional style, energetic and collaborative"
|
|
98
|
+
],
|
|
99
|
+
"position": { "x": 400, "y": 150 }
|
|
100
|
+
},
|
|
101
|
+
|
|
102
|
+
{
|
|
103
|
+
"id": "persona-generator",
|
|
104
|
+
"type": "image-generator",
|
|
105
|
+
"label": "USER PERSONA IMAGES",
|
|
106
|
+
"config": {
|
|
107
|
+
"model": "flux-kontext-pro",
|
|
108
|
+
"aspect_ratio": "1:1",
|
|
109
|
+
"num_images": 4
|
|
110
|
+
},
|
|
111
|
+
"prompt_template": "Professional portrait photograph, {{PERSONA}}, using laptop computer showing analytics dashboard on screen, modern office environment, natural window lighting, shallow depth of field, business headshot style, realistic photography, high quality",
|
|
112
|
+
"position": { "x": 600, "y": 150 }
|
|
113
|
+
},
|
|
114
|
+
|
|
115
|
+
{
|
|
116
|
+
"id": "usecase-input",
|
|
117
|
+
"type": "text",
|
|
118
|
+
"label": "USE CASE SCENARIOS",
|
|
119
|
+
"content": "Key Use Cases:\n1. Real-time data analysis and decision making\n2. Team collaboration on shared reports\n3. Performance tracking and goal monitoring\n4. Executive business intelligence briefings",
|
|
120
|
+
"position": { "x": 200, "y": 300 }
|
|
121
|
+
},
|
|
122
|
+
|
|
123
|
+
{
|
|
124
|
+
"id": "usecase-list",
|
|
125
|
+
"type": "list",
|
|
126
|
+
"label": "SCENARIO LIST",
|
|
127
|
+
"items": [
|
|
128
|
+
"Analyzing real-time data with satisfied expression, discovering insights",
|
|
129
|
+
"Team meeting discussing dashboard on large screen, collaborative atmosphere",
|
|
130
|
+
"Individual reviewing performance metrics, focused concentration",
|
|
131
|
+
"Presenting business insights to executives, confident delivery"
|
|
132
|
+
],
|
|
133
|
+
"position": { "x": 400, "y": 300 }
|
|
134
|
+
},
|
|
135
|
+
|
|
136
|
+
{
|
|
137
|
+
"id": "scenario-generator",
|
|
138
|
+
"type": "image-generator",
|
|
139
|
+
"label": "SCENARIO VISUALIZATIONS",
|
|
140
|
+
"config": {
|
|
141
|
+
"model": "flux-kontext-pro",
|
|
142
|
+
"aspect_ratio": "16:9",
|
|
143
|
+
"num_images": 4
|
|
144
|
+
},
|
|
145
|
+
"prompt_template": "Professional business photography, person {{SCENARIO}}, computer screen clearly showing SaaS analytics dashboard interface, modern office setting, professional lighting, commercial advertising quality, authentic workplace moment",
|
|
146
|
+
"position": { "x": 600, "y": 300 }
|
|
147
|
+
},
|
|
148
|
+
|
|
149
|
+
{
|
|
150
|
+
"id": "composite-container",
|
|
151
|
+
"type": "container",
|
|
152
|
+
"label": "PRODUCT + USER + SCENARIO COMPOSITES",
|
|
153
|
+
"description": "Final assembled visuals combining product UI, user personas, and use cases",
|
|
154
|
+
"position": { "x": 1000, "y": 150 }
|
|
155
|
+
},
|
|
156
|
+
|
|
157
|
+
{
|
|
158
|
+
"id": "final-shots-generator",
|
|
159
|
+
"type": "image-generator",
|
|
160
|
+
"label": "HERO MARKETING SHOTS",
|
|
161
|
+
"config": {
|
|
162
|
+
"model": "nanobanana-pro",
|
|
163
|
+
"aspect_ratio": "16:9",
|
|
164
|
+
"num_images": 4
|
|
165
|
+
},
|
|
166
|
+
"prompt_template": "Hero marketing image for SaaS product, professional using {{PRODUCT_NAME}} analytics dashboard, modern office environment, large monitor displaying beautiful data visualizations, confident professional, premium tech company aesthetic, advertising photography, magazine quality",
|
|
167
|
+
"position": { "x": 1200, "y": 0 }
|
|
168
|
+
},
|
|
169
|
+
|
|
170
|
+
{
|
|
171
|
+
"id": "video-output",
|
|
172
|
+
"type": "video-generator",
|
|
173
|
+
"label": "DEMO VIDEO CLIPS",
|
|
174
|
+
"config": {
|
|
175
|
+
"model": "kling",
|
|
176
|
+
"duration": "5s",
|
|
177
|
+
"aspect_ratio": "16:9",
|
|
178
|
+
"resolution": "1080p"
|
|
179
|
+
},
|
|
180
|
+
"prompt_template": "Smooth camera movement across analytics dashboard interface, data updating in real-time, professional and modern SaaS product demo, subtle animations, clean UI transitions",
|
|
181
|
+
"position": { "x": 1200, "y": 300 },
|
|
182
|
+
"notes": "PHASE 2 - Generate after image approval"
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
|
|
186
|
+
"connections": [
|
|
187
|
+
{ "from": "product-input", "to": "feature-list-generator" },
|
|
188
|
+
{ "from": "feature-list-generator", "to": "feature-list" },
|
|
189
|
+
{ "from": "feature-list", "to": "dashboard-generator" },
|
|
190
|
+
{ "from": "feature-list", "to": "ui-variations" },
|
|
191
|
+
{ "from": "persona-input", "to": "persona-list" },
|
|
192
|
+
{ "from": "persona-list", "to": "persona-generator" },
|
|
193
|
+
{ "from": "usecase-input", "to": "usecase-list" },
|
|
194
|
+
{ "from": "usecase-list", "to": "scenario-generator" },
|
|
195
|
+
{ "from": "dashboard-generator", "to": "composite-container" },
|
|
196
|
+
{ "from": "ui-variations", "to": "composite-container" },
|
|
197
|
+
{ "from": "persona-generator", "to": "composite-container" },
|
|
198
|
+
{ "from": "scenario-generator", "to": "composite-container" },
|
|
199
|
+
{ "from": "composite-container", "to": "final-shots-generator" },
|
|
200
|
+
{ "from": "final-shots-generator", "to": "video-output" }
|
|
201
|
+
],
|
|
202
|
+
|
|
203
|
+
"execution_order": [
|
|
204
|
+
"Step 1: Run feature-list-generator to get feature descriptions",
|
|
205
|
+
"Step 2: Review and edit feature-list items as needed",
|
|
206
|
+
"Step 3: Run dashboard-generator and ui-variations in parallel",
|
|
207
|
+
"Step 4: Run persona-generator and scenario-generator in parallel",
|
|
208
|
+
"Step 5: Review all outputs in composite-container",
|
|
209
|
+
"Step 6: Select best images, run final-shots-generator",
|
|
210
|
+
"Step 7: (Phase 2) Generate video clips from best images"
|
|
211
|
+
]
|
|
212
|
+
}
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: frontend-design
|
|
3
|
+
description: Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
|
|
4
|
+
license: Complete terms in LICENSE.txt
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
This skill guides creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices.
|
|
8
|
+
|
|
9
|
+
The user provides frontend requirements: a component, page, application, or interface to build. They may include context about the purpose, audience, or technical constraints.
|
|
10
|
+
|
|
11
|
+
## Design Thinking
|
|
12
|
+
|
|
13
|
+
Before coding, understand the context and commit to a BOLD aesthetic direction:
|
|
14
|
+
- **Purpose**: What problem does this interface solve? Who uses it?
|
|
15
|
+
- **Tone**: Pick an extreme: brutally minimal, maximalist chaos, retro-futuristic, organic/natural, luxury/refined, playful/toy-like, editorial/magazine, brutalist/raw, art deco/geometric, soft/pastel, industrial/utilitarian, etc. There are so many flavors to choose from. Use these for inspiration but design one that is true to the aesthetic direction.
|
|
16
|
+
- **Constraints**: Technical requirements (framework, performance, accessibility).
|
|
17
|
+
- **Differentiation**: What makes this UNFORGETTABLE? What's the one thing someone will remember?
|
|
18
|
+
|
|
19
|
+
**CRITICAL**: Choose a clear conceptual direction and execute it with precision. Bold maximalism and refined minimalism both work - the key is intentionality, not intensity.
|
|
20
|
+
|
|
21
|
+
Then implement working code (HTML/CSS/JS, React, Vue, etc.) that is:
|
|
22
|
+
- Production-grade and functional
|
|
23
|
+
- Visually striking and memorable
|
|
24
|
+
- Cohesive with a clear aesthetic point-of-view
|
|
25
|
+
- Meticulously refined in every detail
|
|
26
|
+
|
|
27
|
+
## Frontend Aesthetics Guidelines
|
|
28
|
+
|
|
29
|
+
Focus on:
|
|
30
|
+
- **Typography**: Choose fonts that are beautiful, unique, and interesting. Avoid generic fonts like Arial and Inter; opt instead for distinctive choices that elevate the frontend's aesthetics; unexpected, characterful font choices. Pair a distinctive display font with a refined body font.
|
|
31
|
+
- **Color & Theme**: Commit to a cohesive aesthetic. Use CSS variables for consistency. Dominant colors with sharp accents outperform timid, evenly-distributed palettes.
|
|
32
|
+
- **Motion**: Use animations for effects and micro-interactions. Prioritize CSS-only solutions for HTML. Use Motion library for React when available. Focus on high-impact moments: one well-orchestrated page load with staggered reveals (animation-delay) creates more delight than scattered micro-interactions. Use scroll-triggering and hover states that surprise.
|
|
33
|
+
- **Spatial Composition**: Unexpected layouts. Asymmetry. Overlap. Diagonal flow. Grid-breaking elements. Generous negative space OR controlled density.
|
|
34
|
+
- **Backgrounds & Visual Details**: Create atmosphere and depth rather than defaulting to solid colors. Add contextual effects and textures that match the overall aesthetic. Apply creative forms like gradient meshes, noise textures, geometric patterns, layered transparencies, dramatic shadows, decorative borders, custom cursors, and grain overlays.
|
|
35
|
+
|
|
36
|
+
NEVER use generic AI-generated aesthetics like overused font families (Inter, Roboto, Arial, system fonts), cliched color schemes (particularly purple gradients on white backgrounds), predictable layouts and component patterns, and cookie-cutter design that lacks context-specific character.
|
|
37
|
+
|
|
38
|
+
Interpret creatively and make unexpected choices that feel genuinely designed for the context. No design should be the same. Vary between light and dark themes, different fonts, different aesthetics. NEVER converge on common choices (Space Grotesk, for example) across generations.
|
|
39
|
+
|
|
40
|
+
**IMPORTANT**: Match implementation complexity to the aesthetic vision. Maximalist designs need elaborate code with extensive animations and effects. Minimalist or refined designs need restraint, precision, and careful attention to spacing, typography, and subtle details. Elegance comes from executing the vision well.
|
|
41
|
+
|
|
42
|
+
Remember: Claude is capable of extraordinary creative work. Don't hold back, show what can truly be created when thinking outside the box and committing fully to a distinctive vision.
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## 🔒 Icon Sizing — HARD RULES
|
|
47
|
+
|
|
48
|
+
When generating component CSS, ALWAYS set explicit `max-width` AND `max-height` on icon containers. NEVER ship icons without size constraints.
|
|
49
|
+
|
|
50
|
+
Default to the size table in `STYLE-GUIDE.md` Iconography section. If no style guide exists, use these defaults:
|
|
51
|
+
|
|
52
|
+
| Use case | Max size |
|
|
53
|
+
|----------|----------|
|
|
54
|
+
| Hero decorative | 120px mobile / 200px desktop |
|
|
55
|
+
| Section header | 32-48px |
|
|
56
|
+
| Service card | 48-80px |
|
|
57
|
+
| Feature list (inline) | 24px |
|
|
58
|
+
| UI (button, nav) | 16-20px |
|
|
59
|
+
| Avatar / logo | 40-64px |
|
|
60
|
+
|
|
61
|
+
### Implementation rules
|
|
62
|
+
|
|
63
|
+
1. **Inline `<svg>`:** Always include `width` and `height` attributes (e.g. `<svg width="48" height="48">`).
|
|
64
|
+
2. **Image-based icons:** Wrap in a `<div>` with explicit `max-width`/`max-height`. Set `img { max-width: 100%; height: auto; }`.
|
|
65
|
+
3. **Icon font / library:** Set `font-size` explicitly. Never inherit from parent without checking.
|
|
66
|
+
4. **Hero icons:** Test at 320px viewport AND 1920px viewport. Both must look balanced.
|
|
67
|
+
5. **Service card icons:** Use `max-height: 80px` AND `max-width: 80px` together — never just one.
|
|
68
|
+
|
|
69
|
+
### Forbidden patterns
|
|
70
|
+
|
|
71
|
+
- ❌ `width: 100%` without `max-width`
|
|
72
|
+
- ❌ `height: 50vh` (or any vh value) on an icon
|
|
73
|
+
- ❌ Hero icons larger than the H1 next to them
|
|
74
|
+
- ❌ Icons that scale unbounded with the parent container
|
|
75
|
+
- ❌ Letting the icon library/SVG decide its own size
|
|
76
|
+
|
|
77
|
+
Icons should support the design, never dominate it. If an icon takes up more visual weight than the headline, it's wrong.
|