Chuyển đến nội dung
Skillpedia
Lập trình chung25k · #10078

nocobase-app-development

Skill này làm gì

Skill này hướng dẫn AI của bạn xây dựng một ứng dụng NocoBase 3, gồm các trang, endpoint, dữ liệu và quyền. Skill dành cho lập trình viên xây dựng công cụ nội bộ cho doanh nghiệp trên NocoBase.

Khi nào nên dùng

  • ✓Khi bạn thêm một trang quản trị hoặc kinh doanh vào một ứng dụng NocoBase 3.
  • ✓Khi bạn tạo một endpoint hoặc dịch vụ cho một tính năng trong ứng dụng NocoBase.
  • ✓Khi bạn cần thiết lập dữ liệu và quyền cho một tính năng mới trong ứng dụng NocoBase.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/nocobase/nocobase/blob/v3-develop/packages/app/app-skills/skills/nocobase-app-development/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Bạn có thể thêm một trang quản trị để theo dõi đơn hàng của khách trong ứng dụng NocoBase của tôi, với quyền phù hợp không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

AI đọc quy tắc của ứng dụng và các plugin đã cài, rồi xây dựng các trang, endpoint, dữ liệu và kiểm thử theo quy ước của NocoBase 3. Nó dùng các dịch vụ của chính ứng dụng cho những tính năng chung.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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

Câu hỏi thường gặp

NocoBase là gì?

Đó là nền tảng để xây dựng ứng dụng kinh doanh. Skill này bao quát phiên bản 3.

Nó có tạo ứng dụng mới không?

Nó làm việc trên một ứng dụng đã có. Plugin có skill riêng.

Nó có dành cho NocoBase 2 không?

Không. Nó dành cho ứng dụng NocoBase 3.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
25k
Vị trí xếp hạng
#10078
Giấy phép
—
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự