CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl-fe/rapid-deploy

Use for deployments, shipping, releasing, pushing to production, hotfixes, rollbacks, and any task related to getting code live

94

1.32x
Quality

97%

Does it follow best practices?

Impact

86%

1.32x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

SKILL.md

name:
rapid-deploy
description:
Manages Vercel deployment workflows for Forge's frontend-app, including running vercel deploy commands, configuring environment variables, monitoring build status, and reverting to previous deployments. Use when shipping to production, handling hotfixes, performing rollbacks, reviewing preview deployments, diagnosing failed Vercel builds, or any task related to getting frontend-app code live on Vercel.

Rapid Deploy (Forge Dashboard)

Forge's frontend-app deploys to Vercel. Every push to main triggers a production deploy automatically. Every PR gets an isolated preview deployment.

Pre-Merge Checklist

Before merging any PR into main, confirm all of the following:

1. Build passes locally

npm run build

Expected: exits 0 with no TypeScript errors.

2. Environment variables are set in Vercel

Every key in .env.example must exist in Vercel project settings → Environment Variables → Production.

New env vars introduced in this PR must be added to Vercel before merging.

Keys to verify:

  • NEXT_PUBLIC_BACKEND_URL
  • NEXT_PUBLIC_DATA_URL

If a key is missing, add it in Vercel and re-deploy the preview before merging.

3. Preview URL tested

The Vercel bot posts a preview URL as a PR comment. Open it and verify:

  • Login works end-to-end
  • Dashboard loads and shows projects
  • Project detail page opens and API keys display
  • No errors in browser devtools Console

4. No debug artifacts in changed files

git diff main...HEAD -- '*.tsx' '*.ts' | grep '^\+.*console\.'

Remove any console.log / console.error in production code paths.

5. .env.example reflects all env vars

If this PR adds a new process.env.* reference, .env.example must be updated in the same PR.

Deploy

Merging to main triggers production deploy automatically. Watch it:

# Install Vercel CLI if needed: npm i -g vercel
vercel ls tessl-fe/frontend-app --prod

Or check the Vercel dashboard → Deployments tab. Expected build time: 60–90 seconds.

Rollback

If production is broken after a merge:

# List recent deployments
vercel ls

# Instant rollback — re-routes traffic to a previous build, no rebuild
vercel rollback <previous-deployment-url>

Common Build Failures

SymptomFix
Type error: X is not assignable to YFix TypeScript in the flagged file
Environment variable X is not definedAdd it to Vercel project settings
Module not found: Can't resolve '...'Run npm install, commit updated package-lock.json
ENOENT: no such fileCheck that all imported files exist with correct casing (case-sensitive on Linux)

Build logs: open the deployment in Vercel dashboard → click "Build Logs".

SKILL.md

tile.json