Source profileQuality 88/100

event4u-app/agent-config/src/skills/aws-infrastructure/SKILL.md

aws-infrastructure

Use when working with AWS resources — ECS Fargate, ECR, EFS, Secrets Manager, gomplate templates, multi-env deployments — even when the user says 'deploy to staging' without naming AWS.

Source repository stars
7
Declared platforms
0
Static risk flags
1
Last source update
2026-07-28
Source checked
2026-07-28

Decision brief

What it does—and where it fits

Use when working with AWS resources — ECS Fargate, ECR, EFS, Secrets Manager, gomplate templates, multi-env deployments — even when the user says 'deploy to staging' without naming AWS.

Best for

  • Local development setup (use docker skill)
  • Application code changes

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/event4u-app/agent-config --skill "src/skills/aws-infrastructure"
Safe inspection promptEditorial

Inspect the Agent Skill "aws-infrastructure" from https://github.com/event4u-app/agent-config/blob/0adf49a8ae84b0ff6e2de8759eea43257e020eff/src/skills/aws-infrastructure/SKILL.md at commit 0adf49a8ae84b0ff6e2de8759eea43257e020eff. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Procedure: Modify AWS infrastructure

    1. Read the .aws/ directory (or equivalent) for environment configs and templates. 2. Read CI/CD workflows (e.g., .github/workflows/) for the deployment pipeline. 3. Check the environment-specific vars files. 4. Read project-level overrides — check agents/overrides/skills/aws-in…

    Read the .aws/ directory (or equivalent) for environment configs and templates.Read CI/CD workflows (e.g., .github/workflows/) for the deployment pipeline.Check the environment-specific vars files.
  2. 02

    Environments (typical setup)

    Review the “Environments (typical setup)” section in the pinned source before continuing.

    Review and apply the “Environments (typical setup)” source section.
  3. 03

    Standard (Stage/Production)

    1. Build: Docker image → ECR (tag: SHA + latest) 2. Migrations: Run as ECS task (one-shot), wait for completion 3. Deploy Services: Update ECS services with new task definitions

    Build: Docker image → ECR (tag: SHA + latest)Migrations: Run as ECS task (one-shot), wait for completionDeploy Services: Update ECS services with new task definitions
  4. 04

    Review environments

    1. Build: Docker image → ECR (tag: SHA + branch-hash) 2. Deploy: Create or update single ECS service (combined task) 3. Comment: Post deployment URL on PR

    Build: Docker image → ECR (tag: SHA + branch-hash)Deploy: Create or update single ECS service (combined task)Comment: Post deployment URL on PR
  5. 05

    When to use

    Use this skill when working with AWS infrastructure, deployment configurations, ECS task definitions, or environment-specific settings.

    Local development setup (use docker skill)Application code changesUse this skill when working with AWS infrastructure, deployment configurations, ECS task definitions, or environment-specific settings.

Permission review

Static risk signals and limitations

Reads files

low · line 13

The documentation asks the agent to read local files, directories, or repositories.

Read the `.aws/` directory (or equivalent) for environment configs and templates.

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score88/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars7SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
event4u-app/agent-config
Skill path
src/skills/aws-infrastructure/SKILL.md
Commit
0adf49a8ae84b0ff6e2de8759eea43257e020eff
License
MIT
Collected
2026-07-28
Default branch
main
View the original SKILL.md

aws-infrastructure

When to use

Use this skill when working with AWS infrastructure, deployment configurations, ECS task definitions, or environment-specific settings.

Do NOT use when:

  • Local development setup (use docker skill)
  • Application code changes

Procedure: Modify AWS infrastructure

  1. Read the .aws/ directory (or equivalent) for environment configs and templates.
  2. Read CI/CD workflows (e.g., .github/workflows/) for the deployment pipeline.
  3. Check the environment-specific vars files.
  4. Read project-level overrides — check agents/overrides/skills/aws-infrastructure.md for project-specific service names, prefixes, and infrastructure details.

Architecture overview

Environments (typical setup)

EnvironmentTriggerNotes
ReviewPR with labelEphemeral, per-branch
StagePush to mainPersistent, pre-production
ProductionRelease tagPersistent, live

Common AWS services

ServicePurpose
ECS FargateContainer orchestration (no EC2 instances)
ECRDocker image registry
EFSShared filesystem (private + public access points)
Secrets Manager.env file storage per environment
IAM RolesOIDC-based GitHub Actions authentication
VPCNetworking (security groups, subnets)

Vars file structure

Environment-specific config files (e.g., .aws/*.vars.yaml) typically contain:

AWS:
  GlobalPrefix: {project}-{env}     # Resource naming prefix
  Region: eu-central-1              # AWS region
  RoleArn: arn:aws:iam::...        # GitHub Actions OIDC role
  ECS:
    Cluster: {project}-{env}       # ECS cluster name
  VPC:
    SecurityGroups: [...]
    Subnets: [...]
  EFS:
    FileSystemId: fs-...

Read the actual vars files in the project for concrete values.

Template structure

Templates commonly use gomplate for rendering. Typical templates:

TemplatePurpose
task-definition-web.tpl.yamlWeb server (app + reverse proxy)
task-definition-worker.tpl.yamlQueue worker
task-definition-scheduler.tpl.yamlTask scheduler (cron)
task-definition-migrations.tpl.yamlOne-shot migration runner

Template variables:

  • {{ .Env.DockerImage }} — Full ECR image URI with tag
  • {{ .Env.CommitHash }} — Git commit SHA
  • {{ (ds "Vars").AWS.* }} — Values from the vars file

Deployment flow

Standard (Stage/Production)

  1. Build: Docker image → ECR (tag: SHA + latest)
  2. Migrations: Run as ECS task (one-shot), wait for completion
  3. Deploy Services: Update ECS services with new task definitions

Review environments

  1. Build: Docker image → ECR (tag: SHA + branch-hash)
  2. Deploy: Create or update single ECS service (combined task)
  3. Comment: Post deployment URL on PR

Conventions

Authentication

  • GitHub Actions uses OIDC (no long-lived AWS credentials).
  • Role ARN is per-environment in the vars file.
  • aws-actions/configure-aws-credentials handles the OIDC exchange.

Image tagging

  • Primary tag: sha-<full-commit-sha> (immutable)
  • Secondary tag: latest (Stage/Production) or <review-env-name> (Review)

Secrets

  • .env files are stored in AWS Secrets Manager.
  • Naming convention: <GlobalPrefix>-dotenv.

Platform

  • Check the project's architecture target (linux/arm64 for Graviton, linux/amd64 for x86).
  • Ensure CI runners match the target architecture.

Infrastructure as Code

The underlying AWS resources (ECS clusters, ALBs, RDS, Redis, IAM roles, security groups, etc.) are typically managed via Terraform + Terragrunt in a separate infrastructure repository.

See the terraform and terragrunt skills for general IaC conventions.

Output format

  1. Modified infrastructure config/template files
  2. Environment-specific changes clearly separated
  3. Summary of what changed and which environments are affected

Auto-trigger keywords

  • AWS
  • ECS Fargate
  • ECR
  • EFS
  • Secrets Manager
  • deployment

Gotcha

  • Never hardcode AWS credentials — always use Secrets Manager or environment variables.
  • ECS task definitions are immutable — you create new revisions, not edit existing ones.
  • gomplate templates use {{ }} which conflicts with other template engines — escape carefully.

Do NOT

  • Do NOT change VPC/subnet/security group IDs without infrastructure team approval.
  • Do NOT modify IAM role ARNs — they are managed via Terraform.
  • Do NOT hardcode AWS account IDs in templates.
  • Do NOT change the GlobalPrefix — it's used for resource naming across AWS.
  • Do NOT switch platform architecture without updating all runners and ECS configs.

Alternatives

Compare before choosing