heraspec 0.1.13 → 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.
Files changed (287) hide show
  1. package/LICENSE +209 -22
  2. package/README.md +205 -137
  3. package/bin/heraspec.js +4950 -1161
  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 +35 -32
  8. package/dist/core/templates/skills/campaign-plan/skill.md +76 -0
  9. package/dist/core/templates/skills/campaign-plan/skill.vi.md +76 -0
  10. package/dist/core/templates/skills/campaign-plan-skill.md +76 -0
  11. package/dist/core/templates/skills/campaign-plan-skill.vi.md +76 -0
  12. package/dist/core/templates/skills/code-review/skill.md +70 -0
  13. package/dist/core/templates/skills/code-review/skill.vi.md +70 -0
  14. package/dist/core/templates/skills/code-review-skill.md +70 -0
  15. package/dist/core/templates/skills/code-review-skill.vi.md +70 -0
  16. package/dist/core/templates/skills/content-creation/skill.md +69 -0
  17. package/dist/core/templates/skills/content-creation/skill.vi.md +69 -0
  18. package/dist/core/templates/skills/content-creation-skill.md +69 -0
  19. package/dist/core/templates/skills/content-creation-skill.vi.md +69 -0
  20. package/dist/core/templates/skills/content-optimization/skill.md +104 -0
  21. package/dist/core/templates/skills/content-optimization-skill.md +104 -104
  22. package/dist/core/templates/skills/data/design-systems.csv +54 -0
  23. package/dist/core/templates/skills/data/pages-proposed.csv +21 -21
  24. package/dist/core/templates/skills/data/pages.csv +9 -9
  25. package/dist/core/templates/skills/data/typography.csv +57 -57
  26. package/dist/core/templates/skills/debug/skill.md +69 -0
  27. package/dist/core/templates/skills/debug/skill.vi.md +69 -0
  28. package/dist/core/templates/skills/debug-skill.md +69 -0
  29. package/dist/core/templates/skills/debug-skill.vi.md +69 -0
  30. package/dist/core/templates/skills/deploy-documentation/skill.md +408 -0
  31. package/dist/core/templates/skills/deploy-documentation-skill.md +408 -0
  32. package/dist/core/templates/skills/design-system/knowledge/design-systems/airbnb/DESIGN.md +246 -0
  33. package/dist/core/templates/skills/design-system/knowledge/design-systems/airtable/DESIGN.md +89 -0
  34. package/dist/core/templates/skills/design-system/knowledge/design-systems/apple/DESIGN.md +313 -0
  35. package/dist/core/templates/skills/design-system/knowledge/design-systems/bmw/DESIGN.md +180 -0
  36. package/dist/core/templates/skills/design-system/knowledge/design-systems/cal/DESIGN.md +259 -0
  37. package/dist/core/templates/skills/design-system/knowledge/design-systems/claude/DESIGN.md +312 -0
  38. package/dist/core/templates/skills/design-system/knowledge/design-systems/clay/DESIGN.md +304 -0
  39. package/dist/core/templates/skills/design-system/knowledge/design-systems/clickhouse/DESIGN.md +281 -0
  40. package/dist/core/templates/skills/design-system/knowledge/design-systems/cohere/DESIGN.md +266 -0
  41. package/dist/core/templates/skills/design-system/knowledge/design-systems/coinbase/DESIGN.md +129 -0
  42. package/dist/core/templates/skills/design-system/knowledge/design-systems/composio/DESIGN.md +307 -0
  43. package/dist/core/templates/skills/design-system/knowledge/design-systems/cursor/DESIGN.md +309 -0
  44. package/dist/core/templates/skills/design-system/knowledge/design-systems/elevenlabs/DESIGN.md +265 -0
  45. package/dist/core/templates/skills/design-system/knowledge/design-systems/expo/DESIGN.md +281 -0
  46. package/dist/core/templates/skills/design-system/knowledge/design-systems/figma/DESIGN.md +220 -0
  47. package/dist/core/templates/skills/design-system/knowledge/design-systems/framer/DESIGN.md +246 -0
  48. package/dist/core/templates/skills/design-system/knowledge/design-systems/hashicorp/DESIGN.md +278 -0
  49. package/dist/core/templates/skills/design-system/knowledge/design-systems/ibm/DESIGN.md +332 -0
  50. package/dist/core/templates/skills/design-system/knowledge/design-systems/index.json +72 -0
  51. package/dist/core/templates/skills/design-system/knowledge/design-systems/intercom/DESIGN.md +146 -0
  52. package/dist/core/templates/skills/design-system/knowledge/design-systems/kraken/DESIGN.md +125 -0
  53. package/dist/core/templates/skills/design-system/knowledge/design-systems/linear.app/DESIGN.md +367 -0
  54. package/dist/core/templates/skills/design-system/knowledge/design-systems/lovable/DESIGN.md +298 -0
  55. package/dist/core/templates/skills/design-system/knowledge/design-systems/minimax/DESIGN.md +257 -0
  56. package/dist/core/templates/skills/design-system/knowledge/design-systems/mintlify/DESIGN.md +326 -0
  57. package/dist/core/templates/skills/design-system/knowledge/design-systems/miro/DESIGN.md +108 -0
  58. package/dist/core/templates/skills/design-system/knowledge/design-systems/mistral.ai/DESIGN.md +261 -0
  59. package/dist/core/templates/skills/design-system/knowledge/design-systems/mongodb/DESIGN.md +266 -0
  60. package/dist/core/templates/skills/design-system/knowledge/design-systems/notion/DESIGN.md +309 -0
  61. package/dist/core/templates/skills/design-system/knowledge/design-systems/nvidia/DESIGN.md +293 -0
  62. package/dist/core/templates/skills/design-system/knowledge/design-systems/ollama/DESIGN.md +267 -0
  63. package/dist/core/templates/skills/design-system/knowledge/design-systems/opencode.ai/DESIGN.md +281 -0
  64. package/dist/core/templates/skills/design-system/knowledge/design-systems/pinterest/DESIGN.md +230 -0
  65. package/dist/core/templates/skills/design-system/knowledge/design-systems/posthog/DESIGN.md +256 -0
  66. package/dist/core/templates/skills/design-system/knowledge/design-systems/raycast/DESIGN.md +268 -0
  67. package/dist/core/templates/skills/design-system/knowledge/design-systems/replicate/DESIGN.md +261 -0
  68. package/dist/core/templates/skills/design-system/knowledge/design-systems/resend/DESIGN.md +303 -0
  69. package/dist/core/templates/skills/design-system/knowledge/design-systems/revolut/DESIGN.md +185 -0
  70. package/dist/core/templates/skills/design-system/knowledge/design-systems/runwayml/DESIGN.md +244 -0
  71. package/dist/core/templates/skills/design-system/knowledge/design-systems/sanity/DESIGN.md +357 -0
  72. package/dist/core/templates/skills/design-system/knowledge/design-systems/sentry/DESIGN.md +262 -0
  73. package/dist/core/templates/skills/design-system/knowledge/design-systems/spacex/DESIGN.md +194 -0
  74. package/dist/core/templates/skills/design-system/knowledge/design-systems/spotify/DESIGN.md +246 -0
  75. package/dist/core/templates/skills/design-system/knowledge/design-systems/stripe/DESIGN.md +322 -0
  76. package/dist/core/templates/skills/design-system/knowledge/design-systems/supabase/DESIGN.md +255 -0
  77. package/dist/core/templates/skills/design-system/knowledge/design-systems/superhuman/DESIGN.md +252 -0
  78. package/dist/core/templates/skills/design-system/knowledge/design-systems/together.ai/DESIGN.md +263 -0
  79. package/dist/core/templates/skills/design-system/knowledge/design-systems/uber/DESIGN.md +295 -0
  80. package/dist/core/templates/skills/design-system/knowledge/design-systems/vercel/DESIGN.md +310 -0
  81. package/dist/core/templates/skills/design-system/knowledge/design-systems/voltagent/DESIGN.md +323 -0
  82. package/dist/core/templates/skills/design-system/knowledge/design-systems/warp/DESIGN.md +253 -0
  83. package/dist/core/templates/skills/design-system/knowledge/design-systems/webflow/DESIGN.md +92 -0
  84. package/dist/core/templates/skills/design-system/knowledge/design-systems/wise/DESIGN.md +173 -0
  85. package/dist/core/templates/skills/design-system/knowledge/design-systems/x.ai/DESIGN.md +257 -0
  86. package/dist/core/templates/skills/design-system/knowledge/design-systems/zapier/DESIGN.md +328 -0
  87. package/dist/core/templates/skills/design-system/skill.md +176 -0
  88. package/dist/core/templates/skills/design-system-skill.md +176 -0
  89. package/dist/core/templates/skills/documents/skill.md +104 -0
  90. package/dist/core/templates/skills/documents/templates/documentation-landing-page.html +63 -63
  91. package/dist/core/templates/skills/documents/templates/documentation.html +49 -49
  92. package/dist/core/templates/skills/documents/templates/landing-script.js +38 -38
  93. package/dist/core/templates/skills/documents/templates/landing-style.css +158 -158
  94. package/dist/core/templates/skills/documents/templates/script.js +56 -56
  95. package/dist/core/templates/skills/documents/templates/style.css +155 -155
  96. package/dist/core/templates/skills/documents/templates/technical-doc-template.md +16 -16
  97. package/dist/core/templates/skills/documents/templates/user-guide-template.md +16 -16
  98. package/dist/core/templates/skills/documents-skill.md +104 -104
  99. package/dist/core/templates/skills/e2e-test/skill.md +119 -0
  100. package/dist/core/templates/skills/e2e-test-skill.md +119 -119
  101. package/dist/core/templates/skills/email-sequence/skill.md +68 -0
  102. package/dist/core/templates/skills/email-sequence/skill.vi.md +68 -0
  103. package/dist/core/templates/skills/email-sequence-skill.md +68 -0
  104. package/dist/core/templates/skills/email-sequence-skill.vi.md +68 -0
  105. package/dist/core/templates/skills/git-embed/skill.md +57 -0
  106. package/dist/core/templates/skills/git-embed-skill.md +57 -0
  107. package/dist/core/templates/skills/integration-test/skill.md +118 -0
  108. package/dist/core/templates/skills/integration-test-skill.md +118 -118
  109. package/dist/core/templates/skills/knowledge/README.md +63 -0
  110. package/dist/core/templates/skills/knowledge/design-systems/airbnb/DESIGN.md +246 -0
  111. package/dist/core/templates/skills/knowledge/design-systems/airtable/DESIGN.md +89 -0
  112. package/dist/core/templates/skills/knowledge/design-systems/apple/DESIGN.md +313 -0
  113. package/dist/core/templates/skills/knowledge/design-systems/bmw/DESIGN.md +180 -0
  114. package/dist/core/templates/skills/knowledge/design-systems/cal/DESIGN.md +259 -0
  115. package/dist/core/templates/skills/knowledge/design-systems/claude/DESIGN.md +312 -0
  116. package/dist/core/templates/skills/knowledge/design-systems/clay/DESIGN.md +304 -0
  117. package/dist/core/templates/skills/knowledge/design-systems/clickhouse/DESIGN.md +281 -0
  118. package/dist/core/templates/skills/knowledge/design-systems/cohere/DESIGN.md +266 -0
  119. package/dist/core/templates/skills/knowledge/design-systems/coinbase/DESIGN.md +129 -0
  120. package/dist/core/templates/skills/knowledge/design-systems/composio/DESIGN.md +307 -0
  121. package/dist/core/templates/skills/knowledge/design-systems/cursor/DESIGN.md +309 -0
  122. package/dist/core/templates/skills/knowledge/design-systems/elevenlabs/DESIGN.md +265 -0
  123. package/dist/core/templates/skills/knowledge/design-systems/expo/DESIGN.md +281 -0
  124. package/dist/core/templates/skills/knowledge/design-systems/figma/DESIGN.md +220 -0
  125. package/dist/core/templates/skills/knowledge/design-systems/framer/DESIGN.md +246 -0
  126. package/dist/core/templates/skills/knowledge/design-systems/hashicorp/DESIGN.md +278 -0
  127. package/dist/core/templates/skills/knowledge/design-systems/ibm/DESIGN.md +332 -0
  128. package/dist/core/templates/skills/knowledge/design-systems/index.json +72 -0
  129. package/dist/core/templates/skills/knowledge/design-systems/intercom/DESIGN.md +146 -0
  130. package/dist/core/templates/skills/knowledge/design-systems/kraken/DESIGN.md +125 -0
  131. package/dist/core/templates/skills/knowledge/design-systems/linear.app/DESIGN.md +367 -0
  132. package/dist/core/templates/skills/knowledge/design-systems/lovable/DESIGN.md +298 -0
  133. package/dist/core/templates/skills/knowledge/design-systems/minimax/DESIGN.md +257 -0
  134. package/dist/core/templates/skills/knowledge/design-systems/mintlify/DESIGN.md +326 -0
  135. package/dist/core/templates/skills/knowledge/design-systems/miro/DESIGN.md +108 -0
  136. package/dist/core/templates/skills/knowledge/design-systems/mistral.ai/DESIGN.md +261 -0
  137. package/dist/core/templates/skills/knowledge/design-systems/mongodb/DESIGN.md +266 -0
  138. package/dist/core/templates/skills/knowledge/design-systems/notion/DESIGN.md +309 -0
  139. package/dist/core/templates/skills/knowledge/design-systems/nvidia/DESIGN.md +293 -0
  140. package/dist/core/templates/skills/knowledge/design-systems/ollama/DESIGN.md +267 -0
  141. package/dist/core/templates/skills/knowledge/design-systems/opencode.ai/DESIGN.md +281 -0
  142. package/dist/core/templates/skills/knowledge/design-systems/pinterest/DESIGN.md +230 -0
  143. package/dist/core/templates/skills/knowledge/design-systems/posthog/DESIGN.md +256 -0
  144. package/dist/core/templates/skills/knowledge/design-systems/raycast/DESIGN.md +268 -0
  145. package/dist/core/templates/skills/knowledge/design-systems/replicate/DESIGN.md +261 -0
  146. package/dist/core/templates/skills/knowledge/design-systems/resend/DESIGN.md +303 -0
  147. package/dist/core/templates/skills/knowledge/design-systems/revolut/DESIGN.md +185 -0
  148. package/dist/core/templates/skills/knowledge/design-systems/runwayml/DESIGN.md +244 -0
  149. package/dist/core/templates/skills/knowledge/design-systems/sanity/DESIGN.md +357 -0
  150. package/dist/core/templates/skills/knowledge/design-systems/sentry/DESIGN.md +262 -0
  151. package/dist/core/templates/skills/knowledge/design-systems/spacex/DESIGN.md +194 -0
  152. package/dist/core/templates/skills/knowledge/design-systems/spotify/DESIGN.md +246 -0
  153. package/dist/core/templates/skills/knowledge/design-systems/stripe/DESIGN.md +322 -0
  154. package/dist/core/templates/skills/knowledge/design-systems/supabase/DESIGN.md +255 -0
  155. package/dist/core/templates/skills/knowledge/design-systems/superhuman/DESIGN.md +252 -0
  156. package/dist/core/templates/skills/knowledge/design-systems/together.ai/DESIGN.md +263 -0
  157. package/dist/core/templates/skills/knowledge/design-systems/uber/DESIGN.md +295 -0
  158. package/dist/core/templates/skills/knowledge/design-systems/vercel/DESIGN.md +310 -0
  159. package/dist/core/templates/skills/knowledge/design-systems/voltagent/DESIGN.md +323 -0
  160. package/dist/core/templates/skills/knowledge/design-systems/warp/DESIGN.md +253 -0
  161. package/dist/core/templates/skills/knowledge/design-systems/webflow/DESIGN.md +92 -0
  162. package/dist/core/templates/skills/knowledge/design-systems/wise/DESIGN.md +173 -0
  163. package/dist/core/templates/skills/knowledge/design-systems/x.ai/DESIGN.md +257 -0
  164. package/dist/core/templates/skills/knowledge/design-systems/zapier/DESIGN.md +328 -0
  165. package/dist/core/templates/skills/knowledge/frameworks/php/codeigniter/rise-cms/profile.json +27 -0
  166. package/dist/core/templates/skills/knowledge/frameworks/php/codeigniter/rise-cms/structure.md +137 -0
  167. package/dist/core/templates/skills/knowledge/frameworks/php/laravel/botble/profile.json +39 -0
  168. package/dist/core/templates/skills/knowledge/frameworks/php/laravel/botble/structure.md +208 -0
  169. package/dist/core/templates/skills/knowledge/frameworks/php/wordpress/core/profile.json +51 -0
  170. package/dist/core/templates/skills/knowledge/frameworks/php/wordpress/core/structure.md +369 -0
  171. package/dist/core/templates/skills/knowledge/index.json +65 -0
  172. package/dist/core/templates/skills/module-codebase-skill.md +110 -110
  173. package/dist/core/templates/skills/perfex-module/module-codebase/skill.md +110 -0
  174. package/dist/core/templates/skills/plugin-directory-skill.md +396 -396
  175. package/dist/core/templates/skills/project-memory/skill.md +222 -0
  176. package/dist/core/templates/skills/project-memory/skill.vi.md +223 -0
  177. package/dist/core/templates/skills/project-memory-skill.md +222 -0
  178. package/dist/core/templates/skills/project-memory-skill.vi.md +223 -0
  179. package/dist/core/templates/skills/scripts/CODE_EXPLANATION.md +394 -394
  180. package/dist/core/templates/skills/scripts/SEARCH_ALGORITHMS_COMPARISON.md +421 -421
  181. package/dist/core/templates/skills/scripts/SEARCH_MODES_GUIDE.md +238 -238
  182. package/dist/core/templates/skills/scripts/__pycache__/core.cpython-311.pyc +0 -0
  183. package/dist/core/templates/skills/scripts/core.py +391 -385
  184. package/dist/core/templates/skills/scripts/search.py +1 -1
  185. package/dist/core/templates/skills/seo-audit/skill.md +75 -0
  186. package/dist/core/templates/skills/seo-audit/skill.vi.md +75 -0
  187. package/dist/core/templates/skills/seo-audit-skill.md +75 -0
  188. package/dist/core/templates/skills/seo-audit-skill.vi.md +75 -0
  189. package/dist/core/templates/skills/smart-explore/skill.md +141 -0
  190. package/dist/core/templates/skills/smart-explore-skill.md +141 -0
  191. package/dist/core/templates/skills/sourcecode-analyzer/skill.md +210 -0
  192. package/dist/core/templates/skills/sourcecode-analyzer/skill.vi.md +210 -0
  193. package/dist/core/templates/skills/sourcecode-analyzer-skill.md +210 -0
  194. package/dist/core/templates/skills/sourcecode-analyzer-skill.vi.md +210 -0
  195. package/dist/core/templates/skills/spec-writer/skill.md +61 -0
  196. package/dist/core/templates/skills/spec-writer/skill.vi.md +61 -0
  197. package/dist/core/templates/skills/spec-writer-skill.md +61 -0
  198. package/dist/core/templates/skills/spec-writer-skill.vi.md +61 -0
  199. package/dist/core/templates/skills/sql-queries/skill.md +67 -0
  200. package/dist/core/templates/skills/sql-queries/skill.vi.md +67 -0
  201. package/dist/core/templates/skills/sql-queries-skill.md +67 -0
  202. package/dist/core/templates/skills/sql-queries-skill.vi.md +67 -0
  203. package/dist/core/templates/skills/suggestion/skill.md +118 -0
  204. package/dist/core/templates/skills/suggestion-skill.md +118 -118
  205. package/dist/core/templates/skills/system-design/skill.md +70 -0
  206. package/dist/core/templates/skills/system-design/skill.vi.md +70 -0
  207. package/dist/core/templates/skills/system-design-skill.md +70 -0
  208. package/dist/core/templates/skills/system-design-skill.vi.md +70 -0
  209. package/dist/core/templates/skills/tech-debt/skill.md +70 -0
  210. package/dist/core/templates/skills/tech-debt/skill.vi.md +70 -0
  211. package/dist/core/templates/skills/tech-debt-skill.md +70 -0
  212. package/dist/core/templates/skills/tech-debt-skill.vi.md +70 -0
  213. package/dist/core/templates/skills/templates/accessibility-checklist.md +40 -40
  214. package/dist/core/templates/skills/templates/example-prompt-full-theme.md +333 -333
  215. package/dist/core/templates/skills/templates/page-types-guide.md +338 -338
  216. package/dist/core/templates/skills/templates/pages-proposed-summary.md +273 -273
  217. package/dist/core/templates/skills/templates/pre-delivery-checklist.md +42 -42
  218. package/dist/core/templates/skills/templates/prompt-template-full-theme.md +313 -313
  219. package/dist/core/templates/skills/templates/responsive-design.md +40 -40
  220. package/dist/core/templates/skills/ui-ux/data/charts.csv +26 -0
  221. package/dist/core/templates/skills/ui-ux/data/colors.csv +97 -0
  222. package/dist/core/templates/skills/ui-ux/data/design-systems.csv +54 -0
  223. package/dist/core/templates/skills/ui-ux/data/landing.csv +31 -0
  224. package/dist/core/templates/skills/ui-ux/data/pages-proposed.csv +22 -0
  225. package/dist/core/templates/skills/ui-ux/data/pages.csv +10 -0
  226. package/dist/core/templates/skills/ui-ux/data/products.csv +97 -0
  227. package/dist/core/templates/skills/ui-ux/data/prompts.csv +24 -0
  228. package/dist/core/templates/skills/ui-ux/data/stacks/flutter.csv +53 -0
  229. package/dist/core/templates/skills/ui-ux/data/stacks/html-tailwind.csv +56 -0
  230. package/dist/core/templates/skills/ui-ux/data/stacks/nextjs.csv +53 -0
  231. package/dist/core/templates/skills/ui-ux/data/stacks/react-native.csv +52 -0
  232. package/dist/core/templates/skills/ui-ux/data/stacks/react.csv +54 -0
  233. package/dist/core/templates/skills/ui-ux/data/stacks/svelte.csv +54 -0
  234. package/dist/core/templates/skills/ui-ux/data/stacks/swiftui.csv +51 -0
  235. package/dist/core/templates/skills/ui-ux/data/stacks/vue.csv +50 -0
  236. package/dist/core/templates/skills/ui-ux/data/styles.csv +59 -0
  237. package/dist/core/templates/skills/ui-ux/data/typography.csv +58 -0
  238. package/dist/core/templates/skills/ui-ux/data/ux-guidelines.csv +100 -0
  239. package/dist/core/templates/skills/ui-ux/scripts/CODE_EXPLANATION.md +394 -0
  240. package/dist/core/templates/skills/ui-ux/scripts/SEARCH_ALGORITHMS_COMPARISON.md +421 -0
  241. package/dist/core/templates/skills/ui-ux/scripts/SEARCH_MODES_GUIDE.md +238 -0
  242. package/dist/core/templates/skills/ui-ux/scripts/core.py +391 -0
  243. package/dist/core/templates/skills/ui-ux/scripts/search.py +73 -0
  244. package/dist/core/templates/skills/ui-ux/skill.md +595 -0
  245. package/dist/core/templates/skills/ui-ux/templates/accessibility-checklist.md +40 -0
  246. package/dist/core/templates/skills/ui-ux/templates/example-prompt-full-theme.md +333 -0
  247. package/dist/core/templates/skills/ui-ux/templates/page-types-guide.md +338 -0
  248. package/dist/core/templates/skills/ui-ux/templates/pages-proposed-summary.md +273 -0
  249. package/dist/core/templates/skills/ui-ux/templates/pre-delivery-checklist.md +42 -0
  250. package/dist/core/templates/skills/ui-ux/templates/prompt-template-full-theme.md +313 -0
  251. package/dist/core/templates/skills/ui-ux/templates/responsive-design.md +40 -0
  252. package/dist/core/templates/skills/ui-ux-skill.md +595 -584
  253. package/dist/core/templates/skills/unit-test/skill.md +111 -0
  254. package/dist/core/templates/skills/unit-test-skill.md +111 -111
  255. package/dist/core/templates/skills/ux-element/templates/Controller.php +50 -50
  256. package/dist/core/templates/skills/ux-element/templates/Shortcode.php +23 -23
  257. package/dist/core/templates/skills/ux-element/templates/Template.html +20 -20
  258. package/dist/core/templates/skills/ux-element/templates/Thumbnail.svg +8 -8
  259. package/dist/core/templates/skills/ux-element/templates/View.php +21 -21
  260. package/dist/core/templates/skills/ux-element-skill.md +83 -83
  261. package/dist/core/templates/skills/wordpress/plugin-check/skill.md +151 -0
  262. package/dist/core/templates/skills/wordpress/plugin-directory/skill.md +396 -0
  263. package/dist/core/templates/skills/wordpress/plugin-standard/skill.md +100 -0
  264. package/dist/core/templates/skills/wordpress/plugin-standard/templates/admin-dashboard.php +47 -0
  265. package/dist/core/templates/skills/wordpress/plugin-standard/templates/admin-settings.php +60 -0
  266. package/dist/core/templates/skills/wordpress/plugin-standard/templates/assets/admin-css.css +22 -0
  267. package/dist/core/templates/skills/wordpress/plugin-standard/templates/assets/admin-js.js +15 -0
  268. package/dist/core/templates/skills/wordpress/plugin-standard/templates/plugin-main.php +169 -0
  269. package/dist/core/templates/skills/wordpress/plugin-standard/templates/readme.txt +41 -0
  270. package/dist/core/templates/skills/wordpress/plugin-standard/templates/uninstall.php +21 -0
  271. package/dist/core/templates/skills/wordpress/ux-element/skill.md +83 -0
  272. package/dist/core/templates/skills/wordpress/ux-element/templates/Controller.php +50 -0
  273. package/dist/core/templates/skills/wordpress/ux-element/templates/Shortcode.php +23 -0
  274. package/dist/core/templates/skills/wordpress/ux-element/templates/Template.html +20 -0
  275. package/dist/core/templates/skills/wordpress/ux-element/templates/Thumbnail.svg +8 -0
  276. package/dist/core/templates/skills/wordpress/ux-element/templates/View.php +21 -0
  277. package/dist/core/templates/skills/wordpress-plugin-check-skill.md +151 -151
  278. package/dist/core/templates/skills/wordpress-plugin-standard/templates/admin-dashboard.php +47 -47
  279. package/dist/core/templates/skills/wordpress-plugin-standard/templates/admin-settings.php +60 -60
  280. package/dist/core/templates/skills/wordpress-plugin-standard/templates/assets/admin-css.css +22 -22
  281. package/dist/core/templates/skills/wordpress-plugin-standard/templates/assets/admin-js.js +15 -15
  282. package/dist/core/templates/skills/wordpress-plugin-standard/templates/plugin-main.php +169 -169
  283. package/dist/core/templates/skills/wordpress-plugin-standard/templates/readme.txt +41 -41
  284. package/dist/core/templates/skills/wordpress-plugin-standard/templates/uninstall.php +21 -21
  285. package/dist/core/templates/skills/wordpress-plugin-standard-skill.md +100 -100
  286. package/dist/index.js +4237 -331
  287. package/package.json +75 -72
@@ -0,0 +1,246 @@
1
+ # Design System: Airbnb
2
+
3
+ ## 1. Visual Theme & Atmosphere
4
+
5
+ Airbnb's website is a warm, photography-forward marketplace that feels like flipping through a travel magazine where every page invites you to book. The design operates on a foundation of pure white (`#ffffff`) with the iconic Rausch Red (`#ff385c`) — named after Airbnb's first street address — serving as the singular brand accent. The result is a clean, airy canvas where listing photography, category icons, and the red CTA button are the only sources of color.
6
+
7
+ The typography uses Airbnb Cereal VF — a custom variable font that's warm and approachable, with rounded terminals that echo the brand's "belong anywhere" philosophy. The font operates in a tight weight range: 500 (medium) for most UI, 600 (semibold) for emphasis, and 700 (bold) for primary headings. Slight negative letter-spacing (-0.18px to -0.44px) on headings creates a cozy, intimate reading experience rather than the compressed efficiency of tech companies.
8
+
9
+ What distinguishes Airbnb is its palette-based token system (`--palette-*`) and multi-layered shadow approach. The primary card shadow uses a three-layer stack (`rgba(0,0,0,0.02) 0px 0px 0px 1px, rgba(0,0,0,0.04) 0px 2px 6px, rgba(0,0,0,0.1) 0px 4px 8px`) that creates a subtle, warm lift. Combined with generous border-radius (8px–32px), circular navigation controls (50%), and a category pill bar with horizontal scrolling, the interface feels tactile and inviting — designed for browsing, not commanding.
10
+
11
+ **Key Characteristics:**
12
+ - Pure white canvas with Rausch Red (`#ff385c`) as singular brand accent
13
+ - Airbnb Cereal VF — custom variable font with warm, rounded terminals
14
+ - Palette-based token system (`--palette-*`) for systematic color management
15
+ - Three-layer card shadows: border ring + soft blur + stronger blur
16
+ - Generous border-radius: 8px buttons, 14px badges, 20px cards, 32px large elements
17
+ - Circular navigation controls (50% radius)
18
+ - Photography-first listing cards — images are the hero content
19
+ - Near-black text (`#222222`) — warm, not cold
20
+ - Luxe Purple (`#460479`) and Plus Magenta (`#92174d`) for premium tiers
21
+
22
+ ## 2. Color Palette & Roles
23
+
24
+ ### Primary Brand
25
+ - **Rausch Red** (`#ff385c`): `--palette-bg-primary-core`, primary CTA, brand accent, active states
26
+ - **Deep Rausch** (`#e00b41`): `--palette-bg-tertiary-core`, pressed/dark variant of brand red
27
+ - **Error Red** (`#c13515`): `--palette-text-primary-error`, error text on light
28
+ - **Error Dark** (`#b32505`): `--palette-text-secondary-error-hover`, error hover
29
+
30
+ ### Premium Tiers
31
+ - **Luxe Purple** (`#460479`): `--palette-bg-primary-luxe`, Airbnb Luxe tier branding
32
+ - **Plus Magenta** (`#92174d`): `--palette-bg-primary-plus`, Airbnb Plus tier branding
33
+
34
+ ### Text Scale
35
+ - **Near Black** (`#222222`): `--palette-text-primary`, primary text — warm, not cold
36
+ - **Focused Gray** (`#3f3f3f`): `--palette-text-focused`, focused state text
37
+ - **Secondary Gray** (`#6a6a6a`): Secondary text, descriptions
38
+ - **Disabled** (`rgba(0,0,0,0.24)`): `--palette-text-material-disabled`, disabled state
39
+ - **Link Disabled** (`#929292`): `--palette-text-link-disabled`, disabled links
40
+
41
+ ### Interactive
42
+ - **Legal Blue** (`#428bff`): `--palette-text-legal`, legal links, informational
43
+ - **Border Gray** (`#c1c1c1`): Border color for cards and dividers
44
+ - **Light Surface** (`#f2f2f2`): Circular navigation buttons, secondary surfaces
45
+
46
+ ### Surface & Shadows
47
+ - **Pure White** (`#ffffff`): Page background, card surfaces
48
+ - **Card Shadow** (`rgba(0,0,0,0.02) 0px 0px 0px 1px, rgba(0,0,0,0.04) 0px 2px 6px, rgba(0,0,0,0.1) 0px 4px 8px`): Three-layer warm lift
49
+ - **Hover Shadow** (`rgba(0,0,0,0.08) 0px 4px 12px`): Button hover elevation
50
+
51
+ ## 3. Typography Rules
52
+
53
+ ### Font Family
54
+ - **Primary**: `Airbnb Cereal VF`, fallbacks: `Circular, -apple-system, system-ui, Roboto, Helvetica Neue`
55
+ - **OpenType Features**: `"salt"` (stylistic alternates) on specific caption elements
56
+
57
+ ### Hierarchy
58
+
59
+ | Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
60
+ |------|------|------|--------|-------------|----------------|-------|
61
+ | Section Heading | Airbnb Cereal VF | 28px (1.75rem) | 700 | 1.43 | normal | Primary headings |
62
+ | Card Heading | Airbnb Cereal VF | 22px (1.38rem) | 600 | 1.18 (tight) | -0.44px | Category/card titles |
63
+ | Card Heading Medium | Airbnb Cereal VF | 22px (1.38rem) | 500 | 1.18 (tight) | -0.44px | Lighter variant |
64
+ | Sub-heading | Airbnb Cereal VF | 21px (1.31rem) | 700 | 1.43 | normal | Bold sub-headings |
65
+ | Feature Title | Airbnb Cereal VF | 20px (1.25rem) | 600 | 1.20 (tight) | -0.18px | Feature headings |
66
+ | UI Medium | Airbnb Cereal VF | 16px (1.00rem) | 500 | 1.25 (tight) | normal | Nav, emphasized text |
67
+ | UI Semibold | Airbnb Cereal VF | 16px (1.00rem) | 600 | 1.25 (tight) | normal | Strong emphasis |
68
+ | Button | Airbnb Cereal VF | 16px (1.00rem) | 500 | 1.25 (tight) | normal | Button labels |
69
+ | Body / Link | Airbnb Cereal VF | 14px (0.88rem) | 400 | 1.43 | normal | Standard body |
70
+ | Body Medium | Airbnb Cereal VF | 14px (0.88rem) | 500 | 1.29 (tight) | normal | Medium body |
71
+ | Caption Salt | Airbnb Cereal VF | 14px (0.88rem) | 600 | 1.43 | normal | `"salt"` feature |
72
+ | Small | Airbnb Cereal VF | 13px (0.81rem) | 400 | 1.23 (tight) | normal | Descriptions |
73
+ | Tag | Airbnb Cereal VF | 12px (0.75rem) | 400–700 | 1.33 | normal | Tags, prices |
74
+ | Badge | Airbnb Cereal VF | 11px (0.69rem) | 600 | 1.18 (tight) | normal | `"salt"` feature |
75
+ | Micro Uppercase | Airbnb Cereal VF | 8px (0.50rem) | 700 | 1.25 (tight) | 0.32px | `text-transform: uppercase` |
76
+
77
+ ### Principles
78
+ - **Warm weight range**: 500–700 dominate. No weight 300 or 400 for headings — Airbnb's type is always at least medium weight, creating a warm, confident voice.
79
+ - **Negative tracking on headings**: -0.18px to -0.44px letter-spacing on display creates intimate, cozy headings rather than cold, compressed ones.
80
+ - **"salt" OpenType feature**: Stylistic alternates on specific UI elements (badges, captions) create subtle glyph variations that add visual interest.
81
+ - **Variable font precision**: Cereal VF enables continuous weight interpolation, though the design system uses discrete stops at 500, 600, and 700.
82
+
83
+ ## 4. Component Stylings
84
+
85
+ ### Buttons
86
+
87
+ **Primary Dark**
88
+ - Background: `#222222` (near-black, not pure black)
89
+ - Text: `#ffffff`
90
+ - Padding: 0px 24px
91
+ - Radius: 8px
92
+ - Hover: transitions to error/brand accent via `var(--accent-bg-error)`
93
+ - Focus: `0 0 0 2px var(--palette-grey1000)` ring + scale(0.92)
94
+
95
+ **Circular Nav**
96
+ - Background: `#f2f2f2`
97
+ - Text: `#222222`
98
+ - Radius: 50% (circle)
99
+ - Hover: shadow `rgba(0,0,0,0.08) 0px 4px 12px` + translateX(50%)
100
+ - Active: 4px white border ring + focus shadow
101
+ - Focus: scale(0.92) shrink animation
102
+
103
+ ### Cards & Containers
104
+ - Background: `#ffffff`
105
+ - Radius: 14px (badges), 20px (cards/buttons), 32px (large)
106
+ - Shadow: `rgba(0,0,0,0.02) 0px 0px 0px 1px, rgba(0,0,0,0.04) 0px 2px 6px, rgba(0,0,0,0.1) 0px 4px 8px` (three-layer)
107
+ - Listing cards: full-width photography on top, details below
108
+ - Carousel controls: circular 50% buttons
109
+
110
+ ### Inputs
111
+ - Search: `#222222` text
112
+ - Focus: `var(--palette-bg-primary-error)` background tint + `0 0 0 2px` ring
113
+ - Radius: depends on context (search bar uses pill-like rounding)
114
+
115
+ ### Navigation
116
+ - White sticky header with search bar centered
117
+ - Airbnb logo (Rausch Red) left-aligned
118
+ - Category filter pills: horizontal scroll below search
119
+ - Circular nav controls for carousel navigation
120
+ - "Become a Host" text link, avatar/menu right-aligned
121
+
122
+ ### Image Treatment
123
+ - Listing photography fills card top with generous height
124
+ - Image carousel with dot indicators
125
+ - Heart/wishlist icon overlay on images
126
+ - 8px–14px radius on contained images
127
+
128
+ ## 5. Layout Principles
129
+
130
+ ### Spacing System
131
+ - Base unit: 8px
132
+ - Scale: 2px, 3px, 4px, 6px, 8px, 10px, 11px, 12px, 15px, 16px, 22px, 24px, 32px
133
+
134
+ ### Grid & Container
135
+ - Full-width header with centered search
136
+ - Category pill bar: horizontal scrollable row
137
+ - Listing grid: responsive multi-column (3–5 columns on desktop)
138
+ - Full-width footer with link columns
139
+
140
+ ### Whitespace Philosophy
141
+ - **Travel-magazine spacing**: Generous vertical padding between sections creates a leisurely browsing pace — you're meant to scroll slowly, like browsing a magazine.
142
+ - **Photography density**: Listing cards are packed relatively tightly, but each image is large enough to feel immersive.
143
+ - **Search bar prominence**: The search bar gets maximum vertical space in the header — finding your destination is the primary action.
144
+
145
+ ### Border Radius Scale
146
+ - Subtle (4px): Small links
147
+ - Standard (8px): Buttons, tabs, search elements
148
+ - Badge (14px): Status badges, labels
149
+ - Card (20px): Feature cards, large buttons
150
+ - Large (32px): Large containers, hero elements
151
+ - Circle (50%): Nav controls, avatars, icons
152
+
153
+ ## 6. Depth & Elevation
154
+
155
+ | Level | Treatment | Use |
156
+ |-------|-----------|-----|
157
+ | Flat (Level 0) | No shadow | Page background, text blocks |
158
+ | Card (Level 1) | `rgba(0,0,0,0.02) 0px 0px 0px 1px, rgba(0,0,0,0.04) 0px 2px 6px, rgba(0,0,0,0.1) 0px 4px 8px` | Listing cards, search bar |
159
+ | Hover (Level 2) | `rgba(0,0,0,0.08) 0px 4px 12px` | Button hover, interactive lift |
160
+ | Active Focus (Level 3) | `rgb(255,255,255) 0px 0px 0px 4px` + focus ring | Active/focused elements |
161
+
162
+ **Shadow Philosophy**: Airbnb's three-layer shadow system creates a warm, natural lift. Layer 1 (`0px 0px 0px 1px` at 0.02 opacity) is an ultra-subtle border. Layer 2 (`0px 2px 6px` at 0.04) provides soft ambient shadow. Layer 3 (`0px 4px 8px` at 0.1) adds the primary lift. This graduated approach creates shadows that feel like natural light rather than CSS effects.
163
+
164
+ ## 7. Do's and Don'ts
165
+
166
+ ### Do
167
+ - Use `#222222` (warm near-black) for text — never pure `#000000`
168
+ - Apply Rausch Red (`#ff385c`) only for primary CTAs and brand moments — it's the singular accent
169
+ - Use Airbnb Cereal VF at weight 500–700 — the warm weight range is intentional
170
+ - Apply the three-layer card shadow for all elevated surfaces
171
+ - Use generous border-radius: 8px for buttons, 20px for cards, 50% for controls
172
+ - Use photography as the primary visual content — listings are image-first
173
+ - Apply negative letter-spacing (-0.18px to -0.44px) on headings for intimacy
174
+ - Use circular (50%) buttons for carousel/navigation controls
175
+
176
+ ### Don't
177
+ - Don't use pure black (`#000000`) for text — always `#222222` (warm)
178
+ - Don't apply Rausch Red to backgrounds or large surfaces — it's an accent only
179
+ - Don't use thin font weights (300, 400) for headings — 500 minimum
180
+ - Don't use heavy shadows (>0.1 opacity as primary layer) — keep them warm and graduated
181
+ - Don't use sharp corners (0–4px) on cards — the generous rounding (20px+) is core
182
+ - Don't introduce additional brand colors beyond the Rausch/Luxe/Plus system
183
+ - Don't override the palette token system — use `--palette-*` variables consistently
184
+
185
+ ## 8. Responsive Behavior
186
+
187
+ ### Breakpoints
188
+ | Name | Width | Key Changes |
189
+ |------|-------|-------------|
190
+ | Mobile Small | <375px | Single column, compact search |
191
+ | Mobile | 375–550px | Standard mobile listing grid |
192
+ | Tablet Small | 550–744px | 2-column listings |
193
+ | Tablet | 744–950px | Search bar expansion |
194
+ | Desktop Small | 950–1128px | 3-column listings |
195
+ | Desktop | 1128–1440px | 4-column grid, full header |
196
+ | Large Desktop | 1440–1920px | 5-column grid |
197
+ | Ultra-wide | >1920px | Maximum grid width |
198
+
199
+ *Note: Airbnb has 61 detected breakpoints — one of the most granular responsive systems observed, reflecting their obsession with layout at every possible screen size.*
200
+
201
+ ### Touch Targets
202
+ - Circular nav buttons: adequate 50% radius sizing
203
+ - Listing cards: full-card tap target on mobile
204
+ - Search bar: prominently sized for thumb interaction
205
+ - Category pills: horizontally scrollable with generous padding
206
+
207
+ ### Collapsing Strategy
208
+ - Listing grid: 5 → 4 → 3 → 2 → 1 columns
209
+ - Search: expanded bar → compact bar → overlay
210
+ - Category pills: horizontal scroll at all sizes
211
+ - Navigation: full header → mobile simplified
212
+ - Map: side panel → overlay/toggle
213
+
214
+ ### Image Behavior
215
+ - Listing photos: carousel with swipe on mobile
216
+ - Responsive image sizing with aspect ratio maintained
217
+ - Heart overlay positioned consistently across sizes
218
+ - Photo quality adjusts based on viewport
219
+
220
+ ## 9. Agent Prompt Guide
221
+
222
+ ### Quick Color Reference
223
+ - Background: Pure White (`#ffffff`)
224
+ - Text: Near Black (`#222222`)
225
+ - Brand accent: Rausch Red (`#ff385c`)
226
+ - Secondary text: `#6a6a6a`
227
+ - Disabled: `rgba(0,0,0,0.24)`
228
+ - Card border: `rgba(0,0,0,0.02) 0px 0px 0px 1px`
229
+ - Card shadow: full three-layer stack
230
+ - Button surface: `#f2f2f2`
231
+
232
+ ### Example Component Prompts
233
+ - "Create a listing card: white background, 20px radius. Three-layer shadow: rgba(0,0,0,0.02) 0px 0px 0px 1px, rgba(0,0,0,0.04) 0px 2px 6px, rgba(0,0,0,0.1) 0px 4px 8px. Photo area on top (16:10 ratio), details below: 16px Airbnb Cereal VF weight 600 title, 14px weight 400 description in #6a6a6a."
234
+ - "Design search bar: white background, full card shadow, 32px radius on container. Search text at 14px Cereal VF weight 400. Red search button (#ff385c, 50% radius, white icon)."
235
+ - "Build category pill bar: horizontal scrollable row. Each pill: 14px Cereal VF weight 600, #222222 text, bottom border on active. Circular prev/next arrows (#f2f2f2 bg, 50% radius)."
236
+ - "Create a CTA button: #222222 background, white text, 8px radius, 16px Cereal VF weight 500, 0px 24px padding. Hover: brand red accent."
237
+ - "Design a heart/wishlist button: transparent background, 50% radius, white heart icon with dark shadow outline."
238
+
239
+ ### Iteration Guide
240
+ 1. Start with white — the photography provides all the color
241
+ 2. Rausch Red (#ff385c) is the singular accent — use sparingly for CTAs only
242
+ 3. Near-black (#222222) for text — the warmth matters
243
+ 4. Three-layer shadows create natural, warm lift — always use all three layers
244
+ 5. Generous radius: 8px buttons, 20px cards, 50% controls
245
+ 6. Cereal VF at 500–700 weight — no thin weights for any heading
246
+ 7. Photography is hero — every listing card is image-first
@@ -0,0 +1,89 @@
1
+ # Design System: Airtable
2
+
3
+ ## 1. Visual Theme & Atmosphere
4
+
5
+ Airtable's website is a clean, enterprise-friendly platform that communicates "sophisticated simplicity" through a white canvas with deep navy text (`#181d26`) and Airtable Blue (`#1b61c9`) as the primary interactive accent. The Haas font family (display + text variants) creates a Swiss-precision typography system with positive letter-spacing throughout.
6
+
7
+ **Key Characteristics:**
8
+ - White canvas with deep navy text (`#181d26`)
9
+ - Airtable Blue (`#1b61c9`) as primary CTA and link color
10
+ - Haas + Haas Groot Disp dual font system
11
+ - Positive letter-spacing on body text (0.08px–0.28px)
12
+ - 12px radius buttons, 16px–32px for cards
13
+ - Multi-layer blue-tinted shadow: `rgba(45,127,249,0.28) 0px 1px 3px`
14
+ - Semantic theme tokens: `--theme_*` CSS variable naming
15
+
16
+ ## 2. Color Palette & Roles
17
+
18
+ ### Primary
19
+ - **Deep Navy** (`#181d26`): Primary text
20
+ - **Airtable Blue** (`#1b61c9`): CTA buttons, links
21
+ - **White** (`#ffffff`): Primary surface
22
+ - **Spotlight** (`rgba(249,252,255,0.97)`): `--theme_button-text-spotlight`
23
+
24
+ ### Semantic
25
+ - **Success Green** (`#006400`): `--theme_success-text`
26
+ - **Weak Text** (`rgba(4,14,32,0.69)`): `--theme_text-weak`
27
+ - **Secondary Active** (`rgba(7,12,20,0.82)`): `--theme_button-text-secondary-active`
28
+
29
+ ### Neutral
30
+ - **Dark Gray** (`#333333`): Secondary text
31
+ - **Mid Blue** (`#254fad`): Link/accent blue variant
32
+ - **Border** (`#e0e2e6`): Card borders
33
+ - **Light Surface** (`#f8fafc`): Subtle surface
34
+
35
+ ### Shadows
36
+ - **Blue-tinted** (`rgba(0,0,0,0.32) 0px 0px 1px, rgba(0,0,0,0.08) 0px 0px 2px, rgba(45,127,249,0.28) 0px 1px 3px, rgba(0,0,0,0.06) 0px 0px 0px 0.5px inset`)
37
+ - **Soft** (`rgba(15,48,106,0.05) 0px 0px 20px`)
38
+
39
+ ## 3. Typography Rules
40
+
41
+ ### Font Families
42
+ - **Primary**: `Haas`, fallbacks: `-apple-system, system-ui, Segoe UI, Roboto`
43
+ - **Display**: `Haas Groot Disp`, fallback: `Haas`
44
+
45
+ ### Hierarchy
46
+
47
+ | Role | Font | Size | Weight | Line Height | Letter Spacing |
48
+ |------|------|------|--------|-------------|----------------|
49
+ | Display Hero | Haas | 48px | 400 | 1.15 | normal |
50
+ | Display Bold | Haas Groot Disp | 48px | 900 | 1.50 | normal |
51
+ | Section Heading | Haas | 40px | 400 | 1.25 | normal |
52
+ | Sub-heading | Haas | 32px | 400–500 | 1.15–1.25 | normal |
53
+ | Card Title | Haas | 24px | 400 | 1.20–1.30 | 0.12px |
54
+ | Feature | Haas | 20px | 400 | 1.25–1.50 | 0.1px |
55
+ | Body | Haas | 18px | 400 | 1.35 | 0.18px |
56
+ | Body Medium | Haas | 16px | 500 | 1.30 | 0.08–0.16px |
57
+ | Button | Haas | 16px | 500 | 1.25–1.30 | 0.08px |
58
+ | Caption | Haas | 14px | 400–500 | 1.25–1.35 | 0.07–0.28px |
59
+
60
+ ## 4. Component Stylings
61
+
62
+ ### Buttons
63
+ - **Primary Blue**: `#1b61c9`, white text, 16px 24px padding, 12px radius
64
+ - **White**: white bg, `#181d26` text, 12px radius, 1px border white
65
+ - **Cookie Consent**: `#1b61c9` bg, 2px radius (sharp)
66
+
67
+ ### Cards: `1px solid #e0e2e6`, 16px–24px radius
68
+ ### Inputs: Standard Haas styling
69
+
70
+ ## 5. Layout
71
+ - Spacing: 1–48px (8px base)
72
+ - Radius: 2px (small), 12px (buttons), 16px (cards), 24px (sections), 32px (large), 50% (circles)
73
+
74
+ ## 6. Depth
75
+ - Blue-tinted multi-layer shadow system
76
+ - Soft ambient: `rgba(15,48,106,0.05) 0px 0px 20px`
77
+
78
+ ## 7. Do's and Don'ts
79
+ ### Do: Use Airtable Blue for CTAs, Haas with positive tracking, 12px radius buttons
80
+ ### Don't: Skip positive letter-spacing, use heavy shadows
81
+
82
+ ## 8. Responsive Behavior
83
+ Breakpoints: 425–1664px (23 breakpoints)
84
+
85
+ ## 9. Agent Prompt Guide
86
+ - Text: Deep Navy (`#181d26`)
87
+ - CTA: Airtable Blue (`#1b61c9`)
88
+ - Background: White (`#ffffff`)
89
+ - Border: `#e0e2e6`
@@ -0,0 +1,313 @@
1
+ # Design System: Apple
2
+
3
+ ## 1. Visual Theme & Atmosphere
4
+
5
+ Apple's website is a masterclass in controlled drama — vast expanses of pure black and near-white serve as cinematic backdrops for products that are photographed as if they were sculptures in a gallery. The design philosophy is reductive to its core: every pixel exists in service of the product, and the interface itself retreats until it becomes invisible. This is not minimalism as aesthetic preference; it is minimalism as reverence for the object.
6
+
7
+ The typography anchors everything. San Francisco (SF Pro Display for large sizes, SF Pro Text for body) is Apple's proprietary typeface, engineered with optical sizing that automatically adjusts letterforms depending on point size. At display sizes (56px), weight 600 with a tight line-height of 1.07 and subtle negative letter-spacing (-0.28px) creates headlines that feel machined rather than typeset — precise, confident, and unapologetically direct. At body sizes (17px), the tracking loosens slightly (-0.374px) and line-height opens to 1.47, creating a reading rhythm that is comfortable without ever feeling slack.
8
+
9
+ The color story is starkly binary. Product sections alternate between pure black (`#000000`) backgrounds with white text and light gray (`#f5f5f7`) backgrounds with near-black text (`#1d1d1f`). This creates a cinematic pacing — dark sections feel immersive and premium, light sections feel open and informational. The only chromatic accent is Apple Blue (`#0071e3`), reserved exclusively for interactive elements: links, buttons, and focus states. This singular accent color in a sea of neutrals gives every clickable element unmistakable visibility.
10
+
11
+ **Key Characteristics:**
12
+ - SF Pro Display/Text with optical sizing — letterforms adapt automatically to size context
13
+ - Binary light/dark section rhythm: black (`#000000`) alternating with light gray (`#f5f5f7`)
14
+ - Single accent color: Apple Blue (`#0071e3`) reserved exclusively for interactive elements
15
+ - Product-as-hero photography on solid color fields — no gradients, no textures, no distractions
16
+ - Extremely tight headline line-heights (1.07-1.14) creating compressed, billboard-like impact
17
+ - Full-width section layout with centered content — the viewport IS the canvas
18
+ - Pill-shaped CTAs (980px radius) creating soft, approachable action buttons
19
+ - Generous whitespace between sections allowing each product moment to breathe
20
+
21
+ ## 2. Color Palette & Roles
22
+
23
+ ### Primary
24
+ - **Pure Black** (`#000000`): Hero section backgrounds, immersive product showcases. The darkest canvas for the brightest products.
25
+ - **Light Gray** (`#f5f5f7`): Alternate section backgrounds, informational areas. Not white — the slight blue-gray tint prevents sterility.
26
+ - **Near Black** (`#1d1d1f`): Primary text on light backgrounds, dark button fills. Slightly warmer than pure black for comfortable reading.
27
+
28
+ ### Interactive
29
+ - **Apple Blue** (`#0071e3`): `--sk-focus-color`, primary CTA backgrounds, focus rings. The ONLY chromatic color in the interface.
30
+ - **Link Blue** (`#0066cc`): `--sk-body-link-color`, inline text links. Slightly darker than Apple Blue for text-level readability.
31
+ - **Bright Blue** (`#2997ff`): Links on dark backgrounds. Higher luminance for contrast on black sections.
32
+
33
+ ### Text
34
+ - **White** (`#ffffff`): Text on dark backgrounds, button text on blue/dark CTAs.
35
+ - **Near Black** (`#1d1d1f`): Primary body text on light backgrounds.
36
+ - **Black 80%** (`rgba(0, 0, 0, 0.8)`): Secondary text, nav items on light backgrounds. Slightly softened.
37
+ - **Black 48%** (`rgba(0, 0, 0, 0.48)`): Tertiary text, disabled states, carousel controls.
38
+
39
+ ### Surface & Dark Variants
40
+ - **Dark Surface 1** (`#272729`): Card backgrounds in dark sections.
41
+ - **Dark Surface 2** (`#262628`): Subtle surface variation in dark contexts.
42
+ - **Dark Surface 3** (`#28282a`): Elevated cards on dark backgrounds.
43
+ - **Dark Surface 4** (`#2a2a2d`): Highest dark surface elevation.
44
+ - **Dark Surface 5** (`#242426`): Deepest dark surface tone.
45
+
46
+ ### Button States
47
+ - **Button Active** (`#ededf2`): Active/pressed state for light buttons.
48
+ - **Button Default Light** (`#fafafc`): Search/filter button backgrounds.
49
+ - **Overlay** (`rgba(210, 210, 215, 0.64)`): Media control scrims, overlays.
50
+ - **White 32%** (`rgba(255, 255, 255, 0.32)`): Hover state on dark modal close buttons.
51
+
52
+ ### Shadows
53
+ - **Card Shadow** (`rgba(0, 0, 0, 0.22) 3px 5px 30px 0px`): Soft, diffused elevation for product cards. Offset and wide blur create a natural, photographic shadow.
54
+
55
+ ## 3. Typography Rules
56
+
57
+ ### Font Family
58
+ - **Display**: `SF Pro Display`, with fallbacks: `SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif`
59
+ - **Body**: `SF Pro Text`, with fallbacks: `SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif`
60
+ - SF Pro Display is used at 20px and above; SF Pro Text is optimized for 19px and below.
61
+
62
+ ### Hierarchy
63
+
64
+ | Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
65
+ |------|------|------|--------|-------------|----------------|-------|
66
+ | Display Hero | SF Pro Display | 56px (3.50rem) | 600 | 1.07 (tight) | -0.28px | Product launch headlines, maximum impact |
67
+ | Section Heading | SF Pro Display | 40px (2.50rem) | 600 | 1.10 (tight) | normal | Feature section titles |
68
+ | Tile Heading | SF Pro Display | 28px (1.75rem) | 400 | 1.14 (tight) | 0.196px | Product tile headlines |
69
+ | Card Title | SF Pro Display | 21px (1.31rem) | 700 | 1.19 (tight) | 0.231px | Bold card headings |
70
+ | Sub-heading | SF Pro Display | 21px (1.31rem) | 400 | 1.19 (tight) | 0.231px | Regular card headings |
71
+ | Nav Heading | SF Pro Text | 34px (2.13rem) | 600 | 1.47 | -0.374px | Large navigation headings |
72
+ | Sub-nav | SF Pro Text | 24px (1.50rem) | 300 | 1.50 | normal | Light sub-navigation text |
73
+ | Body | SF Pro Text | 17px (1.06rem) | 400 | 1.47 | -0.374px | Standard reading text |
74
+ | Body Emphasis | SF Pro Text | 17px (1.06rem) | 600 | 1.24 (tight) | -0.374px | Emphasized body text, labels |
75
+ | Button Large | SF Pro Text | 18px (1.13rem) | 300 | 1.00 (tight) | normal | Large button text, light weight |
76
+ | Button | SF Pro Text | 17px (1.06rem) | 400 | 2.41 (relaxed) | normal | Standard button text |
77
+ | Link | SF Pro Text | 14px (0.88rem) | 400 | 1.43 | -0.224px | Body links, "Learn more" |
78
+ | Caption | SF Pro Text | 14px (0.88rem) | 400 | 1.29 (tight) | -0.224px | Secondary text, descriptions |
79
+ | Caption Bold | SF Pro Text | 14px (0.88rem) | 600 | 1.29 (tight) | -0.224px | Emphasized captions |
80
+ | Micro | SF Pro Text | 12px (0.75rem) | 400 | 1.33 | -0.12px | Fine print, footnotes |
81
+ | Micro Bold | SF Pro Text | 12px (0.75rem) | 600 | 1.33 | -0.12px | Bold fine print |
82
+ | Nano | SF Pro Text | 10px (0.63rem) | 400 | 1.47 | -0.08px | Legal text, smallest size |
83
+
84
+ ### Principles
85
+ - **Optical sizing as philosophy**: SF Pro automatically switches between Display and Text optical sizes. Display versions have wider letter spacing and thinner strokes optimized for large sizes; Text versions are tighter and sturdier for small sizes. This means the font literally changes its DNA based on context.
86
+ - **Weight restraint**: The scale spans 300 (light) to 700 (bold) but most text lives at 400 (regular) and 600 (semibold). Weight 300 appears only on large decorative text. Weight 700 is rare, used only for bold card titles.
87
+ - **Negative tracking at all sizes**: Unlike most systems that only track headlines, Apple applies subtle negative letter-spacing even at body sizes (-0.374px at 17px, -0.224px at 14px, -0.12px at 12px). This creates universally tight, efficient text.
88
+ - **Extreme line-height range**: Headlines compress to 1.07 while body text opens to 1.47, and some button contexts stretch to 2.41. This dramatic range creates clear visual hierarchy through rhythm alone.
89
+
90
+ ## 4. Component Stylings
91
+
92
+ ### Buttons
93
+
94
+ **Primary Blue (CTA)**
95
+ - Background: `#0071e3` (Apple Blue)
96
+ - Text: `#ffffff`
97
+ - Padding: 8px 15px
98
+ - Radius: 8px
99
+ - Border: 1px solid transparent
100
+ - Font: SF Pro Text, 17px, weight 400
101
+ - Hover: background brightens slightly
102
+ - Active: `#ededf2` background shift
103
+ - Focus: `2px solid var(--sk-focus-color, #0071E3)` outline
104
+ - Use: Primary call-to-action ("Buy", "Shop iPhone")
105
+
106
+ **Primary Dark**
107
+ - Background: `#1d1d1f`
108
+ - Text: `#ffffff`
109
+ - Padding: 8px 15px
110
+ - Radius: 8px
111
+ - Font: SF Pro Text, 17px, weight 400
112
+ - Use: Secondary CTA, dark variant
113
+
114
+ **Pill Link (Learn More / Shop)**
115
+ - Background: transparent
116
+ - Text: `#0066cc` (light bg) or `#2997ff` (dark bg)
117
+ - Radius: 980px (full pill)
118
+ - Border: 1px solid `#0066cc`
119
+ - Font: SF Pro Text, 14px-17px
120
+ - Hover: underline decoration
121
+ - Use: "Learn more" and "Shop" links — the signature Apple inline CTA
122
+
123
+ **Filter / Search Button**
124
+ - Background: `#fafafc`
125
+ - Text: `rgba(0, 0, 0, 0.8)`
126
+ - Padding: 0px 14px
127
+ - Radius: 11px
128
+ - Border: 3px solid `rgba(0, 0, 0, 0.04)`
129
+ - Focus: `2px solid var(--sk-focus-color, #0071E3)` outline
130
+ - Use: Search bars, filter controls
131
+
132
+ **Media Control**
133
+ - Background: `rgba(210, 210, 215, 0.64)`
134
+ - Text: `rgba(0, 0, 0, 0.48)`
135
+ - Radius: 50% (circular)
136
+ - Active: scale(0.9), background shifts
137
+ - Focus: `2px solid var(--sk-focus-color, #0071e3)` outline, white bg, black text
138
+ - Use: Play/pause, carousel arrows
139
+
140
+ ### Cards & Containers
141
+ - Background: `#f5f5f7` (light) or `#272729`-`#2a2a2d` (dark)
142
+ - Border: none (borders are rare in Apple's system)
143
+ - Radius: 5px-8px
144
+ - Shadow: `rgba(0, 0, 0, 0.22) 3px 5px 30px 0px` for elevated product cards
145
+ - Content: centered, generous padding
146
+ - Hover: no standard hover state — cards are static, links within them are interactive
147
+
148
+ ### Navigation
149
+ - Background: `rgba(0, 0, 0, 0.8)` (translucent dark) with `backdrop-filter: saturate(180%) blur(20px)`
150
+ - Height: 48px (compact)
151
+ - Text: `#ffffff` at 12px, weight 400
152
+ - Active: underline on hover
153
+ - Logo: Apple logomark (SVG) centered or left-aligned, 17x48px viewport
154
+ - Mobile: collapses to hamburger with full-screen overlay menu
155
+ - The nav floats above content, maintaining its dark translucent glass regardless of section background
156
+
157
+ ### Image Treatment
158
+ - Products on solid-color fields (black or white) — no backgrounds, no context, just the object
159
+ - Full-bleed section images that span the entire viewport width
160
+ - Product photography at extremely high resolution with subtle shadows
161
+ - Lifestyle images confined to rounded-corner containers (12px+ radius)
162
+
163
+ ### Distinctive Components
164
+
165
+ **Product Hero Module**
166
+ - Full-viewport-width section with solid background (black or `#f5f5f7`)
167
+ - Product name as the primary headline (SF Pro Display, 56px, weight 600)
168
+ - One-line descriptor below in lighter weight
169
+ - Two pill CTAs side by side: "Learn more" (outline) and "Buy" / "Shop" (filled)
170
+
171
+ **Product Grid Tile**
172
+ - Square or near-square card on contrasting background
173
+ - Product image dominating 60-70% of the tile
174
+ - Product name + one-line description below
175
+ - "Learn more" and "Shop" link pair at bottom
176
+
177
+ **Feature Comparison Strip**
178
+ - Horizontal scroll of product variants
179
+ - Each variant as a vertical card with image, name, and key specs
180
+ - Minimal chrome — the products speak for themselves
181
+
182
+ ## 5. Layout Principles
183
+
184
+ ### Spacing System
185
+ - Base unit: 8px
186
+ - Scale: 2px, 4px, 5px, 6px, 7px, 8px, 9px, 10px, 11px, 14px, 15px, 17px, 20px, 24px
187
+ - Notable characteristic: the scale is dense at small sizes (2-11px) with granular 1px increments, then jumps in larger steps. This allows precise micro-adjustments for typography and icon alignment.
188
+
189
+ ### Grid & Container
190
+ - Max content width: approximately 980px (the recurring "980px radius" in pill buttons echoes this width)
191
+ - Hero: full-viewport-width sections with centered content block
192
+ - Product grids: 2-3 column layouts within centered container
193
+ - Single-column for hero moments — one product, one message, full attention
194
+ - No visible grid lines or gutters — spacing creates implied structure
195
+
196
+ ### Whitespace Philosophy
197
+ - **Cinematic breathing room**: Each product section occupies a full viewport height (or close to it). The whitespace between products is not empty — it is the pause between scenes in a film.
198
+ - **Vertical rhythm through color blocks**: Rather than using spacing alone to separate sections, Apple uses alternating background colors (black, `#f5f5f7`, white). Each color change signals a new "scene."
199
+ - **Compression within, expansion between**: Text blocks are tightly set (negative letter-spacing, tight line-heights) while the space surrounding them is vast. This creates a tension between density and openness.
200
+
201
+ ### Border Radius Scale
202
+ - Micro (5px): Small containers, link tags
203
+ - Standard (8px): Buttons, product cards, image containers
204
+ - Comfortable (11px): Search inputs, filter buttons
205
+ - Large (12px): Feature panels, lifestyle image containers
206
+ - Full Pill (980px): CTA links ("Learn more", "Shop"), navigation pills
207
+ - Circle (50%): Media controls (play/pause, arrows)
208
+
209
+ ## 6. Depth & Elevation
210
+
211
+ | Level | Treatment | Use |
212
+ |-------|-----------|-----|
213
+ | Flat (Level 0) | No shadow, solid background | Standard content sections, text blocks |
214
+ | Navigation Glass | `backdrop-filter: saturate(180%) blur(20px)` on `rgba(0,0,0,0.8)` | Sticky navigation bar — the glass effect |
215
+ | Subtle Lift (Level 1) | `rgba(0, 0, 0, 0.22) 3px 5px 30px 0px` | Product cards, floating elements |
216
+ | Media Control | `rgba(210, 210, 215, 0.64)` background with scale transforms | Play/pause buttons, carousel controls |
217
+ | Focus (Accessibility) | `2px solid #0071e3` outline | Keyboard focus on all interactive elements |
218
+
219
+ **Shadow Philosophy**: Apple uses shadow extremely sparingly. The primary shadow (`3px 5px 30px` with 0.22 opacity) is soft, wide, and offset — mimicking a diffused studio light casting a natural shadow beneath a physical object. This reinforces the "product as physical sculpture" metaphor. Most elements have NO shadow at all; elevation comes from background color contrast (dark card on darker background, or light card on slightly different gray).
220
+
221
+ ### Decorative Depth
222
+ - Navigation glass: the translucent, blurred navigation bar is the most recognizable depth element, creating a sense of floating UI above scrolling content
223
+ - Section color transitions: depth is implied by the alternation between black and light gray sections rather than by shadows
224
+ - Product photography shadows: the products themselves cast shadows in their photography, so the UI doesn't need to add synthetic ones
225
+
226
+ ## 7. Do's and Don'ts
227
+
228
+ ### Do
229
+ - Use SF Pro Display at 20px+ and SF Pro Text below 20px — respect the optical sizing boundary
230
+ - Apply negative letter-spacing at all text sizes (not just headlines) — Apple tracks tight universally
231
+ - Use Apple Blue (`#0071e3`) ONLY for interactive elements — it must be the singular accent
232
+ - Alternate between black and light gray (`#f5f5f7`) section backgrounds for cinematic rhythm
233
+ - Use 980px pill radius for CTA links — the signature Apple link shape
234
+ - Keep product imagery on solid-color fields with no competing visual elements
235
+ - Use the translucent dark glass (`rgba(0,0,0,0.8)` + blur) for sticky navigation
236
+ - Compress headline line-heights to 1.07-1.14 — Apple headlines are famously tight
237
+
238
+ ### Don't
239
+ - Don't introduce additional accent colors — the entire chromatic budget is spent on blue
240
+ - Don't use heavy shadows or multiple shadow layers — Apple's shadow system is one soft diffused shadow or nothing
241
+ - Don't use borders on cards or containers — Apple almost never uses visible borders (except on specific buttons)
242
+ - Don't apply wide letter-spacing to SF Pro — it is designed to run tight at every size
243
+ - Don't use weight 800 or 900 — the maximum is 700 (bold), and even that is rare
244
+ - Don't add textures, patterns, or gradients to backgrounds — solid colors only
245
+ - Don't make the navigation opaque — the glass blur effect is essential to the Apple UI identity
246
+ - Don't center-align body text — Apple body copy is left-aligned; only headlines center
247
+ - Don't use rounded corners larger than 12px on rectangular elements (980px is for pills only)
248
+
249
+ ## 8. Responsive Behavior
250
+
251
+ ### Breakpoints
252
+ | Name | Width | Key Changes |
253
+ |------|-------|-------------|
254
+ | Small Mobile | <360px | Minimum supported, single column |
255
+ | Mobile | 360-480px | Standard mobile layout |
256
+ | Mobile Large | 480-640px | Wider single column, larger images |
257
+ | Tablet Small | 640-834px | 2-column product grids begin |
258
+ | Tablet | 834-1024px | Full tablet layout, expanded nav |
259
+ | Desktop Small | 1024-1070px | Standard desktop layout begins |
260
+ | Desktop | 1070-1440px | Full layout, max content width |
261
+ | Large Desktop | >1440px | Centered with generous margins |
262
+
263
+ ### Touch Targets
264
+ - Primary CTAs: 8px 15px padding creating ~44px touch height
265
+ - Navigation links: 48px height with adequate spacing
266
+ - Media controls: 50% radius circular buttons, minimum 44x44px
267
+ - "Learn more" pills: generous padding for comfortable tapping
268
+
269
+ ### Collapsing Strategy
270
+ - Hero headlines: 56px Display → 40px → 28px on mobile, maintaining tight line-height proportionally
271
+ - Product grids: 3-column → 2-column → single column stacked
272
+ - Navigation: full horizontal nav → compact mobile menu (hamburger)
273
+ - Product hero modules: full-bleed maintained at all sizes, text scales down
274
+ - Section backgrounds: maintain full-width color blocks at all breakpoints — the cinematic rhythm never breaks
275
+ - Image sizing: products scale proportionally, never crop — the product silhouette is sacred
276
+
277
+ ### Image Behavior
278
+ - Product photography maintains aspect ratio at all breakpoints
279
+ - Hero product images scale down but stay centered
280
+ - Full-bleed section backgrounds persist at every size
281
+ - Lifestyle images may crop on mobile but maintain their rounded corners
282
+ - Lazy loading for below-fold product images
283
+
284
+ ## 9. Agent Prompt Guide
285
+
286
+ ### Quick Color Reference
287
+ - Primary CTA: Apple Blue (`#0071e3`)
288
+ - Page background (light): `#f5f5f7`
289
+ - Page background (dark): `#000000`
290
+ - Heading text (light): `#1d1d1f`
291
+ - Heading text (dark): `#ffffff`
292
+ - Body text: `rgba(0, 0, 0, 0.8)` on light, `#ffffff` on dark
293
+ - Link (light bg): `#0066cc`
294
+ - Link (dark bg): `#2997ff`
295
+ - Focus ring: `#0071e3`
296
+ - Card shadow: `rgba(0, 0, 0, 0.22) 3px 5px 30px 0px`
297
+
298
+ ### Example Component Prompts
299
+ - "Create a hero section on black background. Headline at 56px SF Pro Display weight 600, line-height 1.07, letter-spacing -0.28px, color white. One-line subtitle at 21px SF Pro Display weight 400, line-height 1.19, color white. Two pill CTAs: 'Learn more' (transparent bg, white text, 1px solid white border, 980px radius) and 'Buy' (Apple Blue #0071e3 bg, white text, 8px radius, 8px 15px padding)."
300
+ - "Design a product card: #f5f5f7 background, 8px border-radius, no border, no shadow. Product image top 60% of card on solid background. Title at 28px SF Pro Display weight 400, letter-spacing 0.196px, line-height 1.14. Description at 14px SF Pro Text weight 400, color rgba(0,0,0,0.8). 'Learn more' and 'Shop' links in #0066cc at 14px."
301
+ - "Build the Apple navigation: sticky, 48px height, background rgba(0,0,0,0.8) with backdrop-filter: saturate(180%) blur(20px). Links at 12px SF Pro Text weight 400, white text. Apple logo left, links centered, search and bag icons right."
302
+ - "Create an alternating section layout: first section black bg with white text and centered product image, second section #f5f5f7 bg with #1d1d1f text. Each section near full-viewport height with 56px headline and two pill CTAs below."
303
+ - "Design a 'Learn more' link: text #0066cc on light bg or #2997ff on dark bg, 14px SF Pro Text, underline on hover. After the text, include a right-arrow chevron character (>). Wrap in a container with 980px border-radius for pill shape when used as a standalone CTA."
304
+
305
+ ### Iteration Guide
306
+ 1. Every interactive element gets Apple Blue (`#0071e3`) — no other accent colors
307
+ 2. Section backgrounds alternate: black for immersive moments, `#f5f5f7` for informational moments
308
+ 3. Typography optical sizing: SF Pro Display at 20px+, SF Pro Text below — never mix
309
+ 4. Negative letter-spacing at all sizes: -0.28px at 56px, -0.374px at 17px, -0.224px at 14px, -0.12px at 12px
310
+ 5. The navigation glass effect (translucent dark + blur) is non-negotiable — it defines the Apple web experience
311
+ 6. Products always appear on solid color fields — never on gradients, textures, or lifestyle backgrounds in hero modules
312
+ 7. Shadow is rare and always soft: `3px 5px 30px 0.22 opacity` or nothing at all
313
+ 8. Pill CTAs use 980px radius — this creates the signature Apple rounded-rectangle-that-looks-like-a-capsule shape