extraktor 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 +21 -0
- package/README.md +174 -0
- package/dist/chunk-5IH5TLAQ.js +91 -0
- package/dist/chunk-PHMSK7VD.js +6411 -0
- package/dist/chunk-VLLFGYUN.js +2773 -0
- package/dist/cli/index.d.ts +1 -0
- package/dist/cli/index.js +3261 -0
- package/dist/design-md-generator-YMQOE2IW.js +502 -0
- package/dist/index.d.ts +2774 -0
- package/dist/index.js +58 -0
- package/dist/server-DR7RCM5S.js +328 -0
- package/dist/style-applier-BMHP6V57.js +1032 -0
- package/dist/theme-package-generator-E55BBBZN.js +412 -0
- package/package.json +99 -0
- package/skills/analyze-design.md +20 -0
- package/skills/apply-style.md +24 -0
- package/skills/clone-site.md +29 -0
- package/skills/design-md.md +29 -0
- package/skills/devtools-extract.md +30 -0
- package/skills/extract-tokens.md +21 -0
- package/skills/genome.md +31 -0
- package/skills/regen.md +32 -0
package/skills/regen.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: regen
|
|
3
|
+
description: Generate a completely new page from an extracted genome. Uses the genome's components and design language with original content.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Regen - Generate New Pages
|
|
7
|
+
|
|
8
|
+
Generate a new page from a previously extracted genome:
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npx extraktor regen <genome-dir> --prompt "<description>" -o ./new-page
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Uses ANTHROPIC_API_KEY from your environment.
|
|
15
|
+
|
|
16
|
+
The user must have a genome directory (from running `genome` skill first). The prompt describes what the new page should be about - extraktor generates original content using the genome's components and design language.
|
|
17
|
+
|
|
18
|
+
Example:
|
|
19
|
+
```bash
|
|
20
|
+
npx extraktor regen ./stripe-genome --prompt "SaaS pricing page for a project management tool called TaskFlow" -o ./taskflow-site
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
After generation:
|
|
24
|
+
```bash
|
|
25
|
+
cd ./taskflow-site
|
|
26
|
+
npm install
|
|
27
|
+
npm run dev
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Options: `--sections <types>` (comma-separated section types to include).
|
|
31
|
+
|
|
32
|
+
If the user hasn't extracted a genome yet, tell them to run the genome skill first.
|