From dce4e066d028d364e3854d018c5ca80340f8f759 Mon Sep 17 00:00:00 2001 From: Zhongwei Li Date: Sun, 30 Nov 2025 08:21:31 +0800 Subject: [PATCH] Initial commit --- .claude-plugin/plugin.json | 15 +++++ README.md | 3 + commands/setup-synthetic-monitoring.md | 35 +++++++++++ plugin.lock.json | 61 +++++++++++++++++++ skills/synthetic-monitoring-setup/SKILL.md | 52 ++++++++++++++++ .../assets/README.md | 7 +++ .../references/README.md | 7 +++ .../scripts/README.md | 7 +++ 8 files changed, 187 insertions(+) create mode 100644 .claude-plugin/plugin.json create mode 100644 README.md create mode 100644 commands/setup-synthetic-monitoring.md create mode 100644 plugin.lock.json create mode 100644 skills/synthetic-monitoring-setup/SKILL.md create mode 100644 skills/synthetic-monitoring-setup/assets/README.md create mode 100644 skills/synthetic-monitoring-setup/references/README.md create mode 100644 skills/synthetic-monitoring-setup/scripts/README.md diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..789b0b0 --- /dev/null +++ b/.claude-plugin/plugin.json @@ -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" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..dcf0f1b --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# synthetic-monitoring-setup + +Set up synthetic monitoring for proactive performance tracking diff --git a/commands/setup-synthetic-monitoring.md b/commands/setup-synthetic-monitoring.md new file mode 100644 index 0000000..45eb007 --- /dev/null +++ b/commands/setup-synthetic-monitoring.md @@ -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 diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..cc27b13 --- /dev/null +++ b/plugin.lock.json @@ -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": [] + } +} \ No newline at end of file diff --git a/skills/synthetic-monitoring-setup/SKILL.md b/skills/synthetic-monitoring-setup/SKILL.md new file mode 100644 index 0000000..c07d305 --- /dev/null +++ b/skills/synthetic-monitoring-setup/SKILL.md @@ -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. \ No newline at end of file diff --git a/skills/synthetic-monitoring-setup/assets/README.md b/skills/synthetic-monitoring-setup/assets/README.md new file mode 100644 index 0000000..881bcd0 --- /dev/null +++ b/skills/synthetic-monitoring-setup/assets/README.md @@ -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. diff --git a/skills/synthetic-monitoring-setup/references/README.md b/skills/synthetic-monitoring-setup/references/README.md new file mode 100644 index 0000000..99e68bc --- /dev/null +++ b/skills/synthetic-monitoring-setup/references/README.md @@ -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. diff --git a/skills/synthetic-monitoring-setup/scripts/README.md b/skills/synthetic-monitoring-setup/scripts/README.md new file mode 100644 index 0000000..d783b01 --- /dev/null +++ b/skills/synthetic-monitoring-setup/scripts/README.md @@ -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.