Chi
Chi is a lightweight Go HTTP router built on net/http, with composable middleware, route groups, URL parameters and sub-routers. Use when building a REST API or web service in Go, adding middleware (logging, timeouts, auth, CORS, client IP), nesting routes under /api, loading a resource into the request context, or migrating from gorilla/mux or the standard ServeMux.
Install
npx skills add TerminalSkills/skills --skill chigit clone --depth 1 https://github.com/TerminalSkills/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/skills/chi ~/.claude/skills/chiPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Chi - Lightweight Go HTTP Router
## Overview
Chi (`github.com/go-chi/chi/v5`, current release v5.5.0) is a small router that keeps the standard library's `http.Handler` and `http.HandlerFunc` types, so any `net/http` middleware works unchanged. It adds method routing (`r.Get`, `r.Post`), URL parameters (`/{userID}`, regexp `/{slug:[a-z-]+}`), nested routes with scoped middleware (`r.Route`, `r.Group`, `r.With`) and mounted sub-routers (`r.Mount`). It has no dependencies beyond the standard library. CORS lives in a separate module, `github.com/go-chi/cors`.
## Instructions
1. Install: `go get github.com/go-chi/chi/v5` (add `github.com/go-chi/cors` only if a browser calls the API from another origin). The import path always ends in `/v5`.
2. Create the router with `chi.NewRouter()` and register middleware with `r.Use(...)` before any route; chi panics if `Use` is called after routes exist on the same router.
3. Put the middleware in this order: `RequestID`, a client-IP middleware, `Logger`, `Recoverer`, `Timeout`, then CORS and auth.
4. Get the client IP with exactly one of the `ClientIPFrom*` middlewares and read it with `middleware.GetClientIP(ctx)`. Do not use `middleware.RealIP`: v5.5 marks it deprecated because it trusts spoofable headers and rewrites `r.RemoteAddr`.
| Deployment | Middleware |
|---|---|
| Server is directly on the internet | `middleware.ClientIPFromRemoteAddr` |Details
- Skill name
chi- Repository
- TerminalSkills/skills
- Path
skills/chi/SKILL.md- License
- Apache-2.0
- Repo updated
- 8 November 2026
FAQ
What does the Chi skill do?
Chi is a lightweight Go HTTP router built on net/http, with composable middleware, route groups, URL parameters and sub-routers. Use when building a REST API or web service in Go, adding middleware (logging, timeouts, auth, CORS, client IP), nesting routes under /api, loading a resource into the request context, or migrating from gorilla/mux or the standard ServeMux.
How do I install the Chi skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add TerminalSkills/skills --skill chi. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Chi popular?
It lives in TerminalSkills/skills, which has 213 GitHub stars and 34 forks.
Related skills
3dsmax Rendering
213TerminalSkills/skills
Scripts and configures production rendering in Autodesk 3ds Max with the V-Ray and Corona renderers: output size and files, render elements, denoising, light mix, batch and command-line rendering, and network rendering. Use when a user asks to set up a production render, render several cameras in one batch, render from the command line or on a render farm, add render passes for compositing, or cut render time for archviz and product shots.
3dsmax Scripting
213TerminalSkills/skills
Covers scripting Autodesk 3ds Max, the 3D modeling and rendering application, with MAXScript and Python (pymxs): scene manipulation, object creation, material assignment, camera and light setup, batch operations, and file I/O. Use when tasks involve automating repetitive 3ds Max workflows, batch processing scenes, running scripts headless with 3dsmaxbatch, creating custom tools, or scripting scene setup for archviz, product visualization, or VFX.
3proxy
213TerminalSkills/skills
3proxy is a small open-source proxy server that runs HTTP/HTTPS, SOCKS4/5, SNI and TCP/UDP port-mapping proxies from one config file. Use when a user asks to set up an HTTP or SOCKS5 proxy, add proxy users and passwords, write 3proxy access rules, chain or rotate upstream (parent) proxies, limit bandwidth, connections or monthly traffic per user, run 3proxy in Docker, or fix a 3proxy.cfg that will not start.
Click
213TerminalSkills/skills
Click is the Python library for building command-line tools from decorated functions: it parses options and arguments, validates types, prompts for missing values, and writes the --help pages. Use when a user asks to "build a Python CLI", "add a subcommand", "add an option with an environment variable fallback", "prompt for a password", "test a click command with CliRunner", "package a CLI with pyproject.toml scripts", or "add shell completion". Covers Click 8.2 to 8.5.
Check Corpus Readiness
200lyndonkl/claude
Checks whether the substacker corpus has enough material to justify a Curator run. Counts published posts, time-gates against the last review, and reports go/no-go with the specific gate that failed. Use before any Curator run, and on cold start to decide whether to propose sections yet. Trigger keywords — readiness, corpus ready, gate check, cadence gate, pre-flight.
Clone Website
213TerminalSkills/skills
Rebuilds an existing website as a clean new codebase that looks and behaves like the original: captures pages, breakpoints, design tokens, assets and interaction states with a browser tool, plans the build, rebuilds section by section and proves each one against the capture with a pixel diff. Use when the user says "clone this website", "rebuild my site in Next.js or Astro", "recreate this page pixel-perfect", "move my Webflow or WordPress site to code" or "copy this layout". Full copies are only for sites the user owns or is authorized to copy; for anyone else's site it borrows the layout ide
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.