AgentSkillsCN

eb

通用的Elastic Beanstalk入口点。当用户仅说“EB”“Beanstalk”“Elastic Beanstalk”,而没有具体的操作需求,或需要帮助选择合适的EB技能时,可使用此技能。对于具体任务,建议优先使用专用技能(部署、状态、日志、配置、故障排除、环境、应用、维护、eb-infra、eb-docs)。

SKILL.md
--- frontmatter
name: eb
description: General Elastic Beanstalk entry point. Use when user says "eb", "beanstalk", "elastic beanstalk" without a specific action, or needs help choosing the right EB skill. For specific tasks, prefer the dedicated skill (deploy, status, logs, config, troubleshoot, environment, app, maintenance, eb-infra, eb-docs).

AWS Elastic Beanstalk (EB CLI)

General entry point for Elastic Beanstalk. For specific tasks, use the dedicated skill.

Prerequisites

EB CLI must be installed:

bash
pip install awsebcli
# or
brew install awsebcli

Project must be initialized:

bash
eb init
# Or non-interactive:
eb init <app-name> --region <region> --platform "<platform>"

Quick Reference

TaskSkillKey Commands
Deploy codedeployeb deploy, rollback, CI/CD, eb codesource, eb local
Check status & healthstatuseb status, eb list, eb health
View logs & eventslogseb logs, eb events
Configurationconfigeb config, eb setenv, eb scale
TroubleshoottroubleshootDiagnostic workflow, common fixes
Environmentsenvironmenteb create, eb terminate, eb clone, eb swap
Applicationsappeb init, eb appversion, lifecycle
Maintenancemaintenanceeb upgrade, eb restart, managed actions
Infrastructureeb-infraSSL, domains, secrets, database, security, costs
Documentationeb-docsBest practices, platform guides, eb labs, eb migrate

Error Reference

ErrorSolution
Not initializedeb init
No environment foundeb list then eb use <env>
Credentials not configuredaws configure
CNAME already takeneb create <env> --cname <different-prefix>
Environment limit reachedTerminate unused environments
Deployment in progresseb status to check, eb abort to cancel

Composability

  • Deploy code: Use deploy skill
  • Check status & health: Use status skill
  • View logs & events: Use logs skill
  • Change configuration: Use config skill
  • Diagnose problems: Use troubleshoot skill
  • Manage environments: Use environment skill
  • Manage applications: Use app skill
  • Platform updates & restarts: Use maintenance skill
  • SSL, domains, secrets, DB, security, monitoring, costs: Use eb-infra skill
  • Documentation & best practices: Use eb-docs skill

Additional Resources