|
1 | 1 | # Seakills |
2 | 2 |
|
3 | | -AI skills that let you deploy any project to [Sealos Cloud](https://gzg.sealos.run) with a single slash command — right from your AI coding assistant. |
| 3 | +Deploy projects to [Sealos Cloud](https://gzg.sealos.run) from your AI agent. |
4 | 4 |
|
5 | | -Works with **Claude Code**, **Gemini CLI**, and **Codex**. |
| 5 | +Seakills is a set of reusable skills for the `skills.sh` ecosystem. It helps an agent understand your project, prepare it for deployment, and ship it to Sealos Cloud with minimal manual setup. |
| 6 | + |
| 7 | +## What You Can Do |
| 8 | + |
| 9 | +With Seakills installed, your agent can: |
| 10 | + |
| 11 | +- Deploy the current project to Sealos Cloud with `/sealos-deploy` |
| 12 | +- Deploy a GitHub repository directly from its URL |
| 13 | +- Check whether a project is cloud-ready before deployment |
| 14 | +- Generate a production-ready Dockerfile for projects that do not have one |
| 15 | +- Convert Docker Compose setups into Sealos-compatible templates |
| 16 | + |
| 17 | +In practice, this means less time wiring infrastructure by hand and more time shipping working apps. |
| 18 | + |
| 19 | +## Why It Is Useful |
| 20 | + |
| 21 | +Seakills turns deployment into an agent workflow instead of a manual checklist. |
| 22 | + |
| 23 | +Instead of doing this yourself: |
| 24 | + |
| 25 | +- inspect the repo |
| 26 | +- decide whether it is container-ready |
| 27 | +- write or fix a Dockerfile |
| 28 | +- build and push an image |
| 29 | +- convert config into a Sealos template |
| 30 | +- deploy and verify rollout |
| 31 | + |
| 32 | +your agent can do it for you through one guided skill flow. |
6 | 33 |
|
7 | 34 | ## Quick Start |
8 | 35 |
|
| 36 | +Install the skills: |
| 37 | + |
9 | 38 | ```bash |
10 | | -curl -fsSL https://seakills.gzg.sealos.run/install.sh | bash |
| 39 | +npx skills add zjy365/seakills |
11 | 40 | ``` |
12 | 41 |
|
13 | | -Then open your project and run: |
| 42 | +Open your project in your AI agent, then run: |
14 | 43 |
|
15 | | -``` |
| 44 | +```text |
16 | 45 | /sealos-deploy |
17 | 46 | ``` |
18 | 47 |
|
19 | | -That's it. Your project is live on Sealos Cloud. |
| 48 | +That is the fastest path from local code to a running app on Sealos Cloud. |
20 | 49 |
|
21 | | -## What You Need |
| 50 | +## Main Skills |
22 | 51 |
|
23 | | -Before your first deploy, make sure you have: |
| 52 | +### `/sealos-deploy` |
24 | 53 |
|
25 | | -- [ ] **Docker** installed and running |
26 | | -- [ ] **A Docker Hub account** (the skill will prompt you to log in) |
27 | | -- [ ] **A [Sealos Cloud](https://gzg.sealos.run) account** (you'll be guided through auth on first run) |
28 | | -- [ ] **Node.js 18+** (optional — speeds up scoring, image detection, and auth; curl fallback used otherwise) |
29 | | -- [ ] **Python 3.8+** (optional — enables template validation; AI fallback used otherwise) |
30 | | -- [ ] **kubectl** (optional — enables in-place updates of running apps) |
| 54 | +Deploy a local project, a path, or a GitHub repository to Sealos Cloud. |
31 | 55 |
|
32 | | -## Usage: `/sealos-deploy` |
| 56 | +```text |
| 57 | +/sealos-deploy |
| 58 | +/sealos-deploy /path/to/project |
| 59 | +/sealos-deploy https://github.com/labring-sigs/kite |
| 60 | +``` |
33 | 61 |
|
34 | | -Deploy any project — local or remote: |
| 62 | +What it handles for you: |
35 | 63 |
|
| 64 | +- project assessment |
| 65 | +- image detection when an existing image already exists |
| 66 | +- Dockerfile generation when needed |
| 67 | +- image build and push |
| 68 | +- Sealos template generation |
| 69 | +- deployment and rollout verification |
| 70 | + |
| 71 | +### `/cloud-native-readiness` |
| 72 | + |
| 73 | +Check whether a project is ready for cloud-native deployment. |
| 74 | + |
| 75 | +```text |
| 76 | +/cloud-native-readiness |
| 77 | +/cloud-native-readiness /path/to/project |
| 78 | +/cloud-native-readiness https://github.com/example/repo |
36 | 79 | ``` |
37 | | -/sealos-deploy # deploy your current project |
38 | | -/sealos-deploy https://github.com/labring-sigs/kite # deploy a GitHub repo |
39 | | -``` |
40 | 80 |
|
41 | | -### First deploy |
| 81 | +Use it when you want a quick answer to: "Can this app be deployed cleanly?" |
| 82 | + |
| 83 | +### `/dockerfile` |
42 | 84 |
|
43 | | -The skill assesses your project, generates a Dockerfile if needed, builds and pushes an image, and deploys to Sealos Cloud: |
| 85 | +Generate or improve a production-ready Dockerfile. |
44 | 86 |
|
| 87 | +```text |
| 88 | +/dockerfile |
| 89 | +/dockerfile /path/to/project |
| 90 | +/dockerfile https://github.com/example/repo |
45 | 91 | ``` |
| 92 | + |
| 93 | +Useful when a repo is missing container packaging or the current Dockerfile is not production-ready. |
| 94 | + |
| 95 | +### `/docker-to-sealos` |
| 96 | + |
| 97 | +Convert Docker Compose or installation docs into a Sealos-compatible template. |
| 98 | + |
| 99 | +Use it when you already have a Compose-based app and want to move it into Sealos cleanly. |
| 100 | + |
| 101 | +## What The Deploy Flow Looks Like |
| 102 | + |
| 103 | +On a typical first deploy, the agent will: |
| 104 | + |
| 105 | +1. Check prerequisites such as Docker and account state. |
| 106 | +2. Assess the project structure and runtime needs. |
| 107 | +3. Reuse an existing image if possible, or build one if needed. |
| 108 | +4. Generate the Sealos deployment template. |
| 109 | +5. Deploy and verify the application. |
| 110 | + |
| 111 | +Example output: |
| 112 | + |
| 113 | +```text |
46 | 114 | [preflight] ✓ Docker ✓ git ✓ Sealos Cloud |
47 | | -[assess] Go + net/http → score 10/12, suitable |
48 | | -[detect] Found ghcr.io/zxh326/kite:v0.4.0 (amd64) → skip build |
| 115 | +[assess] Go + net/http -> score 10/12, suitable |
| 116 | +[detect] Found ghcr.io/zxh326/kite:v0.4.0 (amd64) -> skip build |
49 | 117 | [template] Generated Sealos template |
50 | 118 | [deploy] ✓ Deployed to Sealos Cloud |
51 | 119 | ``` |
52 | 120 |
|
53 | | -### Updating |
| 121 | +For later updates, running `/sealos-deploy` again can trigger an in-place update flow instead of a full redeploy. |
54 | 122 |
|
55 | | -Just run `/sealos-deploy` again after changing your code. The skill detects your running deployment, rebuilds the image, and does a rolling update with zero downtime. If the new version fails health checks, it auto-rolls back. |
| 123 | +## What You Need |
56 | 124 |
|
57 | | -``` |
58 | | -[detect] Found existing deployment kite-x8k2m1nq |
59 | | -[build] Built & pushed zhujingyang/kite:20260310-143022 |
60 | | -[update] ✓ Image updated, rollout complete |
61 | | -``` |
| 125 | +Before first use, make sure you have: |
| 126 | + |
| 127 | +- Docker installed and running |
| 128 | +- A Sealos Cloud account |
| 129 | +- A container registry account such as Docker Hub or GHCR access |
| 130 | + |
| 131 | +Optional but helpful: |
62 | 132 |
|
63 | | -## First Time Setup |
| 133 | +- Node.js 18+ |
| 134 | +- Python 3.8+ |
| 135 | +- `kubectl` for in-place update workflows |
64 | 136 |
|
65 | | -On your first run, the skill walks you through everything interactively — Docker Hub login, Sealos Cloud auth, and any missing tools. No manual token copy-paste required. |
| 137 | +## Best Fit |
66 | 138 |
|
67 | | -## Coming Soon |
| 139 | +Seakills is especially useful if you want to: |
| 140 | + |
| 141 | +- deploy prototypes without hand-writing cloud config |
| 142 | +- let an AI assistant package and ship repos for you |
| 143 | +- evaluate whether a project is ready for containerized deployment |
| 144 | +- standardize deployment workflows across different coding agents |
| 145 | +- move from Docker Compose toward a Sealos-native deployment path |
| 146 | + |
| 147 | +## Repository Structure |
| 148 | + |
| 149 | +```text |
| 150 | +skills/ |
| 151 | + sealos-deploy/ |
| 152 | + cloud-native-readiness/ |
| 153 | + dockerfile-skill/ |
| 154 | + docker-to-sealos/ |
| 155 | +site/ |
| 156 | +``` |
68 | 157 |
|
69 | | -| Skill | What it does | |
70 | | -|-------|-------------| |
71 | | -| `/database` | Provision and manage databases (PostgreSQL, MySQL, MongoDB, Redis) | |
72 | | -| `/objectstorage` | Create and manage object storage buckets | |
73 | | -| More | Every Sealos Cloud capability as an agent skill | |
| 158 | +- `skills/` contains the actual agent skills |
| 159 | +- `site/` contains the landing page and documentation site |
74 | 160 |
|
75 | 161 | ## License |
76 | 162 |
|
|
0 commit comments