From 0c1d71070aecf7b77f577cc807fdf129ccfb479c Mon Sep 17 00:00:00 2001 From: Guilhem Lemouel Date: Wed, 25 Mar 2026 19:29:25 +0100 Subject: [PATCH] chore: regenerate auto-generated CLI skills for new dev flags Co-Authored-By: Claude Opus 4.5 --- cli/src/guidance/skills.ts | 39 ++----------------- .../auto-generated/cli/cli-commands.md | 2 + system_prompts/auto-generated/prompts.ts | 2 + .../skills/cli-commands/SKILL.md | 2 + 4 files changed, 10 insertions(+), 35 deletions(-) diff --git a/cli/src/guidance/skills.ts b/cli/src/guidance/skills.ts index fcf2f83c9b..323cf4297f 100644 --- a/cli/src/guidance/skills.ts +++ b/cli/src/guidance/skills.ts @@ -45,7 +45,6 @@ description: MUST use when writing Bash scripts. Place scripts in a folder. After writing, tell the user they can run: - \`wmill script generate-metadata\` - Generate .script.yaml and .lock files -- \`wmill script preview \` - Test the script locally without deploying (pass inputs with \`-d '{...}'\`) - \`wmill sync push\` - Deploy to Windmill Do NOT run these commands yourself. Instead, inform the user that they should run them. @@ -111,7 +110,6 @@ description: MUST use when writing BigQuery queries. Place scripts in a folder. After writing, tell the user they can run: - \`wmill script generate-metadata\` - Generate .script.yaml and .lock files -- \`wmill script preview \` - Test the script locally without deploying (pass inputs with \`-d '{...}'\`) - \`wmill sync push\` - Deploy to Windmill Do NOT run these commands yourself. Instead, inform the user that they should run them. @@ -139,7 +137,6 @@ description: MUST use when writing Bun/TypeScript scripts. Place scripts in a folder. After writing, tell the user they can run: - \`wmill script generate-metadata\` - Generate .script.yaml and .lock files -- \`wmill script preview \` - Test the script locally without deploying (pass inputs with \`-d '{...}'\`) - \`wmill sync push\` - Deploy to Windmill Do NOT run these commands yourself. Instead, inform the user that they should run them. @@ -805,7 +802,6 @@ description: MUST use when writing Bun Native scripts. Place scripts in a folder. After writing, tell the user they can run: - \`wmill script generate-metadata\` - Generate .script.yaml and .lock files -- \`wmill script preview \` - Test the script locally without deploying (pass inputs with \`-d '{...}'\`) - \`wmill sync push\` - Deploy to Windmill Do NOT run these commands yourself. Instead, inform the user that they should run them. @@ -1469,7 +1465,6 @@ description: MUST use when writing C# scripts. Place scripts in a folder. After writing, tell the user they can run: - \`wmill script generate-metadata\` - Generate .script.yaml and .lock files -- \`wmill script preview \` - Test the script locally without deploying (pass inputs with \`-d '{...}'\`) - \`wmill sync push\` - Deploy to Windmill Do NOT run these commands yourself. Instead, inform the user that they should run them. @@ -1527,7 +1522,6 @@ description: MUST use when writing Deno/TypeScript scripts. Place scripts in a folder. After writing, tell the user they can run: - \`wmill script generate-metadata\` - Generate .script.yaml and .lock files -- \`wmill script preview \` - Test the script locally without deploying (pass inputs with \`-d '{...}'\`) - \`wmill sync push\` - Deploy to Windmill Do NOT run these commands yourself. Instead, inform the user that they should run them. @@ -2197,7 +2191,6 @@ description: MUST use when writing DuckDB queries. Place scripts in a folder. After writing, tell the user they can run: - \`wmill script generate-metadata\` - Generate .script.yaml and .lock files -- \`wmill script preview \` - Test the script locally without deploying (pass inputs with \`-d '{...}'\`) - \`wmill sync push\` - Deploy to Windmill Do NOT run these commands yourself. Instead, inform the user that they should run them. @@ -2265,7 +2258,6 @@ description: MUST use when writing Go scripts. Place scripts in a folder. After writing, tell the user they can run: - \`wmill script generate-metadata\` - Generate .script.yaml and .lock files -- \`wmill script preview \` - Test the script locally without deploying (pass inputs with \`-d '{...}'\`) - \`wmill sync push\` - Deploy to Windmill Do NOT run these commands yourself. Instead, inform the user that they should run them. @@ -2340,7 +2332,6 @@ description: MUST use when writing GraphQL queries. Place scripts in a folder. After writing, tell the user they can run: - \`wmill script generate-metadata\` - Generate .script.yaml and .lock files -- \`wmill script preview \` - Test the script locally without deploying (pass inputs with \`-d '{...}'\`) - \`wmill sync push\` - Deploy to Windmill Do NOT run these commands yourself. Instead, inform the user that they should run them. @@ -2402,7 +2393,6 @@ description: MUST use when writing Java scripts. Place scripts in a folder. After writing, tell the user they can run: - \`wmill script generate-metadata\` - Generate .script.yaml and .lock files -- \`wmill script preview \` - Test the script locally without deploying (pass inputs with \`-d '{...}'\`) - \`wmill sync push\` - Deploy to Windmill Do NOT run these commands yourself. Instead, inform the user that they should run them. @@ -2457,7 +2447,6 @@ description: MUST use when writing MS SQL Server queries. Place scripts in a folder. After writing, tell the user they can run: - \`wmill script generate-metadata\` - Generate .script.yaml and .lock files -- \`wmill script preview \` - Test the script locally without deploying (pass inputs with \`-d '{...}'\`) - \`wmill sync push\` - Deploy to Windmill Do NOT run these commands yourself. Instead, inform the user that they should run them. @@ -2485,7 +2474,6 @@ description: MUST use when writing MySQL queries. Place scripts in a folder. After writing, tell the user they can run: - \`wmill script generate-metadata\` - Generate .script.yaml and .lock files -- \`wmill script preview \` - Test the script locally without deploying (pass inputs with \`-d '{...}'\`) - \`wmill sync push\` - Deploy to Windmill Do NOT run these commands yourself. Instead, inform the user that they should run them. @@ -2513,7 +2501,6 @@ description: MUST use when writing Native TypeScript scripts. Place scripts in a folder. After writing, tell the user they can run: - \`wmill script generate-metadata\` - Generate .script.yaml and .lock files -- \`wmill script preview \` - Test the script locally without deploying (pass inputs with \`-d '{...}'\`) - \`wmill sync push\` - Deploy to Windmill Do NOT run these commands yourself. Instead, inform the user that they should run them. @@ -3144,7 +3131,6 @@ description: MUST use when writing PHP scripts. Place scripts in a folder. After writing, tell the user they can run: - \`wmill script generate-metadata\` - Generate .script.yaml and .lock files -- \`wmill script preview \` - Test the script locally without deploying (pass inputs with \`-d '{...}'\`) - \`wmill sync push\` - Deploy to Windmill Do NOT run these commands yourself. Instead, inform the user that they should run them. @@ -3218,7 +3204,6 @@ description: MUST use when writing PostgreSQL queries. Place scripts in a folder. After writing, tell the user they can run: - \`wmill script generate-metadata\` - Generate .script.yaml and .lock files -- \`wmill script preview \` - Test the script locally without deploying (pass inputs with \`-d '{...}'\`) - \`wmill sync push\` - Deploy to Windmill Do NOT run these commands yourself. Instead, inform the user that they should run them. @@ -3246,7 +3231,6 @@ description: MUST use when writing PowerShell scripts. Place scripts in a folder. After writing, tell the user they can run: - \`wmill script generate-metadata\` - Generate .script.yaml and .lock files -- \`wmill script preview \` - Test the script locally without deploying (pass inputs with \`-d '{...}'\`) - \`wmill sync push\` - Deploy to Windmill Do NOT run these commands yourself. Instead, inform the user that they should run them. @@ -3318,7 +3302,6 @@ description: MUST use when writing Python scripts. Place scripts in a folder. After writing, tell the user they can run: - \`wmill script generate-metadata\` - Generate .script.yaml and .lock files -- \`wmill script preview \` - Test the script locally without deploying (pass inputs with \`-d '{...}'\`) - \`wmill sync push\` - Deploy to Windmill Do NOT run these commands yourself. Instead, inform the user that they should run them. @@ -4140,7 +4123,6 @@ description: MUST use when writing Rust scripts. Place scripts in a folder. After writing, tell the user they can run: - \`wmill script generate-metadata\` - Generate .script.yaml and .lock files -- \`wmill script preview \` - Test the script locally without deploying (pass inputs with \`-d '{...}'\`) - \`wmill sync push\` - Deploy to Windmill Do NOT run these commands yourself. Instead, inform the user that they should run them. @@ -4232,7 +4214,6 @@ description: MUST use when writing Snowflake queries. Place scripts in a folder. After writing, tell the user they can run: - \`wmill script generate-metadata\` - Generate .script.yaml and .lock files -- \`wmill script preview \` - Test the script locally without deploying (pass inputs with \`-d '{...}'\`) - \`wmill sync push\` - Deploy to Windmill Do NOT run these commands yourself. Instead, inform the user that they should run them. @@ -4264,15 +4245,10 @@ Create a folder ending with \`{{FLOW_SUFFIX}}\` and add a \`flow.yaml\` file wit For rawscript modules, use \`!inline path/to/script.ts\` for the content key. {{INLINE_SCRIPT_NAMING}} After writing, tell the user they can run: - \`wmill flow generate-locks --yes\` - Generate lock files for the specific flow you modified (e.g. \`wmill flow generate-locks f/my_folder/my_flow{{FLOW_SUFFIX}} --yes\`) -- \`wmill flow preview \` - Test the flow locally without deploying (pass inputs with \`-d '{...}'\`). Uses local PathScript files by default. - \`wmill sync push\` - Deploy to Windmill Do NOT run these commands yourself. Instead, inform the user that they should run them. -## Local Development - -Each flow folder has a \`.claude/launch.json\` (auto-generated by \`wmill init\` or \`wmill sync pull\`) for Claude Code preview. Run \`wmill dev --proxy-port 4000\` from inside a flow folder to start a reverse proxy with live preview and round-trip editing (changes in the browser are written back to local files). - ## OpenFlow Schema The OpenFlow schema (openflow.openapi.yaml) is the source of truth for flow structure. Refer to OPENFLOW_SCHEMA for the complete type definitions. @@ -4642,10 +4618,6 @@ Tell the user they can run these commands (do NOT run them yourself): 4. **Use descriptive IDs** - \`get_user.ts\` not \`a.ts\` 5. **Always whitelist tables** - add to \`data.tables\` before querying 6. **Generate locks** - tell the user to run \`wmill app generate-locks\` after adding/modifying backend runnables - -## Local Development - -Each raw app folder has a \`.claude/launch.json\` (auto-generated by \`wmill init\`, \`wmill sync pull\`, or \`wmill app new\`) for Claude Code preview. Run \`wmill app dev\` from inside the app folder to start a dev server with live reload and hot module replacement. `, "triggers": `--- name: triggers @@ -5039,15 +5011,12 @@ workspace dependencies related commands ### dev -Launch a dev server that watches local files and serves them to a browser preview at \`/dev?workspace=...&local=true&wm_token=...\`. Supports round-trip editing for flows (changes in the browser are written back to disk). +Launch a dev server that will spawn a webserver with HMR **Options:** -- \`--includes \` - Filter paths given a glob pattern or path -- \`--path \` - Watch a specific windmill path (e.g., \`u/admin/my_script\` or \`f/my_flow\`). If omitted and the cwd is inside a flow folder, the flow path is auto-detected. -- \`--proxy-port \` - Start a localhost reverse proxy on this port that forwards to the remote Windmill server with \`/dev\` path and auth params injected. Used by \`.claude/launch.json\` for Claude Code preview. - -**Flow development with proxy (Claude Code):** -Each flow folder has a \`.claude/launch.json\` (auto-generated by \`wmill init\` or \`wmill sync pull\`) that runs \`wmill dev --proxy-port \${PORT:-4000}\`. When launched from inside a flow folder, the flow path is auto-detected and the proxy URL includes the correct \`path\` param. +- \`--includes \` - Filter paths givena glob pattern or path +- \`--proxy-port \` - Port for a localhost reverse proxy to the remote Windmill server +- \`--path \` - Watch a specific windmill path (e.g., u/admin/my_script or f/my_flow) ### docs diff --git a/system_prompts/auto-generated/cli/cli-commands.md b/system_prompts/auto-generated/cli/cli-commands.md index d76e31ded0..476e7c4c23 100644 --- a/system_prompts/auto-generated/cli/cli-commands.md +++ b/system_prompts/auto-generated/cli/cli-commands.md @@ -57,6 +57,8 @@ Launch a dev server that will spawn a webserver with HMR **Options:** - `--includes ` - Filter paths givena glob pattern or path +- `--proxy-port ` - Port for a localhost reverse proxy to the remote Windmill server +- `--path ` - Watch a specific windmill path (e.g., u/admin/my_script or f/my_flow) ### docs diff --git a/system_prompts/auto-generated/prompts.ts b/system_prompts/auto-generated/prompts.ts index 6eb870e62b..53f004dc7b 100644 --- a/system_prompts/auto-generated/prompts.ts +++ b/system_prompts/auto-generated/prompts.ts @@ -1584,6 +1584,8 @@ Launch a dev server that will spawn a webserver with HMR **Options:** - \`--includes \` - Filter paths givena glob pattern or path +- \`--proxy-port \` - Port for a localhost reverse proxy to the remote Windmill server +- \`--path \` - Watch a specific windmill path (e.g., u/admin/my_script or f/my_flow) ### docs diff --git a/system_prompts/auto-generated/skills/cli-commands/SKILL.md b/system_prompts/auto-generated/skills/cli-commands/SKILL.md index 8a9f231fc2..44a7c17681 100644 --- a/system_prompts/auto-generated/skills/cli-commands/SKILL.md +++ b/system_prompts/auto-generated/skills/cli-commands/SKILL.md @@ -62,6 +62,8 @@ Launch a dev server that will spawn a webserver with HMR **Options:** - `--includes ` - Filter paths givena glob pattern or path +- `--proxy-port ` - Port for a localhost reverse proxy to the remote Windmill server +- `--path ` - Watch a specific windmill path (e.g., u/admin/my_script or f/my_flow) ### docs