nocobase-ai-builder
FreeNo executable scriptsNot checkedNocoBase 2 only; never use in a NocoBase 3 project. Design, build, and verify source-code applications in NocoBase AI Portals based on…
by nocobase★ 54 GitHub starsAbout this skill
Goal
Turn a user's business request into a coherent, production-shaped AI Portal application. Own both product design and source implementation: do not stop at a mechanical CRUD example when the user has not supplied detailed information architecture, page composition, copy, or visual direction.
Entry Contract
- Use this skill for every development request after a Portal record has been resolved with
portalType === "ai". - Consume the resolved Portal name, environment, and local source path from
nocobase-portal-managewhen available. Do not resolve a different Portal inside this skill. - Do not begin source edits without a real local source directory. If the selected AI Portal's
developmentPath/localPath/ local source path is empty innb portal list -jornb portal info <portal> -j, runnb portal pull <portal>first through the Portal workflow, read the Portal info/list again, then enter the pulled development directory before applying this skill. - Reject source storage configuration as a working directory.
sourceStorage,git_repo,git_branch,git_path,--git-path, repository subdirectories, and deployment/storage paths identify where Portal source is stored for pull/push/deploy; they are not the local development directory for source edits unlessnb portal pullreadback explicitly returns the same path asdevelopmentPath/localPath. - When the user is already working in a recognizable AI Portal source project, use that project directly unless the request identifies another Portal.
- Treat
@nocobase/portal-template-defaultas the canonical base-template package. Unless the user explicitly narrows the request, upgrading a Portal means safely applying the latest base-template source changes to the user project, together with required@nocobase/portal-sdkand installed Registry migrations; it never means only changing package or compatibility versions. - Treat the original build request as authorization to edit and verify that Portal source. Do not ask for a second code-edit confirmation.
- Read the project's
AGENTS.mdand applicable local instructions before changing files. - Preserve unrelated worktree changes. Do not push or deploy unless the user requests it.
Required Workflow
1. Inspect the current application
Use question-driven, progressive discovery before designing or writing code. Do not build a complete inventory of the repository as a routine prerequisite.
Scope discovery to the current task or milestone. Inspect application source only when it answers a concrete question or supports the current change, and defer unrelated layers until they become relevant.
- Read the project instructions, package scripts, and the route or feature entry points directly relevant to the request.
- Search by filename, symbol, route, export, or import before opening files. Inspect the closest matching implementation and only the direct dependencies needed to understand its public contract.
- Identify the relevant branding, navigation, theme, authentication, ACL, i18n, API, and asset conventions from those files. Expand the search only when a specific unanswered question blocks a safe implementation.
- Confirm collections, fields, associations, and actions from real NocoBase metadata, Swagger documents, responses, or existing code. When API integration is in scope, use
nb api swagger list/getto read the narrowest relevant document namespace. Never invent backend contracts. - For a new or substantially redesigned system, identify the template demo surface that must be replaced without auditing unrelated Registry items or application features.
Stop exploring once the target location, closest applicable implementation contract, any API contract required by the task, and a suitable verification path are known. Do not recursively read src, registry, or src/extensions merely to gain general confidence. Repository-wide inspection is reserved for an explicit audit, upgrade, migration, or cross-cutting refactor.
When a requested server-backed capability has no reliable existing example, reading Swagger is required before claiming it can be implemented. Locate and fetch the relevant collection or plugin namespace, then confirm the endpoint, method, parameters, request body, response, and documented permission expectations. If the required capability is absent from the available documents, do not guess an API or present the feature as supported; report the missing contract and determine whether a backend or plugin change is required.
When the active milestone edits application structure or UI foundations, read Project Conventions. When it implements data, authentication, i18n, runtime configuration, or assets, read NocoBase Runtime.
2. Design the system before coding
At the start of system design, explicitly ask whether the user wants internationalization. If yes, confirm the primar
Install nocobase-ai-builder in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the nocobase-ai-builder skill do?
NocoBase 2 only; never use in a NocoBase 3 project. Design, build, and verify source-code applications in NocoBase AI Portals based on @nocobase/portal-template-default. This skill is mandatory whenever the selected Portal has portalType "ai". Use it for complete systems, pages, navigation, CRUD, dashboards, forms, dialogs, drawers, URL-addressable subpages, authentication UI, frontend access control, localization, themes, NocoBase API integration, responsive design, test-driven verification, and safe upgrades of existing Portal template, SDK, and Registry source.
How do I install the nocobase-ai-builder skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the nocobase-ai-builder skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
by Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
by Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
by Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
by Anthropic