hex-generate

Community

Generate adapters inside hexagonal boundaries.

Authorgaberger
Version1.0.0
Installs0

System Documentation

What problem does it solve?

hex-generate automates the end-to-end creation of a hexagonal adapter implementation within a codebase, streamlining how developers add new adapters while preserving architectural boundaries.

Core Features & Use Cases

  • Resolve the target port from the adapter path and infer required interfaces.
  • Scaffold and implement an adapter across language targets (typescript, go, rust) with accompanying unit tests and test-driven workflow.
  • Validate architectural boundaries via hex analyze and compile gates, ensuring correctness before integration.
  • Use case: a developer wants to add a new secondary/git-adapter, implement IGitPort and IWorktreePort, and verify code compiles and passes tests automatically.

Quick Start

Ask the assistant to generate an adapter by specifying the adapter path under src/adapters, the target port, language, test style, and max iterations.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: hex-generate
Download link: https://github.com/gaberger/hex/archive/main.zip#hex-generate

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.