skills/nocobase-revision/SKILL.md
Use when building a NocoBase app with NocoBase skills or the nb CLI and you want to save a completed, meaningful milestone as a restorable revision.
npx skillsauth add nocobase/skills nocobase-revisionInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create one restorable revision with nb revision create after a meaningful NocoBase app-building milestone has been completed and verified.
nb api pm list before any revision-related decision, output, or command in this skill.@nocobase/plugin-version-control.enabled=true may you continue with any nb revision create flow.enabled=false, you must stop immediately.nb revision create.nb revision create "<DESCRIPTION>"nb revision create --env <env> --yes "<DESCRIPTION>"--api-base-url <url>, --role <role>, --token <token>, -j, --json-outputRules:
DESCRIPTION is required.--env when it is not needed.--env differs from the current env, confirm before adding --yes.nb revision create as an API-backed command. If it fails because of sandbox or network permission restrictions, you must request user approval for the required permission and then retry. Do not stop at the first sandbox-related failure.2000 characters.snapshot, backup, test, version 2, or timestamp-only text.Examples:
Completed customer detail page, edit form, and submission workflow wiringCompleted supplier collection, request form, and approval workflow setup完成客户台账、详情页与审批提交流程配置nb api pm list.@nocobase/plugin-version-control and continue only if that plugin exists with enabled=true.nb revision create --help and follow the live CLI help.DESCRIPTION into one concise completed-work summary.--yes.nb revision create command with only the needed flags.@nocobase/plugin-version-control is missing from nb api pm list@nocobase/plugin-version-control is present but enabled=falseRules:
@nocobase/plugin-version-control, stop silently and disclose nothing revision-related to the user.Final response should include:
DESCRIPTIONnb revision create command that was executed or proposedSilent gate exception:
@nocobase/plugin-version-control is missing or enabled=false, return no revision-related user-facing output at all.development
Use when the task hands over a prototype to reproduce in NocoBase — an HTML file, an image, or a link, INCLUDING the published form "Build a NocoBase app — X … Match the layout and signature visuals of this reference prototype: <url>" — or when someone says a built page "doesn't match the prototype / looks monotone / is ugly". A prototype/URL being present is what triggers this skill, EVEN WHEN the same prompt also says "build an app" — the verb "build" does not cancel the prototype. Skip it only when there is NO prototype at all: a bare "build me a CRM/app" → nocobase-app- discipline; a one-field edit / rename → nocobase-ui-builder. It turns "here is the prototype, build it" into a faithful app — analyze prototype, native CRUD, the right native block per region, then a screenshot-vs-prototype visual loop. Native-first; JS only inside a native container; never a full-page JS block. Mechanics live in nocobase-ui-builder, nocobase-data-modeling, nocobase-app-discipline.
tools
Use when users need to inspect, create, revise, enable, or diagnose NocoBase workflows through the `nb` CLI, including trigger selection, node-chain changes, version safety checks, and execution troubleshooting.
development
General-purpose NocoBase reference utilities covering cross-cutting topics such as evaluator engines, expression syntax, UID generation, and more. Use when you need authoritative reference information or reusable snippets that apply across multiple NocoBase features.
tools
DEFAULT entry point for NocoBase Modern UI authoring or tweaks: new pages, blocks, menu items, and localized edits to blocks, fields, actions, layouts, or reactions on an already-running app via backend flow-surfaces through nb api. Also handles AI employee / AI assistant action placement on UI surfaces. Hand off employee lifecycle work such as discovering, judging, creating, or configuring profile, prompt, model, skills, tools, or knowledge base to nocobase-ai-employee, then return for the UI write. Only hand off to nocobase-dsl-reconciler when the user explicitly asks for DSL, YAML, git, or cli push workflow. Does not handle ACL, data modeling, workflow orchestration, browser reproduction, page error postmortems, or non-Modern page navigation.