/guicedee-health:guicedee-healthfrom guicedee-health
Implements MicroProfile Health checks (liveness, readiness, startup) with auto-discovery in Guiced applications using Vert.x Health Checks. Exposes JSON health endpoints automatically.
Ships in guicedee-health. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Seamless MicroProfile Health integration for Guiced using Vert.x 5 Health Checks.
Annotate your classes with standard @Liveness, @Readiness, and @Startup — health checks are discovered at startup via ClassGraph, registered with Vert.x HealthChecks, and exposed as JSON endpoints on the Vert.x Web Router automatically.
guiced.net:health dependency (pulls in web transitively).@Liveness
public class DatabaseLiveness implements HealthCheck {
@Override
public HealthCheckResponse call() {
return HealthCheckResponse.named("DatabaseLiveness")
.up()
.withData("connection", "stable")
.build();
}
}
module-info.java:
module my.app {
requires com.guicedee.health;
}
IGuiceContext.registerModuleForScanning.add("my.app");
IGuiceContext.instance().inject();
// GET /health → aggregated status
// GET /health/live → liveness checks only
// GET /health/ready → readiness checks only
// GET /health/started → startup checks only
No JPMS provides declaration is needed for health check classes — they are discovered via classpath scanning.
@LivenessApplication is running correctly. Failing → restart the application.
@ReadinessApplication is ready for traffic. Failing → remove from load balancer temporarily.
@StartupApplication has finished initialization. Prevents liveness probes during long startups.
A check can carry multiple annotations — registered with each corresponding endpoint:
@Liveness
@Readiness
public class CriticalServiceCheck implements HealthCheck { ... }
@HealthOptions annotationPlace on any class or package to customize endpoint paths:
@HealthOptions(
enabled = true,
path = "/health",
livenessPath = "/health/live",
readinessPath = "/health/ready",
startupPath = "/health/started"
)
public class MyAppConfig {}
HEALTH_ENABLED, HEALTH_PATH, HEALTH_LIVENESS_PATH, HEALTH_READINESS_PATH, HEALTH_STARTUP_PATH
IGuiceContext.instance().inject()
└─ HealthPreStartup (scans for HealthCheck implementations)
└─ HealthModule (binds HealthChecks instances)
└─ HealthPreStartup.postLoad() (registers checks with Vert.x)
└─ HealthRouterConfigurator (mounts endpoints on Router)
For a separate management port, use ManagedHttpListenerProvider from guicedee-web. Its router is isolated and does not inherit global configurators; explicitly mount the intended health handlers. Registry health probes can target that listener through @RegisteredService.healthUrl. HEALTH_DOWNSTREAM_ENABLED controls downstream registry readiness, but an empty registry does not demonstrate that required peers are available.
Gate readiness on VertXPreStartup.ready(). An unclustered application must not require Hazelcast peers. A clustered application additionally checks the running owned member and its explicitly configured application quorum; liveness describes process health separately.
Core's continuity implementation is one application example: planned data-member count defaults to three, permits 2–64, and requires floor(N / 2) + 1 observed members. Two planned nodes therefore require both nodes and do not retain majority availability after one loss. These numbers are Core policy, not defaults to impose on every Guiced application. Membership observations include failure-detection delay; describe that limit rather than claiming instantaneous partition exclusion.
Verify before startup, after destruction, failed join, quorum loss, and quorum restoration. Readiness probes must preserve the application's existing persistence authority; Core's database boundary remains SELECT-only without locking reads or grant changes.
requires com.guicedee.health;.provides needed.@Inject works inside health checks (Guice-managed).What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub guicedee/ai-rules --plugin guicedee-health