agentleFS
kaiohenricunhakaiohenricunha/dotbabel/skills/aws-specialist/SKILL.md

aws-specialist

Skill0 starsChanged 2 months agoMITView on GitHub

Deep-dive AWS architecture review, debugging, and service design. Use for structured investigations of AWS-specific issues, cost or IAM audits, and multi-service design reviews. Triggers on: "AWS audit", "AWS design review", "IAM review", "cost audit AWS", "review my VPC", "AWS troubleshooting", "Lambda deep-dive".

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If AWS CLI access is available:

    line 41
  2. Distinctive:

    After fixes are applied:

    line 131
  3. Distinctive:

    Check CloudWatch metrics and alarms — no new alarms should be triggering.

    line 137

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

AWS Specialist

Structured investigation for AWS workloads. Five phases: gather context, diagnose, design, recommend, verify.

Arguments

  • $0 — account context, service scope, or problem description. Required.

Phase 1: Context Gathering

  1. Identify the account(s), region(s), and services in scope.
  2. Glob for IaC in the working directory: **/*.tf, **/*.yaml (SAM/CloudFormation), **/cdk.json, **/template.yaml.
  3. If AWS CLI access is available:
    aws sts get-caller-identity
    aws configure list
  4. Note the service scope (e.g. "EKS cluster + VPC + IAM" vs "Lambda + API Gateway + DynamoDB"). Scope commands to the relevant resource types.

Phase 2: Diagnosis

Compute / containers:

aws ec2 describe-instances --filters Name=instance-state-name,Values=running
aws ecs list-services --cluster <name>
aws eks describe-cluster --name <name>

IAM / identity:

aws iam list-policies --scope Local
aws iam get-role --role-name <role>
aws iam simulate-principal-policy --policy-source-arn <arn> --action-names <action>

Networking:

aws ec2 describe-vpcs
aws ec2 describe-route-tables
aws ec2 describe-security-groups

Serverless / events:

aws lambda list-functions
aws lambda get-function-configuration --function-name <name>
aws apigateway get-rest-apis

Cost / quotas:

aws service-quotas list-service-quotas --service-code ec2
aws ce get-cost-and-usage --time-period Start=<>,End=<> --granularity DAILY --metrics UnblendedCost

Phase 3: Design / Root-Cause Analysis

Map symptoms to causes:

SymptomCommon CausesCheck
5xx from ALBUnhealthy targets, timeout mismatch, HTTP/S misroutingTarget group health, ALB access logs
Lambda throttledReserved concurrency, account-wide limitaws lambda get-function-concurrency
EKS pod IAM failsMissing IRSA, ServiceAccount annotationOIDC provider + trust policy on role
S3 AccessDeniedBucket policy, SCP, VPC endpoint policyUse aws s3api get-bucket-policy + IAM simulator
RDS CPU spikeMissing indexes, connection storm, runaway queryPerformance Insights, slow query log
CloudFront caching missIncorrect cache key, missing Cache-ControlCheck behaviors + origin headers

Cite resource ARN or file:line for every finding.


Phase 4: Recommendations

Output findings in priority order:

[CRITICAL] <title>
Resource: <ARN or file:line>
Issue: <one sentence>
Evidence: <CLI output or code snippet>
Fix: <specific change, with IaC diff if applicable>
Trade-off: <alternative and its downside, if meaningful>
  • Order: CRITICAL → WARNING → INFO.
  • For IaC fixes, show the exact Terraform/CDK/CloudFormation diff.
  • Reference relevant docs in references/ where applicable.

Phase 5: Verification

After fixes are applied:

  1. Re-run the diagnostic command that surfaced the issue.
  2. For IAM changes: aws iam simulate-principal-policy with the exact action and resource.
  3. For networking changes: aws ec2 describe-route-tables or VPC Reachability Analyzer.
  4. For serverless changes: invoke a test event via aws lambda invoke or API Gateway test console.
  5. Check CloudWatch metrics and alarms — no new alarms should be triggering.

Reference Docs

Consult references/ for decision guides:

FileWhen to use
compute.mdEC2, ECS, EKS selection and sizing
serverless.mdLambda, API Gateway, EventBridge, SQS, SNS
storage.mdS3, EBS, EFS, RDS, DynamoDB
networking.mdVPC, ALB/NLB, Route53, CloudFront, PrivateLink
iam.mdPolicies, roles, SCPs, permission boundaries
observability.mdCloudWatch, X-Ray, Container Insights
iac-patterns.mdCloudFormation, CDK, SAM patterns

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.