skillui 1.1.2 → 1.1.4

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 (62) hide show
  1. package/README.md +20 -15
  2. package/dist/cli.js +105073 -194
  3. package/package.json +15 -6
  4. package/dist/cli.d.ts +0 -3
  5. package/dist/extractors/components.d.ts +0 -11
  6. package/dist/extractors/components.js +0 -455
  7. package/dist/extractors/framework.d.ts +0 -4
  8. package/dist/extractors/framework.js +0 -126
  9. package/dist/extractors/tokens/computed.d.ts +0 -7
  10. package/dist/extractors/tokens/computed.js +0 -249
  11. package/dist/extractors/tokens/css.d.ts +0 -3
  12. package/dist/extractors/tokens/css.js +0 -510
  13. package/dist/extractors/tokens/http-css.d.ts +0 -14
  14. package/dist/extractors/tokens/http-css.js +0 -1689
  15. package/dist/extractors/tokens/tailwind.d.ts +0 -3
  16. package/dist/extractors/tokens/tailwind.js +0 -353
  17. package/dist/extractors/tokens/tokens-file.d.ts +0 -3
  18. package/dist/extractors/tokens/tokens-file.js +0 -229
  19. package/dist/extractors/ultra/animations.d.ts +0 -21
  20. package/dist/extractors/ultra/animations.js +0 -527
  21. package/dist/extractors/ultra/components-dom.d.ts +0 -13
  22. package/dist/extractors/ultra/components-dom.js +0 -149
  23. package/dist/extractors/ultra/interactions.d.ts +0 -14
  24. package/dist/extractors/ultra/interactions.js +0 -222
  25. package/dist/extractors/ultra/layout.d.ts +0 -14
  26. package/dist/extractors/ultra/layout.js +0 -123
  27. package/dist/extractors/ultra/pages.d.ts +0 -16
  28. package/dist/extractors/ultra/pages.js +0 -228
  29. package/dist/font-resolver.d.ts +0 -10
  30. package/dist/font-resolver.js +0 -280
  31. package/dist/modes/dir.d.ts +0 -6
  32. package/dist/modes/dir.js +0 -213
  33. package/dist/modes/repo.d.ts +0 -6
  34. package/dist/modes/repo.js +0 -76
  35. package/dist/modes/ultra.d.ts +0 -22
  36. package/dist/modes/ultra.js +0 -281
  37. package/dist/modes/url.d.ts +0 -14
  38. package/dist/modes/url.js +0 -161
  39. package/dist/normalizer.d.ts +0 -11
  40. package/dist/normalizer.js +0 -867
  41. package/dist/playwright-loader.d.ts +0 -10
  42. package/dist/playwright-loader.js +0 -71
  43. package/dist/screenshot.d.ts +0 -9
  44. package/dist/screenshot.js +0 -94
  45. package/dist/types-ultra.d.ts +0 -157
  46. package/dist/types-ultra.js +0 -4
  47. package/dist/types.d.ts +0 -182
  48. package/dist/types.js +0 -4
  49. package/dist/writers/animations-md.d.ts +0 -17
  50. package/dist/writers/animations-md.js +0 -313
  51. package/dist/writers/components-md.d.ts +0 -8
  52. package/dist/writers/components-md.js +0 -151
  53. package/dist/writers/design-md.d.ts +0 -7
  54. package/dist/writers/design-md.js +0 -704
  55. package/dist/writers/interactions-md.d.ts +0 -8
  56. package/dist/writers/interactions-md.js +0 -146
  57. package/dist/writers/layout-md.d.ts +0 -8
  58. package/dist/writers/layout-md.js +0 -120
  59. package/dist/writers/skill.d.ts +0 -12
  60. package/dist/writers/skill.js +0 -1006
  61. package/dist/writers/tokens-json.d.ts +0 -11
  62. package/dist/writers/tokens-json.js +0 -164
package/README.md CHANGED
@@ -1,8 +1,14 @@
1
- # skillui
2
-
3
- **Reverse-engineer any design system. Pure static analysis — no AI, no API keys.**
1
+ ```
2
+ ░██████╗██╗░░██╗██╗██╗░░░░░██╗░░░░░██╗░░░██╗██╗
3
+ ██╔════╝██║░██╔╝██║██║░░░░░██║░░░░░██║░░░██║██║
4
+ ╚█████╗░█████═╝░██║██║░░░░░██║░░░░░██║░░░██║██║
5
+ ░╚═══██╗██╔═██╗░██║██║░░░░░██║░░░░░██║░░░██║██║
6
+ ██████╔╝██║░╚██╗██║███████╗███████╗╚██████╔╝██║
7
+ ╚═════╝░╚═╝░░╚═╝╚═╝╚══════╝╚══════╝░╚═════╝░╚═╝
8
+ ```
9
+ > Reverse-engineer any design system. Pure static analysis. No AI, no API keys.
4
10
 
5
- Point `skillui` at any website, git repo, or local project and get exact colors, fonts, spacing, components, and animations packaged as a `.skill` file Claude can read.
11
+ Point skillui at any website, git repo, or local project and get exact colors, fonts, spacing, components, and animations packaged as a `.skill` file Claude can read.
6
12
 
7
13
  ```bash
8
14
  npm install -g skillui
@@ -16,7 +22,7 @@ skillui --url https://yoursite.com --mode ultra
16
22
  skillui crawls your target and extracts:
17
23
 
18
24
  | Output | Contents |
19
- |--------|----------|
25
+ |---|---|
20
26
  | `DESIGN.md` | Colors, typography, spacing, border radius, components |
21
27
  | `ANIMATIONS.md` | CSS keyframes, scroll triggers, GSAP/Lottie/Three.js detection |
22
28
  | `LAYOUT.md` | Flex/grid containers, page structure, spacing relationships |
@@ -63,6 +69,7 @@ skillui --url https://linear.app --mode ultra
63
69
  ```
64
70
 
65
71
  Ultra mode adds:
72
+
66
73
  - 7 scroll journey screenshots showing the page at each scroll depth
67
74
  - Hover/focus interaction state diffs
68
75
  - Full CSS keyframe extraction
@@ -83,9 +90,7 @@ skillui --dir ./my-app
83
90
  skillui --repo https://github.com/org/repo
84
91
  ```
85
92
 
86
- ---
87
-
88
- ## All flags
93
+ ### All flags
89
94
 
90
95
  ```
91
96
  skillui --url <url> Crawl a live website
@@ -114,7 +119,7 @@ Then ask Claude:
114
119
 
115
120
  > "Build me a dashboard that matches the Linear design system"
116
121
 
117
- Claude will read DESIGN.md, ANIMATIONS.md, LAYOUT.md, COMPONENTS.md, and all scroll journey screenshots to reconstruct the exact visual language of the site.
122
+ Claude will read `DESIGN.md`, `ANIMATIONS.md`, `LAYOUT.md`, `COMPONENTS.md`, and all scroll journey screenshots to reconstruct the exact visual language of the site.
118
123
 
119
124
  ---
120
125
 
@@ -174,12 +179,12 @@ skillui --url https://linear.app --out ./design-systems
174
179
 
175
180
  ## How it works
176
181
 
177
- skillui uses pure static analysis no AI, no API keys, no cloud.
182
+ skillui uses pure static analysis. No AI, no API keys, no cloud.
178
183
 
179
- 1. **URL mode** fetches HTML, crawls all linked CSS files, extracts computed styles via Playwright DOM inspection
180
- 2. **Dir mode** scans all `.css`, `.scss`, `.ts`, `.tsx`, `.js`, `.jsx` files for design tokens, Tailwind config, CSS variables, and component patterns
181
- 3. **Repo mode** clones the repo to a temp directory and runs dir mode
182
- 4. **Ultra mode** runs Playwright to capture scroll journey screenshots, detect animation libraries from `window.*` globals, extract `@keyframes` from `document.styleSheets`, capture hover/focus state diffs, and fingerprint DOM components
184
+ - **URL mode** fetches HTML, crawls all linked CSS files, extracts computed styles via Playwright DOM inspection
185
+ - **Dir mode** scans all `.css`, `.scss`, `.ts`, `.tsx`, `.js`, `.jsx` files for design tokens, Tailwind config, CSS variables, and component patterns
186
+ - **Repo mode** clones the repo to a temp directory and runs dir mode
187
+ - **Ultra mode** runs Playwright to capture scroll journey screenshots, detect animation libraries from `window.*` globals, extract `@keyframes` from `document.styleSheets`, capture hover/focus state diffs, and fingerprint DOM components
183
188
 
184
189
  ---
185
190
 
@@ -192,4 +197,4 @@ skillui uses pure static analysis — no AI, no API keys, no cloud.
192
197
 
193
198
  ## License
194
199
 
195
- MIT
200
+ MIT