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/opamp.schema.json

View on GitHub
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://kicad-happy.local/datasheets/schemas/opamp.schema.json",
  "title": "OpampExtension",
  "description": "Category extension for operational amplifiers (general-purpose, precision, rail-to-rail I/O, rail-to-rail output, JFET-input, CMOS-input, chopper, instrumentation, comparator). Layered on top of base per spec §7. Version 1.0. Field union from LM358 (Fairchild → ON Semi BJT general-purpose dual single-supply, SOIC-8/PDIP-8) + MCP6004 (Microchip CMOS rail-to-rail I/O quad, SOIC-14/PDIP-14/TSSOP-14). Omits noise_voltage_density / noise_current_density / phase_margin (not modeled, to avoid spec_value unit enum sprawl: V/√Hz, A/√Hz, degrees).",
  "x-schema-version": "1.0",
  "type": "object",
  "required": ["opamp_topology", "channels"],
  "additionalProperties": false,
  "properties": {
    "opamp_topology": {
      "type": "string",
      "enum": [
        "general_purpose",
        "precision",
        "rail_to_rail_io",
        "rail_to_rail_output",
        "jfet_input",
        "cmos_input",
        "chopper",
        "instrumentation",
        "comparator"
      ],
      "description": "Op-amp functional category. Choose the single closest match. LM358 → general_purpose. MCP6004 → rail_to_rail_io (preferred over cmos_input when both apply — rail_to_rail_io is more specific)."
    },
    "channels": {
      "type": "integer",
      "minimum": 1,
      "description": "Number of independent op-amp channels in the package. Single=1, dual=2, quad=4."
    },
    "vsupply_range": {
      "type": ["array", "null"],
      "items": {"$ref": "https://kicad-happy.local/datasheets/schemas/spec_value.schema.json"},
      "description": "Total supply voltage range V+ to V− (unit: V). For single-supply parts store as min/max of VDD−VSS. For split-supply parts store as the single-supply equivalent (e.g. ±16V → max=32V) with a condition note, or provide two SpecValues for each mode."
    },
    "vsupply_split_capable": {
      "type": ["boolean", "null"],
      "description": "True when the part is specified for split (bipolar) supply operation. False when single-supply only. Null when not determinable from the datasheet."
    },
    "iq_per_amp": {
      "type": ["array", "null"],
      "items": {"$ref": "https://kicad-happy.local/datasheets/schemas/spec_value.schema.json"},
      "description": "Quiescent current PER op-amp channel (unit: A). NOT total package current. Divide datasheet's total ICC by channels when only total is published. Condition carries VS and load conditions."
    },
    "gbw": {
      "type": ["array", "null"],
      "items": {"$ref": "https://kicad-happy.local/datasheets/schemas/spec_value.schema.json"},
      "description": "Gain-bandwidth product (unit: Hz — NOT MHz; store 1MHz as 1e6). The frequency at which open-loop gain crosses 0dB (unity gain). Condition carries supply voltage and load."
    },
    "slew_rate": {
      "type": ["array", "null"],
      "items": {"$ref": "https://kicad-happy.local/datasheets/schemas/spec_value.schema.json"},
      "description": "Slew rate (unit: V/s — NOT V/µs; store 0.6V/µs as 6e5). Rate of output voltage change under large-signal step conditions. Condition carries supply voltage and load."
    },
    "vos": {
      "type": ["array", "null"],
      "items": {"$ref": "https://kicad-happy.local/datasheets/schemas/spec_value.schema.json"},
      "description": "Input offset voltage (unit: V). Condition carries Vcm and supply. Multiple SpecValues for different temperature conditions."
    },
    "ib": {
      "type": ["array", "null"],
      "items": {"$ref": "https://kicad-happy.local/datasheets/schemas/spec_value.schema.json"},
      "description": "Input bias current (unit: A). BJT inputs are typically nA (e.g. 45nA → 4.5e-8); CMOS/JFET inputs are typically pA (e.g. 1pA → 1e-12). Condition carries temperature."
    },
    "cmrr": {
      "type": ["array", "null"],
      "items": {"$ref": "https://kicad-happy.local/datasheets/schemas/spec_value.schema.json"},
      "description": "Common mode rejection ratio (unit: dB). Condition carries common mode input range and supply. Higher is better."
    },
    "psrr": {
      "type": ["array", "null"],
      "items": {"$ref": "https://kicad-happy.local/datasheets/schemas/spec_value.schema.json"},
      "description": "Power supply rejection ratio (unit: dB). Condition carries supply range. Higher is better."
    },
    "vout_swing_high": {
      "type": ["array", "null"],
      "items": {"$ref": "https://kicad-happy.local/datasheets/schemas/spec_value.schema.json"},
      "description": "Output high swing headroom (unit: V — stored as positive headroom FROM V+). Rail-to-rail parts have ~25mV headroom; general-purpose parts may have 1.5–2V headroom. Condition carries supply voltage and load current."
    },
    "vout_swing_low": {
      "type": ["array", "null"],
      "items": {"$ref": "https://kicad-happy.local/datasheets/schemas/spec_value.schema.json"},
      "description": "Output low swing headroom (unit: V — stored as positive headroom FROM V−). Rail-to-rail parts swing to within ~25mV of V−; general-purpose parts have ~5–20mV headroom at light load. Condition carries supply voltage and load."
    },
    "output_drive_current": {
      "type": ["array", "null"],
      "items": {"$ref": "https://kicad-happy.local/datasheets/schemas/spec_value.schema.json"},
      "description": "Output source or sink current capability (unit: A). May be specified as short-circuit current (ISC) or as current at a given output voltage. Multiple SpecValues for source vs sink or different supply voltages."
    },
    "unity_gain_stable": {
      "type": ["boolean", "null"],
      "description": "True when the part is specified as stable at unity gain (AV=1). False when minimum gain is greater than 1. Null when not stated. Most general-purpose op-amps are unity-gain stable."
    },
    "shutdown_pin": {
      "type": ["string", "null"],
      "description": "Shutdown/enable pin number string (matches base.pinout[*].numbers), or null when the part has no shutdown pin. Most op-amps lack a shutdown pin (null). Shutdownable parts include OPA376, MCP6N11, etc."
    },
    "thermal_resistance": {
      "type": ["object", "null"],
      "additionalProperties": false,
      "description": "Thermal resistance characteristics. Through-hole packages typically have only rtheta_ja; SMD packages may add rtheta_jc.",
      "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 or °C/W). Condition may specify board and copper area conditions."
        },
        "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 or °C/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 or °C/W). Common for some SMD packages. Null for most op-amp packages."
        }
      }
    },
    "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. 'SOIC-8', 'PDIP-8', 'SOIC-14', 'TSSOP-14')."
        },
        "pin_count": {
          "type": ["integer", "null"],
          "description": "Number of leads/pins. Typically 5, 8, or 14 for op-amps."
        },
        "pitch_mm": {
          "type": ["number", "null"],
          "description": "Lead pitch in millimeters. Null when not applicable."
        },
        "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"
        }
      }
    }
  }
}
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: 198kUpdated Claude CodeCodexVerifiedInstall