본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)25k · #10109

nocobase-create-app

하는 일

이 스킬은 공식 생성 도구로 로컬에 새 NocoBase 3 프로젝트를 만들고, 설정하고, 시작합니다. NocoBase 앱 개발을 시작하려는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓개발할 새 NocoBase 3 프로젝트를 만들고 싶을 때.
  • ✓아직 앱이 없는 컴퓨터에 NocoBase를 설치하거나 설정해 달라고 요청할 때.
  • ✓로컬 개발을 위해 새 NocoBase 프로젝트를 설정하고 시작해야 할 때.

스킬 링크

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

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

사용 방법

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

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

Use this skill to help me: https://github.com/nocobase/nocobase/blob/v3-develop/skills/nocobase-create-app/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 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.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
자주 묻는 질문

서버 배포용인가요?

아니요. 배포는 설치 프로그램 스킬이 다룹니다.

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.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬