Back to skills
SKILL.md
Checkly Constructs
ASecurityUnderstand the Checkly constructs system including resource lifecycle, logical IDs, configuration inheritance, and the Session/Project abstraction. Use when debugging construct issues, understanding resource management, or working with advanced patterns. Triggers on constructs, logical ID, resource management, project structure.
- 21 stars
- 0 votes
- 0 copies
- 8 views
- Added September 7, 2026
Works with
Security analysis
100/100npx -y skills add modbender/skill-library-mcp --skill checkly-constructs --agent claude-codeAre you the author of Checkly Constructs?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/modbender-checkly-constructs)---
name: checkly-constructs
description: Understand the Checkly constructs system including resource lifecycle, logical IDs, configuration inheritance, and the Session/Project abstraction. Use when debugging construct issues, understanding resource management, or working with advanced patterns. Triggers on constructs, logical ID, resource management, project structure.
---
# checkly constructs
The Checkly constructs system provides type-safe abstractions for monitoring resources.
## Core concepts
### Construct hierarchy
```
Construct (base)
├── Check
│ ├── RuntimeCheck
│ │ ├── ApiCheck
│ │ ├── BrowserCheck
│ │ └── MultiStepCheck
│ └── PlaywrightCheck
├── Monitor
│ ├── HeartbeatMonitor
│ ├── TcpMonitor
│ ├── DnsMonitor
│ └── UrlMonitor
├── CheckGroup
└── AlertChannel
```
### Logical IDs
Every construct needs a unique logical ID:
```typescript
new ApiCheck('api-status-check', { // <- logical ID
name: 'API Status Check', // <- display name
})
```
**Rules:**
- Must be unique within resource type
- Pattern: `[A-Za-z0-9_-/#.]+`
- Use descriptive IDs: `'homepage-check'` not `'check-1'`
## Construct lifecycle
1. **Construction**: Instance created and registered
2. **Validation**: Configuration checked for errors
3. **Bundling**: Code and dependencies packaged
4. **Synthesis**: Converted to API payload
5. **Deployment**: Created/updated in Checkly
## Session and Project
The Session singleton manages global state:
```typescript
// Internal - you don't normally interact with this
Session.current().addConstruct(check)
```
The Project aggregates all constructs:
```typescript
// Internal - happens automatically
project.addResource('check', check)
```
## Configuration inheritance
```typescript
// checkly.config.ts - global
checks: {
frequency: 10,
locations: ['us-east-1'],
}
// CheckGroup - group-level
const group = new CheckGroup('api', {
frequency: 5, // Overrides global
})
// Check - check-level
new ApiCheck('critical-api', {
group: group,
frequency: 1, // Overrides group
})
```
## Related Skills
- See `checkly-checks` for practical check creation
- See `checkly-groups` for organization
Attribution
Related skills
View all in devops →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.