nocobase-app-plugin-foundation
What it does
This skill adds the App Foundation admin page to a NocoBase 3 app. The page shows which core capabilities are in use, need setup, or are not used. It is for administrators who want to review an app's setup.
When to use it
- ✓When you want an admin page that shows which NocoBase capabilities the app uses.
- ✓When someone asks why a capability shows as needing setup or as not used.
- ✓When you need to move or remove the App Foundation page from the menu.
Skill link
https://github.com/nocobase/nocobase/blob/v3-develop/packages/plugins/app-plugin-foundation/skills/nocobase-app-plugin-foundation/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Can you add the App Foundation page so I can see which NocoBase capabilities my app is using?”
5 new skills a week. 1 minute to read.
How it works
The AI registers the plugin and its page. The plugin reads saved scan results and runs background scans when asked, so the page loads quickly.
Technical content (original SKILL.md)
Original text by the author, straight from 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
FAQ
Who can see the page?
Only users with unrestricted access. It is not meant to be granted to other roles.
Does it manage business permissions?
No. It is a status view and does not manage business permissions.
Does every page load count all business tables?
No. Ordinary loads and refreshes do not count every business table.
Details
Original description by the author
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
Popularity
- GitHub stars
- 25k
- Ranking position
- #10098
- License
- —
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
nocobase-app-development
25kHelps your agent build pages, routes, data, permissions, and tests for a complete NocoBase 3 business application.
shadcn
25kHelps your agent find, add, fix, and style shadcn/ui components in a web project, using their official docs and registries.
nocobase-app-plugin-development
25kHelps your agent create and maintain NocoBase 3 plugins inside an existing app, including server, client, database, and registration parts.
nocobase-app-upgrade
25kHelps your agent upgrade a NocoBase app to a newer template release, bringing in template changes while keeping your own work.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.