nocobase-app-plugin-projects
できること
NocoBase 3アプリにProjectsプラグインを追加し、そのAPIを通じてプロジェクトと課題を追跡します。業務アプリの中でタスク管理を行いたいチーム向けです。
使う場面
- ✓NocoBaseアプリの中で、プロジェクトと課題を追跡したいとき。
- ✓プロジェクトのAPIへのリクエストが拒否されているとき。
- ✓プロジェクトの通知やトリガーを、ほかのプラグインに接続する必要があるとき。
スキルのリンク
https://github.com/nocobase/nocobase/blob/v3-develop/packages/plugins/app-plugin-projects/skills/nocobase-app-plugin-projects/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“チームが課題を割り当て、そのステータスを追跡できるよう、私のNocoBaseアプリにプロジェクトと課題の追跡を追加してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
AIはプラグインを登録し、アプリのアクセスルールを結び付け、プロジェクト、課題、ステータス、ラベル、メンバーにはプロジェクトのAPIを使います。プラグインは独自のロールを持たないため、ロールはアプリが用意します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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
よくある質問
テーブルへ直接書き込めますか?
いいえ。このスキルは、テーブルへの書き込みはAPIを通じてのみ行うと説明しています。
権限は誰が決めますか?
アプリがアクセスサービスを通じて決めます。プラグイン自体は独自のロールを持たないためです。
通知を送りますか?
はい。コメント、メンション、ステータスの変更、割り当てについての通知を送れます。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 25k
- ランキング
- #10104
- ライセンス
- —
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
nocobase-app-development
25kエージェントが、NocoBase 3の完全なビジネスアプリケーションのために、ページ、ルーティング、データ、権限、テストを作れるよう支援します。
shadcn
25kエージェントが、公式のドキュメントとレジストリを使い、Webプロジェクトの shadcn/uiコンポーネントを見つけ、追加し、修正し、スタイルを整えられるよう支援します。
nocobase-app-plugin-development
25kエージェントが、既存のNocoBase 3アプリの中で、サーバー、クライアント、データベース、登録の部分を含むプラグインを作成し、保守できるよう支援します。
nocobase-app-upgrade
25kエージェントが、NocoBaseのアプリを新しいテンプレートのリリースにアップグレードし、テンプレートの変更を取り込みつつ、あなた自身の作業を保てるよう支援します。