Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:21:31 +08:00
commit dce4e066d0
8 changed files with 187 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
{
"name": "synthetic-monitoring-setup",
"description": "Set up synthetic monitoring for proactive performance tracking",
"version": "1.0.0",
"author": {
"name": "Claude Code Plugins",
"email": "[email protected]"
},
"skills": [
"./skills"
],
"commands": [
"./commands"
]
}

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
# synthetic-monitoring-setup
Set up synthetic monitoring for proactive performance tracking

View File

@@ -0,0 +1,35 @@
---
description: Set up synthetic monitoring for application
---
# Synthetic Monitoring Setup
Implement proactive synthetic monitoring to track performance and availability.
## Monitoring Types
1. **Uptime Monitoring**: Endpoint availability checks
2. **Transaction Monitoring**: Critical user journey simulation
3. **API Monitoring**: Endpoint response time and correctness
4. **Multi-location Testing**: Geographic performance variation
5. **SSL Certificate Monitoring**: Certificate expiration tracking
## Process
1. Identify critical endpoints and user journeys
2. Design monitoring scenarios
3. Configure monitoring tools (Pingdom, Datadog Synthetics, etc.)
4. Set up multi-location testing
5. Define alert thresholds
6. Create response playbooks
## Output
Provide:
- Monitoring configuration for chosen platform
- Test scripts for critical transactions
- Multi-location test setup
- Alert rule definitions
- Dashboard configuration
- Incident response procedures
- Integration with existing monitoring stack

61
plugin.lock.json Normal file
View File

@@ -0,0 +1,61 @@
{
"$schema": "internal://schemas/plugin.lock.v1.json",
"pluginId": "gh:jeremylongshore/claude-code-plugins-plus:plugins/performance/synthetic-monitoring-setup",
"normalized": {
"repo": null,
"ref": "refs/tags/v20251128.0",
"commit": "d6bd7c52f4f2431058e5e9020811adb5325e09cf",
"treeHash": "05da3630051d95a5626c57624da87267677cfc8c1276995894c67d98da2f96bc",
"generatedAt": "2025-11-28T10:18:48.373500Z",
"toolVersion": "publish_plugins.py@0.2.0"
},
"origin": {
"remote": "git@github.com:zhongweili/42plugin-data.git",
"branch": "master",
"commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390",
"repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data"
},
"manifest": {
"name": "synthetic-monitoring-setup",
"description": "Set up synthetic monitoring for proactive performance tracking",
"version": "1.0.0"
},
"content": {
"files": [
{
"path": "README.md",
"sha256": "1b4131566553c889ae307efb1f14b96d3649eb50c152fd37e778b5c244568d0d"
},
{
"path": ".claude-plugin/plugin.json",
"sha256": "996226f008ca82d70d1aacd965dc44a12b56a24032db8f4167c884a3e56dd389"
},
{
"path": "commands/setup-synthetic-monitoring.md",
"sha256": "48011f2bc8135546454bd03fedc2917515adbbbf0b13b563f44f26e20cb9f71f"
},
{
"path": "skills/synthetic-monitoring-setup/SKILL.md",
"sha256": "f65ae53e903be4bd770c08092ed7be7141b94e0d20832c9ad19251a332303c79"
},
{
"path": "skills/synthetic-monitoring-setup/references/README.md",
"sha256": "232086a32bb6f8c398dc15a0877905658ebb4c0cf65ed398cc7974e4215547be"
},
{
"path": "skills/synthetic-monitoring-setup/scripts/README.md",
"sha256": "3ee2c6ec48811355e3daab4fccd6ce14665efa10f4cc4f3b1ef9d0221a421ec1"
},
{
"path": "skills/synthetic-monitoring-setup/assets/README.md",
"sha256": "a597c7e37447e208f82c210f582475e48781246d879765b23cdcc798152f0a90"
}
],
"dirSha256": "05da3630051d95a5626c57624da87267677cfc8c1276995894c67d98da2f96bc"
},
"security": {
"scannedAt": null,
"scannerVersion": null,
"flags": []
}
}

View File

@@ -0,0 +1,52 @@
---
name: setting-up-synthetic-monitoring
description: |
This skill automates the setup of synthetic monitoring for applications. It allows Claude to proactively track performance and availability by configuring uptime, transaction, and API monitoring. Use this skill when the user requests to "set up synthetic monitoring", "configure uptime monitoring", "track application performance", or needs help with "proactive performance tracking". The skill helps to identify critical endpoints and user journeys, design monitoring scenarios, and configure alerts and dashboards.
allowed-tools: Read, Write, Edit, Grep, Glob, Bash
version: 1.0.0
---
## Overview
This skill streamlines the process of setting up synthetic monitoring, enabling proactive performance tracking for applications. It guides the user through defining key monitoring scenarios and configuring alerts to ensure optimal application performance and availability.
## How It Works
1. **Identify Monitoring Needs**: Determine the critical endpoints, user journeys, and APIs to monitor based on the user's application requirements.
2. **Design Monitoring Scenarios**: Create specific monitoring scenarios for uptime, transactions, and API performance, including frequency and location.
3. **Configure Monitoring**: Set up the synthetic monitoring tool with the designed scenarios, including alerts and dashboards for performance visualization.
## When to Use This Skill
This skill activates when you need to:
- Implement uptime monitoring for a web application.
- Track the performance of critical user journeys through transaction monitoring.
- Monitor the response time and availability of API endpoints.
## Examples
### Example 1: Setting up Uptime Monitoring
User request: "Set up uptime monitoring for my website example.com."
The skill will:
1. Identify example.com as the target endpoint.
2. Configure uptime monitoring to check the availability of example.com every 5 minutes from multiple locations.
### Example 2: Monitoring API Performance
User request: "Configure API monitoring for the /users endpoint of my application."
The skill will:
1. Identify the /users endpoint as the target for API monitoring.
2. Set up monitoring to track the response time and status code of the /users endpoint every minute.
## Best Practices
- **Prioritize Critical Endpoints**: Focus on monitoring the most critical endpoints and user journeys that directly impact user experience.
- **Set Realistic Thresholds**: Configure alerts with realistic thresholds to avoid false positives and ensure timely notifications.
- **Regularly Review and Adjust**: Periodically review the monitoring configuration and adjust scenarios and thresholds based on application changes and performance trends.
## Integration
This skill can be integrated with other plugins for incident management and alerting, such as those that handle notifications via Slack or PagerDuty, allowing for automated incident response workflows based on synthetic monitoring results.

View File

@@ -0,0 +1,7 @@
# Assets
Bundled resources for synthetic-monitoring-setup skill
- [ ] dashboard_template.json: A JSON template for creating a dashboard to visualize synthetic monitoring data.
- [ ] incident_response_playbook.md: A template for creating an incident response playbook for synthetic monitoring alerts.
- [ ] example_monitor_config.json: Example configuration for a synthetic monitor.

View File

@@ -0,0 +1,7 @@
# References
Bundled resources for synthetic-monitoring-setup skill
- [ ] synthetic_monitoring_api_docs.md: Detailed documentation for the synthetic monitoring API used by the scripts.
- [ ] supported_monitor_types.md: A list of supported monitor types and their configurations.
- [ ] alerting_best_practices.md: Guidelines for setting up effective alerting rules for synthetic monitors.

View File

@@ -0,0 +1,7 @@
# Scripts
Bundled resources for synthetic-monitoring-setup skill
- [ ] setup_monitor.py: Automates the configuration of synthetic monitors based on user input and API calls.
- [ ] update_monitor.py: Allows modification of existing synthetic monitors, such as changing frequency or alert thresholds.
- [ ] delete_monitor.py: Removes synthetic monitors that are no longer needed.