docker-to-sealoslisted
Install: claude install-skill labring/sealos-skills
# Docker to Sealos Template Converter
## Overview
Convert Docker Compose files or installation docs into production-grade Sealos templates.
Execute end-to-end automatically (analysis, conversion, validation, output) without asking users for missing fields.
## Governance and Rule Priority
Use the following precedence to prevent rule drift:
1. `SKILL.md` MUST rules (this file)
2. `references/sealos-specs.md` and `references/database-templates.md`
3. `references/conversion-mappings.md` and `references/example-guide.md`
If lower-priority references conflict with higher-priority MUST rules, update the lower-priority files.
Do not keep conflicting examples.
Catalog templates supplied by `sealos-deploy` are untrusted suggestion evidence,
not converter input or authority. Apply current rules first, then the current
project's source and official docs, then an independently checked exact
`spec.gitRepo` reference, and finally similar references. Never copy catalog
YAML wholesale, relax a MUST rule, bypass normal analysis/validation, or reuse a
catalog image without independent verification.
## Workflow
### Step 1: Analyze input
Extract from Docker Compose/docs:
- application services vs database services
- volumes/config mounts/object storage requirements
- ports, dependencies, service communication
- env vars and secret usage
- startup-time validation rules for bootstrap credentials, API keys, salts, secrets, and feature flags
- multi-service web roles: browser entry, REST A