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

checkly-cli-skills

bởi vince-winkintel

DevOps & Cloud
277Lượt tải do clawskills.sh công bố
2Sao
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

Comprehensive Checkly CLI command reference and Monitoring as Code workflows.

Mô tả

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

Checkly CLI provides a TypeScript/JavaScript workflow for defining, testing, and deploying synthetic monitoring checks as code. Supports API checks, browser checks with Playwright, heartbeat monitors, and TCP/DNS monitors. Checks can be version-controlled, reviewed in PRs, and deployed through CI/CD pipelines.

Defining monitoring as code lets teams review, version, and deploy checks alongside application code rather than managing them separately in a web dashboard.

Khi nào nên dùng

  • Deploying API endpoint monitoring as part of a release pipeline
  • Writing browser flow tests with Playwright before shipping new features
  • Importing existing Checkly checks from the web UI into version-controlled code
  • Running synthetic checks locally during development before cloud deployment
  • Managing monitoring configuration across multiple environments with Git

Quy trình ví dụ

ĐẦU VÀO

User asks: Set up an API availability check for https://api.example.com/status

AGENT
  1. 1

    Creates an ApiCheck construct in __checks__/api-status.check.ts with a GET request and status code assertion

  2. 2

    Runs 'npx checkly test' to validate the check against the Checkly runtime locally

  3. 3

    Commits the check file to version control

  4. 4

    Runs 'npx checkly deploy' to schedule the check for continuous monitoring in Checkly cloud

ĐẦU RA

API check running on a schedule in Checkly cloud, alerting if the endpoint returns an unexpected status or exceeds response time thresholds

Yêu cầu

  • Checkly account (signup at checklyhq.com)
  • CHECKLY_API_KEY environment variable
  • CHECKLY_ACCOUNT_ID environment variable

Cài đặt

clawhub install vince-winkintel/checkly-cli-skills

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