iii-hq avatar

Iii Http Middleware

This brings Express-style middleware to iii's HTTP triggers. You register middleware functions that return either `{ action: 'continue' }` to pass along the chain or `{ action: 'respond' }` to short-circuit and skip the handler entirely. Middleware gets attached via `middleware_function_ids` in your trigger config and runs in order before your main handler. It's straightforward if you've used middleware in any web framework. The model is clean: each function sees the request, path params, query params, headers, and auth context, then decides whether to keep going or bail early. Good for auth checks, logging, rate limiting, or anything you want to run before your actual route logic.

skills.sh installs
178
GitHub stars
18.9K
last updated
Aug 21, 2026

Install

$ npx -y skills add iii-hq/iii --skill iii-http-middleware --agent claude-code

Installs into .claude/skills of the current project.

Files

This brings Express-style middleware to iii's HTTP triggers. You register middleware functions that return either `{ action: 'continue' }` to pass along the chain or `{ action: 'respond' }` to short-circuit and skip the handler entirely. Middleware gets attached via `middleware_function_ids` in your trigger config and runs in order before your main handler. It's straightforward if you've used middleware in any web framework. The model is clean: each function sees the request, path params, query params, headers, and auth context, then decides whether to keep going or bail early. Good for auth checks, logging, rate limiting, or anything you want to run before your actual route logic.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/iii-hq/iii
Categories
Backend & APIs, Security, DevOps & CI/CD
First seen
Jun 3, 2026

More from iii-hq/iii

All 30
1davila7 avatarmoodle-external-api-developmentdavila7/claude-code-templatesCreate custom external web service APIs for Moodle LMS. Use when implementing web services for course management, user tracking, quiz operations, or custom plug177skills.sh installs
2personamanagmentlayer avatargraphql-expertpersonamanagmentlayer/pclExpert-level GraphQL API development with schema design, resolvers, and subscriptions167skills.sh installs
3andrelandgraf avatarauthenticationandrelandgraf/fullstackrecipesComplete authentication system with Better Auth, email verification, password reset, protected routes, and account management.132skills.sh installs
4andrelandgraf avatarneon-drizzle-setupandrelandgraf/fullstackrecipesConnect a Next.js app to Neon Postgres using Drizzle ORM with optimized connection pooling for Vercel serverless functions.128skills.sh installs
5huangjia2019 avatarapi-conventionshuangjia2019/claude-code-engineeringAPI design patterns and conventions for this project. Covers RESTful URL naming, response format standards, error handling, and authentication requirements. Use0skills.sh installs
6supabase avatarsupabase-postgres-best-practicessupabase/agent-skillsPostgres best practices maintained by Supabase, for Postgres running anywhere. Load this skill BEFORE writing or changing anything that lives in a Postgres data479.8Kskills.sh installs