cloud-init-crafter
Installation
SKILL.md
Cloud-init Crafter
This skill provides a structured framework for generating and maintaining cloud-init configurations. It utilizes a library of baseline templates, localized reference guides, and automated validation scripts to ensure production-ready deployments.
Core Principles
- Plan Before Execution: Always define a concise implementation plan (listing target modules, target format, baseline templates, and validation logic) before generating code.
- Format Awareness: Recognize that
cloud-initaccepts multiple formats. Default to#cloud-config(YAML 1.1) but proactively suggest shell scripts, boothooks, or MIME archives when the user's operational timing requires it. - Security by Default: Prohibit plaintext passwords. Use
ssh_authorized_keysorhashed_passwdexclusively. Ensure sensitiveinstance-datais accessed securely. - Idempotency: Ensure all
runcmd,bootcmd, and custom scripts are idempotent to allow safe re-execution.
Local References (Load On-Demand)
Load these reference documents on-demand when specific technical details, formats, or troubleshooting steps are required to save token context.