timescale/uns_adapters_claude · Archived

validate-pipeline

Run end-to-end pipeline validation — query TimescaleDB after collection and report

First seen Jun 22, 2026

Installation

$ npx skills add timescale/uns_adapters_claude --skill validate-pipeline

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from timescale/uns_adapters_claude.

npx skills add timescale/uns_adapters_claude

Browse all from timescale/uns_adapters_claude

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Default branch main
Open issues 0
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,035 B
  • docs SUMMARY.md 109 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 3 installs

SKILL.md

Validate Pipeline

End-to-end validation of the UNS pipeline. Queries TimescaleDB to verify that readings collected by the clients landed correctly in tag_history.

Usage

  • /validate-pipeline — query TimescaleDB and report on the data that landed

Prerequisites

Before running, ensure:

  1. Dependencies installed: uv sync
  2. The schema is applied and uns_namespace is seeded
  3. The collection clients have run, so tag_history holds data

To collect without real sources, start the simulator first (a separate script). If tag_history is empty, the validation script warns and exits.

Steps

  1. Run uv run scripts/validate_pipeline.py (no arguments — it validates

whatever data is already in tag_history)

  1. Interpret the 6 checks:
Check What it validates Failure means
Tag coverage Every tag in tag_database.csv has rows Client dropped a tag
Timestamp sanity Timestamps are recent, UTC, not future Timezone bug or clock skew
Foreign key integrity All tagids resolve to unsnamespace Client wrote an unresolved tag
Dead letter No rejected readings Client emitting invalid data
Value plausibility Booleans are 0/1, temps in range Scale factor or type error
Cross-area drift Areas have aligned timestamps Naive-timestamp leak
  1. Report the client health summary (rows per area, latest timestamp)
  2. For any FAIL: cross-reference client code and config to diagnose root cause

Report Format

## Pipeline Validation Report

### Checks
- Tag coverage: {N}/{total} — {PASS|FAIL}
- Timestamp sanity: {PASS|FAIL}
- Foreign key integrity: {PASS|FAIL}
- Dead letter: {N} rejected — {PASS|FAIL}
- Value plausibility: {PASS|FAIL}
- Cross-area drift: {PASS|FAIL}

### Client Health
- area_01: {N} tags, {M} rows
- area_02: {N} tags, {M} rows

### Diagnosis
{Root cause analysis for any failures}