aws

Reviews AWS architectures, IAM policies, CloudFormation deployments, and cloud costs.

22|Updated Sep 10, 2026
One-click install
npx skills add https://github.com/Lynricsy/HyperSkills --skill aws-lynricsy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aws
Source: https://github.com/Lynricsy/HyperSkills/tree/main/skills/aws
Command: npx skills add https://github.com/Lynricsy/HyperSkills --skill aws-lynricsy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? AWS work fails in non-obvious ways: IAM policies that look safe but allow privilege escalation, CloudFormation stacks stuck in rollback, API Gateway timeouts that cannot be raised, and bills driven by hidden cardinality or NAT charges. This Skill encodes the edge cases, quotas, and failure modes so reviews and designs catch them before production does. ## Core Features & Use Cases - IAM policy and role review: Walks policy evaluation order, PassRole escalation paths, condition operator empty-set behavior, and confused-deputy trust policies, then verifies fixes with simulate-custom-policy and Access Analyzer. - Serverless and deployment workflows: Guides API Gateway REST vs HTTP selection, Lambda idempotency and SQS visibility timeouts, and CloudFormation/SAM/CDK failure recovery using describe-events with FailedEvents filters. - Cost reduction and service selection: Sequences cost work by reversibility (delete waste, fix architecture, right-size, commit last) and frames managed-service choices as recorded trade-offs. - Use Case: A CDK deployment fails with UPDATE_ROLLBACK_FAILED. The Skill directs you to describe-events with the FailedEvents filter, separates real failures from rollback cascade noise, classifies template-level versus environment-level causes, and gates recovery on a clean cdk diff. ## Quick Start Review this IAM policy and the attached trust policy for privilege escalation paths and confused-deputy risks, then simulate the corrected policy.

Frequently Asked Questions about aws

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review an IAM policy for privilege escalation?

Collect the identity policy, trust policy, permissions boundary, and resource-based policies before judging anything. Walk escalation paths first: iam:PassRole with Resource "*" next to compute create actions, CreatePolicyVersion on own policies, and sts:AssumeRole into broader roles. Verify fixes with aws iam simulate-custom-policy and Access Analyzer.

How do I debug a failed CloudFormation deployment?

Run aws cloudformation describe-events with --filters FailedEvents=true; describe-stack-events cannot filter and omits validation and Hook failures. Ignore Resource creation cancelled cascade noise, enumerate all events with specific ResourceStatusReason messages, then classify each as template-level or environment-level before editing anything.

API Gateway REST vs HTTP API: which should I choose?

Choose REST when you need usage plans, request validation, caching, WAF, resource policies, or private endpoints. Choose HTTP for roughly 70% lower cost and lower latency with none of those features. HTTP API has a hard 30-second integration timeout that cannot be increased, and switching types later is a rewrite.

Does this skill cover Terraform or Kubernetes manifests?

No. Terraform HCL, modules, and state belong to the terraform skill, and anything applied via kubectl (manifests, Helm, probes, pod security) belongs to the containers skill. This skill covers AWS's own tooling: CloudFormation, SAM, CDK, and the EKS/ECS control planes.

Why is my CloudWatch bill so high?

CloudWatch bills per distinct custom metric, where high-cardinality dimensions like request id or pod name multiply metric counts into thousands of billable lines. Log groups also default to never expire, so storage grows forever. Cut dimension cardinality, use embedded metric format, and set retention on every log group.

What are the limits of cfn-lint template validation?

cfn-lint validates templates offline against resource provider schemas and catches misspelled properties and out-of-range values on native resources. However, verified testing shows it misses an out-of-range Timeout on AWS::Serverless::Function and MemorySize above 10,240 MB. Treat a clean run as schema-satisfied, not values-legal.