본문으로 건너뛰기
Skillpedia
API 및 서버 (백엔드)25k · #10103

nocobase-app-plugin-notification

하는 일

이 스킬은 NocoBase 알림 플러그인을 통합하고 설정합니다. 채널을 통한 메시지 전송, 전달 기록 확인, 실패한 전송 진단을 다룹니다. 업무 앱에서 알림을 보내는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓업무 코드가 설정된 채널로 알림을 보내야 할 때.
  • ✓알림이 전달되지 않아 원인을 찾아야 할 때.
  • ✓알림을 보내는 사용자 정의 전송 수단을 추가하고 싶을 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/nocobase/nocobase/blob/v3-develop/packages/plugins/app-plugin-notification/skills/nocobase-app-plugin-notification/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“요청이 제출되면 관리자에게 이메일 알림을 보내도록 제 NocoBase 앱을 설정해 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

AI는 이름이 있는 채널을 설정하고, 메시지를 만든 뒤, 알림 서비스를 통해 보냅니다. 실패를 추적할 수 있도록 알림과 전달 기록을 보관합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Notification development

Inspect the application's registered plugins and effective notification configuration before changing integration code. Missing required input blocks an actual send; use the recipient and Channel scope already authorized in the conversation and ask only for missing information.

  1. Read Notification concepts for package ownership and delivery status semantics.
  2. For plugin registration, configuration, migrations, or log APIs, read Integration and configuration. Configure a Channel name mapped to one flat configuration with type (provider remains a compatibility alias).
  3. For sending or typed consumers, read Sending notifications. Resolve notificationServiceToken; construct complete messages keyed by Channel name and use native recipient addresses. Validate the intended external effect before sending.
  4. For failures and retries, read Delivery diagnostics. Preserve Notification, Delivery, Attempt, and retry-audit history; distinguish accepted submission from final delivery.
  5. For custom transports, read Channel type extensions. Register classes implementing ChannelInstance with registerChannelType through notificationExtensionRegistryToken and retain the queue/lease/retry lifecycle. Use deprecated registerChannel() / registerProvider() only when maintaining legacy compatibility code or its tests; official implementations and examples use the class API.
  6. Verify changed packages and consumers with lint, typecheck, tests, and build. Cover atomic validation, independent delivery, recipient rules, and retries bound to original identities.

For delivery diagnostics, exercise the normal business notification flow or use a server-side script resolving notificationServiceToken with complete message input. Use an authorized recipient and inspect the returned notification ID in the logs. Credentials stay on the server.

High-impact actions and rollback

For bulk sends and live configuration changes, establish the intended recipients, Channels, and external effect from the user's authorization. An unknown result may already have reached its recipient; confirm the external effect before creating a new logical send.

Rollback source/configuration through the application's normal deployment process. A submitted notification cannot be recalled by this plugin. Preserve its history and report the observed status. Keep message bodies, recipient snapshots, credentials, and Webhook URLs out of logs and reports.

Sensitive messages

Use notificationService.sendTransient({ channel, message }) for a message containing a one-time credential. It validates and prepares the message with the configured channel and submits it once with the provider timeout, without creating notification rows, jobs, retry state, or status events. The result is one provider outcome per recipient; raw provider diagnostics are replaced with generic errors while retaining an allowlisted category and submission status for credential-free troubleshooting. There is no durable idempotency or automatic retry, and a timeout is submission_unknown. The caller owns safe recovery, rate limits, and any credential-free audit. The external mail provider and recipient still receive the message.

자주 묻는 질문

전송이 수락되었다면 사람이 받은 건가요?

꼭 그렇지는 않습니다. 스킬은 접수된 제출과 최종 전달을 구분합니다.

직접 전송 수단을 추가할 수 있나요?

네. 사용자 정의 전송을 위한 채널 유형 확장을 다룹니다.

전송 기록을 보관하나요?

네. 알림, 전달, 시도 기록을 보관합니다.

상세 정보

작성자의 원본 설명

Use when agents need to integrate, configure, send, inspect, or diagnose NocoBase notifications based on app-plugin-notification.

repo: nocobase/nocobase

인기도

GitHub 스타
25k
순위
#10103
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬