hile-cli

Manage Hile Node.js service lifecycle with boot file loading and graceful shutdown.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @hile/core, async-exit-hook, commander, glob, tsx, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the startup, execution, and graceful shutdown of Node.js services built with the Hile framework, ensuring robust application management.

Core Features & Use Cases

  • Service Orchestration: Loads and manages services defined in *.boot.ts/*.boot.js files or specified in package.json.
  • Lifecycle Management: Handles graceful shutdown of services upon process termination signals.
  • Development Mode: Supports hot-reloading and enhanced logging during development.
  • Use Case: Deploying a microservice architecture where each service is defined as a Hile boot file, ensuring they all start in the correct order and shut down cleanly when the application is stopped.

Quick Start

Run the hile start command to launch your Hile services.

Frequently Asked Questions about hile-cli

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

FAQPage Schema
How do I manage graceful shutdown for Node.js services?

Graceful shutdown for Node.js services is managed by registering exit hooks that intercept process termination signals, ensuring Hile services terminate cleanly without losing in-flight operations.

What is the best way to orchestrate microservice startup in Node.js?

Microservice startup is orchestrated by automatically loading boot files and package-defined services, managing service initialization order, and monitoring container events for structured logging.

How do I use tsx for hot-reloading TypeScript services in development mode?

Development mode uses tsx to enable hot-reloading and enhanced logging for TypeScript services, automatically loading environment files to streamline local development workflows.

Can I define services in package.json instead of separate boot files?

Yes, services can be specified directly in package.json as an alternative to creating separate *.boot.ts or *.boot.js files, providing flexibility in how Hile service definitions are organized.

Do I need the Hile core package to run service bootstrapping?

Yes, the Hile core package is required as a dependency to run service bootstrapping, providing the foundational framework for service initialization and lifecycle management.