Loading...
Loading...
Determine whether a repository contains a supported cloud workload, then assess eligible targets for cloud-native readiness with a 0-12 score. Use for containerization readiness, Docker/Kubernetes compatibility, deployment feasibility, workload eligibility, or pre-deployment assessment. Also triggers on "/cloud-native-readiness".
npx skill4agent add labring/sealos-skills cloud-native-readinesscloud-native-readiness/cloud-native-readinessread-only-observationdockerfile-skillCNR-ELIGIBILITY-STOPCNR-ROUTE-HANDOFF.sealos/analysis.jsonknowledge/deployment-eligibility.mdsuccessstoppederrormodules/assess.mdmodules/detect.mdmodules/route.mdsuccessstoppederrortarget: dockerfile-skill
inputArtifact: readiness report with source, project language/framework/package manager, dependencies/configuration, workload, score, dimensions, concerns, and artifact inventory
allowedAction: generate Docker packaging within the receiving skill's owned file scope
failureReturn: readiness findings and the failed route condition
responseOwner: cloud-native-readinessworkload-eligibility.mjsscore-model.mjsreadiness-positive-eligiblereadiness-violating-ineligiblesource:
kind: local-path | github-url
display: redacted repository identifier
project:
language: detected language
framework: detected framework or null
package_manager: detected package manager or null
dependencies: redacted external dependency types and versions
configuration: redacted configuration and environment-key observations
workload:
type: server | static-web | worker | scheduled-job | reviewed-remote-desktop | unresolved
eligibility: eligible | ineligible | needs_review
assessment:
score: 0-12 or null when stopped
dimensions: six named scores when eligible
concerns: redacted findings
artifacts:
status: complete | partial | none
inventory: repository-relative paths and quality observations
recommendation: report-only | package | remediate | stop
verification:
helper: eligibility and/or scoring helper invoked
evidence: observed result and redaction status
handoff: typed tuple or none
terminal_state: success | stopped | error
safe_next_action: request-scoped next actiondockerfile-skillcloud-native-readiness
│
├─ Phase 1: Cloud-Native Assessment
│ ├─ Eligibility fails or needs review → Report evidence, END
│ └─ Eligible → Calculate readiness score
│
├─ Phase 2: Existing Artifacts Detection
│ ├─ Found Dockerfile/docker-compose/image → Report existing setup, END
│ └─ Not found → Continue
│
└─ Phase 3: Route to dockerfile-skill
└─ Invoke /dockerfile to generate Docker configuration/cloud-native-readiness # Assess current directory
/cloud-native-readiness <path> # Assess specific path
/cloud-native-readiness <github-url> # Clone and assesseligibleineligibleneeds_revieweligible| Dimension | What to check |
|---|---|
| Statelessness | Does the app store state locally (sessions in memory, local file writes)? |
| Config Externalization | Are configs hardcoded or driven by env vars / config files? |
| Horizontal Scalability | Can multiple instances run without conflicts? |
| Startup/Shutdown | Does the app start fast and handle SIGTERM gracefully? |
| Observability | Does it have health checks, structured logging, metrics? |
| Service Boundaries | Is it a focused service or a tightly-coupled monolith? |
DockerfileDockerfile.*docker-compose.ymldocker-compose.yamlcompose.yml.dockerignoreDOCKER.mdk8s/kubernetes/deploy/helm/charts/.github/workflows/.gitlab-ci.ymlineligibleneeds_revieweligible| Readiness Score | Artifacts Exist | Action |
|---|---|---|
| ≥ 7 | Yes, complete | Report existing setup. Done. |
| ≥ 7 | Yes, partial | Report gaps, suggest improvements. Done. |
| ≥ 7 | No | Invoke |
| 4-6 | Any | Report issues + remediation steps. Optionally proceed with |
| 0-3 | Any | Report blockers. Do NOT invoke |
# Cloud-Native Readiness Report
## Summary
- **Project**: {name}
- **Eligibility**: {eligible | ineligible | needs_review} — {workload type}
- **Score**: {score}/12 ({rating})
- **Verdict**: {Ready | Ready with caveats | Needs work | Not recommended}
## Assessment Details
### ✅ Strengths
- {what's already cloud-native friendly}
### ⚠️ Concerns
- {issues that need attention}
### ❌ Blockers (if any)
- {critical issues preventing containerization}
## Dimension Scores
| Dimension | Score | Notes |
|-----------|-------|-------|
| Statelessness | {0-2} | {detail} |
| Config Externalization | {0-2} | {detail} |
| Horizontal Scalability | {0-2} | {detail} |
| Startup/Shutdown | {0-2} | {detail} |
| Observability | {0-2} | {detail} |
| Service Boundaries | {0-2} | {detail} |
## Existing Docker Artifacts
- {inventory or "None found"}
## Recommendation
- {next steps}dockerfile-skilldocker-compose.ymlDOCKER.mddockerfile-skill