Skip to content

hashgraph-online/awesome-codex-plugins / plugins/aklofas/kicad-happy/skills/datasheets

datasheets

Verified

Extract structured specifications from electronic component datasheet PDFs — pinouts, electrical characteristics, peripherals, topology, and features. Cache extractions per project for consumption by schematic and PCB analyzers. Primary consumer infrastructure for `kicad`, `emc`, `spice`, and `thermal` analyzers. Use this skill whenever the user asks to extract, verify, or read specs from a component datasheet; when analyzers need verified IC knowledge (EN pin thresholds, PG presence, USB peripheral speed); or when a review mentions datasheet coverage, extraction quality, or per-MPN specifications. Also triggers on "extract this datasheet", "what are the specs for MPN X", "verify datasheet extraction", or "check pin functions for part Y".

FileKindSize
SKILL.mdskill md11.2 KB
datasheet_types/__init__.pyscript1.9 KB
datasheet_types/base_block.pyscript6.5 KB
datasheet_types/cache_reader.pyscript12.3 KB
datasheet_types/codec.pyscript6.3 KB
datasheet_types/extraction.pyscript8.0 KB
datasheet_types/pinout.pyscript5.2 KB
datasheet_types/regulator.pyscript5.3 KB
datasheet_types/spec_value.pyscript2.4 KB
datasheet_types/trust_gating.pyscript5.0 KB
distributor_core/__init__.pyscript0 B
distributor_core/cli.pyscript2.9 KB
distributor_core/download.pyscript36.7 KB
distributor_core/inputs.pyscript9.0 KB
distributor_core/manifest.pyscript5.7 KB
distributor_core/sync.pyscript21.0 KB
distributor_core/verify.pyscript12.1 KB
examples/abm8g-106-12.000mhz-t.jsonconfig9.4 KB
examples/irlml6344.jsonconfig16.0 KB
examples/lm2596-adj.jsonconfig14.3 KB
examples/lm358.jsonconfig15.6 KB
examples/mbrs540t3g.jsonconfig12.3 KB
examples/stm32f103c8t6.jsonconfig51.1 KB
prompts/base.mdmarkdown4.5 KB
prompts/crystal.mdmarkdown8.8 KB
prompts/diode.mdmarkdown8.3 KB
prompts/mcu.mdmarkdown9.6 KB
prompts/opamp.mdmarkdown10.7 KB
prompts/pinout.mdmarkdown4.7 KB
prompts/regulator.mdmarkdown4.4 KB
prompts/scout.mdmarkdown3.5 KB
prompts/transistor.mdmarkdown12.5 KB
references/cache-layout.mdmarkdown8.4 KB
references/consumer-api.mdmarkdown10.8 KB
references/dispatch-claude-code.mdmarkdown9.4 KB
references/dispatcher-contract.mdmarkdown8.2 KB
references/extraction-pipeline.mdmarkdown1.7 KB
references/extraction-schema.mdmarkdown18.0 KB
references/field-extraction-guide.mdmarkdown14.9 KB
references/quality-scoring.mdmarkdown8.4 KB
schemas/CHANGELOG.mdmarkdown16.0 KB
schemas/base.schema.jsonconfig9.3 KB
schemas/crystal.schema.jsonconfig7.2 KB
schemas/diode.schema.jsonconfig7.9 KB
schemas/extraction.schema.jsonconfig3.7 KB
schemas/fixtures/lm2596-adj.example.jsonconfig14.3 KB
schemas/fixtures/manifest.example.jsonconfig1000 B
schemas/fixtures/minimal.example.jsonconfig2.1 KB
schemas/manifest.schema.jsonconfig3.0 KB
schemas/mcu.schema.jsonconfig12.4 KB
schemas/opamp.schema.jsonconfig9.2 KB
schemas/pinout.schema.jsonconfig5.9 KB
schemas/plan.schema.jsonconfig4.6 KB
schemas/regulator.schema.jsonconfig8.4 KB
schemas/scout.schema.jsonconfig2.9 KB
schemas/spec_value.schema.jsonconfig3.0 KB
schemas/transistor.schema.jsonconfig12.0 KB
scripts/_smoke_v14_roundtrip.pyscript8.9 KB
scripts/datasheet_extract_cache.pyscript21.2 KB
scripts/datasheet_features.pyscript17.1 KB
scripts/datasheet_page_selector.pyscript16.7 KB
scripts/datasheet_score.pyscript15.5 KB
scripts/datasheet_verify.pyscript45.6 KB
scripts/extraction_schema.pyscript1.8 KB
scripts/merge_results.pyscript13.0 KB
scripts/plan_extraction.pyscript9.5 KB
scripts/validate_extraction_result.pyscript4.0 KB
scripts/validate_sanity_vector.pyscript6.4 KB

schemas/diode.schema.json

View on GitHub
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://kicad-happy.local/datasheets/schemas/diode.schema.json",
  "title": "DiodeExtension",
  "description": "Category extension for diodes (signal, switching, Schottky, zener, TVS, rectifier, bridge, varicap). Layered on top of base per spec §7. Version 1.0. Field union from 1N4148 (signal switching) + MBRS540T3G (Schottky power rectifier).",
  "x-schema-version": "1.0",
  "type": "object",
  "required": ["diode_type"],
  "additionalProperties": false,
  "properties": {
    "diode_type": {
      "type": "string",
      "enum": ["signal", "switching", "schottky", "zener", "tvs", "rectifier", "bridge", "varicap"],
      "description": "Diode functional category. Drives which optional fields are typically populated (e.g. vz only for zener, trr null for slow rectifiers)."
    },
    "vf": {
      "type": ["array", "null"],
      "items": {"$ref": "https://kicad-happy.local/datasheets/schemas/spec_value.schema.json"},
      "description": "Forward voltage drop (V). Multiple SpecValues per part when datasheet publishes at multiple If test currents. Condition string carries the test If (e.g. 'IF=10mA', 'iF=5A, TC=25°C')."
    },
    "if_max": {
      "type": ["array", "null"],
      "items": {"$ref": "https://kicad-happy.local/datasheets/schemas/spec_value.schema.json"},
      "description": "Maximum forward current (A). Multiple SpecValues to disambiguate continuous (IF), average rectified (IF(AV)), and repetitive peak (IFRM) variants via condition string."
    },
    "ifsm": {
      "type": ["array", "null"],
      "items": {"$ref": "https://kicad-happy.local/datasheets/schemas/spec_value.schema.json"},
      "description": "Non-repetitive peak surge current (A). Single SpecValue per part typically. Condition carries pulse width or half-cycle spec."
    },
    "vr_max": {
      "type": ["array", "null"],
      "items": {"$ref": "https://kicad-happy.local/datasheets/schemas/spec_value.schema.json"},
      "description": "Maximum reverse voltage (V). Multiple SpecValues to disambiguate VRRM (peak repetitive), VR (DC blocking), and VRWM (working peak) via condition string."
    },
    "breakdown_voltage": {
      "type": ["array", "null"],
      "items": {"$ref": "https://kicad-happy.local/datasheets/schemas/spec_value.schema.json"},
      "description": "Reverse breakdown voltage V_BR (V). Distinct from vr_max — represents the measured avalanche threshold, not the maximum rated working voltage. Null when not explicitly specified."
    },
    "ir": {
      "type": ["array", "null"],
      "items": {"$ref": "https://kicad-happy.local/datasheets/schemas/spec_value.schema.json"},
      "description": "Reverse leakage current (A). Multiple SpecValues for different reverse voltage and junction temperature test conditions."
    },
    "trr": {
      "type": ["array", "null"],
      "items": {"$ref": "https://kicad-happy.local/datasheets/schemas/spec_value.schema.json"},
      "description": "Reverse recovery time (s). Most relevant for switching, signal, and Schottky diodes. Typically null for slow rectifiers and zeners."
    },
    "cd": {
      "type": ["array", "null"],
      "items": {"$ref": "https://kicad-happy.local/datasheets/schemas/spec_value.schema.json"},
      "description": "Junction capacitance (F). Condition carries reverse voltage and test frequency (e.g. 'VR=0V, f=1MHz'). Most relevant for varicap, signal, and switching diodes."
    },
    "vz": {
      "type": ["array", "null"],
      "items": {"$ref": "https://kicad-happy.local/datasheets/schemas/spec_value.schema.json"},
      "description": "Zener voltage (V). Null for all non-zener diode types. Condition carries test current Iz."
    },
    "power_dissipation": {
      "type": ["array", "null"],
      "items": {"$ref": "https://kicad-happy.local/datasheets/schemas/spec_value.schema.json"},
      "description": "Continuous power dissipation (W). Condition typically carries ambient temperature Ta or lead temperature TL."
    },
    "tj_max": {
      "type": ["array", "null"],
      "items": {"$ref": "https://kicad-happy.local/datasheets/schemas/spec_value.schema.json"},
      "description": "Maximum operating junction temperature (°C). Both min (storage lower bound) and max populated when datasheet specifies operating junction temperature range."
    },
    "thermal_resistance": {
      "type": ["object", "null"],
      "additionalProperties": false,
      "description": "Thermal resistance characteristics. Through-hole parts typically have only rtheta_ja; SMD parts often have both rtheta_jl and rtheta_ja.",
      "properties": {
        "rtheta_ja": {
          "type": ["array", "null"],
          "items": {"$ref": "https://kicad-happy.local/datasheets/schemas/spec_value.schema.json"},
          "description": "Junction-to-ambient thermal resistance (K/W). Condition may specify board conditions (e.g. 'Min pad', 'l=4mm, TL=constant')."
        },
        "rtheta_jc": {
          "type": ["array", "null"],
          "items": {"$ref": "https://kicad-happy.local/datasheets/schemas/spec_value.schema.json"},
          "description": "Junction-to-case thermal resistance (K/W). Null when not specified."
        },
        "rtheta_jl": {
          "type": ["array", "null"],
          "items": {"$ref": "https://kicad-happy.local/datasheets/schemas/spec_value.schema.json"},
          "description": "Junction-to-lead thermal resistance (K/W). Common for SMD packages (e.g. SMC, SMA). Null for through-hole parts."
        }
      }
    },
    "package": {
      "type": ["object", "null"],
      "additionalProperties": false,
      "description": "Package physical characteristics. body_mm uses nested object shape (nested-object convention — inner keys align with base.schema.json body_mm shape).",
      "required": ["evidence"],
      "properties": {
        "code": {
          "type": ["string", "null"],
          "description": "Datasheet package code (e.g. 'DO-35', 'SMC', 'SOD-323', 'SMA')."
        },
        "pin_count": {
          "type": ["integer", "null"],
          "description": "Number of leads/pins. Typically 2 for diodes."
        },
        "pitch_mm": {
          "type": ["number", "null"],
          "description": "Lead pitch in millimeters. Null when not applicable (through-hole axial parts)."
        },
        "body_mm": {
          "type": ["object", "null"],
          "additionalProperties": false,
          "description": "Package body dimensions in millimeters. Nested object using the nested-object convention. Inner keys (length/width/height) align with base.schema.json's body_mm shape.",
          "properties": {
            "length": {
              "type": "number",
              "description": "Body length in millimeters along the longest axis."
            },
            "width": {
              "type": "number",
              "description": "Body width in millimeters along the perpendicular-to-length axis."
            },
            "height": {
              "type": "number",
              "description": "Body height in millimeters (package thickness / standoff direction)."
            }
          }
        },
        "thermal_pad": {
          "type": ["boolean", "null"],
          "description": "True when the package has an exposed thermal pad on the bottom. Null when not determinable."
        },
        "evidence": {
          "$ref": "https://kicad-happy.local/datasheets/schemas/spec_value.schema.json#/properties/evidence"
        }
      }
    },
    "marking_code": {
      "type": ["string", "null"],
      "description": "Surface marking printed or molded on the package body (e.g. 'V4148' for 1N4148, 'B540' for MBRS540T3G). Null when part is unmarked or too small for marking."
    },
    "polarity_marking_convention": {
      "type": ["string", "null"],
      "description": "How the cathode (or anode) is identified on the physical part (e.g. 'cathode band', 'polarity band on plastic body', 'K mark', 'flat side = cathode'). Null when not described."
    }
  }
}
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 197kUpdated Claude CodeCodexVerifiedInstall