nocobase-app-plugin-development
できること
このスキルは、アプリに機能を追加するNocoBase 3のプラグインを作るようAIを導きます。再利用できるコードでNocoBaseアプリを拡張する開発者向けです。
使う場面
- ✓NocoBase 3アプリのpackagesフォルダの下に、新しいプラグインを追加したいとき。
- ✓クライアントのページとサーバーのコードの両方を持つプラグインが必要なとき。
- ✓アプリが読み込めるように、プラグインを登録する必要があるとき。
スキルのリンク
https://github.com/nocobase/nocobase/blob/v3-develop/packages/app/app-skills/skills/nocobase-app-plugin-development/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“カスタムのエクスポートボタンと、そのサーバーのエンドポイントを追加するNocoBaseのプラグインを作ってもらえますか。”
毎週5つの新しいスキル。1分で読めます。
仕組み
AIは、アプリのガイダンスとプラグインの既存のコードを読み、クライアント、サーバー、データベースの部分を作成または更新します。アプリがそのプラグインを認識するように、プラグインを登録します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
NocoBase Plugin Development
Use this Skill to develop a plugin in the user’s existing NocoBase 3 App. Read that App’s AGENTS.md, relevant installed Skills, and the plugin before editing. An App created by create-app identifies itself with nocobase.templateKind: "app" in package.json; its local plugins belong in packages/. Start from an installed App with working dependencies. If no App exists, use the available nocobase-create-app Skill first, then return here. Do not download the NocoBase source repository as a prerequisite.
This Skill ships with the App's installed @nocobase/app-skills; update it through a compatible App upgrade and pnpm nocobase skills sync, not by editing the generated copy or installing a global copy. Read it by its project path when an older global entry has the same name. The upgrade Skill describes retiring that global installation after a project replacement is verified.
For work explicitly in the NocoBase source repository, the repository links this same maintained Skill locally. Read .agents/rules/plugin-development.md from that repository root for source-only creation, registration and validation commands. An App does not need those repository files. Source paths in references are optional lookup locations; use installed exports, declarations and synchronized Skills to verify APIs for the App's version. Do not apply the legacy Plugin class, src/client-v2/ or nb scaffold plugin protocol. If the creation tool or App CLI lacks App-workspace support, report the incompatible packages instead of hand-building a scaffold or downloading the source repository.
Choose the relevant references
These English references adapt the plugin development guide into task-specific instructions. Read the rows relevant to the task; do not load the entire reference set by default.
| Task | Read |
|---|---|
| Create a plugin, choose capabilities, change declarations, exports, dependencies, or public contracts | Scaffolding and package contracts |
| Register, configure, upgrade, disable, unregister, or diagnose plugin integration | Registration and lifecycle |
| Choose Client components, ServiceProviders, React Providers, configuration, or API access | Client architecture |
| Define Server configuration defaults, environment mappings, validation, or browser-visible fields | Plugin configuration |
| Build or change any plugin UI | Shared UI design and host acceptance, then shadcn components and styling |
| Add business pages, menus, Tabs, route dialogs/drawers, child routes, or page overrides | Client routing |
| Design configuration entities, settings permissions, routed editors and safe saves | System settings |
| Define service contracts, Tokens, dependency injection, or lifecycle | Services and Providers |
| Add HTTP endpoints, authorization, Repository operations, background jobs, or queues | Server development |
Name an /api path, choose its method, shape its response or error, or validate its input |
HTTP API rules |
| Add migrations, seeds, or package resource/checksum handling | Database resources |
| Add or change text, locale resources, translated errors, or recipient-language messages | Internationalization |
| Author, publish, install, upgrade, or remove App-owned editable Client source |
よくある質問
NocoBaseのソースコードが必要ですか?
いいえ。このスキルはインストール済みのアプリの中で動きます。
NocoBase 2のプラグイン向けですか?
いいえ。NocoBase 3のプラグインが対象です。
アプリ自体に属する機能のためのものですか?
いいえ。アプリ自体の機能には、アプリ開発のスキルを使ってください。
詳細
作者による元の説明
Create and maintain NocoBase 3 plugins inside an existing App or a NocoBase 3 source workspace, including Client, Server, CLI, database resources, UI Library integration, Plugin Skills, and registration. Use for App-local plugins under packages/ and source-workspace plugins or examples. Not for creating an App, application-only feature work, or legacy NocoBase 2 plugins.
repo: nocobase/nocobase
人気
- GitHubのスター
- 25k
- ランキング
- #10080
- ライセンス
- —
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
nocobase-app-development
25kエージェントが、NocoBase 3の完全なビジネスアプリケーションのために、ページ、ルーティング、データ、権限、テストを作れるよう支援します。
shadcn
25kエージェントが、公式のドキュメントとレジストリを使い、Webプロジェクトの shadcn/uiコンポーネントを見つけ、追加し、修正し、スタイルを整えられるよう支援します。
nocobase-app-upgrade
25kエージェントが、NocoBaseのアプリを新しいテンプレートのリリースにアップグレードし、テンプレートの変更を取り込みつつ、あなた自身の作業を保てるよう支援します。
nocobase-deployment
25kエージェントが、Studio、Node.js、またはDockerのサーバー上でNocoBase 3のアプリを計画、ビルド、デプロイし、動作を確認できるよう支援します。
似ているスキル
api-connector-builder
280kエージェントが既存のパターンに従って、新しいAPI連携を構築します。新しい方式を作らずに、もう一つ連携を追加したいときに使います。
api-design
280kエージェントがベストプラクティスに沿ってREST APIを設計できるようにします。APIの通信方法、エラーの表示方法、データの整理方法を決めるのに役立ちます。
backend-patterns
280kエージェントのサーバーサイドのアーキテクチャパターンとデータベースの最適化を支援します。サーバー上で動くコードを作成またはレビューするときに役立ちます。