ワンクリックで
deploy
Deploy the AMS Law site to Cloudflare Workers. Use when deploying, releasing, or troubleshooting Cloudflare/OpenNext deployment.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Deploy the AMS Law site to Cloudflare Workers. Use when deploying, releasing, or troubleshooting Cloudflare/OpenNext deployment.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Add a reusable React component to the AMS Law site. Use when creating new UI components, sections, or shared widgets.
Add a new page/route to the AMS Law site. Use when creating a new route, page, or adding a page to navigation and sitemap.
| name | deploy |
| description | Deploy the AMS Law site to Cloudflare Workers. Use when deploying, releasing, or troubleshooting Cloudflare/OpenNext deployment. |
.env.example); NEXT_PUBLIC_SITE_URL required in productionRun locally before deploying:
yarn lint
yarn test
yarn build
Fix any failures before deploying.
yarn deploy
This runs:
scripts/check-node-version.mjs — verifies Node ≥22opennextjs-cloudflare build — OpenNext production buildopennextjs-cloudflare deploy — deploy to Cloudflare WorkersPushes to main trigger automatic build and deployment on Cloudflare Workers. Manual yarn deploy is for local/preview deploys.
| Issue | Check |
|---|---|
| Build fails | Run yarn build locally for full error output |
| Node version error | Use Node 22+ (node -v) |
| Missing env vars | Compare against .env.example |
| Email not sending | Resend API key and domain verification |
Version bumps and changelog are handled by semantic-release on merge to main. Do not manually edit docs/CHANGELOG.md.