nocobase-ui-builder
Original:🇨🇳 Chinese
Translated
55 scripts
Create, read, update, move, and delete NocoBase Modern page (v2) pages and blocks via MCP; validation, review, and smoke testing are only initiated when explicitly requested by the user.
8installs
Sourcenocobase/skills
Added on
NPX Install
npx skill4agent add nocobase/skills nocobase-ui-builderTags
Translated version includes tags in frontmatterSKILL.md Content (Chinese)
View Translation Comparison →Objective
Process NocoBase Modern page (v2) pages and blocks using the and MCP tools.
desktopRoutesflowModelsThis skill covers:
- create / read / update / move / delete pages, tabs, blocks, actions, JS models
- structured delivery driven by route-ready, readback, payload guard
- validation / review / improve / smoke, but only initiated when explicitly requested by the user
The top-level only retains trigger boundaries, unified entry points, a small number of hard gates, and final reporting axes. Specific task routing, recipes, block/pattern/JS contracts are all subject to the following canonical docs:
SKILL.md- references/index.md
When to Trigger
- The user wants to create, read, update, move, or delete Modern page (v2) pages or blocks
- The user wants to modify existing Modern pages using /
desktopRoutes v2flowModels - The user requests route-ready, readback, guard, or structured validation conclusions
- The user explicitly requests validation / review / improve / smoke / browser validation
When Not to Trigger
- Only handling collections / fields / relations: use instead
nocobase-data-modeling - Only handling workflows: use instead
nocobase-workflow-manage - Only doing MCP installation or connection: use instead
nocobase-mcp-setup
Unified Entry Point
- First open references/index.md.
- Read the corresponding canonical docs, recipes, block docs, pattern docs, JS docs according to task routing.
- Except for built-in pipelines like /
rest_validation_builder.mjs, writing is only executed viarest_template_clone_runner.mjsby default.node scripts/ui_write_wrapper.mjs run --action <create-v2|save|mutate|ensure> ... - The wrapper internally handles ; do not manually split the process at the outer layer.
start-run -> guard -> write -> readback - Validation / review / improve are only initiated when explicitly requested by the user; /
browser_attachshould be marked assmokeif browser validation is not performed.skipped
Default Hard Gates
- Do not guess the structure of , slot, or
useif detection is possible.requestBody - Must execute before any detection or write operation; do not detect first and then supplement logs.
start-run - Bare /
PostDesktoproutes_createv2/PostFlowmodels_save/PostFlowmodels_mutateare disabled by default; agents can only usePostFlowmodels_ensureor builder pipelines with a complete built-in validation chain by default.ui_write_wrapper.mjs - and
preflight_write_gate.mjsare now underlying/compatibility components and are no longer the default agent entry points; do not manually split into "gate first, write manually, then supplement readback manually".flow_write_wrapper.mjs - A successful only means
createV2; do not report that the page is ready without evidence of route-ready and anchor readback.page shell created - An return from
ok/save/mutateonly means the request was submitted successfully; the final result is subject to subsequent readback.ensure - By default, apply partial patches to existing pages; do not rebuild the entire page tree for local changes.
- Internal, unparsed, or high-risk model/use that are not approved by schema / graph cannot be written directly.
- Do not actively attach / launch the browser unless the user explicitly requests to open the browser, access the page, or perform runtime / smoke validation.
- Validation conclusions must be split into ,
page shell,route-ready,readback,data; cannot be merged into a single "success".runtime - Live tree patches are prohibited from reparenting via "old uid + new parent/subKey/subType"; when moving, cloning, or remounting business subtrees, fresh remap descendants by default instead of reusing old block uids.
- If and
gridSettings.rowsmembers are inconsistent, it is considered a high-risk bad tree; ifsubModels.itemsbut readback does not have stablesave ok/ slot membership, do not report success under any circumstances.items
Validation / Review Subpath
Only enter this branch when the user explicitly requests validation / review / improve / smoke:
- Structured validation rules can be found in references/validation.md
- Rules for run log, phase/gate, report, improve can be found in references/ops-and-review.md
If the user does not explicitly request browser validation:
- Only proceed to the route-ready, readback, data-ready stage
- Mark /
browser_attachassmokeskipped (not requested) - Report as
runtime-usablenot-run
Final Reporting Axes
The final explanation and review report must separately report at least these axes by default:
pageShellCreatedrouteReadyreadbackMatcheddataReadyruntimeUsablebrowserValidationdataPreparationpageUrl
Allowed conservative states include:
not-recordedevidence-insufficientskipped (not requested)not-run
Do not write "the page is ready to open" or "has been saved to the database" without route-ready or readback evidence.
If a page was actually created or updated in this round, and the , candidate page URL, or other derivable address can be obtained, the final result must provide the actual page URL for the user to click and view; only explain the blocking reason if it is truly impossible to derive.
adminBase