Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

ub2-api-health-checker

bởi underbench2-gif

Health & Fitness
431Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

A skill that enables Claw to test API endpoints, verify their responses, measure performance, and generate a health.

Mô tả

Kỹ năng này làm gì

Tests HTTP API endpoints by sending requests, validating status codes and response structure, and measuring response times. Generates a health report with pass/fail status, performance metrics, and recommendations for slow or failing endpoints. Supports GET, POST, PUT, and DELETE methods, plus authentication via API keys, Bearer tokens, or basic auth.

Replaces ad-hoc curl commands or custom test scripts with a structured workflow that produces a consolidated health report with performance statistics in one pass.

Khi nào nên dùng

  • Checking if a newly deployed API is responding before going live
  • Monitoring which endpoints are slow across a set of microservices
  • Verifying a third-party API returns expected fields after a provider update
  • Testing authenticated endpoints without writing custom scripts
  • Running a pre-release check on all API routes to catch regressions

Quy trình ví dụ

ĐẦU VÀO

User asks: 'Test these 3 endpoints and tell me which ones are failing: /users, /products, /orders'

AGENT
  1. 1

    Sends HTTP requests to each specified endpoint

  2. 2

    Records status codes and response times for each request

  3. 3

    Validates response body structure against expected fields

  4. 4

    Flags endpoints that time out or return unexpected status codes

  5. 5

    Generates a summary report with pass/fail results and performance metrics

ĐẦU RA

Health report listing each endpoint's status code, response time, pass/fail result, and recommendations for any failing or slow endpoints

Cài đặt

clawhub install underbench2-gif/ub2-api-health-checker

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết