← Back to Skills Marketplace
anderskev

Elixir Performance Review

by Kevin Anderson · GitHub ↗ · v1.2.1 · MIT-0
cross-platform ✓ Security Clean
173
Downloads
0
Stars
1
Active Installs
2
Versions
Install in OpenClaw
/install elixir-performance-review
Description
Reviews Elixir code for performance issues including GenServer bottlenecks, memory usage, and concurrency patterns. Use when reviewing high-throughput code o...
README (SKILL.md)

Elixir Performance Review

Quick Reference

Issue Type Reference
Mailbox overflow, blocking calls references/genserver-bottlenecks.md
When to use ETS, read/write concurrency references/ets-patterns.md
Binary handling, large messages references/memory.md
Task patterns, flow control references/concurrency.md

Review Checklist

GenServer

  • Not a single-process bottleneck for all requests
  • No blocking operations in handle_call/cast
  • Proper timeout configuration
  • Consider ETS for read-heavy state

Memory

  • Large binaries not copied between processes
  • Streams used for large data transformations
  • No unbounded data accumulation

Concurrency

  • Task.Supervisor for dynamic tasks (not raw Task.async)
  • No unbounded process spawning
  • Proper backpressure for message producers

Database

  • Preloading to avoid N+1 queries
  • Pagination for large result sets
  • Indexes for frequent queries

Valid Patterns (Do NOT Flag)

  • Single GenServer for low-throughput - Not all state needs horizontal scaling
  • Synchronous calls for critical paths - Consistency may require it
  • In-memory state without ETS - ETS has overhead for small state
  • Enum over Stream for small collections - Stream overhead not worth it

Context-Sensitive Rules

Issue Flag ONLY IF
GenServer bottleneck Handles > 1000 req/sec OR blocking I/O in callbacks
Use streams Processing > 10k items OR reading large files
Use ETS Read:write ratio > 10:1 AND concurrent access

Gates — before reporting

Do these in order for the performance review. Do not publish findings until each step passes.

  1. Protocol loaded — Read review-verification-protocol and apply its checks for each finding (hot paths, concurrency, resource use). Pass: For every substantive finding, you can name which protocol subsection you satisfied or state N/A with reason (e.g. pure reference to this skill’s Valid Patterns).
  2. Anchored evidencePass: Each finding includes a concrete locator: path:line (or line range), or Module.function/arity plus a short quoted snippet from the file.
  3. Performance claims — For anything under Context-Sensitive Rules, or any claim of bottleneck, N+1, unbounded growth, or heavy memory/binary cost, Pass: You state the observed or measured fact that meets “Flag ONLY IF” (e.g. rate, item count, ratio), or attach an artifact (profiler output, SQL/log excerpt, grep/search scope)—otherwise downgrade to question / suspected with what was not verified.

Before Submitting Findings

Complete Gates — before reporting (section above) first; the verification protocol is mandatory input to those gates.

Usage Guidance
This skill appears coherent and low-risk: it will require the agent to read your codebase and may ask you to provide profiler output or logs to substantiate claims. Before using it, ensure the agent has only the repository files you intend to share, be prepared to produce any profiler/log artifacts locally (the skill doesn't supply profiling tools), and verify the referenced verification protocol (../review-verification-protocol/SKILL.md) is available or replaceable — otherwise the skill may downgrade findings to 'suspected' because it requires that protocol for verification.
Capability Assessment
Purpose & Capability
Name/description (Elixir performance review) align with the included checklist and reference documents; it requires no binaries, env vars, or installs that would be unrelated to code review.
Instruction Scope
The SKILL.md stays on-topic (it instructs the agent to inspect code, produce anchored findings, and attach measured artifacts). Two minor inconsistencies: 1) it requires "observed or measured" artifacts (profiler output, SQL/log excerpts, grep output) but does not declare which tools or permissions are needed to generate them, and 2) it mandates reading a separate verification protocol at ../review-verification-protocol/SKILL.md which is not included here — that could make the gate unenforceable unless the agent has access to that path or another skill. These are operational gaps, not security red flags.
Install Mechanism
No install spec, no code executed or downloaded. Instruction-only skills are lowest-risk from an installation perspective.
Credentials
The skill declares no environment variables, credentials, or config paths. Its requested artifacts (profiling output, file:line locators) are proportional to a code review and do not imply access to unrelated services.
Persistence & Privilege
always is false, skill is user-invocable, and there is no code that modifies other skills or system settings. No persistence or elevated privileges are requested.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install elixir-performance-review
  3. After installation, invoke the skill by name or use /elixir-performance-review
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.2.1
- Added “Gates — before reporting” section describing mandatory step-by-step verification before submitting findings, including protocol adherence, anchored evidence, and requirement for observed/measured performance claims. - Updated “Before Submitting Findings” to reference the new gates and clarify verification is required. - No changes to review topics, checklists, or core skill functionality.
v1.2.0
elixir-performance-review v1.2.0 - Added quick-reference table linking common performance issues to documentation. - Expanded and clarified the review checklist for GenServer, memory usage, concurrency, and database patterns. - Documented valid code patterns that should not be flagged. - Introduced context-sensitive review rules to guide when to flag issues. - Added a step to verify findings using the review-verification-protocol before submission.
Metadata
Slug elixir-performance-review
Version 1.2.1
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 2
Frequently Asked Questions

What is Elixir Performance Review?

Reviews Elixir code for performance issues including GenServer bottlenecks, memory usage, and concurrency patterns. Use when reviewing high-throughput code o... It is an AI Agent Skill for Claude Code / OpenClaw, with 173 downloads so far.

How do I install Elixir Performance Review?

Run "/install elixir-performance-review" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Elixir Performance Review free?

Yes, Elixir Performance Review is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Elixir Performance Review support?

Elixir Performance Review is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Elixir Performance Review?

It is built and maintained by Kevin Anderson (@anderskev); the current version is v1.2.1.

💬 Comments