nocobase-app-development
它能做什么
这个技能指导你的 AI 构建 NocoBase 3 应用,包括其页面、接口端点、数据和权限。适合在 NocoBase 上构建内部业务工具的开发者。
适用场景
- ✓当你为 NocoBase 3 应用添加业务或管理页面时。
- ✓当你为 NocoBase 应用中的某项功能创建接口端点或服务时。
- ✓当你需要为 NocoBase 应用中的新功能设置数据和权限时。
技能链接
https://github.com/nocobase/nocobase/blob/v3-develop/packages/app/app-skills/skills/nocobase-app-development/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“能在我的 NocoBase 应用中添加一个用于跟踪客户订单的管理页面,并设置正确的权限吗?”
每周 5 个新技能,1 分钟读完。
工作原理
AI 读取应用的规则和已安装的插件,然后按照 NocoBase 3 的约定构建页面、接口端点、数据和测试。对于共享功能,它使用应用自身的服务。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
NocoBase 3 application development
When the task creates or maintains a plugin under this App's packages/, read <app-root>/.agents/skills/nocobase-app-plugin-development/SKILL.md by its explicit project path. It ships alongside this Skill in @nocobase/app-skills. Use this application's guidance for App-owned features and the plugin Skill for plugin-owned contracts and packaging; do not install the older global plugin development Skill.
Use this Skill when building a complete application or an individual feature: business and administration pages, endpoints, data, services and their tests.
For plugin-owned code, use the project plugin development Skill, whether the plugin stays local to this App or is published for reuse. Plugin development does not require a separate repository or a NocoBase source checkout.
Do not use it to upgrade the template this application was generated from, which is also how the application moves to a newer NocoBase version when the user asks to upgrade NocoBase or its core. That is .agents/skills/nocobase-app-upgrade/, which reconciles a newer template release against the application without reverting the user's work.
Check browser API compatibility for direct calls and third-party integrations. HTTPS-only APIs require capability detection and a clear user-facing explanation when unavailable. UUID generation and copying text must support HTTP; use createUuid() and copyText() from @nocobase/app-client.
Before you start
Read the application's AGENTS.md first for the rules that apply everywhere, and the .agents/rules/ files its index points to for your task. This Skill's references are the detail behind it. Before running any pnpm nocobase command, read the command line: it maps tasks to commands and states the flags an agent must not add on its own.
Confirm you are in an application and not a plugin package. An application has:
client/runtime.ts
server/runtime.ts
config.example.yml
If instead you find client/plugin.ts, server/plugin.ts, or a defineServerPlugin() declaration, you are in a plugin package and this Skill does not apply.
Do not infer the application's capabilities from a template name or from this Skill. Inspect package.json, client/plugins.ts, server/plugins.ts, cli/plugins.ts, server/config/index.ts, and database/ before deciding what is installed, registered, configured, or application-owned. nocobase.templatePackage and nocobase.templateKind identify known template ancestry when present, but a new template remains valid without being listed here. Read template variants only when those files identify one of the documented official templates.
Plan the complete feature before implementation
For a new application or a feature spanning frontend and backend, identify the users' tasks, pages and key interactions together with the data, endpoint contracts and permissions before implementing either side. Read the frontend workflow at this point, not only when opening client/. Reuse existing requirements, designs and installed capabilities; a routine CRUD feature can use a short implementation plan without a separate design document. Keep API-only, UI-only and other explicitly limited requests within their requested scope.
Proceed through the authorized implementation and verification without a routine design approval stop. Ask early only when a material business rule or scope decision cannot be resolved from the requirements, existing decisions and conventions, when work exceeds authorization, or when the user explicitly requested review first. State reasonable assumptions, preserve prior answers and continue unaffected work while a necessary decision is pending. Internal design and acceptance reviews are quality checks, not additional user approval rounds.
Deliver the requested user operation across its layers: pages invoke real endpoints, data is saved and refreshed correctly, permissions hold, and loading, empty and failure states are handled. Backend tests or a design document alone are progress, not completion of a full application. If the backend is already implemented, reuse and check its contracts against the required pages, close any gaps and finish the frontend without restarting design approval. Report missing implementati
常见问题
什么是 NocoBase?
它是一个用于构建业务应用的平台。该技能涵盖的是 3 版本。
它会创建新应用吗?
它在现有应用上工作。插件有各自的技能。
它适用于 NocoBase 2 吗?
不适用。它是为 NocoBase 3 应用设计的。
详情
作者的原始描述
Primary entry for building complete NocoBase 3 applications and individual features: business and administration pages, routes, components, endpoints, data, permissions, services, translations, and tests. Use this application-local workflow instead of globally installed NocoBase 2 Skills. For local or published NocoBase 3 plugin packages, use the project plugin development Skill.
repo: nocobase/nocobase
热度
- GitHub 星标
- 25k
- 排名
- #10078
- 许可证
- —
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
shadcn
25k帮你的智能体在 Web 项目中查找、添加、修复和美化 shadcn/ui 组件,并使用其官方文档和注册表。
nocobase-app-plugin-development
25k帮你的智能体在现有应用中创建和维护 NocoBase 3 插件,包括服务端、客户端、数据库和注册部分。
nocobase-app-upgrade
25k帮你的智能体把 NocoBase 应用升级到较新的模板版本,引入模板的更改,同时保留你自己的工作。
nocobase-deployment
25k帮你的智能体规划、构建、部署和检查运行在 Studio、Node.js 或 Docker 服务器上的 NocoBase 3 应用。