SkillsLib.ai

Infrastructure Code Review and Hardening

Harden infrastructure code with expert security and compliance reviews

0.0(0 reviews)
100+ downloads
Updated Nov 2026

What You Can Do

Get comprehensive security and compliance analysis of your infrastructure-as-code across Terraform, CloudFormation, Kubernetes, and other IaC formats. Claude identifies security vulnerabilities, compliance gaps, performance inefficiencies, and cost optimizations while ensuring your infrastructure follows industry best practices and regulatory requirements.

Features

Security vulnerability detection

Identifies misconfigurations, exposed credentials, overly permissive policies, and network exposure risks

Compliance verification

Checks against CIS benchmarks, NIST, PCI-DSS, SOC 2, and custom regulatory requirements

Cost optimization analysis

Spots wasteful resource configurations, oversized instances, and unused services

Best practices enforcement

Validates naming conventions, tagging strategies, resource organization, and cloud-native patterns

Performance recommendations

Suggests improvements for scalability, availability, and infrastructure resilience

Dependency mapping

Documents resource relationships and validates data flow security boundaries

Migration readiness assessment

Evaluates IaC readiness for cloud platform transitions or major upgrades

Policy-as-code generation

Creates guardrails as code (OPA, Sentinel) to prevent future misconfigurations

Example Output

Security Review Output:

code
- ⚠️ CRITICAL: S3 bucket policy allows public read access
  Location: main.tf:45
  Impact: Potential data exposure
  Fix: Add BucketBlockPublicAccess or restrict Principal

- ⚠️ HIGH: RDS database not encrypted at rest
  Location: prod-db.tf:12
  Recommendation: Enable KmsKeyId and StorageEncrypted = true

✓ PASS: Security group implements least-privilege rules
✓ PASS: All EC2 instances have IMDSv2 enforced

Compliance Report:

code
CIS AWS Foundations Benchmark: 14/20 controls passing (70%)
- Missing: CloudTrail encryption, S3 versioning
- Recommend: Enable CloudWatch alarms for root account usage

SOC 2 Type II: 8/10 controls satisfied
- Network: Firewall rules properly segmented ✓
- Access Control: IAM policies need least-privilege review

What's Included

  • SKILL.md: Complete infrastructure review framework
  • Security checklist: OWASP, CIS, and NIST control mappings
  • Compliance templates: PCI-DSS, SOC 2, and HIPAA verification checklists
  • Review workflows: Terraform, CloudFormation, and Kubernetes audit procedures
  • Policy-as-code examples: OPA Rego and HashiCorp Sentinel rule samples
  • Cost optimization guide: Common wasteful patterns and remediation steps

Who It's For

  • DevOps engineers — Validate infrastructure changes before production deployment
  • Cloud architects — Design secure, compliant, multi-cloud infrastructure
  • Security engineers — Audit IaC for vulnerabilities and compliance gaps
  • Platform teams — Establish governance guardrails across all projects
  • Compliance officers — Verify infrastructure meets regulatory requirements

Best For

  • Terraform configuration security audits
  • CloudFormation template compliance validation
  • Kubernetes manifest and Helm chart reviews
  • Multi-cloud infrastructure governance
  • Pre-deployment security gate automation

You might also like

Incident Response & Root Cause Analysis
$35
Incident Response & Root Cause Analysis

Rapidly analyze production incidents by correlating observability signals—logs, metrics, traces, and events—to identify the true root cause instead of symptoms. You'll reconstruct incident timelines, quantify impact scope, and generate both immediate remediation steps and long-term prevention measures.

Git Commit Message Writer
$45
CI/CD4.3(47)
Git Commit Message Writer

Claude analyzes your code diffs and generates standardized commit messages that follow the Conventional Commits specification. The skill automatically determines the correct commit type, scope, and description based on the changes you've made, ensuring your messages are parseable by automation tools while remaining human-readable for code reviewers.

Full-Stack Feature Development Workflow
$30
Full-Stack Feature Development Workflow

You'll transform high-level feature requirements into a complete development plan covering API design, frontend implementation, testing strategy, and documentation. The skill helps you identify dependencies, parallelize work across frontend and backend teams, and establish quality gates that ensure features ship bug-free with proper error handling and logging.

Database Migration Helper
$45
SQL4.1(34)
Database Migration Helper

Transform schema and data changes into production-ready migration packages that protect data integrity and minimize downtime. You can handle column additions, renames, type conversions, and backfills using proven patterns like expand-contract and shadow tables. The skill generates explicit rollback scripts, validation checklists, and phased execution plans that keep applications stable throughout the migration.

Cluster Manage
$30
Cluster Manage

You can switch your Kurtosis runtime between Docker and Kubernetes backends, check which cluster is currently active, and list all available clusters. This skill helps you manage where Kurtosis deploys and runs enclaves, whether on local Docker or a remote Kubernetes cluster, with automated engine restart and gateway configuration for Kubernetes environments.

Performance Test Strategy & Analysis
$40
Performance Test Strategy & Analysis

You can create comprehensive performance testing strategies tailored to your application's architecture, analyze test results to identify bottlenecks, and generate prioritized recommendations for optimization. The skill helps you design load tests, interpret metrics like latency and throughput, and create action plans for performance improvements.

Performance Test Engineer Assistant
$30
Performance Test Engineer Assistant

You can design comprehensive performance test strategies tailored to your application architecture, analyze performance metrics and logs to identify bottlenecks, and receive specific optimization recommendations. The skill guides you through creating realistic load scenarios, interpreting performance data, and prioritizing fixes based on impact analysis.

Antenna Design & Optimization Skill
$30
Antenna Design & Optimization Skill

You can accelerate your entire antenna design workflow—from initial concept to optimized specifications—by leveraging Claude's knowledge of electromagnetic theory, antenna types, and design trade-offs. Claude helps you parameterize designs, identify optimal configurations for your frequency band and application, and prepare detailed briefs for simulation and manufacturing. You'll generate design reviews, impedance-matching solutions, and validation checklists without context-switching to multiple tools.

$30.00