·go-create-chi-handler
</>

go-create-chi-handler

cristiano-pacheco/ai-rules

Generate Chi HTTP handlers following GO modular architechture conventions (request/response DTOs, use case orchestration, error handling, swagger annotations, Fx DI). Use when creating HTTP endpoint handlers in internal/modules/<module>/http/chi/handler/ for REST operations (List, Create, Update, Delete, Get) that need to decode requests, call use cases, map responses, and handle errors with proper logging and tracing.

7Installs·1Trend·@cristiano-pacheco

Installation

$npx skills add https://github.com/cristiano-pacheco/ai-rules --skill go-create-chi-handler

SKILL.md

Request and response DTOs are defined in internal/modules/ /http/dto/ dto.go.

Handler methods bridge HTTP requests/responses (DTOs from internal/modules/ /http/dto) with use case inputs/outputs.

The handler is typically provided to the router, not exposed as a port.

Generate Chi HTTP handlers following GO modular architechture conventions (request/response DTOs, use case orchestration, error handling, swagger annotations, Fx DI). Use when creating HTTP endpoint handlers in internal/modules/<module>/http/chi/handler/ for REST operations (List, Create, Update, Delete, Get) that need to decode requests, call use cases, map responses, and handle errors with proper logging and tracing. Source: cristiano-pacheco/ai-rules.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/cristiano-pacheco/ai-rules --skill go-create-chi-handler
Category
</>Dev Tools
Verified
First Seen
2026-02-17
Updated
2026-02-18

Quick answers

What is go-create-chi-handler?

Generate Chi HTTP handlers following GO modular architechture conventions (request/response DTOs, use case orchestration, error handling, swagger annotations, Fx DI). Use when creating HTTP endpoint handlers in internal/modules/<module>/http/chi/handler/ for REST operations (List, Create, Update, Delete, Get) that need to decode requests, call use cases, map responses, and handle errors with proper logging and tracing. Source: cristiano-pacheco/ai-rules.

How do I install go-create-chi-handler?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/cristiano-pacheco/ai-rules --skill go-create-chi-handler Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/cristiano-pacheco/ai-rules