AGENT SKILL

minipower-backend-notification-dotnet

Thiết lập Jarvis.Notification — email SMTP qua Mailkit IEmailSender, NotificationBuilder. Dùng khi app gửi email transactional qua section Smtp.

License 许可
MIT
最近更新
2026-11-09
Stars
★ 7
Forks
0

01 前言 Front Matter

name
minipower-backend-notification-dotnet
metadata
{ "workflow": "github" }
description
Thiết lập Jarvis.Notification — email SMTP qua Mailkit IEmailSender, NotificationBuilder. Dùng khi app gửi email transactional qua section Smtp.

02 资源文件 5

03 SKILL.md 正文

Jarvis.Notification — Orchestrator

Skill điều phối Jarvis.Notification + Jarvis.Notification.Mailkit trên Host.

Phạm vi SMTP only. Inbox in-app (Jarvis.Modules.Notifications*) là skill sóng 2 notifications-module-dotnet — không gộp vào đây.

Hướng dẫn: README.md.

Khi nào dùng workflow nào

Tình huống Workflow
App chưa có email sender workflows/init.md
Đổi SMTP / thêm sender implementation workflows/add.md

Quy tắc cốt lõi

  • NotificationBuilder trên IServiceCollection: .AddSmtp(section) → .AddEmailSender<MailkitSender>().
  • Section Smtp — Host, Port, UserName, Password, Socket (StartTls, …).
  • Không commit password SMTP — env / secret store.
  • Resolve IEmailSender (keyed theo tên type) hoặc inject MailkitSender trực tiếp.
  • Jarvis.Notification.AwsSES / AwsSNS — stub trong repo; chưa có provider skill đầy đủ.

Packages

Package / Project Vai trò
Jarvis.Notification Core, NotificationBuilder
Jarvis.Notification.Mailkit MailkitSender : IEmailSender

Providers

Provider Path
SMTP Mailkit providers/mailkit-smtp/SKILL.md

Templates

Output bắt buộc

  • NotificationBuilder wiring trên Host
  • appsettings section Smtp (placeholder, secret ngoài repo)
  • Gửi email test thành công hoặc mock trong dev
  • Code C# theo minipower-backend-convention-dotnet — dotnet format --verify-no-changes sạch trên file đã chạm
  • File đặt đúng layer + hướng phụ thuộc theo minipower-backend-architecture-dotnet — dotnet test -c Debug xanh, kể cả {Product}.ArchitectureTests

04 同仓库更多 Skills

hoangnh2412
hoangnh2412/minipower

minipower-vcs-gitlab

Tra GitLab (search, issue, pipeline, MR), soạn MR/comment, tạo MR và commit/push sau L2. Dùng khi merge request, GitLab MCP, code_provider gitlab — không scaffold .NET, không force-push.

★ 7
hoangnh2412
hoangnh2412/minipower

minipower-toolbox-skill-author

Viết và soát skill lá-rời Minipower (minipower-{module}-{capability}) — chọn module bằng 3 câu hỏi ADR-022, dựng cây SKILL.md/README.md/workflows/providers, đặt description kích hoạt được, cập nhật hub và test canh. Hỏi người xác nhận trước mọi quyết định, không tự chốt. Dùng khi tạo skill mới, thêm provider/pattern/workflow, mở module mới, hoặc soát skill có sẵn lệch chuẩn.

★ 7
hoangnh2412
hoangnh2412/minipower

minipower-tasks-lark

Đọc, lọc, tìm, soạn nháp và ghi task Lark (tasklist / task) theo L1–L3. Dùng khi việc trên Lark, sprint, tasklist, "tìm task", "tạo task", tasks_provider lark — không dùng cho tin nhắn nhóm hay wiki.

★ 7
hoangnh2412
hoangnh2412/minipower

minipower-support-registry

Rà registry DOC theo project_mode, nhắc owner thiếu ID hoặc chỗ lưu sai. Dùng khi doc-registry, thiếu DOC, rà soát tiêu chuẩn — không tự sửa FR, không init.

★ 7
hoangnh2412
hoangnh2412/minipower

minipower-support-publish

暂无简介

★ 7
hoangnh2412
hoangnh2412/minipower

minipower-router

Phân loại intent Minipower rồi gợi ý đúng một pack nghề hoặc kênh. Dùng khi làm gì tiếp, chọn skill, dispatcher, không biết mở pack nào — không tự gọi MCP L3, không spawn agent.

★ 7