nocobase-app-plugin-skills-example
БесплатноБез исполняемых скриптовНе проверенUse the Skills Example plugin to add its App Notice component, read its authenticated default Notice API, or consume its Server ServiceToken in a NocoBase App.
от nocobase★ 25 082 звезды на GitHubОб этом скилле
Skills Example App Plugin
Use this Skill when the user wants to add the plugin-provided App Notice to an application page, read its default Notice over HTTP, or consume the same Notice through a Server ServiceToken. Do not use it to modify this plugin's source.
Public surfaces
- Client component:
AppNoticeandAppNoticePropsfrom@nocobase/app-plugin-skills-example/client/components/app-notice. - Server contract:
appNoticeServiceToken,AppNoticeService, andAppNoticeDatafrom@nocobase/app-plugin-skills-example/server/tokens. - HTTP API:
GET /api/skillsExample/notice, answering{ data: { title, description, tone } }. The application's API document at/api/swagger/docslists it asskillsExampleGetNotice.
The API requires an authenticated application session. It intentionally has no additional business authorization check because the fixed example Notice is non-sensitive. Reassess that decision before changing the response to include private or user-specific data.
Add the Notice to an App page
- Confirm the plugin is registered and
plugin inspect skills-example --jsonreports consistent Server and Skill state. - Import
AppNoticefrom its public component export in an App-owned page or component. - Either pass App-owned typed content directly or use the App's authenticated
client to request
GET /api/skillsExample/notice. - Render the returned
data.title,data.description, anddata.tonethroughAppNotice. - Add an App behavior test, then run the App typecheck and build.
Do not create a Client plugin registration just to import this component. The package provides a reusable component export, but no Client runtime contribution.
Consume the Server contract
Import appNoticeServiceToken from the public Server Token export and resolve
it from the shared application container. Do not construct the default Service
implementation or recreate a Token with the same name.
Ownership and constraints
- The plugin owns the component, Token, Service, Route, and fixed default data.
- The App owns page placement, loading and error UI, and any App-specific content passed through component props.
- Import only the documented package exports; do not use plugin source paths or private implementation classes.
- The plugin does not persist Notices and does not provide a Settings page.
- The source Skill under the plugin's
skills/directory is authoritative. The App copy under.agents/skills/is synchronized output and must not be edited directly.
Verification
- An anonymous API request returns
401. - An authenticated API request returns the Notice payload with
title,description, andtone. - The target App renders the visible Notice through the public component.
plugin inspect skills-example --jsonreportsconsistent: truewith no issues.- The target App passes its relevant tests, typecheck, and build.
Установить nocobase-app-plugin-skills-example в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл nocobase-app-plugin-skills-example?
Use the Skills Example plugin to add its App Notice component, read its authenticated default Notice API, or consume its Server ServiceToken in a NocoBase App.
Как установить скилл nocobase-app-plugin-skills-example?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл nocobase-app-plugin-skills-example запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
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…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от 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…
от Anthropic