ワンクリックで
deploy-frontend
Use when deploying the frontend application to Cloudflare Workers Static Assets
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when deploying the frontend application to Cloudflare Workers Static Assets
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
Use when preparing a backend release — runs tests and builds the distributable JAR
Use when regenerating the TypeScript API client from the backend OpenAPI specification
Use when renaming the project identity — Kotlin package, slug, or display name
SOC 職業分類に基づく
| name | deploy-frontend |
| description | Use when deploying the frontend application to Cloudflare Workers Static Assets |
Deploy the frontend SPA to Cloudflare Workers using Wrangler Static Assets. This skill covers the full pipeline: frozen dependency install, lint/format check, production build, Wrangler dry-run, and (after explicit confirmation) the live deploy.
--frozen-lockfilebun run check (Biome lint + format check — reports violations, does not auto-format)bun run build (Vite production build)wrangler deploy --dry-run to previewbun run cf:deploy (== bun run build && wrangler deploy)bunx wrangler login (interactive OAuth)
or set CLOUDFLARE_API_TOKEN environment variable. Verify with
bunx wrangler whoami. Refer to Wrangler's own output for
account-selection and token-scope guidance.../../../frontend/package.json.Authenticate with Cloudflare (if needed)
bunx wrangler login
This opens a browser window. Complete the OAuth flow. Verify with:
bunx wrangler whoami
The skill stops here if authentication fails.
Frozen dependency install
cd frontend
bun install --frozen-lockfile
This reproduces the exact dependency tree from bun.lock. Failures here
typically indicate lockfile drift — resolve intentional drift by running
bun install and committing the updated lockfile separately.
Lint and format check
bun run check
Biome runs lint rules and checks formatting. Fix violations before proceeding.
Production build
bun run build
Output goes to frontend/dist/. The build must exit zero — resolve any
TypeScript/Vite errors before deploying.
Wrangler dry-run (preview deploy)
Continue from frontend/ (entered in step 2):
bunx wrangler deploy --dry-run
This prints what Wrangler would upload without actually deploying.
Inspect the file list and asset sizes. If the dry-run shows unexpected
files, check your dist/ contents and wrangler.jsonc assets config.
User confirmation
? Ready to deploy to Cloudflare Workers? (y/N)
The skill must pause and require explicit keyboard confirmation.
Default is No. The skill aborts without making any live changes if the
response is anything other than an affirmative y or yes.
Live deploy
bun run cf:deploy
This runs bun run build again (idempotent — safe to rebuild) then
wrangler deploy. On success Wrangler prints the Worker URL.
--dry-run step.Uploaded / Published with the expected
Worker name (from wrangler.jsonc).bunx wrangler versions list to inspect the active version.| Failure | Behaviour |
|---|---|
bun install --frozen-lockfile fails | Lockfile out of date — run bun install and commit new lockfile |
bun run check fails | Fix Biome violations; re-run |
bun run build fails | Fix TS / Vite errors; re-run |
wrangler deploy --dry-run fails | Wrangler misconfigured or auth expired — re-authenticate |
| User declines confirmation | Clean exit, no live changes |
bun run cf:deploy fails | Check Wrangler auth and network; inspect error output |
AGENTS.md — Dev startup order and frontend scriptsfrontend/wrangler.jsonc — Wrangler config