Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计未展示

webflow-code-component%3adeploy-guideWebflow 代码 component 3adeploy 指南

Agent Skill

用于辅助云资源、部署、容器、基础设施和运维自动化任务。它适合让 Agent 检查配置、整理部署步骤、分析资源状态、生成排障思路或辅助云服务接入。使用时需要明确目标环境、账号权限、区域和资源组,区分本地测试与生产操作;涉及删除资源、重启服务、修改网络或权限配置时,应先确认影响范围。

总安装

5,167

周安装

207

GitHub Stars

62

下载量

1,673
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:webflow-code-component%3adeploy-guide(Webflow 代码 component 3adeploy 指南)
来源仓库:https://github.com/webflow/webflow-skills
仓库路径:skills/webflow-code-component%3Adeploy-guide
安装命令:
npx skills add https://github.com/webflow/webflow-skills --skill webflow-code-component:deploy-guide
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/webflow/webflow-skills --skill webflow-code-component:deploy-guide

简介

用于辅助云资源、部署和基础设施相关任务。webflow-code-component%3adeploy-guide 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

  • 适合检查配置、整理部署步骤和分析资源状态。
  • 使用时需明确目标环境、账号权限和资源组,区分测试与生产操作。
  • 涉及删除资源或修改网络配置时,应先确认影响范围。
  • 安装前建议验证权限边界,避免越权操作导致服务中断。

SKILL.md

Deploy Guide

Guide users through deploying their code component library to Webflow.

When to Use This Skill

Use when:

  • User is ready to deploy components to Webflow
  • User asks how to share, publish, or deploy their library
  • First-time deployment to a workspace
  • Step-by-step deployment walkthrough needed

Do NOT use when:

  • Deployment failed (use troubleshoot-deploy instead)
  • Just validating before deploy (use pre-deploy-check instead)
  • Setting up local development (use local-dev-setup instead)

Note: The CLI command is webflow library share. This skill uses "deploy" as the user-facing term.

Instructions

Phase 1: Pre-Flight Checks

  1. Verify project is ready:

- Check webflow.json configuration - Ensure all dependencies installed - Run pre-deploy-check skill checks

  1. Check authentication status:

- Look for existing.env with API token - Verify WEBFLOW_WORKSPACE_API_TOKEN if set - Prepare for authentication if needed

  1. Confirm deployment target:

- Which workspace? - New library or update existing?

Phase 2: Authentication

  1. Guide authentication:

- Interactive: Follow CLI prompts - CI/CD: Use --api-token flag - Show how to get workspace API token if needed

Phase 3: Deployment

  1. Execute deployment:

- Run npx webflow library share - Monitor for errors - Capture output

Phase 4: Verification

  1. Verify deployment:

- Check Webflow Designer for components - Test component functionality - Confirm all components appear

  1. Provide next steps:

- How to use components in Designer - How to update in future - Common post-deploy tasks - If deployment fails, use troubleshoot-deploy to diagnose and fix issues

Deployment Workflow

Standard Deployment

📦 Deploying Code Components

Step 1: Pre-flight checks
├── webflow.json ✅
├── Dependencies ✅
└── Build test ✅

Step 2: Authentication
├── Checking for existing auth...
└── Found valid token ✅

Step 3: Deploying
├── Bundling components...
├── Uploading to workspace...
└── Processing...

Step 4: Verification
├── Library registered ✅
└── 4 components available ✅

🎉 Deployment Complete!

CI/CD Deployment

# Set environment variable
export WEBFLOW_WORKSPACE_API_TOKEN=your-token-here

# Deploy without prompts
npx webflow library share --no-input

Examples

User prompt:

Deploy my components to Webflow

Response:

🚀 Deploy Guide: Code Components

Let me guide you through deploying your component library.

---

## Step 1: Pre-Flight Checks

Running validation...

✅ webflow.json configured
✅ Dependencies installed
✅ Build succeeds
✅ Bundle size: 2.3MB (under 50MB limit)

All checks passed! Ready to deploy.

---

## Step 2: Authentication

**Option A: Interactive (Recommended for first time)**

Run the deploy command:

npx webflow library share


This will:

1. Open your browser for Webflow login
2. Ask you to authorize the app
3. Save credentials to.env

**Option B: API Token (For CI/CD or returning users)**

1. Get your Workspace API Token:
  - Go to Webflow Dashboard
  - Navigate to your Workspace Settings
  - Find "Apps & Integrations" → "Manage"
  - Under "Workspace API Access", click "Generate API Token"
  - Copy the token
2. Run with token:

npx webflow library share --api-token YOUR_TOKEN_HERE


Or set environment variable:

export WEBFLOW_WORKSPACE_API_TOKEN=YOUR_TOKEN_HERE npx webflow library share


---

## Step 3: Deploy

Ready to deploy? Run:

npx webflow library share


Expected output:

✓ Bundling components... ✓ Authenticating... ✓ Uploading library... ✓ Processing...

Library "My Component Library" successfully shared!

Components:

  • Button
  • Card
  • Accordion
  • Modal

View in Designer: Open any site in your workspace


---

## Step 4: Verify in Designer

After deployment:

1. **Open Webflow Designer** for any site in your workspace
2. **Open Add Panel** (A key or + button)
3. **Find "Components"** section
4. **Look for your library** under custom components
5. **Drag a component** onto the canvas to test

---

## Step 5: Next Steps

✅ **Your components are live!**

**To update components later:**

Make your changes, then re-deploy

npx webflow library share


**Important notes:**

- Updates replace the entire library (no partial updates)
- Existing component instances will update automatically
- Don't rename.webflow.tsx files (breaks instances)

---

💡 **Tips:**

- Add.env to.gitignore to protect your token
- Use `--verbose` flag for debugging issues
- Run `npx webflow library log` to see recent deploy logs

Example: First-Time Setup


🚀 Deploy Guide: First-Time Setup

I see this is your first deployment. Let me walk you through the full setup.

---

## Step 1: Get Workspace API Token

You'll need a Workspace API token to deploy:

1. **Open Webflow Dashboard** Go to webflow.com and log in
2. **Navigate to Workspace Settings** Click your workspace name → Settings
3. **Find API Access** Go to "Apps & Integrations" → "Manage"
4. **Generate Token** Under "Workspace API Access":
  - Click "Generate API Token"
  - Copy the token (you won't see it again!)
5. **Save Token** Add to your.env file: `WEBFLOW_WORKSPACE_API_TOKEN=your-token-here` ⚠️ Add.env to.gitignore: `echo ".env" >>.gitignore`

---

## Step 2: Deploy

Now run:

npx webflow library share


The CLI will:

1. Read your token from.env
2. Bundle your components
3. Upload to your workspace

---

## Step 3: Verify

After successful deploy:

1. Open Webflow Designer
2. Press 'A' to open Add panel
3. Find your components in the Components section
4. Drag onto canvas to test

---

🎉 **First deployment complete!**

Future deployments are simpler:

Just run this after making changes

npx webflow library share


Example: CI/CD Setup


🚀 Deploy Guide: CI/CD Setup

Setting up automated deployments for your pipeline.

---

## GitHub Actions Example

Create `.github/workflows/deploy.yml`:

name: Deploy to Webflow

on: push: branches: [main]

jobs: deploy: runs-on: ubuntu-latest

steps: - uses: actions/checkout@v4

- name: Setup Node.js uses: actions/setup-node@v4 with: node-version: '20' cache: 'npm'

- name: Install dependencies run: npm ci

- name: Deploy to Webflow env: WEBFLOW_WORKSPACE_API_TOKEN: ${{ secrets.WEBFLOW_WORKSPACE_API_TOKEN }} run: npx webflow library share --no-input


---

## Add Secret to GitHub

1. Go to your repo → Settings → Secrets and variables → Actions
2. Click "New repository secret"
3. Name: `WEBFLOW_WORKSPACE_API_TOKEN`
4. Value: Your workspace API token
5. Click "Add secret"

---

## Key Flags for CI/CD

npx webflow library share --no-input


- `--no-input`: Disables interactive prompts
- Uses `WEBFLOW_WORKSPACE_API_TOKEN` env var automatically

---

## Optional: Add TypeScript Check
  • name: Type check

run: npx tsc --noEmit


---

✅ **CI/CD configured!**

Now every push to main will automatically deploy your components.

Validation

After deployment, verify success with these checks:

CheckHow to Verify
Deploy completednpx webflow library share exited without errors
Components visibleOpen Designer Add panel → find your library
Import logs cleannpx webflow library log shows successful import
Bundle size OKOutput shows bundle under 50MB
Props workDrag component onto canvas, verify props in right panel

Guidelines

Terminology

The CLI command is webflow library share. This skill uses "deploy" as the user-facing term for consistency with common developer vocabulary. See the CLI reference (Section 12) for full command documentation.

Authentication Methods

MethodUse CaseCommand
InteractiveFirst time, local devnpx webflow library share
Environment variableCI/CD, automationSet WEBFLOW_WORKSPACE_API_TOKEN
CLI flagOne-off with different token--api-token TOKEN

Pre-Deploy Checklist

Before every deployment:

  • [ ] npm install is up to date
  • [ ] Build succeeds locally
  • [ ] Bundle under 50MB
  • [ ] All component tests pass
  • [ ] No SSR-breaking code (or ssr: false set)
  • [ ] Props have default values where supported (not available for Link, Image, Slot, ID)

Common Deploy Issues

IssueCauseSolution
"Authentication failed"Invalid/expired tokenRegenerate workspace token
"Bundle too large"Over 50MBOptimize dependencies
"Library not found"Wrong workspaceCheck token workspace
"Build failed"Code errorsFix compilation errors

CLI Flags Reference

All flags for npx webflow library share:

FlagDescriptionDefault
--manifestPath to webflow.json fileScans current directory
--api-tokenWorkspace API tokenUses WEBFLOW_WORKSPACE_API_TOKEN from .env
--no-inputSkip interactive prompts (for CI/CD)No
--verboseDisplay more debugging informationNo
--devBundle in development mode (no minification)No

Rollback & Versioning

  • Each library share replaces the entire library — there are no partial updates
  • There is no built-in rollback — use git to revert changes and re-deploy
  • Never rename .webflow.tsx files — renaming creates a new component and removes the old one, breaking all existing instances in projects

Debugging Commands

# Check recent deploy logs
npx webflow library log

# Verbose deploy output (detailed errors)
npx webflow library share --verbose

# Local bundle verification (catches build errors before deploying)
npx webflow library bundle --public-path http://localhost:4000/

CI/CD Deployment

The GitHub Actions example above applies to any CI system. The key elements are:

# Generic CI pattern:
npm ci                                        # Install dependencies
npx webflow library share --no-input          # Deploy without prompts
# Requires WEBFLOW_WORKSPACE_API_TOKEN env var

Post-Deploy Verification

Always verify after deployment:

  1. Check Designer: Components appear in Add panel
  2. Test drag-and-drop: Component renders on canvas
  3. Test props: Props editable in right panel
  4. Test preview: Component works in preview mode
  5. Test publish: Component works on published site

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

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

平台分布

Codex

36.4%
按下载量换算609

Claude

30.82%
按下载量换算516

Cursor

20.75%
按下载量换算347

Gemini CLI

9.99%
按下载量换算167

安全审计

暂无安全审计结果可展示。

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills