/selise-blocks:blocks-notificationfrom selise-blocks
Manages SELISE Blocks notification-channel configuration via CLI commands: list, get, save, and delete channel configs. No SDK equivalent exists. Always use --dry-run before --yes on save/delete.
Ships in selise-blocks. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
When invoking a project-scoped blocks command, either use the resolved account's saved selection or pass --project <tenantId> for that one command without changing saved state. --project applies to CLI commands only, never SDK calls.
Manage notification-channel configuration through blocks notification *. This is 100% CLI, no SDK equivalent — @seliseblocks/client has no notification namespace at all. It does have a notifier namespace (backing blocks notifier *), but that's a different, unrelated surface: notifier pushes real-time/offline notifications and reads a user's own inbox; notification (this skill) manages the tenant's notification channel configuration — which channel/method a notification type uses, not sending one. Never write a frontend/app-code path for channel configuration — it's always this CLI.
Prerequisite: a project is selected (blocks use <tenantId>, or pass --project <tenantId>) — see the blocks-bootstrap skill. Every one of the four commands requires an impersonated project session; there is no account-level mode for any of them.
blocks notification list [--page <n>] [--page-size <n>] [--sort-by <property>] [--sort-desc] [--filter <text>] [--json] — read-only. --page is 1-based. Each configuration's name is what blocks-notifier's notify takes as its configuration name.blocks notification get <itemId> [--json] — itemId may be given positionally or as --id <itemId>; one of the two is required (the command throws Missing --id if neither is given). Read-only.Neither read command mutates anything and neither accepts --dry-run (there's nothing to preview — no request body is built, no confirmation gate exists for either).
blocks notification save --name <n> --channel <0|1> --type <0-3> --dry-run --json # preview first
blocks notification save --name <n> --channel <0|1> --type <0-3> --yes --json # only after approval
blocks notification save --update --body '<json>' --yes --json # full custom payload
Save upserts by --name and the CLI reads the existing configuration first, so re-saving to change one of --channel/--type/--enable-persistence keeps the other two (the endpoint itself stores whatever the body says, defaults included).
The request body is built by merging (in this order, later keys win) whatever --body '<json>' or --file <path.json> supplies, then these convenience flags layered on top (so an unset convenience flag never overwrites a value from --body/--file):
| Flag | Body field | Notes |
|---|---|---|
--channel <int> | channelToNotify | Raw integer — the CLI does not validate or enum-check the value itself. |
--type <int> | notificationType | Same — raw integer, no validation in the command. |
--enable-persistence[=false] | enablePersistence | Presence sends true; --enable-persistence=false sends false; omission leaves it out. |
--update | isUpdateRequest | Same true-only pattern as --enable-persistence. Usually unnecessary: when --name matches an existing config (exact case), the CLI sets isUpdateRequest: true itself — without it the server rejects the save as a duplicate name. Pass --update=false only to force create semantics. |
--name <text> | name | |
--notify-method <text> | notifyMethod |
--dry-run prints the resolved request and returns — no network call, no confirmation prompt. Without --dry-run, it prompts interactively for a typed yes before sending (unless --yes is also passed); only then does it resolve the selected project and issue the request. Always show --dry-run output and get explicit approval before re-running with --yes.
--channel/--type don't have machine-readable names published by the API; the CLI's own usage docs note they correspond to the OS API's channel/receiver-type enums (--channel roughly 0|1, --type roughly 0-3) — treat those ranges as documentation convention, not something this command enforces, and ask the user for the exact intended value rather than guessing one.
blocks notification delete <itemId> --dry-run --json
blocks notification delete <itemId> --yes --json
Same itemId resolution as get — positional arg or --id, one required. --dry-run prints the resolved query and returns; otherwise it goes through the same confirmation gate as save (interactive yes prompt unless --yes is passed) before resolving the project and sending the request.
notification and notifier are not the same thing. notification save/list/get/delete (this skill) configures which channel/method a notification type uses. notifier notify/list/unread/mark-read/mark-all-read sends notifications and reads a user's inbox — a separate command family with its own commands, not covered here. Don't answer a "send a notification" request with notification save, and don't answer a "configure the notification channel" request with notifier.list and get have no --dry-run. Only save and delete build a request that's worth previewing; the two read commands hit the API directly. Don't tell a user to --dry-run a list or get call.--enable-persistence=false and --update=false send false; omitting either leaves the field out — except isUpdateRequest, which the CLI adds itself when the name already exists (an update would otherwise be rejected as a duplicate name). Name matching is exact, case included.--channel/--type are unvalidated raw integers. The command will happily send any integer you give it — there's no local check against the underlying enums. Confirm the intended value with the user (or check the Blocks portal/API docs) rather than inventing one.itemId for get/delete is always required, positional or --id — never guessed. Ask the user rather than assuming a value.blocks use (or an explicit --project override).--dry-run before --yes, always, on save and delete — same discipline as every other mutating blocks command in this pack.<itemId>."<name> on channel 0, type 1." → preview with --dry-run first.<name> notification config." → just re-save with the exact same name (the CLI merges the stored values and marks it as an update itself), --dry-run before --yes.<itemId>."blocks notifier *, a different command family for sending/reading, not channel configuration.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub selisedigitalplatforms/blocks-skills --plugin selise-blocks25 skills in this plugin
/blocksStart here for any SELISE Blocks work. Routes a plain-language request — sign-in and projects, SSO, users, roles, MFA, data schemas and records, file storage, translations, mail, notifications, workflows, functions, proxies, secrets, deployments — to the right Blocks skill, and carries the rules every Blocks skill follows: the blocks CLI and @seliseblocks/client SDK only, never raw HTTP to the platform API; --dry-run before --yes; never read the CLI's credential files; when to report a finding. Use whenever work touches SELISE Blocks, the blocks CLI, or @seliseblocks/client./blocks-bootstrapGet a user from any starting state to a working SELISE Blocks setup — CLI installed, logged in, project selected — using the `blocks` CLI, never raw fetch/curl. Detects state from `blocks auth status --json` and `blocks doctor --json`, then routes to a flow: select or create a project, inventory a project that already exists, resolve the app's OIDC client, add a social identity provider, create the first end user, scaffold a new web app, or wire an existing one. Use for a new user, for `not_logged_in`/`project_not_selected`, or whenever login/project/app state is unclear./blocks-captchaConfigure the login captcha of a SELISE Blocks project through the blocks CLI ('captcha list/get/save/enable/disable/delete'): register a reCAPTCHA or hCaptcha site key and secret, switch it on or off, see which configuration blocks-iam actually enforces at login, and retire one. CLI-only, project-scoped; the captcha secret is stored server-side and never shown. Use for 'enable captcha on login', 'change the recaptcha keys', 'why is captcha not showing', 'turn captcha off'./blocks-data-gateway-configurationConfigure a SELISE Blocks project's data model via the blocks CLI — never raw fetch/curl against api.seliseblocks.com. Covers data-source config (data config get/create/update), schema authoring and push (data schema list/pull/push, plus granular get/fields/info/indexes commands), data-access policies (data rules pull/deploy/policy), field-level validation rules (data validation *), and reloading so changes go live (data reload, or the composed data sync). Use for defining, editing, securing, validating, or reloading a project's DATA MODEL — schema fields, access policies, and validation rules./blocks-data-gateway-crudImplement create/read/update/delete against a SELISE Blocks project's runtime Data Gateway using the @seliseblocks/client SDK. Use data.collection(schemaName) for straightforward per-item CRUD, data.graphql() for joins or custom query shapes, and data.schemas.*/data.validations.* for schema/validation metadata. Shows how to wire CRUD into the React 18 + Vite + TanStack Query app that blocks new web scaffolds. Use whenever the user wants to read or write actual records through a Blocks Data schema from app code./blocks-data-storageBuild file and document-management features on SELISE Blocks Data: upload/download, directory trees, cursor-paginated browsing and search, file versions, rename/move/copy, soft delete/trash/restore, sharing, access policies, and inheritance. Use for attachments, file browsers, folders, shared files, permissions, or version history. Use 'blocks data files *' for terminal/admin work and @seliseblocks/client data.files/data.directories/data.objects for app code.Other plugins' skills for the same job