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) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Можешь создать плагин 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
Комментарии
- …
Другие скиллы из этого репозитория
nocobase-app-development
25kПомогает агенту создать страницы, маршруты, данные, права доступа и тесты для полного бизнес-приложения на NocoBase 3.
shadcn
25kПомогает агенту находить, добавлять, исправлять и оформлять компоненты shadcn/ui в веб-проекте по их официальной документации и реестрам.
nocobase-app-upgrade
25kПомогает агенту обновить приложение NocoBase до более новой версии шаблона, перенося изменения шаблона и сохраняя вашу собственную работу.
nocobase-deployment
25kПомогает агенту спланировать, собрать, развернуть и проверить приложение NocoBase 3 на сервере Studio, Node.js или Docker.
Похожие скиллы
api-connector-builder
280kАгент создаёт новые подключения к API по существующему шаблону. Используйте, когда нужна ещё одна интеграция без нового способа делать то же самое.
api-design
280kПомогает агенту проектировать REST API по лучшим практикам: как API общаются, как показываются ошибки и как организовать данные.
backend-patterns
280kПомогает агенту с архитектурными паттернами серверной части и оптимизацией баз данных. Полезен при создании и проверке серверного кода.