stacks-server

Manage Stacks-based Bun HTTP server configuration, lifecycle, and Docker deployments.

2|Updated Jul 8, 2026
One-click install
npx skills add https://github.com/bughq/bughq --skill stacks-server-bughq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stacks-server
Source: https://github.com/bughq/bughq/tree/main/.claude/skills/stacks-server
Command: npx skills add https://github.com/bughq/bughq --skill stacks-server-bughq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill simplifies the management of the Stacks server environment, handling complex tasks like server configuration, middleware setup, and production deployment orchestration.

Core Features & Use Cases

  • Server Lifecycle Management: Easily toggle maintenance mode, manage server startup, and handle environment-specific configurations.
  • Auto-Import System: Automatically registers models, jobs, and controllers, reducing boilerplate code and manual imports.
  • Docker Orchestration: Streamlines the build and deployment pipeline for containerized Stacks applications.

Quick Start

Use the stacks-server skill to put the application into maintenance mode with a custom bypass secret.

Frequently Asked Questions about stacks-server

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

FAQPage Schema
How do I manage Bun HTTP server configuration and deployment in Stacks?

Manage Stacks server configuration and deployment by orchestrating Bun HTTP server lifecycles, middleware setups, and automated Docker build pipelines for production environments. It handles environment-specific configurations and toggles maintenance mode.

How do I toggle maintenance mode for a Stacks server with a custom bypass secret?

Toggle maintenance mode for a Stacks server by applying a custom bypass secret during configuration. This lifecycle management feature allows you to safely halt incoming requests while authorizing specific traffic to bypass the maintenance block.

Does Stacks server deployment require integration with specific routing components?

Yes, Stacks server deployment requires integration with @stacksjs/server and @stacksjs/router components. These dependencies are necessary to properly handle HTTP request routing and facilitate global auto-imports for application controllers and models.

How does the auto-import system work for Stacks server controllers and models?

The auto-import system works by automatically registering models, jobs, and controllers within the Stacks server environment. This reduces boilerplate code and eliminates manual imports, streamlining the configuration process for Bun HTTP servers.

What is the best way to orchestrate Docker build pipelines for Stacks applications?

The best way to orchestrate Docker build pipelines for Stacks applications is using the built-in server management features. It streamlines the containerized build and deployment pipeline specifically for production environments running Bun HTTP servers.

Can I use this server management approach without manual middleware orchestration?

You can manage middleware orchestration automatically through the Stacks server configuration system. It facilitates the setup and maintenance of server middleware, reducing manual configuration efforts for your Bun HTTP application deployment.