跳到正文
Skillpedia
通用编程25k · #10078

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/nocobase/nocobase/blob/v3-develop/packages/app/app-skills/skills/nocobase-app-development/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能