gleam-code-review

Review Gleam code for idiomatic patterns, error handling, and architecture.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill addresses the need for consistent, high-quality Gleam code by providing automated checks for idiomatic patterns, robust error handling, and secure coding practices.

Core Features & Use Cases

  • Idiomatic Code Analysis: Ensures Gleam code adheres to best practices and common patterns.
  • Error Handling Review: Verifies that Result and Option types are used correctly and errors are managed effectively.
  • Security Audit: Checks for potential security vulnerabilities, especially concerning FFI and input validation.
  • Use Case: A developer can use this skill to get immediate feedback on a new Gleam module before merging it, ensuring it meets project standards for quality and safety.

Quick Start

Use the gleam-code-review skill to review the attached Gleam code file.

Frequently Asked Questions about gleam-code-review

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

FAQPage Schema
How do I review Gleam code for idiomatic patterns and proper error handling?

Review Gleam code by running a dedicated command that analyzes Result and Option handling, module organization, naming conventions, type design, and overall clarity to ensure idiomatic patterns and robust error management.

What does a Gleam code quality audit check for in module organization and type design?

A Gleam code quality audit checks for idiomatic patterns, proper Result and Option error handling, clean module organization, naming conventions, and type design to verify clarity and secure coding practices.

Can I use an automated review to check Gleam FFI code for security vulnerabilities?

Yes, you can use an automated review to check Gleam code for potential security vulnerabilities, specifically focusing on FFI usage and input validation to ensure secure coding practices.

How do I get immediate feedback on a new Gleam module before merging?

Get immediate feedback on a new Gleam module by attaching the file and executing the review command, which analyzes the code against project standards for quality, idiomatic patterns, and safety.

What is the best way to ensure Result and Option types are used correctly in Gleam?

The best way to ensure Result and Option types are used correctly is to perform a comprehensive code review that verifies effective error management and proper handling of these types in your Gleam code.