Loading...
Loading...
Convert Docker Compose files or installation docs into production-grade Sealos templates. Use when user has a docker-compose.yml and wants a Sealos or Kubernetes template, wants to migrate from Docker Compose to Sealos, needs to convert container orchestration configs to Sealos format, or mentions compose-to-template conversion. Also triggers on "/docker-to-sealos".
npx skill4agent add labring/seakills docker-to-sealosSKILL.mdreferences/sealos-specs.mdreferences/database-templates.mdreferences/conversion-mappings.mdreferences/example-guide.mdreferences/conversion-mappings.mdscripts/path_converter.py*_DATABASE_URL*_DB_URLendpointhostportusernamepasswordsecretKeyRef$(VAR)/etc/nginx/ssl/etc/ssl/certsscripts/compose_to_template.py --kompose-mode alwayskomposereferences/database-templates.mdpostgrestemplate/<app-name>/index.yamltemplate/<app-name>/logo.<ext>metadata.name${{ defaults.app_name }}metadata.nametitleurlgitRepoauthordescriptionicontemplateTypelocalei18ncategoriesspec.readmehttps://raw.githubusercontent.com/labring-actions/templates/kb-0.9/template/<app-name>/README.mdspec.i18n.zh.readmehttps://raw.githubusercontent.com/labring-actions/templates/kb-0.9/template/<app-name>/README_zh.mdiconkb-0.9i18n.zh.descriptioni18n.zh.titletitlecategoriestoolaigamedatabaselow-codemonitordev-opsblogstoragefrontendbackendspec.data.urlspec.displayTypenormalspec.typelinkspec.templatecloud.sealos.io/app-deploy-managermetadata.namemetadata.labels.appmetadata.namecontainers[*].namemetadata.nameServicemetadata.labels.appmetadata.labels.cloud.sealos.io/app-deploy-managerspec.selector.appConfigMapmetadata.labels.appmetadata.labels.cloud.sealos.io/app-deploy-managermetadata.nameServicemetadata.namemetadata.labels.appmetadata.labels.cloud.sealos.io/app-deploy-managerspec.selector.appIngressmetadata.namemetadata.labels.cloud.sealos.io/app-deploy-managerservice.namespec.ports[*].namekubernetes.io/ingress.classnginx.ingress.kubernetes.io/proxy-body-sizenginx.ingress.kubernetes.io/server-snippetnginx.ingress.kubernetes.io/ssl-redirectnginx.ingress.kubernetes.io/backend-protocolnginx.ingress.kubernetes.io/client-body-buffer-sizenginx.ingress.kubernetes.io/proxy-buffer-sizenginx.ingress.kubernetes.io/proxy-send-timeoutnginx.ingress.kubernetes.io/proxy-read-timeoutnginx.ingress.kubernetes.io/configuration-snippetlivenessProbereadinessProbestartupProbe:latestcranev2.2.0:v2:2.1:stable${VAR}${VAR:-default}originImageNameimagePullPolicy: IfNotPresentemptyDirvolumeClaimTemplates<= 1Giscripts/path_converter.pyenv[].valueendpointhostportusernamepasswordenv[].valueFrom.secretKeyRefSecretsecretKeyRefSecretconfig/default.jsonhttps://${{ defaults.app_host }}.${{ SEALOS_CLOUD_DOMAIN }}postgres${{ defaults.app_name }}-pg-initpostgresql-16.4.0apps.kubeblocks.io/v1alpha1${{ defaults.app_name }}-pgapp.kubernetes.io/instanceapp.kubernetes.io/managed-bykb.io/database: postgresql-16.4.0clusterdefinition.kubeblocks.io/name: postgresqlclusterversion.kubeblocks.io/name: postgresql-16.4.0clusterVersionRef: postgresql-16.4.0disableExporter: trueenabledLogs: [running]switchPolicy.type: NoopserviceAccountNamecomponentDef: mongodbserviceVersion: 8.0.4kb.io/databaseapp.kubernetes.io/instancekb.io/database: ac-mysql-8.0.30-1clusterDefinitionRef: apecloud-mysqlclusterVersionRef: ac-mysql-8.0.30-1tolerations: []componentDef: redis-7componentDef: redis-sentinel-7serviceVersion: 7.2.71Gireplicationlimits(cpu=500m,memory=512Mi)requests(cpu=50m,memory=51Mi)${{ defaults.app_name }}-mongodb-account-root${{ defaults.app_name }}-redis-redis-account-default${{ defaults.app_name }}-broker-account-admincpu=200mmemory=256Micpu=20mmemory=25MirevisionHistoryLimit: 1automountServiceAccountToken: falsedefaultsapp_nameapp_hostinputsinputs.descriptionpython scripts/path_converter.py --self-testpython scripts/test_check_consistency.pypython scripts/test_compose_to_template.pypython scripts/test_check_must_coverage.pypython scripts/check_consistency.py --skill SKILL.md --references references --rules-file references/rules-registry.yamlpython scripts/check_consistency.py --skill SKILL.md --references references --rules-file references/rules-registry.yaml --artifacts template/<app-name>/index.yamlpython scripts/check_must_coverage.py --skill SKILL.md --mapping references/must-rules-map.yaml --rules-file references/rules-registry.yamlpython scripts/quality_gate.pytemplate/*/index.yamlDOCKER_TO_SEALOS_ALLOW_EMPTY_ARTIFACTS=1check_consistency.pyreferences/rules-registry.yamlseverityscope.include_pathstemplate/<app-name>/index.yamlreferences/sealos-specs.mdreferences/conversion-mappings.mdreferences/database-templates.mdreferences/example-guide.mdreferences/rules-registry.yamlreferences/must-rules-map.yamlrulemanualscripts/path_converter.pyscripts/compose_to_template.py--kompose-mode auto|always|neveralwayskompose converttemplate/<app-name>/index.yamlscripts/test_compose_to_template.pyscripts/check_consistency.pyscripts/test_check_consistency.pyscripts/check_must_coverage.pyscripts/test_check_must_coverage.pyspec.data.urlspec.templatespec.displayType: normalspec.type: link