nocobase-app-plugin-projects
Skill này làm gì
Skill này thêm plugin Projects vào ứng dụng NocoBase 3, để theo dõi dự án và vấn đề thông qua API của nó. Skill dành cho các nhóm muốn theo dõi công việc ngay trong ứng dụng nghiệp vụ.
Khi nào nên dùng
- ✓Khi bạn muốn theo dõi dự án và vấn đề bên trong ứng dụng NocoBase.
- ✓Khi một yêu cầu gửi tới API của projects bị từ chối.
- ✓Khi bạn cần kết nối thông báo hoặc trigger của dự án với các plugin khác.
Liên kết skill
https://github.com/nocobase/nocobase/blob/v3-develop/packages/plugins/app-plugin-projects/skills/nocobase-app-plugin-projects/SKILL.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Bạn có thể thêm tính năng theo dõi dự án và vấn đề vào ứng dụng NocoBase của tôi, để cả nhóm giao việc và theo dõi trạng thái không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
AI đăng ký plugin, gắn các quy tắc truy cập của ứng dụng và dùng API của projects cho dự án, vấn đề, trạng thái, nhãn và thành viên. Ứng dụng cung cấp các vai trò, vì plugin không giữ vai trò riêng nào.
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.
Projects App Plugin
Use this Skill when an App needs project and issue tracking, or when a request under /api/projects fails. Do not use it
for generic collection CRUD; the plugin's tables are only written through its API.
Public surfaces
- Server plugin: default export of
@nocobase/app-plugin-projects/server;projectsTokenfrom@nocobase/app-plugin-projects/server/tokensresolves the services. The App must bindprojectsAccessToken(ProjectsAccess:permissionsOf,admit,changed,administrators, and optionallypermissionsOfUserso notices reach only those who may see the issue): the plugin keeps no roles of its own. It may bindprojectsNoticesToken(ProjectsNotices:send) to receive the plugin's notices (owner notified, commented, mentioned, status changed, owner or executor assigned; information carries agroupto merge by) and keep its own inbox; otherwise they go to the in-app channelprojects.inboxChannel. Another plugin bindsprojectsTriggersToken(IssueTriggers) to start work when a person comments, and adds notice rules throughprojectsNoticeRulesToken. Operation plans (shared/plans.ts) are proposed throughprojects.plans(PlanService: rehearse, create, propose to someone else, execute, preview an undo and undo in one step), and a plugin bindsprojectsPlanHooksToken(PlanHooks.onPlanDecided) to hear their decisions. - Shared types:
@nocobase/app-plugin-projects/shared/<name>(access,attachments,comments,common,issues,labels,members,plans,projects,settings,statuses,subscriptions,subtasks). - Server routes: everything under
/api/projects; see the package README for the list. Failures are the standard error body with domainprojects: branch onreason, read details frommetadata. - Client: the default export of
@nocobase/app-plugin-projects/clientadds/projects(the list and "New project"). The App owns a project's page (/projects/:projectId, routed as that route's child) and composes it from the headless@nocobase/app-plugin-projects/client/projects(useProjectDetail,useProjectUpdate,useProjectMembership,useProjectResources,useResourceValidation,useDeleteProject). The App also owns/issuesand/my-issues: it composes them from the headless@nocobase/app-plugin-projects/client/issues(list and board queries, board moves, filters in the query string, executor options) and routes the plugin's pages under/issues(the New issue dialog with its AI draft and manual tabs, a plan) fromclient/pages(issueChildRoutes). It also owns an issue's page (/issues/:issueId), presented over the same headless entry (useIssueDetail,useIssuePageActions,useIssueTimeline,useIssueCommentActionsand the rest), and hosts the plugin's "New sub-issue" dialog under it (issueDetailChildRoutes). The settings pages (issue prefix, labels) are exported from@nocobase/app-plugin-projects/client/configfor the App to route under its own settings page, and shared page components from@nocobase/app-plugin-projects/client/kit. Changes are announced on the realtime topicpm:changes, naming the changed issues inissueIdswhen they can; refresh only those issues' reads then.
The NocoBase UI Library presents these headless entries; install an item rather than building the page from scratch, and read its example (pnpm exec shadcn view @nocobase/<item>-demo) first. project-detail is a block for a project's page, issue-detail a block for an issue's page, and issue-table, kanban and comment-thread the components for the issue list, the board and an issue's activity. For agents working on issues, agent-queue (a block) and agent-run-history (a component) take the runs of @nocobase/app-plugin-agents. Each is installed with yes n | pnpm exec shadcn add @nocobase/<item> and is presentational: map the hooks' data to its props and its callbacks to the hooks' mutations.
Prerequisites
The App must register @nocobase/app-plugin-authentication, @nocobase/app-plugin-authorization and
@nocobase/app-plugin-users (whose invitations the member settings use) before this plugin, and bind
projectsAccessToken from one of its own providers. The roles seed still creates pm-* permission sets with composite
grants from before roles moved to the App; the App converts them (for example, database/roles-conversion.ts).
Permissions and co
Câu hỏi thường gặp
Tôi có thể ghi trực tiếp vào các bảng của nó không?
Không. Skill nói rằng các bảng của nó chỉ được ghi thông qua API.
Ai quyết định quyền?
Ứng dụng quyết định, thông qua dịch vụ truy cập của nó, vì plugin không giữ vai trò riêng.
Nó có gửi thông báo không?
Có. Nó có thể gửi thông báo về bình luận, nhắc tên, thay đổi trạng thái và việc giao.
Chi tiết
Mô tả gốc của tác giả
Register the Projects plugin in a NocoBase App, call its /api/projects API for projects, issues, their fixed statuses, labels and members, grant its permissions, or work out why a projects request is rejected.
repo: nocobase/nocobase
Độ phổ biến
- Sao GitHub
- 25k
- Vị trí xếp hạng
- #10104
- Giấy phép
- —
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
nocobase-app-development
25kGiúp agent của bạn xây dựng trang, tuyến, dữ liệu, quyền và kiểm thử cho một ứng dụng kinh doanh NocoBase 3 hoàn chỉnh.
shadcn
25kGiúp agent của bạn tìm, thêm, sửa và tạo kiểu cho các thành phần shadcn/ui trong dự án web, dùng tài liệu chính thức và registry của chúng.
nocobase-app-plugin-development
25kGiúp agent của bạn tạo và duy trì plugin NocoBase 3 trong một ứng dụng có sẵn, gồm phần server, client, cơ sở dữ liệu và đăng ký.
nocobase-app-upgrade
25kGiúp agent của bạn nâng cấp ứng dụng NocoBase lên bản mẫu mới hơn, mang các thay đổi của mẫu vào mà vẫn giữ công việc riêng của bạn.
Skill tương tự
knowledge-capture
394kDạy agent của bạn lưu các quyết định, sở thích và sự kiện quan trọng vào kho Knowledge dưới dạng ghi chú ngắn có ghi nguồn.
knowledge-claim-consolidation
394kGiúp agent của bạn dọn gọn kho Knowledge bằng cách gộp các khẳng định trùng lặp, chuyển chúng đến đúng trang chủ đề và loại bỏ những cái lỗi thời.
knowledge-correct
394kCho phép agent của bạn sửa hoặc rút lại một khẳng định hoặc trang Knowledge cụ thể theo yêu cầu của bạn, và giữ nhật ký những gì đã thay đổi.