Skip to content
Back to skills

Gleam

ASecurity

Use when Gleam, gleam.toml, BEAM, Erlang interop, TDD, or type-driven Gleam code are involved.

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 14, 2026
toolsbashapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 14, 2026

npx -y skills add anntnzrb/agents --skill gleam --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gleam?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gleam
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anntnzrb-gleam/badge)](https://www.skillsdirectory.com/skills/anntnzrb-gleam)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
disable-model-invocation: true
name: gleam
description: "Use when Gleam, gleam.toml, BEAM, Erlang interop, TDD, or type-driven Gleam code are involved."
license: AGPL-3.0-or-later
metadata:
  author: anntnzrb

---

# Gleam Development

Idiomatic Gleam with **type-driven design** and **TDD**.

## Workflow

```
1. MODEL    → Define domain types first (make illegal states unrepresentable)
2. RED      → Write failing test
3. GREEN    → Minimal implementation
4. REFACTOR → Clean up, use pipelines
5. RUN      → gleam test && gleam run
```

## Research

Use `context7 docs` first, then `gh` as fallback.

## Engineering checks

- Decode external data at the boundary into domain types; model distinct concepts separately when mixing them is a bug
- Represent expected failures with explicit `Result` error types and exhaustively handle variants; do not use `panic` as normal control flow
- Keep effects at module boundaries and resource lifetimes explicit; keep domain logic pure where practical
- Test observable success and error behavior with deterministic values, not private function structure
- Add a type, helper, dependency, or abstraction only for a concrete caller or failure mode

## Required follow-up reads

|Need|Read|When|
|---|---|---|
|Research routing and code patterns|`references/guide.md`|API research or implementation guidance|

## CLI

```bash
gleam check                    # Fast type feedback (use often)
gleam test                     # Run tests
gleam run                      # Execute main
gleam format                   # Format all
gleam add pkg --dev            # Dev dependency
```

Files in this skill

  • SKILL.md1.6 KB
  • references/guide.md3.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.