write-conformance-tests

Official

Automate OpenTelemetry GenAI instrumentation package conformance testing.

Authoropen-telemetry
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the process of writing conformance-test scenarios for OpenTelemetry instrumentation packages, ensuring that the packages meet GenAI semantic conventions.

Core Features & Use Cases

  • Scenario Authoring: Automatically create tests/conformance/<scenario>.py modules for every semconv operation emitted by the library.
  • Test Runner: Execute tests/test_conformance.py to run the generated test scenarios and validate against GenAI semantic conventions.
  • Declared Gaps: Record known gaps as expected_violations in the test scenarios, facilitating their identification and resolution.

Quick Start

Run the write-conformance-tests skill to automatically generate and execute conformance tests for an OpenTelemetry GenAI instrumentation package.

Dependency Matrix

Required Modules

opentelemetry-instrumentationpytestvcr

Components

scriptsreferencesassets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: write-conformance-tests
Download link: https://github.com/open-telemetry/opentelemetry-python-genai/archive/main.zip#write-conformance-tests

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.