nocobase-create-app
できること
公式の作成ツールを使い、NocoBase 3の新しいプロジェクトをローカルに作成し、設定して起動します。NocoBaseアプリの開発を始めたい人向けです。
使う場面
- ✓開発するための新しいNocoBase 3プロジェクトを作りたいとき。
- ✓まだアプリがないマシンに、NocoBaseをインストールまたは設定したいとき。
- ✓ローカルでの開発のために、新しいプロジェクトを設定して起動する必要があるとき。
スキルのリンク
https://github.com/nocobase/nocobase/blob/v3-develop/skills/nocobase-create-app/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私のコンピューターに新しいNocoBase 3プロジェクトを作り、試せるように起動してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
AIは作成ツールを実行し、設定コマンドで設定を行い、確認してからプロジェクトを起動します。その後、アプリ自身のガイダンスファイルに引き継ぎます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Create a NocoBase 3 application
This Skill gets a new project created, configured and running locally: source code to develop, not a built application to deploy. It does not describe how to develop one: the moment the application exists, its own AGENTS.md and .agents/skills/ take over. Those match the version that was installed and this Skill does not, so prefer them wherever the two differ.
Before you start
If the working directory already holds a NocoBase application — a
package.jsonwith anocobasefield, next to anAGENTS.md— do not use this Skill. Read thatAGENTS.mdand continue from it.NocoBase 3 is created with
pnpm create @nocobase/app@beta. Never fall back to NocoBase 2 instructions or thenbCLI, including when a package cannot be found; see Troubleshooting instead.Check the request is this Skill's. A project is source code someone changes, developed locally; an installation is a built NocoBase that only runs, usually in production, and belongs to
nocobase-app-installer:The user asks to Skill Install, create, set up or try NocoBase, to develop with This one Deploy an application to production or a server nocobase-app-installer,--archiveHand a request to deploy over to
nocobase-app-installer, and stop here.On Windows, work in WSL. The commands below assume a POSIX shell such as Bash; the subshell and the inline environment variable do not work in PowerShell or cmd.
Check
node --version(24 or later) andpnpm --version(11). If either is missing or does not match, stop before creating anything and tell the user:- which tool is missing or which version was found, and which version is required;
- the command to install it on their operating system, preferring a version manager they already use, such as
nvm install 24orfnm install 24, and for pnpmcorepack enable && corepack prepare pnpm@11 --activateornpm install -g pnpm@11; - to open a new shell afterwards, so the new version is on
PATH.
Do not install either yourself unless the user asks. Check both versions again before continuing.
Create the application in the directory the user names, or in the current directory when it is empty. The directory must be new or empty, and its name becomes the application name: it starts with a lowercase letter or digit and contains only lowercase letters, digits, dots, dashes and underscores. If the directory is not empty or its name is invalid, ask the user for another one. Never overwrite files, and never create a nested project and move its files afterwards.
Create
pnpm create @nocobase/app@beta does not accept . as the name. Run it from the parent directory with the target directory's name, which generates the files directly into it:
(cd <parent-directory> && PNPM_CONFIG_MINIMUM_RELEASE_AGE=0 npm_config_registry="${NOCOBASE_REGISTRY:-https://registry.npmjs.org}" pnpm create @nocobase/app@beta <name> --template-tag=beta --json)
- NocoBase 3 packages,
@nocobase/create-appincluded, are published to the public npm registry. The command sets that registry only for this process while allowingNOCOBASE_REGISTRYto select a private registry or an unreleased local snapshot;create-appuses the same registry for the template and dependency installation, and records only a non-public override in the project's.npmrc. Leave the user's pnpm configuration unchanged. - Use the
betachannel for both the creation tool (@nocobase/app@beta) and the template (--template-tag=beta); selecting only the tool does not select the template channel. Do not fall back tolatestifbetacannot be resolved. An explicit version or local snapshot requested by the user takes precedence. NOCOBASE_REGISTRYis set only when the shell is pointed at another registry, such as an unreleased snapshot;create-appreads it too.PNPM_CONFIG_MINIMUM_RELEASE_AGE=0lets pnpm install versions published minutes ago.--jsonnever prompts. It prints one JSON document on stdout and progress on stderr, so parse stdout only. It is the envelope everypnpm nocobase … --jsoncommand prints:oksays w
よくある質問
サーバーへのデプロイ用ですか?
いいえ。デプロイはインストーラーのスキルが扱います。
NocoBase 2を使いますか?
いいえ。作成されるのはNocoBase 3のプロジェクトだけです。
フォルダにすでにアプリがある場合はどうなりますか?
新しいアプリを作らず、そのアプリ自身のガイダンスに従って作業を続けるよう、このスキルは説明しています。
詳細
作者による元の説明
Create a NocoBase 3 project to develop, locally, with `pnpm create @nocobase/app@beta`, configure it with `pnpm nocobase config init`, `config set` and `config check`, start it, and hand over to the application's own guidance. Use when the user asks to install, create, set up or try NocoBase to develop with, and the working directory holds no NocoBase application yet. Not for deploying to production, which belongs to the `nocobase-app-installer` Skill. Not for NocoBase 2 or the `nb` CLI, and not for work inside an existing application, which carries its own AGENTS.md and Skills.
repo: nocobase/nocobase
人気
- GitHubのスター
- 25k
- ランキング
- #10109
- ライセンス
- —
- 更新日
- 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一時的なクラウドマシン上でアプリを開いて実行し、そのビューをチャットのサイドパネルに表示するようエージェントを支援します。