interface-layer

Audit Go HTTP and SQS delivery and repository implementations against clean architecture principles.

Updated Feb 22, 2026
One-click install
npx skills add https://github.com/YangTaeyoung/go-clean-arch-toolkit --skill interface-layer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: interface-layer
Source: https://github.com/YangTaeyoung/go-clean-arch-toolkit/tree/main/skills/interface-layer
Command: npx skills add https://github.com/YangTaeyoung/go-clean-arch-toolkit --skill interface-layer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures that your API endpoints (HTTP/SQS) and data repositories are implemented correctly according to clean architecture principles, preventing common integration errors and enforcing best practices.

Core Features & Use Cases

  • HTTP Delivery Validation: Verifies correct routing, request/response handling, and middleware application for HTTP endpoints.
  • SQS Delivery Validation: Checks the proper setup and lifecycle management for SQS message handlers.
  • Repository Implementation Validation: Ensures repository patterns, error handling, and query scoping are correctly applied.
  • Use Case: Before merging code, run this Skill to automatically audit all new HTTP API handlers and PostgreSQL repository implementations, catching potential bugs related to status codes, parameter binding, or inefficient queries.

Quick Start

Run the interface-layer skill to audit the http delivery and repository implementations in the internal api and internal repository directories.

Frequently Asked Questions about interface-layer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate HTTP handlers and repositories in Go for clean architecture?

This skill audits HTTP delivery and repository implementations against clean architecture principles, enforcing patterns for request parsing, response formatting, dependency inversion, and efficient data access to prevent common integration errors.

What is the best way to check SQS message handler setup in a Go application?

Checking SQS message handler setup in a Go application involves auditing the SQS delivery layer for proper lifecycle management and message processing patterns. This validates that your handlers adhere to defined architectural best practices before code integration.

How do I enforce dependency inversion in Go repository implementations?

Enforcing dependency inversion in Go repository implementations requires auditing query scoping, error handling, and data access patterns against clean architecture standards. This ensures your repositories correctly abstract data sources and adhere to port-adapter boundaries.

Can I automatically audit Go API endpoints and PostgreSQL repositories before merging?

Yes, you can automatically audit Go API endpoints and PostgreSQL repositories before merging by running an interface layer audit. This catches potential bugs related to status codes, parameter binding, and inefficient queries in your internal API and repository directories.

Does clean architecture validation work with existing Go internal API directories?

Clean architecture validation works with existing Go internal API directories by analyzing your current HTTP delivery and repository implementations. It evaluates routing, middleware application, and query efficiency without requiring external dependencies to function.

Why does my Go repository implementation fail clean architecture boundary checks?

Your Go repository implementation may fail clean architecture boundary checks due to improper dependency inversion, inefficient query scoping, or incorrect error handling. Auditing the interface layer identifies these violations against defined architectural principles and best practices.