Перейти к содержанию
Skillpedia
Задачи и проекты25k · #10104

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

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/nocobase/nocobase/blob/v3-develop/packages/plugins/app-plugin-projects/skills/nocobase-app-plugin-projects/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Добавьте в моё приложение NocoBase учет проектов и задач, чтобы команда могла назначать задачи и отслеживать их статус.”

5 новых скиллов в неделю. 1 минута чтения.

Как это работает

ИИ регистрирует плагин, привязывает правила доступа приложения и использует 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; projectsToken from @nocobase/app-plugin-projects/server/tokens resolves the services. The App must bind projectsAccessToken (ProjectsAccess: permissionsOf, admit, changed, administrators, and optionally permissionsOfUser so notices reach only those who may see the issue): the plugin keeps no roles of its own. It may bind projectsNoticesToken (ProjectsNotices: send) to receive the plugin's notices (owner notified, commented, mentioned, status changed, owner or executor assigned; information carries a group to merge by) and keep its own inbox; otherwise they go to the in-app channel projects.inboxChannel. Another plugin binds projectsTriggersToken (IssueTriggers) to start work when a person comments, and adds notice rules through projectsNoticeRulesToken. Operation plans (shared/plans.ts) are proposed through projects.plans (PlanService: rehearse, create, propose to someone else, execute, preview an undo and undo in one step), and a plugin binds projectsPlanHooksToken (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 domain projects: branch on reason, read details from metadata.
  • Client: the default export of @nocobase/app-plugin-projects/client adds /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 /issues and /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) from client/pages (issueChildRoutes). It also owns an issue's page (/issues/:issueId), presented over the same headless entry (useIssueDetail, useIssuePageActions, useIssueTimeline, useIssueCommentActions and 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/config for 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 topic pm:changes, naming the changed issues in issueIds when 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
Лицензия
—
Обновлён
02.11.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы