Metadata-Driven Similarity Conversion

Official

Convert similarity calculators to metadata-driven.

AuthorCantara
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill streamlines the migration of existing similarity calculation logic to a more robust, metadata-driven approach, ensuring backward compatibility and gradual adoption.

Core Features & Use Cases

  • Metadata-First Approach: Prioritizes metadata-driven calculations, falling back to legacy methods when metadata is unavailable.
  • Gradual Migration: Enables converting one calculator at a time without breaking existing functionality.
  • Use Case: Migrating a legacy resistor similarity calculator to use defined metadata for resistance, package, and tolerance, while ensuring older, non-metadata-aware systems continue to function.

Quick Start

Use the metadata-driven similarity conversion skill to migrate the resistor similarity calculator by adding the necessary imports and updating the calculateSimilarity method.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: Metadata-Driven Similarity Conversion
Download link: https://github.com/Cantara/lib-electronic-components/archive/main.zip#metadata-driven-similarity-conversion

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 223,000+ vetted skills library on demand.