nocobase-app-plugin-demo-mode
できること
専用のデータベースを持つNocoBase 3のデモサイトを設定し、実行します。架空のデータで生成された、共有の公開デモを用意したいチーム向けです。
使う場面
- ✓架空のデータを使った、NocoBaseアプリの公開デモサイトが欲しいとき。
- ✓デモサイトのデータを、スケジュールに従ってリセットする必要があるとき。
- ✓デモで訪問者がすぐにサインインでき、書き込みも保護される必要があるとき。
スキルのリンク
https://github.com/nocobase/nocobase/blob/v3-develop/packages/plugins/app-plugin-demo-mode/skills/nocobase-app-plugin-demo-mode/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“毎晩リセットされる架空の顧客データを使った、NocoBaseの公開デモサイトを設定してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
AIはDemo Modeプラグインを登録し、アプリのデータに接続します。その後、プラグインが架空のデータを生成し、書き込みを保護し、スケジュールに従ってサイトをリセットします。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Demo Mode
Use @nocobase/app-plugin-demo-mode for a dedicated demo with its own database and storage. The plugin supplies data lifecycle, visitor accounts, write protection, management components and optional simulation. The application supplies its business records, cleanup and external adapters. Simulation adapters and demo chat are enabled by default once integrated, without AI switches on the management page; the application chooses which flows to connect.
Check that this Skill applies
Demo Mode refuses ordinary writes, resets data daily and deletes all business data on clear/reset. Apply it only when the user asks for a demo deployment with those properties, names this plugin or Demo Mode, or the application already depends on it. Otherwise use the matching workflow:
| Request | Use instead |
|---|---|
| Example or sample records, such as “add some demo customers” | The application development Skill's sample-data workflow |
| A trial, staging, test or customer environment where users keep their own data | The nocobase-deployment Skill; an ordinary deployment without it |
| A payment, mail or other provider's sandbox account or test credentials | That integration's configuration |
| An in-app “demo/presentation mode” feature, such as hiding fields while screen-sharing | Ordinary feature development |
When the request could mean either a Demo Mode deployment or one of these, ask which one the user wants before registering the plugin, enabling it or adding full-business cleanup. For a confirmed dedicated demo, reuse the user's established deployment, language and role choices, and clarify any unresolved deployment or cleanup scope: clear/reset removes all business data in the demo instance, including visitor additions.
Keep protection proportionate
A demo is a public showcase: anyone may enter any listed account, administrators included, and the fictional data is reset daily. Protect only what lies outside the demo: a dedicated database and storage, no real credentials or customer data, and no real external effects such as mail, payments, publishing or real models. Inside the demo, use the application's existing permissions as they are and the plugin's defaults. Do not add hardening such as ownership rechecks, rate limits, confirmation steps, management restrictions for dataset accounts or security-focused tests unless the user asks; prefer the simplest integration that shows the requested journeys.
Integration workflow
- Confirm the target and enable. Check the dedicated deployment, then complete enable the deployment and its verification. Check the required host capabilities below.
- Provide the dataset. Adapt the application's business services using data adaptation. For a new application with no business domain, use the executable non-AI example. Register one dataset on the original
demoDataTokenin an application provider'sboot(); registration does not generate records. - Adapt interactions. Keep normal business authorization. Enable collection write exceptions for visitor mutations. The guard covers request-scoped database writes; adapt external calls and background work where the application has them. Read simulation only for AI or Runner flows the demo uses.
- Provide entry and management. Mount
DemoModeSettingsfrom@nocobase/app-plugin-demo-mode/client/settingson an application-owned page inside the application's existing System management (settings) navigation group, protected bysettings:demoMode.data/read. Wrap its route declarations withdemoModeRoutes([...])from@nocobase/app-plugin-demo-mode/clientso both the menu and route are absent outside Demo Mode, including for root.defineDemoModeConfig()publishes the enabled flag automatically; existing applications must adopt the helper. Grant
よくある質問
実際の顧客向けのサイトに使うべきですか?
いいえ。すべての業務データを消去してリセットするので、デモサイトにだけ使ってください。
訪問者は自分のデータを保存できますか?
いいえ。デモサイトでは、通常の書き込みは拒否されます。
AIモデルが必要ですか?
いいえ。シミュレーションは任意で、どのフローを接続するかはアプリケーションが選びます。
詳細
作者による元の説明
Build, enable or operate a dedicated NocoBase 3 demo deployment with @nocobase/app-plugin-demo-mode: a public, shared demo site whose fictional data is generated, cleared and reset, with quick visitor sign-in, write protection and optional model or Agent simulation (公开演示站、只读演示、定时重置的演示环境、 Demo Mode). Also use when changing business collections, external integrations or background jobs in an application that already depends on this plugin, so its demo dataset, cleanup and adapters stay complete. Not for example records (use the application development Skill's sample-data workflow), ordinary tria
repo: nocobase/nocobase
人気
- GitHubのスター
- 25k
- ランキング
- #10096
- ライセンス
- —
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
nocobase-app-development
25kエージェントが、NocoBase 3の完全なビジネスアプリケーションのために、ページ、ルーティング、データ、権限、テストを作れるよう支援します。
shadcn
25kエージェントが、公式のドキュメントとレジストリを使い、Webプロジェクトの shadcn/uiコンポーネントを見つけ、追加し、修正し、スタイルを整えられるよう支援します。
nocobase-app-plugin-development
25kエージェントが、既存のNocoBase 3アプリの中で、サーバー、クライアント、データベース、登録の部分を含むプラグインを作成し、保守できるよう支援します。
nocobase-app-upgrade
25kエージェントが、NocoBaseのアプリを新しいテンプレートのリリースにアップグレードし、テンプレートの変更を取り込みつつ、あなた自身の作業を保てるよう支援します。
似ているスキル
openclaw-update
394k既存のOpenClaw Gatewayを更新するようエージェントを支援します。インストール方法に合った更新方法を選び、セッションを動かし続けます。
diagnose-gateway
394k設定、チャンネル、ポートを確認して、OpenClaw Gatewayが失敗している理由を、何も変更せずに突き止めるようエージェントを支援します。
crabbox-apps
394k一時的なクラウドマシン上でアプリを開いて実行し、そのビューをチャットのサイドパネルに表示するようエージェントを支援します。