Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Adds correlation ID middleware and health check endpoints to the RepoForge Web FastAPI application.
45% 100%+55 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 10 of 22 without it.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
One sentence: Adds middleware and health check endpoints to the FastAPI app.
Trigger: when setting up the RepoForge Web application main entry point.
| Task | Pattern |
|---|---|
| Add middleware | add-middleware-pattern |
| Health check | health-endpoint-pattern |
Injects a unique correlation ID into each request context for distributed tracing.
@app.middleware("http")
async def correlation_id_middleware(request: Request, call_next):
import uuid
request.state.correlation_id = str(uuid.uuid4())
response = await call_next(request)
response.headers["X-Correlation-ID"] = request.state.correlation_id
return response
Provides basic and detailed health check endpoints for monitoring and load balancer checks.
async def health() -> dict:
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.