Detecting Database Deadlocks

This skill enables Claude to automatically detect, analyze, and prevent database deadlocks in database systems. It provides insights into transaction patterns, lock contention, and suggests optimization strategies to minimize deadlock occurrences.

Databases Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add jeremylongshore/claude-code-plugins-plus-skills
/plugin install database-deadlock-detector@claude-code-plugins-plus

Run these inside Claude Code. The skill comes with its plugin.

What this skill does

This skill uses the database-deadlock-detector plugin to detect, analyze, and prevent database deadlocks. It monitors database lock contention, analyzes transaction patterns, and suggests resolution strategies. Use this skill when the user asks to "detect database deadlocks", "analyze deadlock causes", "monitor database locks", or any requests related to database deadlock prevention and resolution. This skill is particularly useful for production database systems experiencing recurring deadlock issues. The plugin's command `/deadlock` is triggered by these requests.

Trigger phrases

Claude loads this skill automatically when you say things like:

“detect database deadlocks”“analyze deadlock causes”“monitor database locks”

How it works

  1. Execute Deadlock Analysis: The plugin executes the `/deadlock` command to analyze the database for current and potential deadlocks.
  2. Report Findings: The plugin generates a report summarizing detected deadlocks, their causes, and potential resolution strategies.

When to use it

  • Investigate recurring deadlock issues in production.
  • Implement proactive deadlock detection and alerting.
  • Analyze transaction patterns causing deadlocks.

Best practices

  • Configuration: Properly configure the plugin with the correct database connection details.
  • Regular Monitoring: Schedule regular deadlock detection runs to proactively identify and address potential issues.

Details

Skill name
detecting-database-deadlocks
Plugin
database-deadlock-detector

FAQ

What does the Detecting Database Deadlocks skill do?

This skill uses the database-deadlock-detector plugin to detect, analyze, and prevent database deadlocks. It monitors database lock contention, analyzes transaction patterns, and suggests resolution strategies. Use this skill when the user asks to "detect database deadlocks", "analyze deadlock causes", "monitor database locks", or any requests related to database deadlock prevention and resolution. This skill is particularly useful for production database systems experiencing recurring deadlock issues. The plugin's command `/deadlock` is triggered by these requests.

How do I install the Detecting Database Deadlocks skill?

Claude Code plugin: /plugin marketplace add jeremylongshore/claude-code-plugins-plus-skills then /plugin install database-deadlock-detector@claude-code-plugins-plus. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Related skills

000 Jeremy Content Consistency Validator

jeremylongshore/claude-code-plugins-plus-skills

Validates messaging consistency across website, GitHub repositories, and local documentation. Generates comprehensive read-only discrepancy reports showing where messaging conflicts or inconsistencies exist. Activates when user mentions "consistency check", "validate documentation", "check for mixed messaging", "audit content consistency", or before updating internal paperwork.

Writing & Content

001 Jeremy Taskwarrior Integration

jeremylongshore/claude-code-plugins-plus-skills

Enforces complete Taskwarrior integration protocol for ALL coding tasks. Activates automatically when user mentions "taskwarrior", "task warrior", "tw", or discusses task management. Decomposes all coding work into properly tracked Taskwarrior tasks with full lifecycle: task add → task start → implementation → task done. Integrates with Timewarrior for automatic time tracking.

Productivity & Notes

Adapting Transfer Learning Models

jeremylongshore/claude-code-plugins-plus-skills

This skill automates the adaptation of pre-trained machine learning models using transfer learning techniques. It is triggered when the user requests assistance with fine-tuning a model, adapting a pre-trained model to a new dataset, or performing transfer learning. It analyzes the user's requirements, generates code for adapting the model, includes data validation and error handling, provides performance metrics, and saves artifacts with documentation. Use this skill when you need to leverage existing models for new tasks or datasets, optimizing for performance and efficiency.

Learning & Education

Generating Database Documentation

jeremylongshore/claude-code-plugins-plus-skills

This skill enables Claude to automatically generate comprehensive documentation for existing database schemas using the database-documentation-gen plugin. It is triggered when the user requests database documentation, ERD diagrams, or a data dictionary. The plugin supports multiple database engines and generates documentation that includes ERD diagrams, table relationships, column descriptions, indexes, triggers, stored procedures, and interactive HTML documentation. Use this skill when you need to document existing database schemas for team onboarding, architectural reviews, or data governanc

Databases

Designing Database Schemas

jeremylongshore/claude-code-plugins-plus-skills

This skill enables Claude to design and visualize database schemas. It leverages normalization guidance (1NF through BCNF), relationship mapping, and ERD generation to create efficient and well-structured databases. Use this skill when the user requests to "design a database schema", "create a database model", "generate an ERD", "normalize a database", or needs help with "database design best practices". The skill is triggered by terms like "database schema", "ERD diagram", "database normalization", and "relational database design".

Databases

Generating Database Seed Data

jeremylongshore/claude-code-plugins-plus-skills

This skill enables Claude to generate realistic test data and database seed scripts for development and testing environments. It uses Faker libraries to create realistic data, maintains relational integrity, and allows configurable data volumes. Use this skill when you need to quickly populate a database with sample data for development, testing, or demonstration purposes. The skill is triggered by phrases like "seed database", "generate test data", "create seed script", or "populate database with realistic data".

Databases

Browse the most popular Claude skills, all databases skills, or write your own with the skills generator.