nocobase-app-plugin-foundation
O que ela faz
Esta skill adiciona a página administrativa App Foundation a um app NocoBase 3. A página mostra quais recursos centrais estão em uso, precisam de configuração ou não são usados. Ela é indicada para administradores que querem revisar a configuração de um app.
Quando usar
- ✓Quando você quer uma página administrativa que mostre quais recursos do NocoBase o app usa.
- ✓Quando alguém pergunta por que um recurso aparece como precisando de configuração ou como não usado.
- ✓Quando você precisa mover ou remover a página App Foundation do menu.
Link da skill
https://github.com/nocobase/nocobase/blob/v3-develop/packages/plugins/app-plugin-foundation/skills/nocobase-app-plugin-foundation/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 adicionar a página App Foundation para eu ver quais recursos do NocoBase meu app está usando?”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
A IA registra o plugin e a página dele. O plugin lê resultados de varreduras salvos e roda varreduras em segundo plano quando solicitado, para que a página carregue rapidamente.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
App Foundation
Use this Skill when
- The application should get the App Foundation page, or it should move or leave the menu.
- Someone asks why a capability on that page is in use, needs setup, is not used yet or is undetermined, or where a number comes from.
Do not use it to grant the page to a role: it admits only unrestricted access by design.
Public surfaces
- Server plugin:
@nocobase/app-plugin-foundation/server(default export). ExportsfoundationServiceToken, whosesnapshot(),scanStatus()andensureScan({ refresh?, countRecords? })read saved data and submit background scans. Compatibilityoverview()reads a saved overview or reportsFOUNDATION_PENDING. - Server route:
GET /api/foundation/overviewreturns durable scan state and an optionaloverview. UsePOST /api/foundation/ensureScan,/refreshor/countRecordsto submit work; GET mutation flags are rejected. Ordinary loads and refreshes do not count every business table. Requires a session or API key of an identity with unrestricted access; anyone else gets403with reasonFOUNDATION_FORBIDDEN. - Collection list:
GET /api/foundation/collections?offset=0&search=orders, the same unrestricted access boundary, at most 50 entries in{ data, meta: { total } }. Search covers the full owned catalog, not just the displayed page. - Client plugin:
@nocobase/app-plugin-foundation/client(default export).foundation()adds the page at/foundationwith a menu entry; optionspath,navigation: false,routes: falseandsettingsGroup: true. The default template usessettingsGroup: trueso a bare application already has a localized settings group containing only the protected Foundation page. - Page component:
FoundationPagefrom@nocobase/app-plugin-foundation/client/pages, for an application that routes it itself (foundation({ routes: false })). Declare such a route withauthz: 'unrestricted'.
Prerequisites
The authentication and authorization plugins are registered, as in the default template. The page reads the query cache the application's routes provide.
App workflow
- Add the dependency and register the server plugin in
server/plugins.tsand the client plugin inclient/plugins.ts. - Restart the application and open
/foundationas an administrator holding the root Permission Set. - Build the application as usual; refresh the page to see new capabilities light up.
Reading a status
- Collected read-only by the plugin; nothing reports to it, so there is nothing to register per capability.
- In use means wired in: a persisted lifecycle, an enabled schedule, a connected mailbox, a configured notification channel, an API key that has been used. Zero uses still count as in use.
- Needs setup names what is missing in its reason, such as
noChannelornoDrive. - Information pending update means the evidence could not be read this time, never that it is unused. Use the top Refresh button to collect again; capability details have no separate retry button. If the initial page request fails with no overview or top Refresh available, use the page's Try again button. Expand the read details for sanitized source notes. Permission denial still hides cached information and offers no retry.
- AI and agents are in use with an enabled model service or a registered Runner. Native OnlineAgent and model gateway calls do not require an
agAgentsrecord. Stored Agent definitions and historical usage alone do not prove current configuration. Keep unreadable execution paths as pending subparts so reliable active evidence and metrics can retain their original dates. A successfully read zero invalidates that path's earlier active evidence through subsequent failures. If neither execution path has current or retained active evidence and a required read failed, leave the status undetermined. Preserve another confirmed active path when optional statistics fail; never turn a failed read into zero or a missing-configuration claim. - Observed table scope uses
server/catalog.ts. Known system Collections are excluded. Remaining tables are observed data without proven business ownership; unknown extensions never suppress their statistics or generate a read failure. Show identified/counting results and keep the ownership boundary in expandable recognition notes.
Verification
The application service keeps reliable active statuses, subpart statuses and complete metrics in the saved checkpoint. Retained values
Perguntas frequentes
Quem pode ver a página?
Apenas usuários com acesso irrestrito. Ela não deve ser concedida a outras funções.
Ela gerencia permissões de negócio?
Não. É uma visão de status e não gerencia permissões de negócio.
Cada carregamento de página conta todas as tabelas de negócio?
Não. Carregamentos e atualizações comuns não contam todas as tabelas de negócio.
Detalhes
Descrição original do autor
Use when an application should show its administrators which NocoBase Core capabilities it uses (the App Foundation page), when registering or moving that page, or when asked why a capability shows as in use, needing setup, not used or undetermined there. Not for business permissions or for building other admin pages.
repo: nocobase/nocobase
Popularidade
- Estrelas no GitHub
- 25 mil
- Posição no ranking
- #10098
- 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
diffs
394 milPermite que seu agente gere um diff real e compartilhável das edições, como link de visualização ou arquivo de imagem, em vez de um resumo escrito à mão.
coding-agent
394 milAjuda seu agente a passar um trabalho grande de programação para o Codex, Claude Code ou OpenCode em segundo plano e acompanhar o andamento.
gh-issues
394 milAjuda seu agente a encontrar issues do GitHub, escolher quais resolver e abrir pull requests com correções, acompanhando os comentários de revisão.