Agent skill
health-check-endpoint
Implement health check and readiness endpoints for SDK consumers
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/health-check-endpoint
SKILL.md
Health Check Endpoint Skill
Overview
This skill implements health check and readiness endpoints that SDK consumers can use to verify connectivity and dependency health, especially important for Kubernetes and load balancer integration.
Capabilities
- Design health check contracts and responses
- Implement dependency checks (database, cache, external APIs)
- Support Kubernetes liveness and readiness probes
- Generate health status reports
- Configure degraded state handling
- Implement cascading health checks
- Support custom health indicators
- Configure health aggregation strategies
Target Processes
- Observability Integration
- Platform API Gateway Design
- SDK Architecture Design
Integration Points
- Kubernetes probe endpoints
- Load balancer health checks
- Monitoring systems
- Service mesh health
- Circuit breaker status
Input Requirements
- Dependencies to check
- Health check intervals
- Timeout configurations
- Degradation policies
- Kubernetes probe requirements
Output Artifacts
- Health check endpoint implementation
- Dependency check modules
- Health response schemas
- Kubernetes probe configurations
- Monitoring integrations
- Health aggregation logic
Usage Example
skill:
name: health-check-endpoint
context:
endpoints:
health: /health
ready: /ready
live: /live
checks:
- name: database
type: tcp
critical: true
- name: cache
type: redis
critical: false
- name: externalApi
type: http
url: https://api.example.com/health
kubernetes:
livenessProbe:
path: /live
periodSeconds: 10
readinessProbe:
path: /ready
periodSeconds: 5
Best Practices
- Separate liveness from readiness
- Make health checks fast
- Include dependency status
- Support graceful degradation
- Avoid expensive checks in liveness
- Cache health check results appropriately
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?