Gleam Type System
The Gleam Type System analyzes your code to enforce type safety and improve code clarity within Gleam projects β boosting reliability and maintainability.
Install on your platform
We auto-selected Claude Code based on this skillβs supported platforms.
Run in terminal (recommended)
claude mcp add gleam-type-system npx -- -y @trustedskills/gleam-type-system
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"gleam-type-system": {
"command": "npx",
"args": [
"-y",
"@trustedskills/gleam-type-system"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill provides access to the Gleam type system, enabling AI agents to reason about and manipulate data types within the Gleam programming language. It allows for static analysis, code generation, and improved error detection related to Gleam's strong typing features. The skill facilitates working with complex data structures and ensuring type safety in Gleam projects.
When to use it
- Gleam Development: Use when building or maintaining applications written in the Gleam programming language.
- Code Analysis: When needing to understand the types involved in a specific piece of Gleam code.
- Error Debugging: To assist in identifying and resolving type-related errors during development.
- Learning Gleam: For developers new to Gleam who want assistance understanding its type system.
Key capabilities
- Type inference
- Static analysis
- Code generation related to types
- Error detection based on type constraints
Example prompts
- "What is the type of
my_variablein this Gleam code?" - "Generate a function that takes a list of integers and returns their sum."
- βExplain how records work in Gleam.β
Tips & gotchas
The skill requires familiarity with the Gleam programming language. It is most effective when provided with specific Gleam code snippets or questions related to type definitions.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates β what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
π Community
Passed automated security scans.