agentleFS
mejbaurbaharmejbaurbahar/software-tester-skills/skills/cloud-infrastructure-testing/SKILL.md

cloud-infrastructure-testing

Skill1 starsChanged 52 days agoMITView on GitHub

Use when testing cloud/infrastructure concerns — Docker/Kubernetes deployments, serverless functions, managed-service integration (S3, queues, API Gateway), disaster recovery/failover, and infra-as-code correctness on AWS/Azure/GCP.

1 other project uses a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    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:

    Multi-region: if the architecture claims multi-region resilience, test with one region actually unavailable (not just theoretically) to …

    line 37

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Cloud & Infrastructure Testing

Scope guardrail

Infra testing can touch shared/billable resources and, in the worst case, production-adjacent systems. Confirm target environment (sandbox/staging vs anything shared) before running anything with side effects (spinning up resources, triggering autoscaling, simulating failover) — see the general safety guidance already established for destructive actions.

Containers & Kubernetes

  • Docker: image builds reproducibly, no secrets baked into layers (docker history, or scan with Trivy — see [[security-testing]]), container starts and passes its own healthcheck, resource limits set (a container with no memory limit can OOM the node, not just itself).
  • Kubernetes: deployment rolls out without downtime (kubectl rollout status), readiness/liveness probes actually reflect app health (a probe that always returns 200 defeats the point), resource requests/limits sized from real usage not guesses, HPA (autoscaling) triggers and scales back down correctly under synthetic load, pod disruption budgets don't accidentally block legitimate node maintenance.
  • ConfigMaps/Secrets: changes propagate to running pods as expected (some require a rolling restart — verify the app's actual reload behavior rather than assuming).

Serverless (Lambda / Cloud Functions)

  • Cold start latency — measure it explicitly, it's a real UX/SLA factor invisible in local dev.
  • Timeout and memory limits — test near the configured ceiling, not just the happy path with plenty of headroom.
  • Concurrency limits — what happens when the function hits its concurrency cap: throttled invocations queued, dropped, or erroring? Confirm it matches the documented/expected behavior for the trigger type (sync API Gateway vs async event source behave differently on throttle).
  • Idempotency — many event sources (SQS, S3 event notifications) can redeliver; function must handle duplicate invocation safely, same as event-driven testing in [[contract-testing]].
  • IAM least-privilege — function's execution role should only have the permissions it actually uses; test by confirming it cannot perform actions outside its declared scope (a broad wildcard role is a security finding, not just tidiness — see [[security-testing]]).

Managed services integration

  • S3/object storage: eventual consistency edge cases (though most providers are now strongly consistent — verify the specific provider/region's current guarantee rather than assuming from older docs), lifecycle/expiry rules actually applied, presigned URL expiry enforced.
  • Queues (SQS/PubSub/RabbitMQ): visibility timeout tuned so a slow consumer doesn't cause duplicate processing; DLQ configured and monitored — see [[contract-testing]] for consumer-side idempotency testing.
  • API Gateway: throttling/rate limits match the documented tier, request/response transformation doesn't silently drop fields, auth integration (JWT authorizer, IAM auth) actually rejects invalid tokens rather than passing through on misconfiguration.
  • CDN (CloudFront etc.): cache invalidation actually propagates, cache-key configuration doesn't leak user-specific content across users (a classic CDN misconfiguration bug — check if personalized responses are accidentally cached and served cross-user).

Resilience: disaster recovery & failover

  • Failover test: kill the primary (DB replica promotion, AZ failure simulation) and measure actual recovery time against the documented RTO/RPO — don't trust the runbook until you've run it.
  • Backup restoration: a backup that has never been restored is unverified — periodically actually restore one into an isolated environment and confirm data integrity.
  • Multi-region: if the architecture claims multi-region resilience, test with one region actually unavailable (not just theoretically) to confirm traffic shifts and data stays consistent.

Infra-as-code correctness

  • terraform plan / pulumi preview reviewed for unintended resource replacement (a change that looks additive but forces a destroy+recreate can cause an outage) before apply.
  • Drift detection — infra manually changed outside IaC — caught and reconciled, not silently diverging.

Cross-link

For deliberate failure-injection testing beyond infra-level failover, see [[chaos-resilience-testing]]. For monitoring/alerting on infra health, see [[observability-testing]].

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.