send-notification
Skill by postmill-ai
Guides an AI assistant to send user notifications through the Postmill monorepo's NotificationService. It covers email, in-app and push delivery, plus adding a new notification category. Intended for developers working on that codebase.
Install send-notification
Built from the published package, never by AI.
git clone --depth 1 https://github.com/postmill-ai/postmill-app /tmp/postmill-app && mkdir -p ~/.claude/skills && cp -r /tmp/postmill-app/agents/skills/send-notification ~/.claude/skills/send-notificationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/postmill-ai/postmill-app /tmp/postmill-app && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/postmill-app/agents/skills/send-notification ~/.gemini/antigravity-cli/skills/send-notificationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill tells an assistant how to send user-facing notifications in the Postmill monorepo. Feature code should call NotificationService.notify rather than EmailService, so per-user master and category toggles, digest batching, member filtering and HTML escaping all apply. The source lists 10 allowed categories and several convenience senders, such as notifyPostPublishFailure and broadcast.
It also gives a three-file checklist for adding a new category, covering the DTO, the default preference toggles and the frontend settings panel. Email is sent through Inngest, push uses FCM, and digests drain on fixed server crons. The skill is aimed at developers and coding assistants editing that monorepo.
Written from the project's SKILL.md and checked against it.
What it can do
- Send from feature codeCall NotificationService.notify with orgId, category, title and message, plus optional channels, digest and link.
- Use convenience sendersPick existing helpers such as notifyChannelError, notifyBudgetThreshold or notifyCommentDigest when they fit.
- Add a new categoryMake three lockstep edits across the DTO, the preference service and the frontend settings panel.
- Control channels and digestsSet the channel cap deliberately and use digest only for non-urgent email.
- Escape user content in email HTMLEscape user-controlled strings before embedding them in notification HTML.
- Verify changesRun vitest on the notification service, preference and push specs after edits.
What you need
- Postmill monorepo checkout
- pnpm and vitest for running the tests and dev server
- FCM credentials for push: FCM_PROJECT_ID, FCM_CLIENT_EMAIL and FCM_PRIVATE_KEY
Try asking
- Send an in-app and email alert when a post fails to publish
- Add a new notification category to the Postmill settings panel
- Which notification category fits budget threshold alerts?
Good to know
- Push is FCM only. The source says there is no web-push or VAPID support.
- Digest timing is a fixed server cron. The only per-user setting is digestFrequency.
- The source states no quiet hours or per-user timezone behavior.
- Urgent items should not be sent with digest: true.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: agents/skills/send-notification/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to send-notification
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
send-notification: common questions
Should I call EmailService directly to send a notification?
No. The source says feature code must call NotificationService.notify, because bypassing it mails users who opted out. EmailService is only for the chokepoint itself and non-preference system mail such as auth flows.
How do I add a new notification category in Postmill?
Edit the DTO union and its validation field, add default toggles to DEFAULT_CATEGORY_TOGGLES, and add the category to the frontend settings panel. The source says this needs no migration, but all three edits are required.
Does Postmill send web push notifications?
The source says push is FCM only. It states there is no web-push package or model, and says not to invent one.
How do I install send-notification?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is send-notification free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is send-notification safe to use?
It scores 72 of 100. Grades: maintenance A, licence C, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to send-notification?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
