Skip to content
Back to skills

Infrastructure As Code

ASecurity

Define infrastructure declaratively, in version control, applied automatically.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 3, 2026
development

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add Andersseen/agentyx --skill infrastructure-as-code --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Infrastructure As Code?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Infrastructure As Code
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/andersseen-infrastructure-as-code/badge)](https://www.skillsdirectory.com/skills/andersseen-infrastructure-as-code)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: infrastructure-as-code
description: Define infrastructure declaratively, in version control, applied automatically.
---

# Infrastructure as code

Infrastructure that exists only as manual console changes cannot be reviewed, reproduced or
recovered.

## Declare the desired state

Describe what the infrastructure should be and let the tool determine the steps. Declarative
definitions converge from any starting point; imperative scripts assume one.

## Never change production by hand

Manual edits create drift that the next automated apply will undo or conflict with. When an emergency
forces a manual change, bring it back into code immediately.

## Review the plan before applying

Read the diff of what will be created, changed and destroyed. Replacement of a stateful resource is
the failure mode that turns a routine change into data loss.

## Isolate environments

Keep separate state and credentials per environment, sharing definitions through parameters rather
than copies. Shared state is how a staging change reaches production.

## Protect the state and the secrets

Store state remotely with locking and restricted access — it contains sensitive values. Reference
secrets from a secret manager instead of committing them alongside the definitions.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…