epic-11-notifications

Automate in-app investor notifications for dividends, withdrawals, and contract signings.

Updated Apr 26, 2026
One-click install
npx skills add https://github.com/wangzeping114/shareflow --skill epic-11-notifications
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: epic-11-notifications
Source: https://github.com/wangzeping114/shareflow/tree/main/.claude/skills/epic-11-notifications
Command: npx skills add https://github.com/wangzeping114/shareflow --skill epic-11-notifications

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Investors need timely, centralized in-app notifications about dividends, withdrawal statuses, and contract signing so they can act quickly on important events.

Core Features & Use Cases

  • Domain model & persistence: Notification entity and NotificationType enum with read-tracking and timestamps.
  • Application layer & APIs: Service interfaces and event handlers providing notification CRUD and unread counts, plus API endpoints for fetching and updating notifications.
  • Frontend integration: Notification center entry, bell widget, and drawer with pagination, read-status updates, and ActionUrl navigation.
  • Event-driven flow: Listens to DividendDistributedEvent, WithdrawalRequest.* events, and ContractSignedEvent to trigger notifications.
  • Templates & internationalization: Text templates with support for zh-CN and en-US variants.

Quick Start

Configure the system to send a DividendReceived notification to a user when a dividend is distributed.

Frequently Asked Questions about epic-11-notifications

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement real-time in-app investor notifications for dividend and withdrawal events?

Real-time in-app investor notifications are automated by listening to event-driven triggers like DividendDistributedEvent, WithdrawalRequest events, and ContractSignedEvent. The system uses a Notification entity, repositories, and event handlers to generate alerts for investors.

What is the best way to structure a notification center for an investor portal?

A notification center for an investor portal is structured using a Notification entity and NotificationType enum for backend persistence. The frontend integrates a bell widget and drawer with pagination, read-status updates, and ActionUrl navigation.

How do I track unread counts and mark notifications as read in a web portal?

Unread counts are tracked and notifications are marked as read using application layer service interfaces and API endpoints. The frontend store updates read statuses and timestamps directly through these dedicated notification CRUD APIs.

Does this notification system support internationalization for investor alerts?

The notification system supports internationalization by providing text templates with variants for both zh-CN and en-US. This ensures investor alerts for dividends, withdrawals, and contract signings are localized correctly.

Can I use event-driven architecture to trigger contract signing notifications automatically?

Event-driven architecture automatically triggers contract signing notifications by listening to ContractSignedEvent. Event handlers process this domain event and generate a notification entry, which is then fetched and displayed via the API endpoints.

How do I set up backend event handling for investor withdrawal status updates?

Backend event handling for investor withdrawal status updates is set up by listening to WithdrawalRequest domain events. Event handlers capture these events, apply text templates, and persist notifications to the repository for frontend retrieval.