跳到正文
Skillpedia
部署与云(DevOps)48k · #3803

appdeploy

它能做什么

这个工具可以帮助你把网站或应用发布到线上,让别人也能访问。所有技术细节都由它来处理,你不用操心。

适用场景

  • ✓当你想发布做好的网站时。
  • ✓当你有一个网页应用,希望它能在线上运行时。
  • ✓当你需要一个公开链接来展示你的项目时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/appdeploy/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/appdeploy/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“帮我把这个网站发布上线,并给我一个链接。”

每周 5 个新技能,1 分钟读完。

工作原理

工具会使用一个密钥连接到名为 AppDeploy 的服务。它把你网站的文件发送过去,服务会负责让网站可以在互联网上访问。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

AppDeploy Skill

Deploy web apps to AppDeploy via HTTP API.

When to Use This Skill

  • Use when planning or building apps and web apps
  • Use when deploying an app to a public URL
  • Use when publishing a website or web app
  • Use when the user says "deploy this", "make this live", or "give me a URL"
  • Use when updating an already-deployed app

Setup (First Time Only)

  1. Check for existing API key:

    • Look for a .appdeploy file in the project root
    • If it exists and contains a valid api_key, skip to Usage
  2. If no API key exists, register and get one:

    curl -X POST https://api-v2.appdeploy.ai/mcp/api-key \
      -H "Content-Type: application/json" \
      -d '{"client_name": "claude-code"}'
    

    Response:

    {
      "api_key": "ak_...",
      "user_id": "agent-claude-code-a1b2c3d4",
      "created_at": 1234567890,
      "message": "Save this key securely - it cannot be retrieved later"
    }
    
  3. Save credentials to .appdeploy:

    {
      "api_key": "ak_...",
      "endpoint": "https://api-v2.appdeploy.ai/mcp"
    }
    

    Add .appdeploy to .gitignore if not already present.

Usage

Make JSON-RPC calls to the MCP endpoint:

curl -X POST {endpoint} \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Authorization: Bearer {api_key}" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "{tool_name}",
      "arguments": { ... }
    }
  }'

Workflow

  1. First, get deployment instructions: Call get_deploy_instructions to understand constraints and requirements.

  2. Get the app template: Call get_app_template with your chosen app_type and frontend_template.

  3. Deploy the app: Call deploy_app with your app files. For new apps, set app_id to null.

  4. Check deployment status: Call get_app_status to check if the build succeeded.

  5. View/manage your apps: Use get_apps to list your deployed apps.

Available Tools

get_deploy_instructions

Use this when you are about to call deploy_app in order to get the deployment constraints and hard rules. You must call this tool before starting to generate any code. This tool returns instructions only and does not deploy anything.

Parameters:

deploy_app

Use this when the user asks to deploy or publish a website or web app and wants a public URL. Before generating files or calling this tool, you must call get_deploy_instructions and follow its constraints.

Parameters:

  • app_id: any (required) - existing app id to update, or null for new app
  • app_type: string (required) - app architecture: frontend-only or frontend+backend
  • app_name: string (required) - short display name
  • description: string (optional) - short description of what the app does
  • frontend_template: any (optional) - REQUIRED when app_id is null. One of: 'html-static' (simple sites), 'react-vite' (SPAs, games), 'nextjs-static' (multi-page). Template files auto-included.
  • files: array (optional) - Files to write. NEW APPS: only custom files + diffs to template files. UPDATES: only changed files using diffs[]. At least one of files[] or deletePaths[] required.
  • deletePaths: array (optional) - Paths to delete. ONLY for updates (app_id required). Cannot delete package.json or framework entry points.
  • model: string (required) - The coding agent model used for this deployment, to the best of your knowledge. Examples: 'codex-5.3', 'chatgpt', 'opus 4.6', 'claude-sonnet-4-5', 'gemini-2.5-pro'
  • intent: string (required) - The intent of this deployment. User-initiated examples: 'initial app deploy', 'bugfix - ui is too noisy'. Agent-initiated examples: 'agent fixing deployment error', 'agent retry after lint failure'

get_app_template

Call get_deploy_instructions first. Then call this once you've decided app_type and frontend_template. Returns base app template and SDK types. Template files auto-included in deploy_app.

Parameters:

  • app_type: string (required)
  • frontend_template: string (required) - Frontend framework: 'html-static' - Simple sites, minimal framework; 'react-vite' - React SPAs, dashboards, games; 'nextjs-static' - Multi-page apps, SSG

get_app_status

…

常见问题

使用前需要做什么设置吗?

需要。第一次使用时,你要获取一个“API 密钥”,并把它保存到一个专门的文件中,这样工具才能与发布服务通信。

如果我的网站已经发布过了呢?

你可以用这个工具更新网站,只需发送修改的部分,就能上线新版本或修复问题。

我怎么知道网站是否发布成功?

你可以查询发布状态,工具会告诉你是否一切正常,或者是否出现了错误。

详情

作者的原始描述

Deploy web apps with backend APIs, database, and file storage. Use when the user asks to deploy or publish a website or web app and wants a public URL. Uses HTTP API via curl.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#3803
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能