launchframe 0.4.0 → 0.4.2
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 +43 -0
- package/.claude/skills/clone-website/SKILL.md +14 -0
- package/.claude/skills/launchframe/SKILL.md +42 -0
- package/.clinerules +78 -67
- package/.codex/skills/clone-website/SKILL.md +487 -473
- package/.codex/skills/launchframe/SKILL.md +42 -0
- package/.continue/commands/clone-website.md +489 -475
- package/.continue/commands/launchframe.md +44 -0
- package/.continue/rules/project.md +82 -71
- package/.cursor/commands/clone-website.md +484 -470
- package/.cursor/commands/launchframe.md +39 -0
- package/.gemini/commands/clone-website.toml +490 -476
- package/.gemini/commands/launchframe.toml +45 -0
- package/.github/copilot-instructions.md +78 -67
- package/.github/skills/clone-website/SKILL.md +487 -473
- package/.github/skills/launchframe/SKILL.md +42 -0
- package/.opencode/commands/clone-website.md +487 -473
- package/.opencode/commands/launchframe.md +42 -0
- package/.windsurf/workflows/clone-website.md +484 -470
- package/.windsurf/workflows/launchframe.md +39 -0
- package/AGENTS.md +3 -2
- package/README.md +15 -14
- package/bin/launchframe.mjs +114 -77
- package/docs/research/INSPECTION_GUIDE.md +10 -0
- package/package.json +4 -2
- package/scripts/sync-skills.mjs +108 -95
- package/src/lib/launchframe-config.ts +2 -3
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: launchframe
|
|
3
|
+
description: Scaffold a Next.js app with npx launchframe@latest into the current folder — no CLI arguments required. Invoked as /launchframe.
|
|
4
|
+
argument-hint: ""
|
|
5
|
+
user-invocable: true
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Launchframe
|
|
9
|
+
|
|
10
|
+
Help the user create a **new** Launchframe project. The CLI is **parameterless**:
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
npx launchframe@latest
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
It unpacks the full template into the **current working directory** (the folder root where the user runs the command). They should `mkdir`, `cd` into an **empty** folder first.
|
|
17
|
+
|
|
18
|
+
## What you do
|
|
19
|
+
|
|
20
|
+
1. Ensure the user has an **empty** directory (no existing `package.json`, `src/`, or `next.config.ts` there). If the workspace is already a Launchframe/Next project, they may only need `/clone-website` instead — clarify.
|
|
21
|
+
|
|
22
|
+
2. Run exactly:
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
npx launchframe@latest
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Optional: `LAUNCHFRAME_SOURCE_URL` and `LAUNCHFRAME_SAAS_IDEA` environment variables in the same shell if they want values pre-filled without editing files later.
|
|
29
|
+
|
|
30
|
+
3. **Never** run this with the output target **inside** the `launchframe` package directory (the npm-installed template). If the open folder is this monorepo/template, have them `mkdir ../my-app && cd ../my-app` (sibling path), then run `npx launchframe@latest` there.
|
|
31
|
+
|
|
32
|
+
4. Optional flags (same as CLI): `--dir <path>` to scaffold into another folder instead of cwd, `--skip-install` to skip `npm install`.
|
|
33
|
+
|
|
34
|
+
5. After it finishes: they should **`npm run dev`** from **that same folder** (no extra `cd` if they scaffolded into cwd). Then they edit **`src/lib/launchframe-config.ts`** for reference URL and SaaS idea, and run **`/clone-website`** with that URL.
|
|
35
|
+
|
|
36
|
+
## If $ARGUMENTS are present
|
|
37
|
+
|
|
38
|
+
The user may still paste a URL or idea in chat — **do not** require them for the CLI. Put any extra context into **`src/lib/launchframe-config.ts`** or `launchframe.context.json` for them after scaffold.
|
|
39
|
+
|
|
40
|
+
## Fallback (local dev only)
|
|
41
|
+
|
|
42
|
+
From a checkout of this repo: `node bin/launchframe.mjs` with the same empty-folder rules (optionally `--dir` outside the package root).
|