stacks-notifications

Coordinate multi-channel notifications across email, SMS, chat, push, and database.

622|17|Updated Apr 26, 2022
One-click install
npx skills add https://github.com/stacksjs/stacks --skill stacks-notifications
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: stacks-notifications
Source: https://github.com/stacksjs/stacks/tree/main/.claude/skills/stacks-notifications
Command: npx skills add https://github.com/stacksjs/stacks --skill stacks-notifications

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Multi-channel notifications are complex to implement across email, SMS, chat, push, and databases. This Skill provides a unified interface and architecture to deliver notifications reliably, track delivery status, and configure channel behavior. It enables developers to compose, route, and manage notifications from a single, coherent API.

Core Features & Use Cases

  • Channel factories (useEmail, useSMS, useChat, useDatabase) for deterministic task routing.
  • Database notification driver with read/unread tracking.
  • Configuration via config/notification.ts and per-channel config files.
  • CLI commands: buddy make:notification to scaffold new notifications.
  • Types and models: DatabaseNotification interface, Notification model.
  • Architecture: thin aggregation layer delegating to channel packages.

Quick Start

Install the stacks-notifications package in your project and configure the default channel in config/notification.ts to start sending test notifications.

Frequently Asked Questions about stacks-notifications

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

FAQPage Schema
How do I coordinate multi-channel notifications across email, SMS, and chat?▼

You can coordinate multi-channel notifications by using channel factories like useEmail, useSMS, and useChat for deterministic task routing. A unified interface delegates to specific channel packages, managing email, SMS, chat, push, and database delivery from one API.

What is the best way to track database notification read and unread status in TypeScript?▼

Tracking database notification read and unread status is handled by the database-backed notification driver. It utilizes the DatabaseNotification interface and Notification model to store and monitor the delivery and read state of user messages.

How do I configure default notification channels for my application?▼

Configure default notification channels by modifying the config/notification.ts file. This file controls the default behavior for all notification flows, with additional per-channel configuration files available for more granular routing and driver settings.

Can I scaffold new notifications using a CLI command?▼

Yes, you can scaffold new notifications using the buddy make:notification CLI command. This command generates the necessary notification structure, allowing you to quickly compose and route new multi-channel messages within your application.

Does this multi-channel notification system support push notifications?▼

Yes, the multi-channel notification system supports push notifications alongside email, SMS, chat, and database channels. Channel factories route push messages through dedicated drivers, ensuring reliable delivery and status tracking within the unified API.