본문으로 건너뛰기
Skillpedia
일반 코딩25k · #10098

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/nocobase/nocobase/blob/v3-develop/packages/plugins/app-plugin-foundation/skills/nocobase-app-plugin-foundation/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 앱이 어떤 NocoBase 기능을 쓰는지 볼 수 있도록 App Foundation 페이지를 추가해 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

AI는 플러그인과 페이지를 등록합니다. 플러그인은 저장된 스캔 결과를 읽고, 요청할 때 백그라운드 스캔을 실행하므로 페이지가 빠르게 로드됩니다.

기술 내용 (원본 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). Exports foundationServiceToken, whose snapshot(), scanStatus() and ensureScan({ refresh?, countRecords? }) read saved data and submit background scans. Compatibility overview() reads a saved overview or reports FOUNDATION_PENDING.
  • Server route: GET /api/foundation/overview returns durable scan state and an optional overview. Use POST /api/foundation/ensureScan, /refresh or /countRecords to 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 gets 403 with reason FOUNDATION_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 /foundation with a menu entry; options path, navigation: false, routes: false and settingsGroup: true. The default template uses settingsGroup: true so a bare application already has a localized settings group containing only the protected Foundation page.
  • Page component: FoundationPage from @nocobase/app-plugin-foundation/client/pages, for an application that routes it itself (foundation({ routes: false })). Declare such a route with authz: '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

  1. Add the dependency and register the server plugin in server/plugins.ts and the client plugin in client/plugins.ts.
  2. Restart the application and open /foundation as an administrator holding the root Permission Set.
  3. 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 noChannel or noDrive.
  • 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 agAgents record. 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
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬