Перейти к содержанию
Skillpedia
API и серверы (бэкенд)25k · #10080

nocobase-app-plugin-development

Что он делает

Этот скилл ведёт ИИ через создание плагинов NocoBase 3, которые добавляют функции в приложение. Он нужен разработчикам, которые расширяют приложение NocoBase многоразовым кодом.

Когда использовать

  • ✓Когда вы хотите добавить новый плагин в папку packages приложения NocoBase 3.
  • ✓Когда нужен плагин с клиентскими страницами и серверным кодом.
  • ✓Когда нужно зарегистрировать плагин, чтобы приложение его загрузило.

Ссылка на скилл

https://github.com/nocobase/nocobase/blob/v3-develop/packages/app/app-skills/skills/nocobase-app-plugin-development/SKILL.md

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/nocobase/nocobase/blob/v3-develop/packages/app/app-skills/skills/nocobase-app-plugin-development/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Можешь создать плагин NocoBase, который добавляет свою кнопку экспорта и её серверную конечную точку?”

5 новых скиллов в неделю. 1 минута чтения.

Как это работает

ИИ читает указания приложения и существующий код плагина, затем создаёт или обновляет клиентскую, серверную и базовую часть. Он регистрирует плагин, чтобы приложение его распознало.

Технический текст (оригинальный SKILL.md)

Оригинальный текст автора на английском, прямо с GitHub.

NocoBase Plugin Development

Use this Skill to develop a plugin in the user’s existing NocoBase 3 App. Read that App’s AGENTS.md, relevant installed Skills, and the plugin before editing. An App created by create-app identifies itself with nocobase.templateKind: "app" in package.json; its local plugins belong in packages/. Start from an installed App with working dependencies. If no App exists, use the available nocobase-create-app Skill first, then return here. Do not download the NocoBase source repository as a prerequisite.

This Skill ships with the App's installed @nocobase/app-skills; update it through a compatible App upgrade and pnpm nocobase skills sync, not by editing the generated copy or installing a global copy. Read it by its project path when an older global entry has the same name. The upgrade Skill describes retiring that global installation after a project replacement is verified.

For work explicitly in the NocoBase source repository, the repository links this same maintained Skill locally. Read .agents/rules/plugin-development.md from that repository root for source-only creation, registration and validation commands. An App does not need those repository files. Source paths in references are optional lookup locations; use installed exports, declarations and synchronized Skills to verify APIs for the App's version. Do not apply the legacy Plugin class, src/client-v2/ or nb scaffold plugin protocol. If the creation tool or App CLI lacks App-workspace support, report the incompatible packages instead of hand-building a scaffold or downloading the source repository.

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.

Task Read
Create a plugin, choose capabilities, change declarations, exports, dependencies, or public contracts Scaffolding and package contracts
Register, configure, upgrade, disable, unregister, or diagnose plugin integration Registration and lifecycle
Choose Client components, ServiceProviders, React Providers, configuration, or API access Client architecture
Define Server configuration defaults, environment mappings, validation, or browser-visible fields Plugin configuration
Build or change any plugin UI Shared UI design and host acceptance, then shadcn components and styling
Add business pages, menus, Tabs, route dialogs/drawers, child routes, or page overrides Client routing
Design configuration entities, settings permissions, routed editors and safe saves System settings
Define service contracts, Tokens, dependency injection, or lifecycle Services and Providers
Add HTTP endpoints, authorization, Repository operations, background jobs, or queues Server development
Name an /api path, choose its method, shape its response or error, or validate its input HTTP API rules
Add migrations, seeds, or package resource/checksum handling Database resources
Add or change text, locale resources, translated errors, or recipient-language messages Internationalization
Author, publish, install, upgrade, or remove App-owned editable Client source
Частые вопросы

Нужен ли исходный код NocoBase?

Нет. Скилл работает внутри установленного приложения.

Это для плагинов NocoBase 2?

Нет. Он для плагинов NocoBase 3.

Подходит ли он для функций, которые входят в само приложение?

Нет. Для функций, которые являются частью приложения, используйте скилл разработки приложения.

Подробности

Оригинальное описание автора

Create and maintain NocoBase 3 plugins inside an existing App or a NocoBase 3 source workspace, including Client, Server, CLI, database resources, UI Library integration, Plugin Skills, and registration. Use for App-local plugins under packages/ and source-workspace plugins or examples. Not for creating an App, application-only feature work, or legacy NocoBase 2 plugins.

repo: nocobase/nocobase

Популярность

Звёзды на GitHub
25k
Место в рейтинге
#10080
Лицензия
—
Обновлён
02.11.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы