Help us improve
Share bugs, ideas, or general feedback.
From sealos
Builds, adapts, and documents apps for Sealos Desktop using the Sealos app SDK. Activates automatically for SDK integration, session handling, iframe debugging, or on the /sealos-app-builder command.
npx claudepluginhub labring/sealos-skills --plugin sealosHow this skill is triggered — by the user, by Claude, or both
Slash command
/sealos:sealos-app-builderThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill to turn a generic web app into a Sealos app that runs inside Sealos Desktop, or to scaffold a new Sealos app from scratch. Focus on the repeatable parts: SDK initialization, session access, language sync, business-data integration, local debugging through a Desktop test app, and publish readiness.
Deploys any GitHub project to Sealos Cloud with one command. Automates readiness checks, Dockerfile generation, image building, template creation, and deployment.
Guides desktop app development with Electron and Tauri — cross-platform apps for Windows, macOS, Linux using a single codebase.
Turns a finished or buildable web app into a macOS Dock-launchable .app that serves the built output with no dev server. Detects build command and output directory, builds once, serves via tiny static server or file://.
Share bugs, ideas, or general feedback.
Use this skill to turn a generic web app into a Sealos app that runs inside Sealos Desktop, or to scaffold a new Sealos app from scratch. Focus on the repeatable parts: SDK initialization, session access, language sync, business-data integration, local debugging through a Desktop test app, and publish readiness.
Prefer a simple, teachable implementation that a beginner can understand and extend.
Classify the request into one of these paths:
If the repository already contains Sealos-related code, inspect local sources first. In particular:
packages/client-sdk or equivalent SDK sources.providers/ or similar directories.If the repository does not contain local Sealos sources, use the bundled references in this skill as the baseline.
Treat Sealos Desktop integration as a root-level concern.
Before using any starter template, install the SDK first:
pnpm add @labring/sealos-desktop-sdk
Use npm install @labring/sealos-desktop-sdk or yarn add @labring/sealos-desktop-sdk when the project uses a different package manager.
getSession() and getLanguage() early.EVENT_NAME.CHANGE_I18N when the app needs runtime language sync.Read references/minimal-app-template.md before implementing the root integration. If the app uses Next.js App Router, also read references/nextjs-app-router.md.
Use one of these starter templates:
For most apps, the key integration is not the iframe itself but the user mapping.
session.user.id as the stable app-level user identifier.name, avatar, k8sUsername, and nsid when useful.Read references/data-integration-patterns.md when you need schema or API guidance.
Do not assume a successful browser render means Sealos integration works.
The app usually needs to be opened by Sealos Desktop in an iframe for SDK calls like getSession() to succeed. When local debugging is part of the task, read references/local-debug-and-test-app.md.
Use these rules:
When the user wants deployment or launch readiness:
Use references/publish-checklist.md as the release checklist.
Default to the smallest viable Sealos integration:
Avoid spreading SDK initialization across multiple pages or components.
If the current workspace contains actual Sealos SDK sources or existing Sealos apps:
Use @labring/sealos-desktop-sdk in generated examples and starter code by default.
Only deviate from that if the target repository already has an established local workspace alias and the user explicitly wants to preserve it.
Provide:
Do this order:
session.user.id.Structure the output around:
Read only the files needed for the task: