MCP HubMCP Hub
スキル一覧に戻る

detecting-memory-leaks

jeremylongshore
更新日 Today
71 閲覧
712
74
712
GitHubで表示
メタai

について

このスキルは、関連するリクエストによってトリガーされた際に、Claudeがコード内の潜在的なメモリリークを検出できるようにします。未削除のイベントリスナー、循環参照、制限のないキャッシュ増加などの一般的な問題を特定し、詳細な修正推奨事項を提供します。開発者はこれを使用して、メモリ分析を通じてアプリケーションのパフォーマンスと安定性を積極的に改善できます。

クイックインストール

Claude Code

推奨
プラグインコマンド推奨
/plugin add https://github.com/jeremylongshore/claude-code-plugins-plus
Git クローン代替
git clone https://github.com/jeremylongshore/claude-code-plugins-plus.git ~/.claude/skills/detecting-memory-leaks

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

Overview

This skill helps you identify and resolve memory leaks in your code. By analyzing your code for common memory leak patterns, it can help you improve the performance and stability of your application.

How It Works

  1. Initiate Analysis: The user requests memory leak detection.
  2. Code Analysis: The plugin analyzes the codebase for potential memory leak patterns.
  3. Report Generation: The plugin generates a report detailing potential memory leaks and recommended fixes.

When to Use This Skill

This skill activates when you need to:

  • Detect potential memory leaks in your application.
  • Analyze memory usage patterns to identify performance bottlenecks.
  • Troubleshoot performance issues related to memory leaks.

Examples

Example 1: Identifying Event Listener Leaks

User request: "detect memory leaks in my event handling code"

The skill will:

  1. Analyze the code for unremoved event listeners.
  2. Generate a report highlighting potential event listener leaks and suggesting how to properly remove them.

Example 2: Analyzing Cache Growth

User request: "analyze memory usage to find excessive cache growth"

The skill will:

  1. Analyze cache implementations for unbounded growth.
  2. Identify caches that are not properly managed and recommend strategies for limiting their size.

Best Practices

  • Code Review: Always review the reported potential leaks to ensure they are genuine issues.
  • Regular Analysis: Incorporate memory leak detection into your regular development workflow.
  • Targeted Analysis: Focus your analysis on specific areas of your code that are known to be memory-intensive.

Integration

This skill can be used in conjunction with other performance analysis tools to provide a comprehensive view of application performance.

GitHub リポジトリ

jeremylongshore/claude-code-plugins-plus
パス: backups/skills-batch-20251204-000554/plugins/performance/memory-leak-detector/skills/memory-leak-detector
aiautomationclaude-codedevopsmarketplacemcp

関連スキル

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.

スキルを見る

cloudflare-turnstile

メタ

This skill provides comprehensive guidance for implementing Cloudflare Turnstile as a CAPTCHA-alternative bot protection system. It covers integration for forms, login pages, API endpoints, and frameworks like React/Next.js/Hono, while handling invisible challenges that maintain user experience. Use it when migrating from reCAPTCHA, debugging error codes, or implementing token validation and E2E tests.

スキルを見る

langchain

メタ

LangChain is a framework for building LLM applications using agents, chains, and RAG pipelines. It supports multiple LLM providers, offers 500+ integrations, and includes features like tool calling and memory management. Use it for rapid prototyping and deploying production systems like chatbots, autonomous agents, and question-answering services.

スキルを見る