Alibabacloud Waf Quick Showcase
Solution skill for using WAF to protect web applications on ECS. Used for quickly deploying network environments including VPC, security groups, and ECS…
от sdk-team981 установка в других каталогах
Установить Alibabacloud Waf Quick Showcase в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Using WAF to Protect Web Applications on ECS
With this skill, you can quickly deploy a complete web application protection solution, including network environment setup, ECS instance creation, sample application deployment, and WAF integration.
Prerequisites
Pre-check: Aliyun CLI >= 3.3.3 required
Run
aliyun versionto verify >= 3.3.3. If not installed or version too low, runcurl -fsSL https://aliyuncli.alicdn.com/setup.sh | bashto update, or seereferences/cli-installation-guide.mdfor installation instructions.
Pre-check: Aliyun CLI plugin update required
[MUST] run
aliyun configure set --auto-plugin-install trueto enable automatic plugin installation. [MUST] runaliyun plugin updateto ensure that any existing plugins are always up-to-date.
[MUST] AI-Mode Configuration — Must configure AI-Mode before executing CLI commands:
Enable AI-Mode (before any CLI commands):
aliyun configure ai-mode enableSet User-Agent for AI-Mode:
aliyun configure ai-mode set-user-agent --user-agent "AlibabaCloud-Agent-Skills/alibabacloud-waf-quick-showcase"Disable AI-Mode (after workflow completion):
aliyun configure ai-mode disable
[MUST] CLI User-Agent — Every aliyun CLI command invocation must include:
--user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-quick-showcase
Supported Scenarios
This skill supports two usage scenarios:
- Quick WAF Protection Experience: Create VPC, ECS, and WAF from scratch for a complete protection experience
- Existing WAF Protection Experience: User already has WAF, create new VPC and ECS to integrate with existing WAF
Prohibited Scenario:
- Existing ECS Integration: Does not support integrating user's existing ECS into WAF
If the user indicates they have existing ECS and want to integrate it into WAF, respond: "This skill is designed for experiencing the complete WAF protection workflow and requires creating new ECS instances. If you want to integrate your existing ECS into WAF, please refer to the Cloud Product Integration feature in the WAF console."
CRITICAL: Scenario 1 Resource Creation Rules
If the user requests "Quick Experience" (Scenario 1):
- VPC: Create new if quota is sufficient; use existing VPC if quota is full
- Must Create New: VSwitch, Security Group, ECS
- WAF Reusable: If WAF already exists, skip creation and use existing WAF to integrate ECS
- If creation fails, must stop and inform the user
MUST: Scenario 1 Must Check for Existing WAF Instance
After authentication confirmation and before parameter confirmation, must execute:
aliyun waf-openapi describe-instance --region cn-hangzhou --user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-quick-showcase
- If valid InstanceId is returned: Skip WAF creation steps and use this WAF directly to integrate ECS
- Prompt: "Detected that your account already has a WAF instance (InstanceId: [xxx]), will use this instance for protection experience."
- If no WAF instance: Execute Step 4 to create new WAF
Scenario 2: Existing WAF Protection Experience (Detailed)
CRITICAL: Handling Process When User Already Has WAF
When the user indicates they have a WAF instance:
- Ask for WAF Instance ID: Must first ask for the user's existing WAF instance ID
- Skip WAF Creation: Prohibit executing
create-postpaid-instance, directly use the WAF instance ID provided by the user- Create New Network and ECS: Still need to create VPC, VSwitch, Security Group, ECS
- Integrate Existing WAF: Use the user's WAF instance ID to execute
sync-product-instanceandcreate-cloud-resourceInquiry Prompt: "You already have a WAF instance. Please provide your WAF instance ID (format: waf-cn-xxx), and I will create a new ECS for you and integrate it with your existing WAF for experience."
Pre-flight Checks (Must Remind Users Before Each Run)
IMPORTANT: Must proactively ask and help users complete the following checks before running
- CLI Version: Run
aliyun versionto confirm version >= 3.3.3. If not installed or version too low, runcurl -fsSL https://aliyuncli.alicdn.com/setup.sh | bashto install/update. Then [MUST] runaliyun plugin updateto ensure that any existing plugins on your local machine are always up-to-date.- Authentication Configuration: Run
aliyun configure listto confirm authentication status is Valid- Auto Plugin: Run
aliyun configure set --auto-plugin-install true- Account Balance: Confirm Alibaba Cloud account balance >= 100 CNY
Authentication Configuration Check (Must Execute)
aliyun configure list
Reminder when authentication is valid: "Detected that your current CLI authentication configuration is valid:
- Authentication Mode:
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Alibabacloud Waf Quick Showcase?
Solution skill for using WAF to protect web applications on ECS. Used for quickly deploying network environments including VPC, security groups, and ECS instances, and integrating WAF for web application protection. Trigger words: "WAF protection", "ECS web protection", "Web Application Firewall", "website security"
Как установить скилл Alibabacloud Waf Quick Showcase?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Alibabacloud Waf Quick Showcase запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…