hile-http

Create Node.js HTTP services with Koa and file-based routing.

1|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/cevio/hile --skill hile-http
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hile-http
Source: https://github.com/cevio/hile/tree/main/packages/http
Command: npx skills add https://github.com/cevio/hile --skill hile-http

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the development of HTTP services by providing a structured framework for defining routes, controllers, and middleware, simplifying complex server logic.

Core Features & Use Cases

  • Route Definition: Easily define HTTP routes using methods like GET, POST, PUT, DELETE.
  • Controller & Middleware Support: Organize application logic into controllers and apply middleware for cross-cutting concerns.
  • File System Routing: Automatically load routes from a directory structure, mapping files to API endpoints.
  • Integration with @hile/core: Seamlessly integrate HTTP services within the Hile service container.
  • Use Case: Develop a RESTful API for a web application, handling requests for user data, product information, and order processing, with automatic route discovery from your controller files.

Quick Start

Use the hile-http skill to create a new HTTP service listening on port 3000 and define a GET route at '/hello' that responds with 'Hello, World!'.

Frequently Asked Questions about hile-http

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

FAQPage Schema
How do I set up automatic file system routing for a Koa HTTP service?

Automatic file system routing is configured by mapping your directory structure to API endpoints, allowing the framework to automatically load routes and define controllers for your Koa HTTP service.

What is the best way to structure controllers and global middleware in a Node.js API?

The best way to structure controllers and global middleware in a Node.js API is to use a service framework that organizes application logic into controllers and applies middleware for cross-cutting concerns.

Does this HTTP service framework support integration with @hile/core for service lifecycle management?

Yes, the HTTP service framework supports seamless integration with @hile/core, enabling robust service lifecycle management within the Hile service container for your Node.js application.

Can I use find-my-way for routing in a Koa-based RESTful API?

Yes, you can use find-my-way for routing in a Koa-based RESTful API, as this framework combines Koa with find-my-way to enable defining GET, POST, PUT, and DELETE routes.

How do I create a basic HTTP service that listens on a specific port and returns a response?

You create a basic HTTP service by instantiating the framework, setting it to listen on your desired port, and defining a GET route with a specific path that responds with your target string.