What problem does it solve?
Writing Nightingale (n9e) alert notification templates requires knowing Go text/template and html/template syntax, the AlertCurEvent field structure, channel-specific escaping rules, and helper functions, which is error-prone and hard to get right manually.
Core Features & Use Cases
- Template Generation: Produces ready-to-paste message templates for DingTalk, Feishu/Lark cards, email, SMS, voice, Slack, and WeCom channels with correct escaping behavior per channel.
- Field and Helper Reference: Applies the correct AlertCurEvent fields (RuleName, Severity, TriggerValue, TagsMap, IsRecovered) and helper functions (timeformat, formatDecimal, humanizeDuration, urlquery) for each request.
- Customization Scenarios: Handles common modifications such as adding hostname or recovery value, formatting decimals, @-mentioning recipients, coloring by severity, and merging multiple alert events.
- Use Case: A user asks to add the hostname and recovery value to their DingTalk alert template; the Skill outputs a complete gotemplate block with recovery-branch handling and a variable explanation.
Quick Start
Ask the assistant to write a DingTalk alert notification template for Nightingale that shows the rule name, hostname, trigger value, and recovery state.