Generate metrics schemas for Prometheus, OpenTelemetry, and Grafana dashboards
Scanned 9/2/2026
Install to Claude Code
npx -y skills add a5c-ai/babysitter --skill metrics-schema-generator --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Metrics Schema Generator?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/a5c-ai-metrics-schema-generator-babysitter)More formats (shields.io, HTML) on the badges page.
---
name: metrics-schema-generator
description: Generate metrics schemas for Prometheus, OpenTelemetry, and Grafana dashboards
allowed-tools:
- Bash
- Read
- Write
- Glob
graph:
domains: [domain:software-engineering]
specializations: [specialization:software-architecture]
skillAreas: [skill-area:metrics-dashboarding, skill-area:observability-instrumentation]
roles: [role:sre, role:architect]
topics: [topic:observability-driven-development]
---
# Metrics Schema Generator Skill
## Overview
Generates metrics schemas for Prometheus, OpenTelemetry metric definitions, SLI/SLO specifications, and Grafana dashboard configurations.
## Capabilities
- Generate Prometheus metrics schemas
- OpenTelemetry metric definitions
- SLI/SLO specification generation
- Grafana dashboard generation
- Metric naming conventions
- Label/tag standardization
- Recording rules generation
- Alert rules generation
## Target Processes
- observability-implementation
- performance-optimization
## Input Schema
```json
{
"type": "object",
"required": ["services"],
"properties": {
"services": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": { "type": "string" },
"type": { "type": "string" },
"endpoints": { "type": "array" },
"slos": { "type": "array" }
}
}
},
"format": {
"type": "string",
"enum": ["prometheus", "opentelemetry", "both"],
"default": "prometheus"
},
"options": {
"type": "object",
"properties": {
"includeStandardMetrics": {
"type": "boolean",
"default": true
},
"generateDashboards": {
"type": "boolean",
"default": true
},
"generateAlerts": {
"type": "boolean",
"default": true
},
"namingConvention": {
"type": "string",
"enum": ["prometheus", "opentelemetry"],
"default": "prometheus"
}
}
}
}
}
```
## Output Schema
```json
{
"type": "object",
"properties": {
"metrics": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": { "type": "string" },
"type": { "type": "string" },
"description": { "type": "string" },
"labels": { "type": "array" },
"unit": { "type": "string" }
}
}
},
"sloDefinitions": {
"type": "array"
},
"recordingRules": {
"type": "string",
"description": "Prometheus recording rules YAML"
},
"alertRules": {
"type": "string",
"description": "Prometheus alert rules YAML"
},
"dashboards": {
"type": "array",
"description": "Grafana dashboard JSON definitions"
}
}
}
```
## Usage Example
```javascript
{
kind: 'skill',
skill: {
name: 'metrics-schema-generator',
context: {
services: [
{
name: 'api-gateway',
type: 'http',
endpoints: ['/api/users', '/api/orders'],
slos: [{ name: 'availability', target: 99.9 }]
}
],
format: 'prometheus',
options: {
generateDashboards: true,
generateAlerts: true
}
}
}
}
```
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!