checkly-cli-skills
بواسطة vince-winkintel
DevOps & Cloudموجز
Comprehensive Checkly CLI command reference and Monitoring as Code workflows.
الوصف
ما الذي تفعله هذه المهارة
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.
متى تستخدمها
- 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
مثال على سير العمل
User asks: Set up an API availability check for https://api.example.com/status
- 1
Creates an ApiCheck construct in __checks__/api-status.check.ts with a GET request and status code assertion
- 2
Runs 'npx checkly test' to validate the check against the Checkly runtime locally
- 3
Commits the check file to version control
- 4
Runs 'npx checkly deploy' to schedule the check for continuous monitoring in Checkly cloud
API check running on a schedule in Checkly cloud, alerting if the endpoint returns an unexpected status or exceeds response time thresholds
المتطلبات
- Checkly account (signup at checklyhq.com)
- CHECKLY_API_KEY environment variable
- CHECKLY_ACCOUNT_ID environment variable
التثبيت
clawhub install vince-winkintel/checkly-cli-skillsشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.