Agent skill · software engineering · thebushidocollective

absinthe-schema

Use when designing GraphQL schemas with Absinthe. Covers type definitions, interfaces, unions, enums, and schema organization patterns.

Why this skill is useful

Provides specific patterns and examples for designing GraphQL schemas with Absinthe that the AI wouldn't reliably generate on its own.

What it needs

About 1k tokens when loaded. Last updated 2026-07-19. 187 stars on the source repository.

What this skill does

Absinthe - Schema Design Comprehensive guide to designing GraphQL schemas with Absinthe in Elixir. Key Concepts Type Definitions Interfaces Unions Enums Input Objects Best Practices 1. Organize types by domain - Group related types in separate modules 2. Use nonnull sparingly - Only for truly required fields 3. Leverage interfaces - For shared fields across types 4. Define input objects - For complex mutation arguments 5. Use custom scalars - For dates, UUIDs, JSON, etc. Schema Organization Custom Scalars Anti-Patterns Avoid deeply nested types without pagination Don't expose database IDs directly without consideration Avoid circular dependencies in type definitions Don't skip field descriptions for documentation

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills thebushidocollective/absinthe-schema

View the source on GitHub

Browse the @skills marketplace