launchframe 0.4.0 → 0.4.1
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/.amazonq/cli-agents/clone-website.json +9 -0
- package/.amazonq/cli-agents/launchframe.json +9 -0
- package/.amazonq/rules/project.md +158 -0
- package/.augment/commands/clone-website.md +488 -0
- package/.augment/commands/launchframe.md +46 -0
- package/.claude/skills/clone-website/SKILL.md +14 -0
- package/.claude/skills/launchframe/SKILL.md +45 -0
- package/.clinerules +78 -67
- package/.codex/skills/clone-website/SKILL.md +487 -473
- package/.codex/skills/launchframe/SKILL.md +45 -0
- package/.continue/commands/clone-website.md +489 -475
- package/.continue/commands/launchframe.md +47 -0
- package/.continue/rules/project.md +82 -71
- package/.cursor/commands/clone-website.md +484 -470
- package/.cursor/commands/launchframe.md +42 -0
- package/.gemini/commands/clone-website.toml +490 -476
- package/.gemini/commands/launchframe.toml +48 -0
- package/.github/copilot-instructions.md +78 -67
- package/.github/skills/clone-website/SKILL.md +487 -473
- package/.github/skills/launchframe/SKILL.md +45 -0
- package/.opencode/commands/clone-website.md +487 -473
- package/.opencode/commands/launchframe.md +45 -0
- package/.windsurf/workflows/clone-website.md +484 -470
- package/.windsurf/workflows/launchframe.md +42 -0
- package/AGENTS.md +3 -2
- package/README.md +15 -3
- package/bin/launchframe.mjs +21 -16
- package/docs/research/INSPECTION_GUIDE.md +10 -0
- package/package.json +4 -2
- package/scripts/sync-skills.mjs +108 -95
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
<!-- AUTO-GENERATED from .claude/skills/launchframe/SKILL.md — do not edit directly.
|
|
2
|
+
Run `node scripts/sync-skills.mjs` to regenerate. -->
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
# Launchframe
|
|
6
|
+
|
|
7
|
+
You are helping the user scaffold a **new** project from **the reference URL and SaaS idea from the user (see slash command arguments)**:
|
|
8
|
+
|
|
9
|
+
- A **reference URL** (the website to copy later with `/clone-website`)
|
|
10
|
+
- A **SaaS idea** string (headline / positioning for the generated landing page)
|
|
11
|
+
|
|
12
|
+
## Parse inputs
|
|
13
|
+
|
|
14
|
+
1. Split **the reference URL and SaaS idea from the user (see slash command arguments)** into:
|
|
15
|
+
- **URL** — First `http://` or `https://` URL. Normalize (trim, validate). If invalid or missing, ask once for a correct URL.
|
|
16
|
+
- **SaaS idea** — Everything after the URL, typically in quotes. Strip surrounding quotes. If empty, ask for a short product pitch.
|
|
17
|
+
|
|
18
|
+
2. Optional flags the user might pass (same as the CLI): `--dir` / `-o` for output folder, `--skip-install` to skip `npm install`.
|
|
19
|
+
|
|
20
|
+
## Run the published CLI
|
|
21
|
+
|
|
22
|
+
Execute the scaffold using the **latest** package from npm (exact intent: **`launchframe@latest`**):
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
npx launchframe@latest "<url>" "<saas-idea>" [--dir <folder>] [--skip-install]
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
- Use shell-appropriate quoting (PowerShell vs bash). Escape embedded quotes in the SaaS idea.
|
|
29
|
+
- **Output path:** The Launchframe CLI must not write **inside** the npm package / template directory itself (that would recurse). If the open workspace is this repository, run `npx` with `--dir` pointing to a **sibling** path (e.g. `..\\my-app` on Windows, `../my-app` on macOS/Linux) or ask the user for a folder **outside** the repo.
|
|
30
|
+
- Prefer letting the CLI run `npm install` unless the user passed `--skip-install`.
|
|
31
|
+
|
|
32
|
+
## After scaffold
|
|
33
|
+
|
|
34
|
+
Tell the user:
|
|
35
|
+
|
|
36
|
+
1. `cd` into the new project directory.
|
|
37
|
+
2. `npm run dev` to preview the SaaS landing shell.
|
|
38
|
+
3. Run **`/clone-website <same-reference-url>`** in that project so the agent can reverse-engineer the reference site into components, while keeping the SaaS idea from `launchframe.context.json` / `src/lib/launchframe-config.ts`.
|
|
39
|
+
|
|
40
|
+
## Fallback (local dev only)
|
|
41
|
+
|
|
42
|
+
If `npx launchframe@latest` is unavailable (offline), from a **checkout of this repo** you may run `node bin/launchframe.mjs "<url>" "<saas-idea>" ...` with the same rules for `--dir` outside the package root.
|