monitoring-database-transactions
について
このスキルは、`/txn-monitor`コマンドを使用して、長時間実行されるクエリやロック競合などのパフォーマンス問題をデータベーストランザクションから監視する機能をClaudeに提供します。ユーザーがトランザクション監視、ロック検出、またはロールバック率分析を要求した際に作動します。データベースの健全性や異常に関するリアルタイムのアラートと洞察を得るためにご利用ください。
クイックインストール
Claude Code
推奨/plugin add https://github.com/jeremylongshore/claude-code-plugins-plusgit clone https://github.com/jeremylongshore/claude-code-plugins-plus.git ~/.claude/skills/monitoring-database-transactionsこのコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします
ドキュメント
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
- Activation: The user's request triggers the
database-transaction-monitorplugin. - Transaction Monitoring: The plugin executes the
/txn-monitorcommand 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-monitorplugin. - Execute the
/txn-monitorcommand 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-monitorplugin. - Execute the
/txn-monitorcommand 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.
GitHub リポジトリ
関連スキル
content-collections
メタThis skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.
evaluating-llms-harness
テストThis Claude Skill runs the lm-evaluation-harness to benchmark LLMs across 60+ standardized academic tasks like MMLU and GSM8K. It's designed for developers to compare model quality, track training progress, or report academic results. The tool supports various backends including HuggingFace and vLLM models.
sglang
メタSGLang is a high-performance LLM serving framework that specializes in fast, structured generation for JSON, regex, and agentic workflows using its RadixAttention prefix caching. It delivers significantly faster inference, especially for tasks with repeated prefixes, making it ideal for complex, structured outputs and multi-turn conversations. Choose SGLang over alternatives like vLLM when you need constrained decoding or are building applications with extensive prefix sharing.
polymarket
メタThis skill enables developers to build applications with the Polymarket prediction markets platform, including API integration for trading and market data. It also provides real-time data streaming via WebSocket to monitor live trades and market activity. Use it for implementing trading strategies or creating tools that process live market updates.
