MCPInstall
nocobase avatar

nocobase-app-plugin-development

Develop and maintain NocoBase v3 plugins in a NocoBase 3 source workspace, including scaffolding, shadcn UI, Client/Server/CLI contributions, database resources, UI Library integration, Plugin Skills, and target App registration. Use when creating or changing packages/plugins/app-plugin- or example plugins. Not for legacy NocoBase v2 plugins or application-only development.

Installs
93
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/nocobase/skills-v3 --skill nocobase-app-plugin-development
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads nocobase-app-plugin-development automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

NocoBase Plugin Development

Use this Skill for plugin source development in the NocoBase 3 repository. Read the applicable AGENTS.md and inspect the target plugin and App before editing. Confirm the workspace contains packages/tools/create-plugin/, packages/app/app-client/, packages/app/app-server/, and pnpm-workspace.yaml. A packages/plugins/ directory alone does not identify v3; do not apply the legacy Plugin class, src/client-v2/, or nb scaffold plugin protocol here.

Choose the relevant references

These English references adapt the plugin development guide into task-specific instructions. Read the rows relevant to the task; do not load the entire reference set by default.

TaskRead
Create a plugin, choose capabilities, change declarations, exports, dependencies, or public contractsScaffolding and package contracts
Register, configure, upgrade, disable, unregister, or diagnose plugin integrationRegistration and lifecycle
Choose Client components, ServiceProviders, React Providers, configuration, or API accessClient architecture
Define Server configuration defaults, environment mappings, validation, or browser-visible fieldsPlugin configuration
Build or change any plugin UIshadcn components and styling
Add business pages, menus, Tabs, route dialogs/drawers, child routes, or page overridesClient routing
Design configuration entities, settings permissions, routed editors and safe savesSystem settings
Define service contracts, Tokens, dependency injection, or lifecycleServices and Providers
Add HTTP endpoints, authorization, Repository operations, background jobs, or queuesServer development
Name an /api path, choose its method, shape its response or error, or validate its inputHTTP API rules
Add migrations, seeds, or package resource/checksum handlingDatabase resources
Add or change text, locale resources, translated errors, or recipient-language messagesInternationalization
Author, publish, install, upgrade, or remove App-owned editable Client sourceUI Library ownership
Expose a plugin's capabilities to the App AgentPlugin Skills
Add commands, CLI exports, or CLI registrationCLI plugins
Use @nocobase/app-testing for database, Server, Client or CLI tests and verify App integrationTesting and delivery
Follow one executable plugin through migrations, protected API, Client, configuration and CLI testsComplete testing example

For Realtime changes, check whether the target workspace or application provides a version-matched nocobase-realtime Skill from @nocobase/realtime; read it alongside the installed API declarations. Package integration guidance must match the target runtime version.

For worked implementations and tests, read the matching Server Route examples, ServiceToken and Provider examples, Client examples, or Repository examples. These supplement the topic references with concrete code and point to maintained source fixtures; adapt their explicit example access policies to the requested product.

Rules that apply before implementation

When creating a page or writing a page component, refer to Pages, routes, and menus for page component structure and route declarations. For nested pages, page-level navigation Tabs, route dialogs/drawers, or navigation groups, also read Child routes, Tabs, overlays, navigation groups, and Outlet. Before using the page and overlay examples, copy the required component source into the plugin. The examples import these plugin-owned copies through relative .js paths; the host's private breadcrumb component is excluded. For route overlay component availability and hook context boundaries, read route dialogs and drawers.

  • Use shadcn components for interactive UI primitives such as buttons, inputs, dialogs, selects, and Tabs. Read the component reference before UI work. Keep plugin-owned components in the plugin and align components.json with its package-local # imports and published dist mappings. Use the shared theme tokens for color, typography, spacing, size, radius, and shadow.
  • Use child routes for page-level navigation Tabs by default, even when the user does not mention routing. Declare each Tab's content as a child route, render Outlet in the parent page component, and derive the active Tab from the URL. When the parent URL is opened without a child route, redirect to the default accessible Tab by replacing the current history entry and preserving query parameters. Opening an explicit Tab URL must retain that Tab's selection. Follow an explicit user request for a different interaction.
  • Create plugins with pnpm plugin:create and explicit capabilities, including cli when needed. Preview with --dry-run --json. Keep the generated runtime-aware shared development configuration.
  • Keep declarations static and free of startup side effects. Lazy-load page components, locale messages, heavy SDKs, and genuinely optional features at their leaf boundaries. Pages are Routes, components are public/source exports, and neither is a separate runtime loader.
  • Translate all plugin copy into the ten supported languages (en-US, zh-CN, zh-TW, ja-JP, es-ES, pt-BR, fr-FR, de-DE, vi-VN, id-ID) in every Client and Server locale manifest, typed with the complete en-US resource. Libraries the plugin depends on that ship translations, such as @nocobase/i18n for @nocobase/app-plugin-i18n, are completed to all ten as well. A new or changed key is translated into all ten in the same change; application templates are exempt.
  • Reuse the host's API client through useApiClient() or apiClientToken; do not construct another application API client. Define shared service contracts and owner-created Tokens before implementations; consumers import the original Token.
  • A plugin contributes no settings or dev pages; defineAppRoutes() is the only Client route API. Expose administration as settings items and APIs, grouped by management area (for example, Automation contains Workflow and Schedules), and leave any page over them to the application. See System settings for declarations and server operation boundaries.
  • Every /api route follows the HTTP API rules: camelCase paths under the plugin's namespace, standard methods, { data } responses, ApiError for every failure (clients branch on reason), zod input validated through apiValidator(), and a describeRoute() declaration on every route for the application's OpenAPI document at /api/swagger/docs. Data endpoints are POST /api/{name}/{action} with camelCase exposure names and are documented without a declaration.
  • Each Server Route owns and tests its authentication and authorization, or its explicit public protocol boundary. Another contribution's middleware or registration order is not protection. Test the production contribution through createRouter().
  • Every Server plugin declares an absolute baseDir. Migrations, seeds, and Jobs resolve relative to it so compiled plugins use compiled resources. Migrations are explicit, self-contained, immutable after merge, and tested against a real database.
  • Plugin test fixtures come from @nocobase/app-testing/server, /client or /cli, declared in devDependencies. Use the test directory and fixture guide to select the environment, register the production plugin and keep databases and storage isolated.
  • Register Client, Server, and CLI exports explicitly in the corresponding target App composition roots. Installation, registration, Skills synchronization, and runtime behavior are separate facts; legacy manifest metadata is not runtime discovery.
  • Plugin integration knowledge is authored in <plugin>/skills/; the target App's .agents/skills/ is generated output. Editable UI is maintained in the UI Library; source installed into an App belongs to that App. This repository's development Skill is maintained source, distinct from either kind of output.
  • Follow the repository's dependency rules: shared runtimes and client value imports are peers, ordinary server runtime imports are dependencies, and development-only imports are devDependencies. A type reference retained in published declarations needs a consumer-resolvable contract.

Implementation workflow

  1. Inspect working-tree changes, plugin manifests, declarations, exports, tests, and the target App. Identify the requested behavior and who owns its data, UI, services, and integration code.
  2. Select capabilities and define the smallest public contracts: Client options/exports, Server Tokens/APIs, CLI commands, permission/error boundaries, and observable results. Use only the relevant references above.
  3. Implement in the owning plugin. Put domain behavior in Services, HTTP boundaries in Routes, asynchronous orchestration in Jobs, React context in React Providers, and application integration instructions in Plugin Skills.
  4. Keep declarations, source/publish exports, dependencies, published files, tests, README, and Plugin Skills consistent. Remove unused scaffold examples and drafts. Write each Markdown prose paragraph on one physical line, without manual line wrapping.
  5. When integration is part of the request, preview and apply registration to the chosen App, synchronize applicable Skills, and validate the resulting behavior. Do not run creation, registration, migration, or other stateful commands merely because this Skill applies.
  6. Follow testing and delivery: run the modified plugin's checks and relevant consumer checks, then verify the requested runtime workflow. plugin inspect is an optional read-only registration diagnostic, not a test or completion gate. Report results, skipped checks, and remaining limitations accurately.

FAQ

What does the nocobase-app-plugin-development skill do?

Develop and maintain NocoBase v3 plugins in a NocoBase 3 source workspace, including scaffolding, shadcn UI, Client/Server/CLI contributions, database resources, UI Library integration, Plugin Skills, and target App registration. Use when creating or changing packages/plugins/app-plugin- or example plugins. Not for legacy NocoBase v2 plugins or application-only development.

How do I install nocobase-app-plugin-development?

Run npx skills add https://github.com/nocobase/skills-v3 --skill nocobase-app-plugin-development in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/nocobase-app-plugin-development/ (personal) or .claude/skills/nocobase-app-plugin-development/ (project).

Which AI agents can use nocobase-app-plugin-development?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is nocobase-app-plugin-development safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains nocobase-app-plugin-development?

It is published by nocobase in nocobase/skills-v3. It has 93 recorded installs.

More from nocobase/skills-v3

View all →
nocobase avatar

nocobase-create-app

nocobase/skills-v3

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.

432 installs
nocobase avatar

nocobase-app-installer

nocobase/skills-v3

Deploy a built NocoBase 3 application locally or over SSH to an offline Linux server, for production, with @nocobase/app-installer from the deployment archive pnpm build --tar writes, then upgrade, roll back and check it. Use when the user asks to deploy an application to production or a server, to upgrade or roll back such an installation, or when the directory holds an installer.json written by app-installer. Not for creating a project to develop, which is the nocobase-create-app Skill.

DevOps & Cloud94 installs

Popular frontend & design skills

View category →
mattpocock avatar

setup-matt-pocock-skills

mattpocock/skills

Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.

Frontend & Design1.2M installs
anthropics avatar

frontend-design

anthropics/skills

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

OfficialFrontend & Design1.1M installs
mattpocock avatar

prototype

mattpocock/skills

Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.

Frontend & Design1.1M installs
uizze.sh avatar

ui-taste

uizze.sh

Give your coding agent better UI taste. Build and polish web and iOS interfaces with Uizze's anti-ui-slop playbooks and optional real-product references. Use for UI design, implementation, redesign, critique, or a final visual review in Claude Code, Codex, Cursor, or Copilot.

Frontend & Design1.1M installs
heygen-com avatar

hyperframes-animation

heygen-com/hyperframes

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

heygen-com avatar

hyperframes-core

heygen-com/hyperframes

The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

Frontend & Design931.3K installs