Gleam Development
Idiomatic Gleam with type-driven design and TDD.
Workflow
- MODEL → Define domain types first (make illegal states unrepresentable)
- RED → Write failing test
- GREEN → Minimal implementation
- REFACTOR → Clean up, use pipelines
- RUN → gleam test && gleam run
Research
Use context7 docs first, then gh as fallback. Routing table and example queries live in reference.md .
CLI
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
References
- reference.md - Research routing, patterns, anti-patterns