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
Activation: The user's request triggers the database-transaction-monitor plugin.
Transaction Monitoring: The plugin executes the /txn-monitor command to initiate transaction monitoring.
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:
Activate the database-transaction-monitor plugin.
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:
Activate the database-transaction-monitor plugin.
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.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: jeremylongshore-claude-code-plugins-plus-skills-database-tra3description: Overview4---56## Overview78This 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.910## How It Works11121. **Activation**: The user's request triggers the `database-transaction-monitor` plugin.132. **Transaction Monitoring**: The plugin executes the `/txn-monitor` command to initiate transaction monitoring.143. **Alerting**: The plugin analyzes transaction data and generates alerts based on predefined thresholds for long-running transactions, lock wait times, and rollback rates.1516## When to Use This Skill1718This skill activates when you need to:19- Detect and kill long-running transactions blocking other queries.20- Monitor lock wait times and identify deadlock patterns.21- Track transaction rollback rates for error analysis.2223## Examples2425### Example 1: Detecting Long-Running Transactions2627User request: "Find any long-running database transactions."2829The skill will:301. Activate the `database-transaction-monitor` plugin.312. Execute the `/txn-monitor` command to identify transactions exceeding a predefined duration threshold.3233### Example 2: Analyzing Lock Contention3435User request: "Analyze database lock contention."3637The skill will:381. Activate the `database-transaction-monitor` plugin.392. Execute the `/txn-monitor` command to monitor lock wait times and identify deadlock patterns.4041## Best Practices4243- **Threshold Configuration**: Configure appropriate thresholds for long-running transactions and lock wait times to minimize false positives.44- **Alerting Integration**: Integrate transaction alerts with existing monitoring systems for timely notification and response.45- **Regular Review**: Regularly review transaction monitoring data to identify trends and proactively address potential performance issues.4647## Integration4849This 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.5051---52> Converted and distributed by [TomeVault](https://tomevault.io/claim/jeremylongshore) — claim your Tome and manage your conversions.53<!-- tomevault:4.0:skill_md:2026-04-11 -->
Run npx skillmds@latest add tomevault-io/jeremylongshore-claude-code-plugins-plus-skills-database-tra in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Overview It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.