Skip to main content
在 Manus 中运行任何 Skill
一键导入

gleam-conventions

星标4
分支0
更新时间2026年5月11日 20:16

Gleam language conventions, patterns, and anti-patterns for the j26-booking codebase. Covers naming (snake_case, qualified imports, x_to_y conversion functions, try_ prefix), function annotations, Result vs Option, descriptive error type design, making invalid states impossible, module organization, and anti-patterns like panicking in libraries, dynamic FFI, and category theory overuse. Use this whenever writing or editing any Gleam code in the project (.gleam files in server/, client/, shared/, or examples/) — even small changes — to ensure consistency. Trigger on Gleam code, gleam.toml, or any reference to error handling, module structure, import style, or naming conventions.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly