generate-alerts
Skill45 starsChanged 14 months agoMITView on GitHub
Generates randomized alert test data for the alert management system. Use this when asked to create sample alerts, mock data, or populate the system with test events for development and testing.
In this repository2 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- my-skillSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Use this skill when you need to:
- Distinctive: line 16
Create edge-case alerts for specific testing scenarios
- Distinctive: line 35
Location variety: Use at least 5 different locations
- Distinctive: line 38
Descriptions: Use realistic security/safety scenarios (not generic placeholder text)
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Generate Alert Test Data
This skill generates randomized alert events that match the project's AlarmEvent / Alert data model.
When to use this skill
Use this skill when you need to:
- Generate sample alert data for testing
- Populate the system with realistic mock events
- Create edge-case alerts for specific testing scenarios
Alert Schema
Each generated alert must include:
id: Unique identifier (UUID or incrementing number)name: Descriptive alert name (e.g., "Motion detected in warehouse")description: Detailed description of the eventtime/createdDate: ISO 8601 timestamp in UTCseverity: One ofInfo,Warning,Error,Criticalstatus: One ofActive,Acknowledged,Resolvedlocation: Human-readable location namelatitude/longitude: Valid coordinatessource: Device type (Camera, Microphone, Sensor, MotionDetector, SmartPhone, Tablet)
Generation Rules
- Realistic distribution: ~40% Info, ~30% Warning, ~20% Error, ~10% Critical
- Time spread: Generate alerts across the last 30 days with realistic clustering
- Location variety: Use at least 5 different locations
- Source diversity: Distribute across all device types
- Status mix: ~50% Active, ~30% Acknowledged, ~20% Resolved
- Descriptions: Use realistic security/safety scenarios (not generic placeholder text)
Output Format
Generate data matching the track's language:
- TypeScript: Array of
AlarmEventobjects matchingmodels.ts - C#: List of
Alertobjects matchingAlert.cs - C++: Vector of
Alertstructs matchingAlert.h
Example Usage
/generate-alerts 20
/generate-alerts 5 Critical
/generate-alerts 50 for load testingDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

