All SkillsGet Started Free
Ln 774 Healthcheck Setup
Configures health check endpoints for Kubernetes readiness/liveness/startup probes. Use when deploying to Kubernetes.
MCP get_skill({ skillId: "ln-774-healthcheck-setup-471f4be6" })Use this skill with your agent
Create a free account and connect via MCP
# ln-774-healthcheck-setup
**Type:** L3 Worker
**Category:** 7XX Project Bootstrap
Configures health check endpoints for Kubernetes probes and monitoring.
---
## Overview
| Aspect | Details |
|--------|---------|
| **Input** | Context Store from ln-770 |
| **Output** | Health check endpoints and Kubernetes probe configuration |
| **Stacks** | .NET (AspNetCore.Diagnostics.HealthChecks), Python (FastAPI routes) |
---
## Phase 1: Receive Context + Identify Dependencies
Accept Context Store and scan for dependencies to monitor.
**Required Context:**
- `STACK`: .NET or Python
- `PROJECT_ROOT`: Project directory path
**Idempotency Check:**
- .NET: Grep for `AddHealthChecks` or `MapHealthChecks`
- Python: Grep for `/health` route
- If found: Return `{ "status": "skipped" }`
**Dependency Detection:**
| Dependency | .NET Detection | Python Detection |
|------------|----------------|------------------|
| PostgreSQL | `Npgsql` in csproj | `psycopg2` or `asyncpg` in requirements |
| MySQL | `MySql.Data` in csproj | `mysql-connector-python` in requirements |
| Redis | `StackExchange.Redis` in csproj | `redis` in requirements |
| RabbitMQ | `RabbitMQ.Client` in csproj | `pika` or `aio-pika` in requirements |
| MongoDB | `MongoDB.Driver` in csproj | `pymongo` in requirements |
---
## Phase 2: Design Health Check Strategy
Define three types of health endpoints per Kubernetes best practices.
### Endpoint Types
#agile-workflow#code-review#monitoring#observability