rebuild-docker

Community

Rebuild only changed Docker services

Authorsamwang0723
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Prevents long, unnecessary rebuilds by detecting which parts of a monorepo changed and rebuilding or restarting only the affected docker-compose services so developers avoid a full Rust workspace rebuild for static frontend edits.

Core Features & Use Cases

  • Change detection: Compares file modification times against container start times to determine what is newer.
  • Minimal actions: Chooses between rebuilding kenjaku, rebuilding geto-web with --no-deps, restarting kenjaku for config-only changes, or doing both in parallel.
  • Safety and verification: Avoids docker compose down that would drop data, prompts before slow Rust rebuilds, and verifies service health after deployment.
  • Use Case: Quickly redeploy a modified geto-web static asset without triggering a multi-minute Rust rebuild, or apply a schema migration safely by restarting the kenjaku service.

Quick Start

Run the rebuild-docker procedure to detect changed files and execute the minimal docker compose build, up, or restart required to update the running services.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: rebuild-docker
Download link: https://github.com/samwang0723/kenjaku/archive/main.zip#rebuild-docker

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.