agentleFS
reescalderreescalder/claude-skills/vercel-deploy/SKILL.md

vercel-deploy

Skill0 starsChanged 4 months agoMITView on GitHub

Deploy Next.js apps to Vercel with automatic preview deployments. Add in Vercel dashboard: - Project Settings → Environment Variables Or use .env.local for local dev (don't commit): For programmatic deploys: Every PR gets a unique preview URL: - your-app-git-branch-name-username.vercel.app Great for: - Testing changes before merge - Sharing with stakeholders - QA review

  • Reads credentials
  • Sends data out

31 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use chatgpt-apps, winui-app and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • OpenAISkill

    chatgpt-apps

    Build, scaffold, refactor, and troubleshoot ChatGPT Apps SDK applications that combine an MCP server and widget UI. Use when Codex needs to design tools, register UI resources, wire the MCP Apps bridge or ChatGPT compatibility APIs, apply Apps SDK metadata or CSP or domain settings, or produce a docs-aligned project scaffold. Prefer a docs-first workflow by invoking the openai-docs skill or OpenAI developer docs MCP tools before generating code.

    Also in 4 projects that use this

  • OpenAISkill

    winui-app

    Bootstrap, develop, and design modern WinUI 3 desktop applications with C# and the Windows App SDK using official Microsoft guidance, WinUI Gallery patterns, Windows App SDK samples, and CommunityToolkit components. Use when creating a brand new app, preparing a machine for WinUI, reviewing, refactoring, planning, troubleshooting, environment-checking, or setting up WinUI 3 XAML, controls, navigation, windowing, theming, accessibility, responsiveness, performance, deployment, or related Windows app design and development work.

    Also in 3 projects that use this

  • stophobiaSkill

    surprise-me

    Create a delightful, unexpected "wow" experience for the user by dynamically discovering and creatively combining other enabled skills. Triggers when the user says "surprise me" or any request expressing a desire for an unexpected creative showcase. Also triggers when the user is bored, wants inspiration, or asks for "something interesting".

    Also in 3 projects that use this

  • HK-hubSkill

    ppt-generation

    Use this skill when the user requests to generate, create, or make presentations (PPT/PPTX). Creates visually rich slides by generating images for each slide and composing them into a PowerPoint file.

    Also in 3 projects that use this

  • stophobiaSkill

    github-deep-research

    Conduct multi-round deep research on any GitHub Repo. Use when users request comprehensive analysis, timeline reconstruction, competitive analysis, or in-depth investigation of GitHub. Produces structured markdown reports with executive summaries, chronological timelines, metrics analysis, and Mermaid diagrams. Triggers on Github repository URL or open source projects.

    Also in 3 projects that use this

  • HK-hubSkill

    consulting-analysis

    Use this skill when the user requests to generate, create, or write professional research reports including but not limited to market analysis, consumer insights, brand analysis, financial analysis, industry research, competitive intelligence, investment due diligence, or any consulting-grade analytical report. This skill operates in two phases — (1) generating a structured analysis framework with chapter skeleton, data query requirements, and analysis logic, and (2) after data collection by other skills, producing the final consulting-grade report with structured narratives, embedded charts, and strategic insights.

    Also in 3 projects that use this

  • +5 more from openai

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 28 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Add in Vercel dashboard:

    line 24
  2. Distinctive:

    Create hook, get URL

    line 38
  3. Distinctive:

    Every PR gets a unique preview URL:

    line 72
  4. Distinctive:

    Use environment variables: - never hardcode secrets

    line 108
  5. Distinctive:

    Optimize images: - use next/image

    line 109
  6. Distinctive:

    Enable caching: - use ISR or static generation where possible

    line 110
  7. Distinctive:

    Use preview deployments: - test before production

    line 112

“Common” is measured: kept by at least 6 in 10 of the 28 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Vercel Deploy Skill

Deploy Next.js apps to Vercel with automatic preview deployments.

When to Use

  • Next.js applications
  • Static sites
  • Serverless functions
  • Edge functions

Quick Deploy

1. Connect GitHub

  1. Go to vercel.com
  2. Add New → Project
  3. Import Git Repository
  4. Select your repo
  5. Vercel auto-detects Next.js

2. Environment Variables

Add in Vercel dashboard:

  • Project Settings → Environment Variables

Or use .env.local for local dev (don't commit):

NEXT_PUBLIC_API_URL=https://api.example.com
DATABASE_URL=postgres://...

3. Deploy Hook (Optional)

For programmatic deploys:

  1. Project Settings → Git → Deploy Hooks
  2. Create hook, get URL
  3. Trigger with:
curl -X POST "https://api.vercel.com/v1/integrations/deploy/..."

vercel.json (Optional)

{
  "buildCommand": "npm run build",
  "outputDirectory": ".next",
  "framework": "nextjs",
  "regions": ["iad1"],
  "headers": [
    {
      "source": "/api/(.*)",
      "headers": [
        { "key": "Access-Control-Allow-Origin", "value": "*" }
      ]
    }
  ],
  "redirects": [
    {
      "source": "/old-path",
      "destination": "/new-path",
      "permanent": true
    }
  ]
}

Preview Deployments

Every PR gets a unique preview URL:

  • your-app-git-branch-name-username.vercel.app

Great for:

  • Testing changes before merge
  • Sharing with stakeholders
  • QA review

Custom Domain

  1. Project Settings → Domains
  2. Add domain
  3. Update DNS:
    • A record: 76.76.21.21
    • Or CNAME: cname.vercel-dns.com

Edge Functions

// app/api/edge-example/route.ts
export const runtime = 'edge';

export async function GET(request: Request) {
  return new Response('Hello from the edge!');
}

Serverless Function Limits

  • 10 second timeout (Hobby)
  • 60 second timeout (Pro)
  • 50MB function size
  • 4.5MB response size

Best Practices

  1. Use environment variables - never hardcode secrets
  2. Optimize images - use next/image
  3. Enable caching - use ISR or static generation where possible
  4. Monitor with Vercel Analytics - built-in performance insights
  5. Use preview deployments - test before production

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.