Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计异常

app-platform-router应用平台路由器

Agent Skill

app-platform-router 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,527

周安装

63

GitHub Stars

25

下载量

499
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/digitalocean-labs/do-app-platform-skills --skill app-platform-router

简介

app-platform-router 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词或任务场景快速定位候选结果。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 当前功能聚焦于 DigitalOcean App Platform 任务路由,调用专用子技能处理部署与配置。

SKILL.md

App Platform Skills — Router

Overview

This skill routes DigitalOcean App Platform tasks to specialized sub-skills. Each sub-skill is optimized for a specific workflow, keeping context focused and responses precise.

Philosophy: These skills are opinionated playbooks, not documentation replicas. They make decisions for you (VPC by default, GitHub Actions for CI/CD, etc.) and only defer to docs for edge cases.

Key Principle: Skills contain only DO-specific knowledge the LLM doesn't have from training. Generic SQL, SDK patterns, and programming concepts are NOT duplicated here.

Trust the AI: The AI assistant should reason about the full workflow, chain skills together when needed, and adapt based on context (greenfield vs brownfield vs troubleshooting). Skills provide domain knowledge, not rigid scripts to follow blindly.

Available Skills

Development Phase

SkillPurposeKey Artifacts
devcontainersLocal development environment with prod parity.devcontainer/, docker-compose.dev.yml

Architecture Phase

SkillPurposeKey Artifacts
designerNatural language → production-ready App Spec.do/app.yaml
migrationConvert existing apps (Heroku, AWS, etc.) to App Platform. Deep Heroku chapter with Procfile/app.json/heroku.yml parsing, add-on mapping, pipeline migration.do/app.yaml, migration checklist
plannerGenerate staged project plans from design to deploymentPlan/*.md stage files

Operations Phase

SkillPurposeKey Artifacts
deploymentShip code to production via GitHub Actions.github/workflows/deploy.yml
troubleshootingDebug running apps with pre-built debug container, analyze logsFixes, diagnostic reports
sandboxIsolated containers for AI agent code execution, testingEphemeral sandboxes

Data Services

SkillPurposeKey Artifacts
postgresFull PostgreSQL setup: schemas, users, permissions, multi-tenantSQL scripts (user-executed)
managed-db-servicesMySQL, MongoDB, Valkey, Kafka, OpenSearch (bindable vars)App spec snippets
spacesS3-compatible object storage configurationCORS config, app spec snippets

AI Services

SkillPurposeKey Artifacts
ai-servicesGradient AI inference endpointsApp spec snippets

Console SDK for AI Assistants

CRITICAL: AI assistants cannot use doctl apps console — it opens an interactive WebSocket session that requires human input. Use the do-app-sandbox Python package instead.

# Install
uv pip install do-app-sandbox  # or: pip install do-app-sandbox

Two Use Cases (Same Package, Different Skills)

Use CaseSDK MethodSkill
Debug EXISTING appSandbox.get_from_id(app_id, component)troubleshooting
Create NEW sandboxSandbox.create(), SandboxManagersandbox
# Debug existing app (troubleshooting skill)
app = Sandbox.get_from_id(app_id="your-app-id", component="web")

# Create new isolated sandbox (sandbox skill)
sandbox = Sandbox.create(image="python")

Full guide: See shared/console-sdk-patterns.md


Routing Decision Tree

┌─────────────────────────────────────────────────────────────────┐
│                        USER REQUEST                              │
└─────────────────────────────────────────────────────────────────┘
                              │
                              ▼
                ┌─────────────────────────┐
                │ Setting up development? │
                └─────────────────────────┘
                              │
                      "local" / "devcontainer"
                              ▼
                      ┌───────────┐
                      │devcontainers│
                      └───────────┘
                              │
                              ▼
                ┌─────────────────────────┐
                │ Designing or creating?  │
                └─────────────────────────┘
                      │           │           │
             "new app"│           │ "migrate" │ "plan" / "staged"
                      ▼           ▼           ▼
              ┌───────────┐  ┌───────────┐  ┌───────────┐
              │ designer  │  │ migration │  │  planner  │
              └───────────┘  └───────────┘  └───────────┘
                              │
                              ▼
                ┌─────────────────────────┐
                │    Shipping code?       │
                └─────────────────────────┘
                              │
                      "deploy" / "ship" / "release"
                              ▼
                      ┌───────────┐
                      │deployment │
                      └───────────┘
                              │
                              ▼
                ┌─────────────────────────┐
                │   Something broken?     │
                └─────────────────────────┘
                              │
                      "broken" / "failing" / "debug" / "logs"
                              ▼
                    ┌───────────────┐
                    │troubleshooting│
                    └───────────────┘
                              │
                              ▼
                ┌─────────────────────────┐
                │ Need isolated execution?│
                └─────────────────────────┘
                              │
                      "sandbox" / "isolated" / "execute code" / "code interpreter"
                              ▼
                      ┌───────────┐
                      │  sandbox  │
                      └───────────┘
                              │
                              ▼
                ┌─────────────────────────┐
                │ Configuring data?       │
                └─────────────────────────┘
                      │           │           │
           "postgres" │  "mysql"  │           │ "storage" / "S3" / "spaces"
           (complex)  │  "mongo"  │           │
                      │  "valkey" │           │
                      │  "kafka"  │           │
                      │  "opensearch"         │
                      ▼           ▼           ▼
              ┌───────────┐  ┌─────────────────────┐  ┌───────────┐
              │ postgres  │  │ managed-db-services │  │  spaces   │
              └───────────┘  └─────────────────────┘  └───────────┘
                              │
                              ▼
                ┌─────────────────────────┐
                │ AI inference needed?    │
                └─────────────────────────┘
                              │
                      "gradient" / "LLM" / "inference"
                              ▼
                      ┌─────────────┐
                      │ ai-services │
                      └─────────────┘

Workflow Chaining

The AI assistant should reason about the full workflow, not just route to a single skill.

Workflow Types

Request TypeWorkflowSkills Chain
Full Greenfield"Build a new app from scratch"devcontainers → designer → planner → deployment
Migration"Migrate from Heroku/AWS"migration → (then full greenfield workflow)
Brownfield"Deploy my existing app"planner → deployment
Enhancement"Add Kafka to my app"managed-db-services → update app.yaml → deployment
Troubleshooting"My app is broken"troubleshooting (standalone)
AI Agent Execution"Run code in isolation"sandbox (standalone)
Specific Task"Set up PostgreSQL"postgres (standalone)

Chaining Logic

┌─────────────────────────────────────────────────────────────────┐
│                    UNDERSTAND THE GOAL                           │
│  Is this a single task or a multi-phase workflow?                │
└─────────────────────────────────────────────────────────────────┘
                              │
              ┌───────────────┴───────────────┐
              │                               │
              ▼                               ▼
       ┌─────────────┐                 ┌─────────────┐
       │ Single Task │                 │  Workflow   │
       │             │                 │             │
       │ Route to    │                 │ Chain       │
       │ one skill   │                 │ multiple    │
       └─────────────┘                 └─────────────┘
              │                               │
              ▼                               ▼
       troubleshooting              migration → designer →
       postgres                     planner → deployment
       spaces
       etc.

Examples

"I want to build a new event-driven app with Kafka"

  1. Start with designer → create .do/app.yaml with Kafka
  2. Use managed-db-services for Kafka-specific bindable variables
  3. Use planner → generate staged Plan/ files
  4. Execute with deployment skill

"Migrate my Heroku app to DigitalOcean"

  1. Start with migration → Heroku deep chapter auto-routes based on intent (Q&A, Guided, Auto-Migrate)
  2. Parses Procfile, app.json, heroku.yml, maps add-ons, generates .do/app.yaml
  3. Use planner → plan the staged deployment
  4. Execute with deployment skill

"My deployed app keeps returning 502"

  1. Route directly to troubleshooting (single skill, no chaining)
  2. Use debug container, analyze logs, fix issue

"Add PostgreSQL to my existing app"

  1. Use postgres for schema/user setup
  2. Update .do/app.yaml with database binding
  3. Redeploy with deployment skill

Key Principle

The AI assistant should:

  1. Understand the overall goal (not just the immediate request)
  2. Identify which skills are needed and in what order
  3. Chain skills together, passing artifacts between them
  4. Adapt based on what already exists (greenfield vs brownfield)

Trust the AI to reason. These skills provide domain knowledge, not rigid scripts.


Trigger Phrases Reference

Route ToTrigger Phrases
devcontainers"local dev", "docker compose", "run locally", "devcontainer"
designer"design my app", "create app spec", "new application", "architect"
migration"migrate", "convert", "move from Heroku", "move from AWS", "Heroku", "Procfile", "heroku.yml", "dynos", "Heroku add-ons", "Heroku pipeline"
planner"create a plan", "plan this project", "staged approach", "plan deployment", "how should I deploy"
deployment"deploy", "ship", "release", "GitHub Actions", "CI/CD"
troubleshooting"broken", "failing", "debug", "logs", "502", "crash", "error"
sandbox"sandbox", "isolated environment", "execute code", "code interpreter", "run untrusted code", "agent execution", "hot pool"
postgres"postgres", "postgresql", "schema isolation", "multi-tenant database"
managed-db-services"mysql", "mongodb", "mongo", "valkey", "redis", "kafka", "opensearch"
spaces"object storage", "S3", "Spaces", "file upload", "bucket"
ai-services"gradient", "inference", "LLM endpoint", "AI platform"

Third-Party Integrations (No Skill Needed)

For integrations not covered by dedicated skills (DataDog, Sentry, New Relic, Stripe, etc.):

  1. Get credentials from the vendor
  2. Add to GitHub Secrets (Repo → Settings → Secrets → Actions)
  3. Reference in app spec: envs: - key: DATADOG_API_KEY scope: RUN_TIME value: ${DATADOG_API_KEY} # From GitHub Secrets
  4. Follow vendor documentation for SDK/agent setup

→ The agent's training covers vendor-specific patterns — no skill required.


Credential Handling Philosophy

CRITICAL: These skills are designed to keep credentials out of agent hands.

Priority Order (Most to Least Preferred)

1. GITHUB SECRETS (RECOMMENDED DEFAULT)
   ├── Agent never sees credentials
   ├── User manually adds: Repo → Settings → Secrets → Actions
   ├── Workflow references: ${{ secrets.DATABASE_URL }}
   └── Agent generates workflow, user handles secrets

2. APP PLATFORM BINDABLE VARIABLES
   ├── For DO Managed Databases (Postgres, MySQL, MongoDB, etc.)
   ├── Credentials injected via ${db.DATABASE_URL}
   ├── Agent configures app spec, never sees credentials
   └── Best for: Apps using DO managed services

3. LOCAL .ENV + EPHEMERAL APP SPEC
   ├── User maintains .env file locally
   ├── Agent creates temp app spec with placeholders
   └── Substitutes values → Deploys → Deletes temp file

4. EXTERNAL SERVICES
   ├── Same patterns as #1 or #3
   └── User responsible for credential management

Artifact Contracts

All skills produce and consume artifacts with consistent naming:

ArtifactFilenameProducerConsumer
App Spec.do/app.yamldesigner, migrationdeployment, planner
Deploy Button.do/deploy.template.yamldesigner, migrationGitHub
Deployment PlanPlan/0N-*.mdplannerUser, deployment
Dev Environment.devcontainer/devcontainer.jsondevcontainersVS Code, Cursor
Docker Composedocker-compose.ymldevcontainersDocker Desktop
CI/CD Workflow.github/workflows/deploy.ymldeployment, plannerGitHub Actions
SQL Scriptsdb-*.sqlpostgresUser (manual execution)
CORS Configspaces-cors.jsonspacesDO Console

Handoff Protocol

When a skill completes, it should:

  1. State the artifact(s) produced: "Created .do/app.yaml with 3-component architecture"
  2. Indicate the file path: Relative to project root
  3. Suggest next skill if applicable: "To deploy this, use the deployment skill"

Plugin/Tool Requirements

SkillRequiredOptional
devcontainersfilesystem, docker, gitgh
designerfilesystem
migrationfilesystem, doctl, git, pythongh, DigitalOcean MCP
deploymentfilesystem, doctl, git, pythongh, GitHub MCP
troubleshootingfilesystem, python, doctl
sandboxfilesystem, python, doctl
postgresfilesystem, psql— (scripts only)
managed-db-servicesfilesystem, doctl
spacesfilesystems3cmd (for bucket ops; doctl only manages keys)
ai-servicesfilesystem

Sub-Skill Locations

app-platform-skills/
├── SKILL.md                              # This file (router)
├── skills/
│   ├── devcontainers/SKILL.md
│   ├── designer/SKILL.md
│   ├── migration/SKILL.md
│   ├── deployment/SKILL.md
│   ├── planner/SKILL.md                  # Staged project plans (design to deployment)
│   │   └── templates/                    # Local + Tier 1, 2, 3 stage templates
│   ├── troubleshooting/SKILL.md
│   ├── sandbox/SKILL.md                  # Isolated containers for AI agent execution
│   ├── postgres/SKILL.md
│   ├── managed-db-services/SKILL.md      # MySQL, MongoDB, Valkey, Kafka, OpenSearch
│   ├── spaces/SKILL.md
│   └── ai-services/SKILL.md              # Gradient AI
└── shared/
    ├── app-spec-schema.yaml
    ├── artifact-contracts.md
    └── credential-patterns.md

Opinionated Defaults Summary

DomainDefaultOverride Trigger
NetworkingVPC-only, internal routingUser explicitly requests public
CI/CDGitHub + GitHub ActionsUser specifies GitLab/Bitbucket
SecretsGitHub SecretsUser has existing vault
BuildDockerfileUser explicitly prefers buildpacks
DatabaseDO Managed + Bindable VariablesUser has external DB
MonorepoSupported by default (source_dir)N/A
Python envuv for package/venv managementUser prefers pip/poetry
Node envnvm for version managementUser prefers n/volta

Escalation

If a task doesn't fit any skill or spans multiple skills ambiguously:

  1. Ask clarifying question to determine primary intent
  2. Suggest skill sequence if task is multi-phase
  3. For truly novel tasks, fall back to App Platform documentation: https://docs.digitalocean.com/products/app-platform/

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.57%
按下载量换算182

Claude

28.56%
按下载量换算143

Cursor

19.12%
按下载量换算95

Gemini CLI

9.71%
按下载量换算48

安全审计

Gen Agent Trust Hub

通过

Socket

未通过

Snyk

可疑

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills