Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计通过

vercel-syncVercel sync 命令行

Agent Skill

vercel-sync 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

306

周安装

13

GitHub Stars

9

下载量

107
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:vercel-sync(Vercel sync 命令行)
来源仓库:https://github.com/yuniorglez/gemini-elite-core
仓库路径:skills/vercel-sync
安装命令:
npx skills add https://github.com/yuniorglez/gemini-elite-core --skill vercel-sync
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/yuniorglez/gemini-elite-core --skill vercel-sync

简介

vercel-sync 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。

  • 适用于 Vercel sync 命令行相关的代码同步和协作管理任务。
  • 通过 npx skills add 命令从 GitHub 仓库安装,支持主流 AI 编程环境集成。
  • 安装前建议确认权限范围和维护状态,注意可能触发联网或命令执行操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Skill: Vercel Sync (Standard 2026)

Role: The Vercel Sync specialist is responsible for the seamless bridge between the Bun development environment and the Vercel production infrastructure. In 2026, this role ensures that the performance gains of Bun 2.x are fully realized in the Vercel Edge Network, maintaining 100% compatibility and zero-downtime deployments.

🎯 Primary Objectives

  1. Bun Native Orchestration: Configure Vercel to use the Bun runtime for all serverless and edge functions.
  2. Zero-Secret Security: Implement OIDC-based deployment pipelines to eliminate long-lived Vercel tokens.
  3. Build Optimization: Leverage Turbopack and Bun's ultra-fast package manager to reduce build times by >60%.
  4. Edge-First Strategy: Orchestrate the optimal balance between Edge and Node.js runtimes for global performance.

🏗️ Core Configuration (2026 Standard)

1. The vercel.json Manifest

The heart of the synchronization. Modern 2026 deployments require explicit runtime and caching directives.

{
  "version": 2,
  "bunVersion": "1.2.x",
  "framework": "nextjs",
  "buildCommand": "bun run build",
  "installCommand": "bun install --frozen-lockfile",
  "framework": "nextjs",
  "images": {
    "formats": ["image/avif", "image/webp"]
  },
  "crons": [
    {
      "path": "/api/cron/sync-registry",
      "schedule": "0 0 * * *"
    }
  ]
}

2. Package Manager Locking

The specialist must ensure that the bun.lock (v2) is used. The presence of package-lock.json or yarn.lock is considered a critical error and must be remediated immediately.


🔒 Security: Zero-Secret OIDC

In 2026, we no longer store VERCEL_TOKEN in GitHub Actions secrets. We use OpenID Connect (OIDC) to grant temporary, scoped access.

The GitHub Workflow Pattern:

jobs:
  deploy:
    runs-on: ubuntu-latest
    permissions:
      id-token: write
      contents: read
    steps:
      - uses: actions/checkout@v5
      - uses: oven-sh/setup-bun@v2
      - name: Deploy to Vercel
        run: bun x vercel deploy --prebuilt --token=${{ steps.auth.outputs.token }}

⚡ Edge Orchestration Logic

The specialist must decide where logic lives based on the 2026 "Latency Budget."

Feature TypeRuntime RecommendationReason
Auth MiddlewareEdge<10ms Cold start, global proximity.
AI StreamingBun (Serverless)Heavy CPU for prompt engineering / long-lived streams.
PDF GenerationNode.jsRequires heavy native binaries (not yet Bun-native).
Static Pre-renderingBun2x faster static generation than Node.js.

🚫 The "Do Not List" (Anti-Patterns)

  1. NEVER use process.env for client-side secrets without the NEXT_PUBLIC_ prefix (and even then, audit for leaks).
  2. NEVER deploy without --frozen-lockfile. Non-deterministic builds are the #1 cause of "Vercel-Local Mismatches."
  3. NEVER ignore Turbopack warnings in the build log. They usually indicate a hydration or bundle-splitting regression.
  4. NEVER use Bun.serve() in a Vercel project; it's incompatible with the Serverless Function wrapper. Use standard Next.js Route Handlers.

🛠️ Troubleshooting & Forensic Audit

When a build fails on Vercel but passes locally, follow this protocol:

  1. Check bun --version match: Ensure local and Vercel bunVersion are aligned.
  2. Inspect vc-build logs: Look for "External Module" errors where Bun native modules might be missing in the Vercel container.
  3. Environment Sync: Use bun x vercel env pull.env.local to ensure local tests run against the same secrets as the cloud.

📚 Reference Library


📊 Performance KPIs

  • Cold Start Duration: < 200ms (Node.js) / < 50ms (Edge).
  • Build Time: < 120s for standard Squaads projects.
  • Deployment Frequency: Zero-manual-touch continuous delivery.

🔄 Evolution from v0.x to v1.1.0

  • v1.0.0: Basic bunVersion support and lockfile check.
  • v1.1.0: Full OIDC integration, Bun 2.x support, and Edge-first orchestration logic.

📜 Standard Operating Procedure (SOP)

  1. Setup: Run bun x vercel link to connect the project.
  2. Config: Audit vercel.json for technical recency.
  3. CI/CD: Configure the GitHub Action using the OIDC template.
  4. Verification: Deploy a preview branch and run bun x lighthouse on the preview URL.
  5. Sync: Periodically run bun update and sync the bunVersion in vercel.json.

End of Vercel Sync Standard (v1.1.0)

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.52%
按下载量换算38

Claude

28.48%
按下载量换算30

Cursor

17.65%
按下载量换算19

Gemini CLI

9.22%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills