Appdeploy

From Anhvu1107/all-agent-skill · View interactive version

Appdeploy is an AI agent skill from the GitHub repository Anhvu1107/all-agent-skill. ALWAYS use this when the request matches Appdeploy: Deploy web apps with backend APIs, database, and file storage.

How to use this skill

Skill file

AppDeploy Skill

Selective Reading Rule

Start with:

Then load only the inherited docs, scripts, assets, or examples that match the user's actual task.

Deploy web apps to AppDeploy via HTTP API.

When to Use This Skill

Setup (First Time Only)

  1. Check for existing API key:
  1. If no API key exists, register and get one:

```bash

curl -X POST https://api-v2.appdeploy.ai/mcp/api-key \

-H "Content-Type: application/json" \

-d '{"client_name": "claude-code"}'

```

Response:

```json

{

"api_key": "ak_...",

"user_id": "agent-claude-code-a1b2c3d4",

"created_at": 1234567890,

"message": "Save this key securely - it cannot be retrieved later"

}

```

  1. Save credentials to .appdeploy:

```json

{

"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.

  1. Get the app template:

Call get_app_template with your chosen app_type and frontend_template.

  1. Deploy the app:

Call deploy_app with your app files. For new apps, set app_id to null.

  1. Check deployment status:

Call get_app_status to check if the build succeeded.

  1. 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:

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:

get_app_status

Use this when deploy_app tool call returns or when the user asks to check the deployment status of an app, or reports that the app has errors or is not working as expected. Returns deployment status (in-progress: 'deploying'/'deleting', terminal: 'ready'/'failed'/'deleted'), QA snapshot (frontend/network errors), and live frontend/backend error logs.

Parameters:

delete_app

Use this when you want to permanently delete an app. Use only on explicit user request. This is irreversible; after deletion, status checks will return not found.

Parameters:

get_app_versions

List deployable versions for an existing app. Requires app_id. Returns newest-first {name, version, timestamp} items. Display 'name' to users. DO NOT display the 'version' value to users. Timestamp values MUST be converted to user's local time

Parameters:

apply_app_version

Start deploying an existing app at a specific version. Use the 'version' value (not 'name') from get_app_versions. Returns true if accepted and deployment started; use get_app_status to observe completion.

Parameters:

src_glob

Use this when you need to discover files in an app's source snapshot. Returns file paths matching a glob pattern (no content). Useful for exploring project structure before reading or searching files.

Parameters:

src_grep

Use this when you need to search for patterns in an app's source code. Returns matching lines with optional context. Supports regex patterns, glob filters, and multiple output modes.

Parameters:

src_read

Use this when you need to read a specific file from an app's source snapshot. Returns file content with line-based pagination (offset/limit). Handles both text and binary files.

Parameters:

get_apps

Use this when you need to list apps owned by the current user. Returns app details with display fields for user presentation and data fields for tool chaining.

Parameters:


Generated by scripts/generate-appdeploy-skill.ts

Limitations

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.