jeremylongshore

Monitoring Database Transactions

@jeremylongshore/Monitoring Database Transactions
jeremylongshore
1,004
123 forks
Updated 1/18/2026
View on GitHub

This skill enables Claude to monitor database transactions for performance and lock issues using the database-transaction-monitor plugin. It is triggered when the user requests transaction monitoring, lock detection, or rollback rate analysis for databases. Use this skill when the user mentions "monitor database transactions," "detect long-running transactions," "identify lock contention," "track rollback rates," or asks about "transaction anomalies." The skill leverages the `/txn-monitor` command to provide real-time alerts and insights into database health.

Installation

$skills install @jeremylongshore/Monitoring Database Transactions
Claude Code
Cursor
Copilot
Codex
Antigravity

Details

Pathbackups/plugin-enhancements/plugin-backups/database-transaction-monitor_20251020_054256/skills/skill-adapter/SKILL.md
Branchmain
Scoped Name@jeremylongshore/Monitoring Database Transactions

Usage

After installing, this skill will be available to your AI coding assistant.

Verify installation:

skills list

Skill Instructions


name: Monitoring Database Transactions description: | This skill enables Claude to monitor database transactions for performance and lock issues using the database-transaction-monitor plugin. It is triggered when the user requests transaction monitoring, lock detection, or rollback rate analysis for databases. Use this skill when the user mentions "monitor database transactions," "detect long-running transactions," "identify lock contention," "track rollback rates," or asks about "transaction anomalies." The skill leverages the /txn-monitor command to provide real-time alerts and insights into database health.

Overview

This skill empowers Claude to proactively monitor database transactions, identify performance bottlenecks like long-running queries and lock contention, and alert on anomalies such as high rollback rates. It provides insights into database health and helps prevent performance degradation.

How It Works

  1. Activation: The user's request triggers the database-transaction-monitor plugin.
  2. Transaction Monitoring: The plugin executes the /txn-monitor command to initiate transaction monitoring.
  3. Alerting: The plugin analyzes transaction data and generates alerts based on predefined thresholds for long-running transactions, lock wait times, and rollback rates.

When to Use This Skill

This skill activates when you need to:

  • Detect and kill long-running transactions blocking other queries.
  • Monitor lock wait times and identify deadlock patterns.
  • Track transaction rollback rates for error analysis.

Examples

Example 1: Detecting Long-Running Transactions

User request: "Find any long-running database transactions."

The skill will:

  1. Activate the database-transaction-monitor plugin.
  2. Execute the /txn-monitor command to identify transactions exceeding a predefined duration threshold.

Example 2: Analyzing Lock Contention

User request: "Analyze database lock contention."

The skill will:

  1. Activate the database-transaction-monitor plugin.
  2. Execute the /txn-monitor command to monitor lock wait times and identify deadlock patterns.

Best Practices

  • Threshold Configuration: Configure appropriate thresholds for long-running transactions and lock wait times to minimize false positives.
  • Alerting Integration: Integrate transaction alerts with existing monitoring systems for timely notification and response.
  • Regular Review: Regularly review transaction monitoring data to identify trends and proactively address potential performance issues.

Integration

This skill can be integrated with other monitoring and alerting tools to provide a comprehensive view of database health. It complements tools for query optimization and database schema design.

More by jeremylongshore

View all
rabbitmq-queue-setup
1,004

Rabbitmq Queue Setup - Auto-activating skill for Backend Development. Triggers on: rabbitmq queue setup, rabbitmq queue setup Part of the Backend Development skill category.

model-evaluation-suite
1,004

evaluating-machine-learning-models: This skill allows Claude to evaluate machine learning models using a comprehensive suite of metrics. It should be used when the user requests model performance analysis, validation, or testing. Claude can use this skill to assess model accuracy, precision, recall, F1-score, and other relevant metrics. Trigger this skill when the user mentions "evaluate model", "model performance", "testing metrics", "validation results", or requests a comprehensive "model evaluation".

neural-network-builder
1,004

building-neural-networks: This skill allows Claude to construct and configure neural network architectures using the neural-network-builder plugin. It should be used when the user requests the creation of a new neural network, modification of an existing one, or assistance with defining the layers, parameters, and training process. The skill is triggered by requests involving terms like "build a neural network," "define network architecture," "configure layers," or specific mentions of neural network types (e.g., "CNN," "RNN," "transformer").

oauth-callback-handler
1,004

Oauth Callback Handler - Auto-activating skill for API Integration. Triggers on: oauth callback handler, oauth callback handler Part of the API Integration skill category.