Documentation/Tools/Absinthe Graphql
🔧

Absinthe Graphql

v1.1.0Apache 2.0

Absinthe GraphQL skills for Elixir with schema design, resolvers, and subscriptions.

Installation

Install han binary (required for hooks to work):

curl -fsSL https://han.guru/install.sh | bash

Then install this plugin:

han plugin install absinthe-graphql

Overview

Absinthe GraphQL skills for Elixir projects with Claude Code.

What This Plugin Provides

Skills

This plugin provides the following skills for building GraphQL APIs with Absinthe:

  • absinthe-schema: Type definitions, interfaces, unions, enums, and schema organization patterns
  • absinthe-resolvers: Resolver patterns, Dataloader integration, batching, and error handling
  • absinthe-subscriptions: Real-time subscriptions with Phoenix channels and PubSub

Installation

bash
han plugin install absinthe-graphql

Usage

Once installed, Claude Code will have access to Absinthe-specific knowledge when working on Elixir GraphQL projects.

Example Use Cases

  • Designing GraphQL schemas with proper type definitions
  • Implementing efficient resolvers with Dataloader
  • Setting up real-time subscriptions
  • Handling authentication and authorization
  • Organizing large schemas

Requirements

  • Elixir 1.14+
  • Absinthe 1.7+
  • Phoenix 1.7+ (for subscriptions)

Related Plugins

  • elixir: Core Elixir language skills
  • phoenix: Phoenix framework patterns
  • ecto: Database interactions with Ecto
  • graphql: General GraphQL concepts

Skills

Hooks

🛑

Stop

Runs when the main Claude Code agent has finished responding. Can verify task completion, check quality gates, or ensure documentation requirements are met before the session ends.

han hook run absinthe-graphql validate --async
🛑

SubagentStop

Runs when a Claude Code subagent (Agent tool call) has finished responding. Can validate subagent outputs, enforce quality standards, or trigger additional workflows after delegated tasks complete.

han hook run absinthe-graphql validate --async