ワンクリックで
first-launch
Use when guiding a user from a fresh OSS deployment to the first successful Slack-driven estimation run
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when guiding a user from a fresh OSS deployment to the first successful Slack-driven estimation run
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | first-launch |
| description | Use when guiding a user from a fresh OSS deployment to the first successful Slack-driven estimation run |
Guide the operator from a fresh Vercel deployment to the first successful Slack-driven estimation run. Keep a visible checklist and advance one concrete step at a time.
Start by identifying the user's state:
If Path A:
/api/health.If Path B:
curl -s https://<vercel-domain>/api/health
Expected:
{"status":"ok","runtime":"vercel","workflow":"enabled"}
/api/health returns expected payloadnpm install.claude/skills, .agents/skills, or .cursor/skillsnpm run build emits API, Workflow, and MCP server bundle outputnpm run check:vercel-output passesGOOGLE_REFRESH_TOKEN generatednpm run setup:google-templates completed or existing templates selected/estimate command configurednpm run doctor:first-launch -- --health-url <url> passes!estimate or /estimate starts a Vercel Workflow runANTHROPIC_API_KEY: Anthropic console.SLACK_BOT_TOKEN: Slack app OAuth page.SLACK_SIGNING_SECRET: Slack app basic information.GOOGLE_CLIENT_ID: Google Cloud OAuth client.GOOGLE_CLIENT_SECRET: Google Cloud OAuth client.GOOGLE_REFRESH_TOKEN: npx tsx scripts/get-google-token.ts.GDRIVE_ROOT_FOLDER_ID: Google Drive folder URL.GDRIVE_TEMPLATE_ID: npm run setup:google-templates or existing Doc ID.GSHEETS_TEMPLATE_ID: npm run setup:google-templates or existing Sheet ID.PINECONE_API_KEY: Pinecone console.VOYAGE_API_KEY: Voyage console.AGENT_REPO_TOKEN: Preferred private Git repo token. Required when a private repo must be cloned for snapshot creation or runtime fallback.GITHUB_TOKEN: Alternative private Git repo token name. The runtime accepts either AGENT_REPO_TOKEN or GITHUB_TOKEN.AGENT_REPO_URL: Optional Git remote override. Otherwise Vercel Git metadata or the starter repo URL is used.AGENT_REPO_REVISION: Optional branch/SHA override. Otherwise the exact Vercel commit SHA is used when available, then the Vercel ref, then main.For public repos, the repo token is not needed. For private repos, use a fine-grained GitHub token with Contents: Read and Metadata: Read, a classic token with repo scope, or a short-lived GitHub App installation token. The sandbox passes the token as the Git password with username x-access-token. Put the token in Vercel Build env if snapshot creation must clone a private repo; also put it in Runtime env if the project may fall back to per-job git clone.
npm run typecheck
npm test
npm run build
npm run check:vercel-output
npm run doctor:first-launch -- --health-url https://<vercel-domain>
Use offline doctor mode when provider credentials are not available locally:
npm run doctor:first-launch -- --offline
| Symptom | Likely Cause | Next Step |
|---|---|---|
/api/health is unreachable | Vercel deployment failed or wrong domain | Check Vercel deployment logs and verify the domain |
| Slack URL verification fails | Wrong request URL, stale preview/deployment URL, missing signing secret, or env not redeployed | Use the stable production domain plus /api/slack/events, set Production env, redeploy, rerun doctor |
| Slash command works but channel messages do not | Missing event subscription or bot not in channel | Subscribe to message.channels and invite the bot |
| Slack posts "workflow started" but no thread updates happen | Workflow runtime functions or bundled MCP server entrypoints are missing from deployment | Run npm run build and npm run check:vercel-output; redeploy only after API, Workflow, and MCP bundle checks pass |
| Slack thread reports workflow failure after startup | Provider env, template access, Pinecone/Voyage access, or MCP startup failed inside the workflow | Check Vercel Workflow logs, run doctor:first-launch, fix the reported setup issue, redeploy, and retry |
| Google OAuth fails | Refresh token generated with the wrong OAuth client | Regenerate GOOGLE_REFRESH_TOKEN with the same client |
| Google Drive returns 403 | Root folder or templates are not accessible to the OAuth account | Share folders/templates or regenerate templates |
| Pinecone dimension mismatch | Index was created with a model other than Voyage voyage-3 | Recreate and seed the index with 1024 dimensions and cosine metric |
| Workflow does not start | Vercel env or Workflow deployment issue | Check Vercel Workflow and Function logs, then run npm run build locally |
| Sandbox workspace fails on Vercel | Vercel Sandbox credentials or runtime setting missing | Run npm run check:vercel-sandbox and inspect Vercel env vars |