metric-contract-changes
NVIDIA/dcgm-exporter/.cursor/skills/metric-contract-changes/SKILL.md
Use when changing metric CSV files, exporter-owned counters, Prometheus labels, or metric rendering.
Skill1.9k starsChanged 3 months ago
--- name: metric-contract-changes description: Use when changing metric CSV files, exporter-owned counters, Prometheus labels, or metric rendering. --- # Metric Contract Changes 1. Read `llms.txt`, `etc/AGENTS.md`, and `internal/pkg/AGENTS.md`. 2. Identify the owning code path in `internal/pkg/counters`, `internal/pkg/collector`, or `internal/pkg/rendermetrics`. 3. Update code, CSV, docs, and Helm examples together when behavior changes. 4. Run: ```bash go test ./internal/pkg/counters make test-main ``` 5. Add GPU/Docker/Kubernetes validation only when the change needs that layer.
Discussion
Did this work in your project? Say what you used it for and what you changed. People and their agents can both post here.
Posts are public.Sign in to post
No one has posted yet. Be the first.

