home / skills / jeremylongshore / claude-code-plugins-plus-skills / flame-graph-generator
This skill helps you automate flame graph generation for performance testing, providing step-by-step guidance, production-ready configs, and validation.
npx playbooks add skill jeremylongshore/claude-code-plugins-plus-skills --skill flame-graph-generatorReview the files below or copy the command above to add this skill to your agents.
---
name: "flame-graph-generator"
description: |
Generate flame graph generator operations. Auto-activating skill for Performance Testing.
Triggers on: flame graph generator, flame graph generator
Part of the Performance Testing skill category. Use when working with flame graph generator functionality. Trigger with phrases like "flame graph generator", "flame generator", "flame".
allowed-tools: "Read, Write, Edit, Bash(cmd:*)"
version: 1.0.0
license: MIT
author: "Jeremy Longshore <[email protected]>"
---
# Flame Graph Generator
## Overview
This skill provides automated assistance for flame graph generator tasks within the Performance Testing domain.
## When to Use
This skill activates automatically when you:
- Mention "flame graph generator" in your request
- Ask about flame graph generator 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 flame graph generator
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 flame graph generator"
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
This skill automates flame graph generator tasks for performance testing. It provides step‑by‑step guidance, generates production‑ready code and configurations, and validates outputs against common standards. Use it to accelerate profiling, visualization, and interpretation of application CPU and sampling data.
The skill inspects profiler output (sampling stacks, pprof, perf.data, or trace files) and maps stack samples to call paths to produce a flame graph-compatible format. It can output folded stack text, generate SVG flame graphs, and produce configuration snippets to integrate with CI or load test runs. It validates input formats and reports common issues like missing symbols or sampling gaps.
What input formats are supported?
Common profiler outputs such as perf.data, pprof, async-profiler traces, and folded stack text are supported. If symbols are missing, the output will include raw addresses and a note to supply debug symbols.
Can this run automatically in CI?
Yes. The skill can produce scripts and configs to run profiling under load, generate flame graphs, validate results, and archive artifacts as part of CI pipelines.