Zum Inhalt springen
Skillpedia
Deployment & Cloud (DevOps)25k · #10109

nocobase-create-app

Was er macht

Dieser Skill legt mit dem offiziellen Create-Tool lokal ein neues NocoBase-3-Projekt an, konfiguriert es und startet es. Er richtet sich an Personen, die eine NocoBase-App entwickeln wollen.

Wann du ihn nutzt

  • ✓Wenn du ein neues NocoBase-3-Projekt zum Entwickeln anlegen willst.
  • ✓Wenn du NocoBase auf einem Rechner installieren oder einrichten willst, auf dem noch keine App existiert.
  • ✓Wenn du ein neues NocoBase-Projekt fĂŒr die lokale Entwicklung konfigurieren und starten musst.

Link zum Skill

https://github.com/nocobase/nocobase/blob/v3-develop/skills/nocobase-create-app/SKILL.md

Kopiere ihn und fĂŒge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und fĂŒge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum EinfĂŒgen

Nutze diesen Skill, um mir zu helfen: https://github.com/nocobase/nocobase/blob/v3-develop/skills/nocobase-create-app/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen fĂŒr meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Kannst du auf meinem Computer ein neues NocoBase-3-Projekt anlegen und starten, damit ich es ausprobieren kann?”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Agent fĂŒhrt das Create-Tool aus, setzt die Konfiguration mit den config-Befehlen, prĂŒft sie und startet das Projekt. Danach ĂŒbergibt er an die Anleitungsdateien der Anwendung selbst.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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.json with a nocobase field, next to an AGENTS.md — do not use this Skill. Read that AGENTS.md and continue from it.

  • NocoBase 3 is created with pnpm create @nocobase/app@beta. Never fall back to NocoBase 2 instructions or the nb CLI, 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, --archive

    Hand 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) and pnpm --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 24 or fnm install 24, and for pnpm corepack enable && corepack prepare pnpm@11 --activate or npm 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-app included, are published to the public npm registry. The command sets that registry only for this process while allowing NOCOBASE_REGISTRY to select a private registry or an unreleased local snapshot; create-app uses 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 beta channel 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 to latest if beta cannot be resolved. An explicit version or local snapshot requested by the user takes precedence.
  • NOCOBASE_REGISTRY is set only when the shell is pointed at another registry, such as an unreleased snapshot; create-app reads it too.
  • PNPM_CONFIG_MINIMUM_RELEASE_AGE=0 lets pnpm install versions published minutes ago.
  • --json never prompts. It prints one JSON document on stdout and progress on stderr, so parse stdout only. It is the envelope every pnpm nocobase 
 --json command prints: ok says w
HĂ€ufige Fragen

Ist das fĂŒr die Bereitstellung auf einem Server?

Nein. Die Bereitstellung wird vom Installer-Skill abgedeckt.

Verwendet er NocoBase 2?

Nein. Er erstellt nur NocoBase-3-Projekte.

Was passiert, wenn der Ordner schon eine App enthÀlt?

Laut Skill soll der Agent mit den Anleitungen dieser App weitermachen, statt eine neue anzulegen.

Details

Originalbeschreibung des Autors

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

Beliebtheit

GitHub-Sterne
25k
Platz im Ranking
#10109
Lizenz
—
Aktualisiert
2.11.2026

Ist dieser Skill nĂŒtzlich?

0

Anmelden um abzustimmen.

Kommentare

  • 


Weitere Skills aus diesem Repository

Ähnliche Skills