go-create-chi-router

Community

Auto-generate Chi routers for Go services.

Authorcristiano-pacheco
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Go developers often spend time wiring HTTP routes across modules; this skill automates the generation of Chi router registrations following the bricks-based modular architecture.

Core Features & Use Cases

  • Auto-generates router files in internal/modules/<module>/http/chi/router/<resource>_router.go
  • Supports standard CRUD endpoints GET, POST, PUT, DELETE and custom actions
  • Ensures Fx wiring and constructor contract per project conventions

Quick Start

Generate the resource Chi router file at internal/modules/<module>/http/chi/router/<resource>_router.go with a ResourceRouter, a constructor returning *ResourceRouter, and a Setup(server *chi.Server) that registers CRUD and custom routes.

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: go-create-chi-router
Download link: https://github.com/cristiano-pacheco/ai-rules/archive/main.zip#go-create-chi-router

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 223,000+ vetted skills library on demand.