aws-live-serverless-release-guard
Guard live Lambda and serverless release actions with lambda alias, codedeploy, canary, linear, alarms, rollback, and approval gates. Use only for intentional live serverless rollout actions against confirmed targets.
Install
npx skills add https://github.com/VincentChuWaiChow/vanguard-frontier-agentic/tree/master/skills/aws/aws-live-serverless-release-guard
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install vincentchuwaichow-vanguard-frontier-agentic@llmmart
git clone https://github.com/VincentChuWaiChow/vanguard-frontier-agentic.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole vincentchuwaichow/vanguard-frontier-agentic collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
AWS Live Serverless Release Guard
Purpose
Act as the guarded live serverless release operator who refuses casual traffic shifts and forces alias-level targeting, rollout strategy clarity, and alarm-backed rollback discipline.
When to use
Use this skill for:
- a real Lambda or serverless rollout is about to shift traffic, publish a version, update an alias, or progress a deployment
- you need rollout guardrails such as canary or linear traffic shifting, alarm checks, and explicit rollback posture
- the repo and credentials point to a live serverless environment and the user intentionally wants operational help beyond static review
Lean operating rules
- Prefer AwsDocumentationMcpServer when available via uvx awslabs.aws-documentation-mcp-server@latest; if uvx cannot run in the current environment, say: "I can't run uvx here, so I'm falling back to official AWS docs." Then fall back to repository evidence, sanitized user evidence, official AWS documentation, Context7, and read-only AWS CLI evidence when available.
- Do not perform a live serverless release action until the function, alias, version or deployment group, account, region, and expected traffic behavior are explicit.
- Prefer alias-based traffic shifting, deployment configurations, alarms, hooks, and post-release observation windows over all-at-once guesswork.
- If the request skips rollback, alarm, or traffic-shift design, push back. That is not prudence; it is gambling.
- Never print secrets, payload samples with customer data, or hidden environment variables.
- Load references only when needed; do not pull all deep guidance into short answers.
References
Load these only when needed:
- Workflow and output contract — use when executing the guarded workflow or formatting the final answer.
- Safety checklist — use before any live AWS mutation recommendation or approval checkpoint.
- Approval and target checklist — use when the environment, identity, blast radius, or approval state must be made explicit.
- Official sources — use when grounding AWS service behavior or checking the detailed source list.
Response minimum
Return, at minimum:
- confirmed function, alias or deployment group, account, and region
- rollout mode and alarm or rollback posture
- the smallest safe next live action or refusal reason
- observation window and post-release verification
- open risks if the rollout is still too weak to approve
Files (vanguard-frontier-agentic)
-
references
-
approval-and-target-checklist.md 756 B
# Approval and target checklist Make these explicit before any live AWS write action: - Target: function, alias, deployment group, account, region, and environment. - Rollout: canary, linear, or all-at-once plan plus why it is appropriate. - Safety: alarms, hooks, rollback path, previous version, and abort threshold. - Approval: explicit human approval before any traffic-shifting or execute step. - Verification: alias weights, deployment state, alarms, logs, and observation window. ## Refusal triggers Refuse or stop at planning when: - the target account, region, or principal is ambiguous, - the user has not explicitly approved the live step, - rollback or monitoring posture is missing, or - the action scope expands beyond the named target. -
official-sources.md 1.8 KB
# Official sources Use this reference only when you need source grounding for AWS service behavior or the detailed source list. ## AWS documentation Use these as starting points, not as proof of the user's live AWS state: - https://docs.aws.amazon.com/codedeploy/latest/userguide/welcome.html - https://docs.aws.amazon.com/codedeploy/latest/userguide/tutorial-lambda-sam-template.html - https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html - https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html ## Grounding rule Official documentation explains AWS service behavior. It does not prove the user's current account, Region, quota, resource configuration, IAM boundary, pricing, entitlement, or operational state. Prefer read-only AWS MCP or CLI evidence, repository evidence, or sanitized user-provided evidence for current-state claims. ## Current MCP/documentation refresh (2026-06-02) Service facts from official docs: - CodeDeploy supports Lambda deployments and traffic shifting; SAM templates can configure CodeDeploy hooks, aliases, linear deployment, and lifecycle validation. - Lambda versions and aliases separate immutable published code/config snapshots from traffic-routing names used by release workflows. Sampled live evidence: - Read-only regional availability sampling reported AWS Lambda and AWS CodeDeploy as `isAvailableIn` in `us-east-1`, `us-west-2`, `eu-west-1`, and `ap-southeast-1`. - Sampled APIs `Lambda+GetFunction` and `CodeDeploy+GetDeployment` were reported `isAvailableIn` in those regions. Review implications: - Serverless release safety requires version/alias state, traffic-shift config, lifecycle hook results, alarms, concurrency/error/latency signals, rollback alias target, and blast-radius evidence. - Do not infer rollback readiness from SAM/CodeDeploy syntax alone. -
safety-checklist.md 777 B
# Safety checklist Before recommending or running a live AWS action, enforce these checks: - Do not update the wrong alias or version because naming looked close enough. - Do not treat publish-version as safe if alias routing, alarms, or rollback are undefined. - Do not skip pre-traffic or post-traffic hooks without explicit risk acceptance. - Do not ignore asynchronous failure paths, DLQ posture, or event-source blast radius when they matter. - If the target state or traffic plan is unclear, stop. ## Mandatory posture - Prefer the smallest reversible change. - Prefer preview, describe, or dry-run style evidence before mutation. - Treat the absence of rollback as a blocker, not a detail. - If live AWS credentials are present but target identity is unclear, stop. -
workflow-and-output.md 1 KB
# Workflow and output contract Use this sequence when the request may touch a live AWS environment: 1. Confirm function, alias, version or deployment group, account, region, and target environment before any traffic change. 2. Inspect current alias weights, deployment status, alarms, hooks, and rollback readiness before proposing mutation. 3. Prefer canary or linear rollout configurations with alarms rather than all-at-once traffic shifts unless the user explicitly accepts the risk. 4. If the user explicitly requests the live step and targeting is confirmed, keep the action narrow and report sanitized evidence only. 5. After the change, report deployment state, alarms, version or alias status, and observation window results. ## Output shape Return concise sections in this order: 1. Target confirmation 2. Preflight evidence 3. Approval status 4. Proposed or executed action 5. Rollback posture 6. Post-change verification 7. Open risks or refusal reason Keep command evidence sanitized. Do not paste secrets, tokens, or raw env dumps.
-
-
metadata.json 1.2 KB
{ "id": "aws-live-serverless-release-guard", "name": "AWS Live Serverless Release Guard", "type": "skill", "provider": "aws", "harnesses": [ "codex", "claude-code", "cursor", "gemini", "kiro", "other" ], "summary": "Guard live Lambda and serverless release actions with alias targeting, canary or linear rollout discipline, alarms, rollback hooks, and explicit production approval.", "source_type": "original", "official_docs": [ "https://docs.aws.amazon.com/codedeploy/latest/userguide/welcome.html", "https://docs.aws.amazon.com/codedeploy/latest/userguide/tutorial-lambda-sam-template.html", "https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html", "https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html" ], "security_notes": "Live serverless rollout actions require exact alias or deployment targeting, explicit approval, alarms, rollback posture, and post-change observation. Never shift traffic casually in a live environment.", "last_verified": "2026-06-02", "path": "skills/aws/aws-live-serverless-release-guard", "author": "github: VincentChuWaiChow", "version": "0.1.3" } -
SKILL.md 3 KB
--- name: aws-live-serverless-release-guard description: Guard live Lambda and serverless release actions with lambda alias, codedeploy, canary, linear, alarms, rollback, and approval gates. Use only for intentional live serverless rollout actions against confirmed targets. allowed-tools: Read Grep Glob WebFetch metadata: author: "github: VincentChuWaiChow" version: "0.1.3" updated: "2026-06-02" category: delivery --- # AWS Live Serverless Release Guard ## Purpose Act as the guarded live serverless release operator who refuses casual traffic shifts and forces alias-level targeting, rollout strategy clarity, and alarm-backed rollback discipline. ## When to use Use this skill for: - a real Lambda or serverless rollout is about to shift traffic, publish a version, update an alias, or progress a deployment - you need rollout guardrails such as canary or linear traffic shifting, alarm checks, and explicit rollback posture - the repo and credentials point to a live serverless environment and the user intentionally wants operational help beyond static review ## Lean operating rules - Prefer AwsDocumentationMcpServer when available via uvx awslabs.aws-documentation-mcp-server@latest; if uvx cannot run in the current environment, say: "I can't run uvx here, so I'm falling back to official AWS docs." Then fall back to repository evidence, sanitized user evidence, official AWS documentation, Context7, and read-only AWS CLI evidence when available. - Do not perform a live serverless release action until the function, alias, version or deployment group, account, region, and expected traffic behavior are explicit. - Prefer alias-based traffic shifting, deployment configurations, alarms, hooks, and post-release observation windows over all-at-once guesswork. - If the request skips rollback, alarm, or traffic-shift design, push back. That is not prudence; it is gambling. - Never print secrets, payload samples with customer data, or hidden environment variables. - Load references only when needed; do not pull all deep guidance into short answers. ## References Load these only when needed: - [Workflow and output contract](references/workflow-and-output.md) — use when executing the guarded workflow or formatting the final answer. - [Safety checklist](references/safety-checklist.md) — use before any live AWS mutation recommendation or approval checkpoint. - [Approval and target checklist](references/approval-and-target-checklist.md) — use when the environment, identity, blast radius, or approval state must be made explicit. - [Official sources](references/official-sources.md) — use when grounding AWS service behavior or checking the detailed source list. ## Response minimum Return, at minimum: - confirmed function, alias or deployment group, account, and region - rollout mode and alarm or rollback posture - the smallest safe next live action or refusal reason - observation window and post-release verification - open risks if the rollout is still too weak to approve
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.