Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

zener-language齐纳语言

Agent Skill

zener-language 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

16,088

周安装

684

GitHub Stars

227

下载量

5,636
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:zener-language(齐纳语言)
来源仓库:https://github.com/diodeinc/pcb
仓库路径:skills/zener-language
安装命令:
npx skills add https://github.com/diodeinc/pcb --skill zener-language
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/diodeinc/pcb --skill zener-language

简介

zener-language 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 适用于特定领域术语查询、语言模型微调数据收集或语义理解研究等任务。
  • 通过 npx skills add 命令从指定仓库安装,调用时传入语言特征或语料需求即可返回资源列表。
  • 安装前需确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 建议结合来源仓库和原始 README 核验数据许可协议与更新频率。

SKILL.md

Zener Language

Workflow

  1. Start from nearby workspace code. Prefer the local package's patterns before generic examples.
  2. Check exact semantics here before editing when the code touches unfamiliar syntax, manifests, imports, stdlib APIs, or package interfaces.
  3. Use pcb doc to discover package APIs whenever you need interface field names, generic parameters, or any unfamiliar surface. Output includes the resolved source path so you can read the package source directly.

- pcb doc --package @stdlib (or @stdlib/generics) for stdlib. - pcb doc --package <package> for any installed or registry package. Pin URL packages with @<version>, e.g. pcb doc --package github.com/org/repo/path@v0.2.5.

  1. When in doubt about exact behavior or semantics, read the actual source .zen files — stdlib modules and package sources alike. pcb doc is type-level only; the source is the truth.
  2. Never invent syntax, stdlib modules, interfaces, fields, or package APIs.

Language

Base language is normal Starlark — expressions, functions, loops, comprehensions, dicts, lists, load(). Below is the Zener-specific layer.

Modules:

  • A .zen file is either a normal Starlark module loaded with load() or an instantiable schematic module loaded with Module().
  • load("./foo.zen", "helper") imports Starlark symbols. Foo = Module("./Foo.zen") or Foo = Module("github.com/org/repo/path/Foo.zen") loads a subcircuit.
  • ./ paths are relative to the current file and resolve within the same package. Cross-package load() and Module() require the full package URL.
  • Instantiation always passes name=... first, then any io() / config() inputs. Useful extras: properties, dnp, schematic.

Nets and interfaces:

  • Net(name=None, voltage=None, impedance=None) is the base connection type.
  • Power, Ground, and NotConnected are specialized net types; more specialized net types live in stdlib.
  • Across io() boundaries: NotConnected can promote to any net type; specialized nets can demote to plain Net; plain Net does not auto-promote to specialized types. Use explicit casts like Power(net, voltage=...) or Net(power_net) when needed.
  • For buses and grouped signals, use stdlib interfaces from @stdlib/interfaces.zen (e.g. I2c, Spi, Uart, Usb2) instead of loose net bundles.

Components and sourcing:

  • Component(...) is the primitive physical-part constructor. Required fields are effectively name, symbol, and pins.
  • Prefer part=Part(mpn=..., manufacturer=...) over legacy scalar mpn and manufacturer.
  • Symbol(library, name=None) points at a .kicad_sym; name is required for multi-symbol libraries.
  • Omit no_connect pins from pins; Component() wires NotConnected() automatically.

io():

  • Preferred form: NAME = io(template,...) where template is a net/interface type or instance (e.g. Power(voltage="3.3V")).
  • Name is inferred from the assignment target or struct field: VDD = io(Power()) infers "VDD". Use UPPERCASE names by convention.
  • optional=True means omitted inputs get auto-generated nets or interfaces.

config():

  • Preferred form: name = config(typ, default=...,...). Name is inferred from the assignment target. Use lowercase names by convention.
  • typ can be primitive types, enums, records, or physical value constructors like Voltage or Resistance.
  • allowed= constrains accepted values to a discrete set.
  • Strings auto-convert when possible: "10k" can become Resistance("10k"); "0603" can become an enum value.

Utilities:

  • Board(name, layout_path, layers=..., config=...) defines board-level defaults. Define once near the top of a board file and usually set name, layers, and layout_path.
  • Layout(name, path) associates reusable layout metadata to a module.
  • check(condition, message), warn(message), and error(message) are the validation and diagnostic primitives.

Tool-managed metadata:

  • Trailing # pcb:sch... comments are tool-managed schematic placement metadata. Leave them alone, never delete them, and never add new ones. The only allowed edit is updating names inside an existing comment when you rename the matching component or net.

Packages And Manifests

Imports and dependencies:

  • @stdlib/... is implicit and toolchain-managed; do not declare it in [dependencies].

pcb.toml per package type:

  • Workspace root: [workspace] metadata and members.
  • Board packages: [board] and [dependencies].
  • Reusable packages (modules, components): [dependencies] and optional default parts.

Stdlib

Prelude symbols available in .zen files without load(): Net, Power, Ground, NotConnected, Board, Layout, Part. Local definitions can shadow them.

@stdlib/interfaces.zen:

  • Common interfaces: DiffPair, I2c, I3c, Spi, Qspi, Uart, Usart, Swd, Jtag, Usb2, Usb3, and others.
  • UartPair() and UsartPair() generate cross-connected point-to-point links.

@stdlib/units.zen:

  • Physical types: Voltage, Current, Resistance, Capacitance, Inductance, Impedance, Frequency, Temperature, Time, Power.
  • Constructors accept point values and ranges: Voltage("3.3V") # point value Resistance("4k7") # 4.7kΩ resistor notation Capacitance("100nF") Voltage("1.1–3.6V") # range Voltage("11–26V (12V)") # range with explicit nominal
  • Arithmetic tracks units automatically: Voltage("3.3V") * Current("0.5A")1.65W; Voltage("5V") / Current("100mA")50Ω.
  • Properties: .value (alias for .nominal), .nominal, .min, .max, .tolerance, .unit.
  • Methods: .with_tolerance(t), .with_value(v), .with_unit(u), .abs(), .diff(other), .within(other), .matches(other).
  • Operators: +, -, *, / (with unit tracking), <, >, <=, >=, == (strict equality against another PhysicalValue), unary -. Use .matches(other) for coercive comparisons against strings or scalars, e.g. Voltage("5V").matches("5V").
  • String formatting: point → "3.3V"; symmetric tolerance → "10k 5%"; range → "11–26V (16V nom.)".

@stdlib/checks.zen:

  • voltage_within(...) is the main reusable io()-boundary power-rail check.

@stdlib/utils.zen:

  • e3, e6, e12, e24, e48, e96, e192 snap physical values to standard E-series.

@stdlib/generics/*:

  • Prefer generics for common parts: Resistor, Capacitor, Inductor, FerriteBead, Led, Rectifier, Zener, Tvs, Crystal, Thermistor, TestPoint, PinHeader, TerminalBlock, NetTie, SolderJumper, MountingHole, Standoff, Fiducial, Version.
  • Diode is deprecated; use Rectifier (standard/Schottky), Zener (breakdown/reference), or Tvs (transient suppressor).

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.03%
按下载量换算1,974

Claude

32.99%
按下载量换算1,859

Cursor

17.43%
按下载量换算982

Gemini CLI

10.1%
按下载量换算569

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills