nocobase-app-plugin-foundation
Что он делает
Этот скилл добавляет в приложение NocoBase 3 административную страницу App Foundation. Она показывает, какие базовые возможности используются, требуют настройки или не используются. Он нужен администраторам, которые хотят проверить настройку приложения.
Когда использовать
- ✓Когда вам нужна административная страница, которая показывает, какие возможности NocoBase использует приложение.
- ✓Когда кто-то спрашивает, почему возможность отмечена как требующая настройки или как неиспользуемая.
- ✓Когда нужно перенести или убрать страницу App Foundation из меню.
Ссылка на скилл
https://github.com/nocobase/nocobase/blob/v3-develop/packages/plugins/app-plugin-foundation/skills/nocobase-app-plugin-foundation/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Добавьте страницу App Foundation, чтобы я видел, какие возможности NocoBase использует моё приложение.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
ИИ регистрирует плагин и его страницу. Плагин читает сохраненные результаты сканирования и запускает фоновые сканирования по запросу, поэтому страница загружается быстро.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с 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
Частые вопросы
Кто может видеть страницу?
Только пользователи с неограниченным доступом. Ее не предназначено выдавать другим ролям.
Управляет ли она бизнес-правами?
Нет. Это страница статуса, она не управляет бизнес-правами.
Пересчитывает ли каждая загрузка страницы все бизнес-таблицы?
Нет. Обычные загрузки и обновления не пересчитывают все бизнес-таблицы.
Подробности
Оригинальное описание автора
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
Популярность
- Звёзды на GitHub
- 25k
- Место в рейтинге
- #10098
- Лицензия
- —
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
nocobase-app-development
25kПомогает агенту создать страницы, маршруты, данные, права доступа и тесты для полного бизнес-приложения на NocoBase 3.
shadcn
25kПомогает агенту находить, добавлять, исправлять и оформлять компоненты shadcn/ui в веб-проекте по их официальной документации и реестрам.
nocobase-app-plugin-development
25kПомогает агенту создавать и поддерживать плагины NocoBase 3 внутри существующего приложения: серверную и клиентскую часть, базу данных и регистрацию.
nocobase-app-upgrade
25kПомогает агенту обновить приложение NocoBase до более новой версии шаблона, перенося изменения шаблона и сохраняя вашу собственную работу.
Похожие скиллы
diffs
394kПозволяет агенту создать настоящее сравнение правок в виде ссылки или файла изображения, которым можно поделиться, вместо ручной сводки.
coding-agent
394kПомогает агенту передать большую задачу по коду в Codex, Claude Code или OpenCode как фоновому исполнителю, а затем проверять ее ход.
gh-issues
394kПомогает агенту находить задачи GitHub, выбирать, над какими работать, и открывать запросы на слияние с исправлениями, включая ответы на комментарии рецензентов.