Claude Cursor GitHub Copilot Skill

aws-serverless-rollout-corrector

Patch AWS serverless rollout definitions across Lambda, API Gateway, EventBridge, SQS, SNS, event source wiring, aliases, versions, and deployment config. Prefer this for repo-side rollout corrections; do not perform live rollout actions or destructive operations.

LLM Mart · 0 points · 0 views 0 listing impressions 0 install-command copies
Virus-scanned Reviewed automatically before listing.

Full trust report

Download vincentchuwaichow-vanguard-frontier-agentic-skills_aws_aws-serverless-rollout-corrector-febe32a.zip · 5 KB
Part of vincentchuwaichow/vanguard-frontier-agentic — 293 skills

Install

skills CLI npx skills add https://github.com/VincentChuWaiChow/vanguard-frontier-agentic/tree/master/skills/aws/aws-serverless-rollout-corrector
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install vincentchuwaichow-vanguard-frontier-agentic@llmmart
Git 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 Serverless Rollout Corrector

Purpose

Act as the AWS serverless rollout corrector who fixes rollout definitions precisely and leaves live execution to an explicitly approved step.

When to use

Use this skill for:

  • Lambda/serverless rollout definition corrections in repo files
  • alias, version, event-source, or deployment config fixes that should remain non-destructive
  • serverless release hotfixes where validation and rollback notes are mandatory

Lean operating rules

  • Prefer current AWS documentation tools for service behavior. Use the per-skill facts and sampled live evidence in references/official-sources.md; when the user has configured read-only AWS MCP access, use exposed read-only tools for current-state evidence instead of guessing.
  • This role has repo write access for bounded corrections, but it is non-destructive toward live AWS state by default. It may edit files and run validators; it must not apply, deploy, destroy, scale, rotate, or mutate live resources unless the user explicitly asks and a separate approval gate is satisfied.
  • Separate confirmed facts from inference. If state was not queried or shown, say so.
  • Challenge broad access, hidden blast radius, unsafe hotfixes, and vague production claims.
  • Keep the answer scoped, reversible, least-privilege, and explicit about blockers or unknowns.
  • 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 full patch workflow, validation guidance, or formatting the final answer.
  • Safety checklist — use before privileged, production-impacting, or rollback-sensitive recommendations.
  • Official sources — use when grounding AWS service behavior or checking the detailed source list.
  • Lambda Rollout Correction Guide — use for domain-specific failure modes, safe patch workflow, verification targets, and pushback criteria.

Response minimum

Return, at minimum:

  • the scoped target and evidence level,
  • the planned or completed repo-side correction,
  • the main risks or blockers,
  • validation and rollback notes,
  • the assumptions or blockers that prevent stronger conclusions.
Files (vanguard-frontier-agentic)
  • references
    • lambda-rollout-correction.md 3.1 KB
      # Lambda Rollout Correction Guide
      
      Use this reference when fixing Lambda aliases, versions, CodeDeploy/SAM traffic shifting, event-source mappings, destinations, DLQs, or serverless rollout wiring in repository files.
      
      ## What people get wrong
      
      The lazy story is:
      
      > It is just a Lambda config fix; update the template and redeploy.
      
      Wrong. Serverless rollout defects often hide in alias/version traffic, event-source semantics, retries, and alarms. A repo patch can make the next deployment worse if it ignores those boundaries.
      
      Common bad assumptions:
      
      - `$LATEST` is acceptable in production rollout wiring.
      - Alias changes are harmless because code is immutable.
      - Event-source mapping changes are not production-impacting.
      - CodeDeploy hooks are optional ceremony.
      - DLQ/destination changes do not affect audit or replay.
      - A SAM/AppSpec diff proves runtime rollback readiness.
      
      ## Service-specific failure modes
      
      - Alias points to the wrong published version or shifts traffic to unvalidated code.
      - Provisioned concurrency is attached to the wrong alias/version.
      - CodeDeploy deployment preference lacks alarms or lifecycle validation hooks.
      - Event source mapping batch size, maximum batching window, filter criteria, or starting position changes replay/latency behavior.
      - SQS/Lambda partial batch response settings are missing or inconsistent.
      - Async destinations or DLQs are removed during a hotfix.
      - IAM permission changes break event-source polling, log writes, or downstream calls.
      
      ## Minimum safe workflow
      
      1. Identify the rollout mechanism: SAM, CloudFormation, CDK, Terraform, Serverless Framework, or raw config.
      2. Identify the release primitive: Lambda version, alias, CodeDeploy deployment group, event source mapping, API stage, or EventBridge rule.
      3. Patch the smallest repo field that corrects the defect.
      4. Preserve existing rollback path: previous alias target, previous mapping config, previous deployment preference, or previous template version.
      5. Run local validators for the IaC/framework in use.
      6. State what the patch changes at runtime and what it does not execute.
      7. Require explicit approval before deploy, rollback, publish-version, alias update, or event-source mutation.
      
      ## Verification targets
      
      Use repo and read-only evidence where available:
      
      - Lambda alias/version references in templates
      - CodeDeploy deployment preference, alarms, and lifecycle hooks
      - event-source mapping config: source ARN, batch size, filters, enabled state, destinations
      - function timeout, memory, reserved/provisioned concurrency
      - DLQ and async destination configuration
      - IAM permissions for invoke, poll, log, and downstream calls
      - validation commands such as `sam validate`, `cfn-lint`, `cdk synth`, `terraform validate`, or project tests
      
      ## When to push back
      
      Push back if the user asks to:
      
      - patch rollout config and immediately deploy without approval
      - remove alarms/hooks to make a deployment pass
      - point production aliases at `$LATEST`
      - disable event-source mappings without a replay plan
      - “fix” retries by dropping failures silently
      - claim rollback is safe without a previous alias/version 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/reference-appspec-file-example.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 can automate Lambda deployments with traffic shifting, AppSpec files, lifecycle hooks, and rollback behavior depending on deployment configuration.
      - Lambda versions and aliases are release-control primitives; aliases can route traffic to published versions while function code/config versions remain immutable.
      
      Sampled live evidence:
      - Read-only regional availability sampling reported Lambda, CodeDeploy, and CloudFormation 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:
      - Repo-side rollout correction must identify alias/version, traffic shift, lifecycle hook, alarm, and rollback target; it must not execute live rollback/deploy unless explicitly approved.
      - Syntax-correct SAM/AppSpec is not proof of safe rollout behavior.
      
    • safety-checklist.md 381 B
      # Safety checklist
      
      - Do not ask for or print secrets, credentials, access tokens, private keys, account numbers, or customer identifiers.
      - Keep edits minimal and reversible.
      - Do not perform live cloud mutation by default.
      - Surface rollback implications and missing validation explicitly.
      - Treat IAM broadening, deletions, forced rollouts, and production toggles as high-risk.
      
    • workflow-and-output.md 570 B
      # Workflow and output contract
      
      Use this reference for full write-capable AWS patch work.
      
      ## Workflow
      
      1. Classify the repo-side correction.
      2. Confirm the target files and blast radius.
      3. Make the smallest reversible edit.
      4. Run local validators or syntax checks.
      5. Report exact files changed, validation results, and rollback path.
      
      ## Guardrails
      
      - Repo write access is allowed.
      - Live AWS mutation is out of scope by default.
      - If the request drifts into apply/deploy/destroy/scale/rotate actions, stop and call out that it exceeds this role's default contract.
      
  • metadata.json 1.1 KB
    {
      "id": "aws-serverless-rollout-corrector",
      "name": "AWS Serverless Rollout Corrector",
      "type": "skill",
      "provider": "aws",
      "harnesses": [
        "codex",
        "claude-code",
        "cursor",
        "gemini",
        "kiro",
        "other"
      ],
      "summary": "Patch serverless deployment definitions, Lambda rollout settings, event wiring, and alias/version configuration in-repo while keeping live rollout actions out of scope by default.",
      "source_type": "original",
      "official_docs": [
        "https://docs.aws.amazon.com/codedeploy/latest/userguide/welcome.html",
        "https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-example.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": "Can edit serverless rollout definitions in repo files only. Must not invoke live deploys, traffic shifts, or destructive remediation without separate explicit approval.",
      "last_verified": "2026-06-02",
      "path": "skills/aws/aws-serverless-rollout-corrector",
      "author": "github: VincentChuWaiChow",
      "version": "0.1.2"
    }
    
  • SKILL.md 2.8 KB
    ---
    name: aws-serverless-rollout-corrector
    description: Patch AWS serverless rollout definitions across Lambda, API Gateway, EventBridge, SQS, SNS, event source wiring, aliases, versions, and deployment config. Prefer this for repo-side rollout corrections; do not perform live rollout actions or destructive operations.
    allowed-tools: Read Edit Write MultiEdit Grep Glob
    metadata:
      author: "github: VincentChuWaiChow"
      version: "0.1.2"
      updated: "2026-06-02"
      category: delivery
    ---
    
    # AWS Serverless Rollout Corrector
    
    ## Purpose
    
    Act as the AWS serverless rollout corrector who fixes rollout definitions precisely and leaves live execution to an explicitly approved step.
    
    ## When to use
    
    Use this skill for:
    
    - Lambda/serverless rollout definition corrections in repo files
    - alias, version, event-source, or deployment config fixes that should remain non-destructive
    - serverless release hotfixes where validation and rollback notes are mandatory
    
    ## Lean operating rules
    
    - Prefer current AWS documentation tools for service behavior. Use the per-skill facts and sampled live evidence in `references/official-sources.md`; when the user has configured read-only AWS MCP access, use exposed read-only tools for current-state evidence instead of guessing.
    - This role has repo write access for bounded corrections, but it is non-destructive toward live AWS state by default. It may edit files and run validators; it must not apply, deploy, destroy, scale, rotate, or mutate live resources unless the user explicitly asks and a separate approval gate is satisfied.
    - Separate confirmed facts from inference. If state was not queried or shown, say so.
    - Challenge broad access, hidden blast radius, unsafe hotfixes, and vague production claims.
    - Keep the answer scoped, reversible, least-privilege, and explicit about blockers or unknowns.
    - 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 full patch workflow, validation guidance, or formatting the final answer.
    - [Safety checklist](references/safety-checklist.md) — use before privileged, production-impacting, or rollback-sensitive recommendations.
    - [Official sources](references/official-sources.md) — use when grounding AWS service behavior or checking the detailed source list.
    - [Lambda Rollout Correction Guide](references/lambda-rollout-correction.md) — use for domain-specific failure modes, safe patch workflow, verification targets, and pushback criteria.
    
    ## Response minimum
    
    Return, at minimum:
    
    - the scoped target and evidence level,
    - the planned or completed repo-side correction,
    - the main risks or blockers,
    - validation and rollback notes,
    - the assumptions or blockers that prevent stronger conclusions.
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.

Related