This guide helps you package existing applications into Lazycat MicroServer's lpk format, which is their containerized app distribution system. You'll use it when converting Docker images or raw source code into something that runs on their platform. It walks you through writing three config files: package.yml for metadata and permissions, lzc-manifest.yml for runtime structure like services and routing, and lzc-build.yml for the build process. The skill is written in Chinese but the specs are clear about platform constraints like requiring persistent data under /lzcapp/var and using specific domain patterns for inter-service communication. It's focused on their V2 spec which separates metadata from runtime config, so if you're working with legacy lpk files you'll need to restructure them.

skills.sh installs
259
GitHub stars
61
last updated
Aug 21, 2026

Install

$ npx -y skills add whoamihappyhacking/lazycat-skills --skill lazycat-lpk-builder --agent claude-code

Installs into .claude/skills of the current project.

Files

懒猫微服 LPK V2 打包与移植

0. 先校准,后写配置

写/改 package、manifest、build 或执行 build/deploy/release 前,必须先读取并执行 references/spec-sync.md:记录目标 lzcos 与 CLI 版本,获取官方原文,核对本地快照并声明冲突。HTTP 错误、空文档、HTML 错误页不算成功;离线只能明确声明使用快照,不能声称实时校准。

基线为 lzcos >=1.5.0、lzc-cli >=2.0.0;每项新能力还需独立核验门槛。当前技能不是“永远最新”的保证。

1. 分析应用

梳理端口/协议、CPU 架构、镜像入口与 UID、内部数据/用户文件、依赖、业务鉴权和所需权限。不要将 Compose 原样当 manifest,不默认申请 root/privileged/全部权限。

2. 分开编写四种配置

文件/需求行动指令
package.yml:静态身份、版本、权限读取 references/package-spec.md
lzc-manifest.yml:服务、路由、inject、entries、运行身份读取 references/manifest-spec.md
lzc-build.yml:正式构建读取 references/build-spec.md
lzc-build.dev.yml:开发差异同上,不能复制整份 release 配置
资源导出/导入读取 references/resource-export.md
权限、初始化、探针、持久化故障读取 references/troubleshooting.md
上架与审核读取 references/store-publish.md

V2 manifest 不放 package/version/name/locales/permissions/import_resources 等静态字段。完整包的内容可选,image-only 不必伪造 contentdir;图标按官方 PNG/商店要求,不能臆造大小限制。

3. 构建与验证

lzc-cli --version
lzc-cli project build -o release.lpk

Sponsors

Details

Repository
github.com/whoamihappyhacking/lazycat-skills
Categories
DevOps & CI/CD, Mobile Development
First seen
Jun 3, 2026

More from whoamihappyhacking/lazycat-skills

All 5
1google-gemini avatarcigoogle-gemini/gemini-cliA specialized skill for Gemini CLI that provides high-performance, fail-fast monitoring of GitHub Actions workflows and automated local verification of CI failu258skills.sh installs
2prompt-security avatarsoul-guardianprompt-security/clawsecDrift detection + baseline integrity guard for agent workspace files with automatic alerting support257skills.sh installs
3proffesor-for-testing avatartest-automation-strategyproffesor-for-testing/agentic-qeDesign and implement effective test automation with proper pyramid, patterns, and CI/CD integration. Use when building automation frameworks or improving test e256skills.sh installs
4patricio0312rev avatarartifact-sbom-publisherpatricio0312rev/skillsProduces build artifacts with Software Bill of Materials (SBOM) and supply chain metadata for security and compliance. Use for "artifact publishing", "SBOM gene252skills.sh installs
5nocobase avatarnocobase-dsl-reconcilernocobase/skills**Opt-in DSL path** for NocoBase app building. Use ONLY when the user explicitly asks for YAML / DSL / committed-to-git / `cli push` / spec files — e.g. "use th244skills.sh installs
6pproenca avatardomain-architectpproenca/dot-skillsDiscovers business domains in a Swift codebase by tracing what users can DO — not by reading folder names or architecture docs. Maps each domain's vertical slic242skills.sh installs