Zum Inhalt springen
Skillpedia
APIs & Server (Backend)25k · #10080

nocobase-app-plugin-development

Was er macht

Dieser Skill führt deine KI durch den Bau von NocoBase-3-Plugins, die einer App Funktionen hinzufügen. Er ist für Entwickler gedacht, die eine NocoBase-App mit wiederverwendbarem Code erweitern.

Wann du ihn nutzt

  • ✓Wenn du ein neues Plugin im packages-Ordner einer NocoBase-3-App anlegen willst.
  • ✓Wenn du ein Plugin mit Client-Seiten und Servercode brauchst.
  • ✓Wenn du ein Plugin registrieren musst, damit die App es lädt.

Link zum Skill

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

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/nocobase/nocobase/blob/v3-develop/packages/app/app-skills/skills/nocobase-app-plugin-development/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Kannst du ein NocoBase-Plugin erstellen, das einen eigenen Export-Button und den zugehörigen Server-Endpunkt hinzufügt?”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Die KI liest die Anleitung der App und den vorhandenen Code des Plugins und erstellt oder aktualisiert dann die Client-, Server- und Datenbankteile. Sie registriert das Plugin, damit die App es erkennt.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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
Häufige Fragen

Brauche ich den NocoBase-Quellcode?

Nein. Der Skill arbeitet innerhalb einer installierten App.

Gilt das für NocoBase-2-Plugins?

Nein. Er ist für NocoBase-3-Plugins gedacht.

Gilt das für Funktionen der App selbst?

Nein. Für Funktionen, die zur App selbst gehören, nutze den Skill zur App-Entwicklung.

Details

Originalbeschreibung des Autors

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

Beliebtheit

GitHub-Sterne
25k
Platz im Ranking
#10080
Lizenz
—
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills