nocobase-deployment
O que ela faz
Esta skill orienta os passos para levar um app NocoBase 3 a um servidor ativo e verificar se ele funciona. Ela é indicada para quem roda ou atualiza um app NocoBase em produção.
Quando usar
- ✓Quando você quer publicar um app NocoBase 3 em um servidor.
- ✓Quando uma publicação do NocoBase falha e precisa de diagnóstico.
- ✓Quando você precisa atualizar ou reverter um app NocoBase em execução.
Link da skill
https://github.com/nocobase/nocobase/blob/v3-develop/packages/app/app-skills/skills/nocobase-deployment/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Você pode publicar meu app NocoBase no meu servidor Docker e verificar se o banco de dados e os arquivos ainda funcionam?”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
A IA registra primeiro o modo de publicação, as versões e o local dos dados. Depois constrói e publica o app e verifica o banco de dados, as configurações, o comportamento e o armazenamento de arquivos antes de considerar o trabalho concluído.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
NocoBase production deployment
Use this Skill to execute a complete deployment workflow. Read the application's AGENTS.md, the .agents/rules/ files it indexes for building and deployment, and README.MD before changing files or running stateful commands: the README documents this application's build targets, archive layout and configuration variables.
Do not treat a process being healthy as proof that the application is usable. A deployment is complete only after the database, configuration, application behavior, and persistence checks below have evidence.
Stop and identify the deployment
Before building or changing a server, record:
- The deployment mode: an App managed by an existing Studio, standalone Node.js managed by app-installer, standalone Node.js by hand, or standalone Docker.
- The source revision, application version, Node.js and pnpm versions, target CPU/OS/libc, and the destination host.
- Whether the destination uses the existing database and storage, a new database, or a restore. Business data is not included in
dist,dist.tar.gz, or a Docker image. - The application base path, public origin, database type, external services, reverse proxy, persistent directories, and service identity.
- Whether the requested action is a first install, an update, a migration, a restart, a rollback, or a recovery.
Do not run production writes, migrations, seeds, uploads, deployments, or destructive removal until the target and the user's authorization are explicit. If the target or data plan is unresolved, stop and ask for it.
Deploy to an existing Studio
When the user asks to deploy this application to an existing NocoBase Studio, read Deploy to Studio before building. It covers installing and signing in with the target Studio's nb-studio CLI, choosing an upload route, deploying and verifying the application. The application being deployed does not need its own business CLI.
Confirm the source application, target Studio, App ID and environment. A source directory, deployment directory and App ID can have different names; do not infer application identity from one of them. Follow the reference for Studio-managed configuration, storage and deployment; use the shared artifact and verification guidance below where applicable, not the standalone installation commands.
Deploying Studio itself to a server follows the standalone deployment workflow below.
Prepare the source and artifact
In the application project root, use the project's lockfile and declared pnpm version:
pnpm install --frozen-lockfile
pnpm typecheck
pnpm test
pnpm lint
Run the checks that the project actually defines; do not invent a test or lint command when it is absent. Build for the destination platform:
pnpm build --target linux-x64 --node-version 24 --tar
pnpm build creates the production dist tree and installs or retargets production dependencies for the selected platform. The build is not tied to a mount path: the client uses relative asset URLs by default, or an absolute CDN prefix when configured below, and the server serves it at the APP_BASE_PATH it runs with, so one archive can be mounted at /crm or at the origin root. --tar additionally creates storage/exports/dist.tar.gz, containing dist/ and config.example.yml, and the application's Dockerfile and Dockerfile.dockerignore when it has them; it does not contain the runtime configuration, database, uploads, or other business data. Extracting it produces exactly those paths rather than scattering server/ and node_modules/ into the directory you unpacked in. config.example.yml travels with it because a deployment has to write a config.yml before it can start, and the example is the only statement of what may go in it. Directories of executable shims are left out: a .bin entry points at a path on the machine that installed it, and a dangling one makes pnpm install in the extracted tree report a corrupt store rather than repair it. Without --tar no archive is produced, which is what you want when the build is only going to be run locally. Inspect the archive before transfer:
tar -tzf storage/exports/dist.tar.gz | head -30
For a direct server deployment, transfer the archive and extract it into the deployment root. Nothing needs installing there: pnpm build already ran pnpm install --prod inside dist/, and the archive carries the resulting `dist/node_mod
Perguntas frequentes
O build inclui meus dados de negócio?
Não. Os dados de negócio não fazem parte dos arquivos de build nem da imagem Docker, então precisam ser tratados separadamente.
Quais configurações de hospedagem são cobertas?
Um app gerenciado pelo Studio, um servidor Node.js independente ou um servidor Docker independente.
Ela muda a produção imediatamente?
A skill manda registrar os detalhes antes e tomar cuidado com gravações e migrações em produção.
Detalhes
Descrição original do autor
Plan, build, deploy, verify, upgrade, and troubleshoot NocoBase 3 applications on an existing Studio or a standalone Node.js or Docker server. Use when an application must move from source to a deployment environment or when a deployment failure needs diagnosis.
repo: nocobase/nocobase
Popularidade
- Estrelas no GitHub
- 25 mil
- Posição no ranking
- #10082
- Licença
- —
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
nocobase-app-development
25 milAjuda seu agente a criar páginas, rotas, dados, permissões e testes para uma aplicação de negócios completa no NocoBase 3.
shadcn
25 milAjuda seu agente a encontrar, adicionar, corrigir e estilizar componentes shadcn/ui em um projeto web, usando a documentação oficial e os registros deles.
nocobase-app-plugin-development
25 milAjuda seu agente a criar e manter plugins do NocoBase 3 dentro de um app existente, incluindo as partes de servidor, cliente, banco de dados e registro.
nocobase-app-upgrade
25 milAjuda seu agente a atualizar um app NocoBase para uma versão mais nova do template, trazendo as mudanças do template e mantendo o seu trabalho.
Skills parecidas
openclaw-update
394 milAjuda seu agente a atualizar um OpenClaw Gateway existente, escolhendo o método que combina com a instalação e mantendo sua sessão funcionando.
diagnose-gateway
394 milAjuda seu agente a descobrir por que seu OpenClaw Gateway está falhando, verificando configurações, canais e portas sem alterar nada.
crabbox-apps
394 milAjuda seu agente a abrir e executar um app em uma máquina temporária na nuvem e depois mostrar a visualização dele no painel lateral do seu chat.