agentsclimarketplace

Gleam backend

Skill aboio-labs/aboio-skills/skills/gleam-backend

Gleam backend development skill for the Erlang target. Covers Wisp, Mist, OTP actors, Supervision trees, Squirrel/Parrot SQL codegen integration, JWT auth, and HTTP runners. Use when building server-side logic in Kafka.From its SKILL.md

Install
npx -y skills add aboio-labs/aboio-skills --skill gleam-backend

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.8 KB, as published. Nobody here has run it

Gleam Backend Best Practices

Skill for Gleam server-side development on the Erlang target. Read the relevant reference before writing code.

Token Efficiency

All agents and commands using this skill MUST follow references/token-efficiency.md (from core). Use Read and Grep tools with targeted reads instead of reading entire files.

Reference routing — by task

TaskReferences to read
Building Wisp HTTP handlerswisp-framework.md + http-logging-middleware.md
SQL Database accesssquirrel-guide.md or parrot-guide.md
Creating OTP Actorsotp.md + otp-advanced.md
OTP Supervisionotp-supervision.md
DB Migrationscigogne.md
API Auth / JWTjwt-ywt.md + auth.md
Making outbound HTTP callshttp-runner.md

Reference routing — by topic

TopicReference
HTTP Server config (mist)mist-server.md
Error Handling (3-tier)three-tier-error-handling.md
Decoder Defaults Anti-Patterndecoder-defaults-anti-pattern.md
Storage (S3, Image, PDF)bucket-s3.md + ansel-image.md + paddlefish-pdf.md
Midas algebraic effectsmidas-effect-task.md

Core Backend Principles

  1. Errors as Values — use 3-tier error handling (AppError), never exceptions.
  2. SQL is the Contract — never edit generated sql.gleam files. Fix the .sql source.
  3. No IO in Core — keep database access in handlers/services, separate from pure business logic.

Review Commands

When to use /otp-review:

  • After creating new actors or supervision trees.
  • When experiencing timeouts, deadlocks, or memory leaks.

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.