gleam-performance-review

Analyze Gleam code for BEAM runtime performance issues and generate Markdown findings.

Updated Oct 11, 2025
One-click install
npx skills add https://github.com/bromanko/llm-agents --skill gleam-performance-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gleam-performance-review
Source: https://github.com/bromanko/llm-agents/tree/main/skills/gleam-performance-review
Command: npx skills add https://github.com/bromanko/llm-agents --skill gleam-performance-review

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses performance bottlenecks in Gleam code, helping developers optimize for the BEAM runtime, process architecture, and data structures.

Core Features & Use Cases

  • BEAM Performance Analysis: Identifies inefficiencies specific to the Erlang Virtual Machine.
  • Process Architecture Review: Assesses the design and efficiency of concurrent processes.
  • Data Structure Optimization: Recommends better data handling patterns.
  • Use Case: A developer has a Gleam application experiencing slow response times under load. This Skill can pinpoint whether the issue lies in inefficient message passing, suboptimal data structures, or poorly designed process supervision, providing actionable suggestions for improvement.

Quick Start

Review the performance of the Gleam code in the current directory.

Frequently Asked Questions about gleam-performance-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize Gleam code for BEAM performance?

To optimize Gleam code for BEAM performance, analyze your source files for inefficient process architecture, message passing, recursion, and data structure choices. A structured review identifies hot paths and provides actionable improvement suggestions with severity levels.

What causes slow response times in Gleam applications under load?

Slow response times in Gleam applications under load are typically caused by inefficient message passing, suboptimal data structures, or poorly designed process supervision on the BEAM runtime. Analyzing hot paths pinpoints the exact bottleneck.

How do I review Gleam process architecture and message passing efficiency?

Review Gleam process architecture and message passing by applying a performance checklist to your specified files or working changes. This assesses the design and efficiency of concurrent processes and identifies structural areas for optimization.

What specific BEAM runtime patterns are analyzed in a Gleam performance review?

A Gleam performance review analyzes BEAM runtime patterns including process architecture, message passing, recursion, data structures, binary handling, ETS usage, I/O, and memory management to identify inefficiencies and optimize hot paths.

Can I scope a Gleam performance review to specific files or working changes?

Yes, you can scope a Gleam performance review to specified files or working changes. This targeted analysis focuses on identifying hot paths and applying a performance checklist to the relevant codebase segments.