home / skills / jeremylongshore / claude-code-plugins-plus-skills / memory-profiler-setup

This skill guides memory profiler setup with step-by-step configurations and best practices, producing production-ready code and validated results.

npx playbooks add skill jeremylongshore/claude-code-plugins-plus-skills --skill memory-profiler-setup

Review the files below or copy the command above to add this skill to your agents.

Files (1)
SKILL.md
2.2 KB
---
name: "memory-profiler-setup"
description: |
  Configure memory profiler setup operations. Auto-activating skill for Performance Testing.
  Triggers on: memory profiler setup, memory profiler setup
  Part of the Performance Testing skill category. Use when working with memory profiler setup functionality. Trigger with phrases like "memory profiler setup", "memory setup", "memory".
allowed-tools: "Read, Write, Edit, Bash(cmd:*)"
version: 1.0.0
license: MIT
author: "Jeremy Longshore <[email protected]>"
---

# Memory Profiler Setup

## Overview

This skill provides automated assistance for memory profiler setup tasks within the Performance Testing domain.

## When to Use

This skill activates automatically when you:
- Mention "memory profiler setup" in your request
- Ask about memory profiler setup patterns or best practices
- Need help with performance testing skills covering load testing, stress testing, benchmarking, and performance monitoring.

## Instructions

1. Provides step-by-step guidance for memory profiler setup
2. Follows industry best practices and patterns
3. Generates production-ready code and configurations
4. Validates outputs against common standards

## Examples

**Example: Basic Usage**
Request: "Help me with memory profiler setup"
Result: Provides step-by-step guidance and generates appropriate configurations


## Prerequisites

- Relevant development environment configured
- Access to necessary tools and services
- Basic understanding of performance testing concepts


## Output

- Generated configurations and code
- Best practice recommendations
- Validation results


## Error Handling

| Error | Cause | Solution |
|-------|-------|----------|
| Configuration invalid | Missing required fields | Check documentation for required parameters |
| Tool not found | Dependency not installed | Install required tools per prerequisites |
| Permission denied | Insufficient access | Verify credentials and permissions |


## Resources

- Official documentation for related tools
- Best practices guides
- Community examples and tutorials

## Related Skills

Part of the **Performance Testing** skill category.
Tags: performance, load-testing, k6, jmeter, benchmarking

Overview

This skill configures memory profiler setup operations for performance testing workflows. It guides engineers through environment preparation, tool selection, and generation of production-ready profiler configurations. The skill is auto-activated for requests about memory profiler setup and focuses on practical, verifiable outcomes.

How this skill works

The skill inspects your environment and prerequisites, recommends suitable profilers and integration patterns, and generates step-by-step setup instructions and configuration files. It validates generated artifacts against common standards and flags missing dependencies or permission issues. Deliverables include sample code snippets, CI/CD integration tips, and validation checks you can run locally.

When to use it

  • Setting up memory profiling for a new application or service
  • Automating profiler configuration in CI/CD pipelines
  • Troubleshooting memory leaks and wanting repeatable setup steps
  • Preparing performance test environments for load or stress tests
  • Generating validated config files for production or staging

Best practices

  • Establish baseline memory metrics before enabling heavy instrumentation
  • Use lightweight sampling in production and full tracing in staging
  • Integrate profiler steps into CI jobs to ensure consistent setups
  • Automate dependency checks and permission verification before runs
  • Keep profiler configs versioned alongside application code

Example use cases

  • Create a memory profiler config for a Python web service and CI pipeline snippet
  • Advice on choosing between sampling and allocation profilers for production
  • Step-by-step guide to instrumenting containers and collecting heap snapshots
  • Validation checklist to detect missing tools or insufficient permissions
  • Generate reproducible instructions for chasing intermittent memory growth

FAQ

What prerequisites are required?

A configured development environment, access to profiling tools, and basic performance testing knowledge. The skill will list exact dependencies for your chosen profiler.

How does the skill handle permission or missing tool errors?

It detects common error causes, explains likely fixes such as installing dependencies or adjusting permissions, and provides command examples to resolve them.