Agent skill · software engineering · thebushidocollective
absinthe-resolvers
Use when implementing GraphQL resolvers with Absinthe. Covers resolver patterns, dataloader integration, batching, and error handling.
Why this skill is useful
Provides specific patterns and best practices for implementing GraphQL resolvers with Absinthe, including Dataloader integration and error handling.
What it needs
About 1k tokens when loaded. Last updated 2026-07-19. 187 stars on the source repository.
What this skill does
Absinthe - Resolvers Guide to implementing efficient and maintainable resolvers in Absinthe. Key Concepts Basic Resolvers Resolution Context Dataloader Integration Custom Dataloader Source Best Practices 1. Use Dataloader - Prevents N+1 queries 2. Keep resolvers thin - Delegate to context modules 3. Handle errors gracefully - Return meaningful error messages 4. Use middleware - For cross-cutting concerns like auth 5. Batch related queries - Use dataloader batching Middleware Error Handling Anti-Patterns Avoid business logic in resolvers Don't query database directly in resolvers Avoid returning raw Ecto changesets Don't skip error handling
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills thebushidocollective/absinthe-resolvers