zener-language
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseZener Language
Zener语言
Use this skill as the semantics companion to for non-trivial work.
idiomatic-zener.zen在进行重要的.zen文件相关工作时,请将本技能作为的语义配套工具使用。
idiomatic-zenerWorkflow
工作流程
- Start from nearby workspace code. Prefer the local package's patterns before generic examples.
- Open only the relevant reference file:
- for modules, nets/interfaces, components,
references/language.md,io(), utilities, and tool-managed metadataconfig() - for imports, workspace layout, manifests, dependencies, and
references/packages.mdpcb.sum - for prelude, interfaces, units, checks, utils, properties, and generics
references/stdlib.md - for example snippets
references/examples.md
- For installed package or registry APIs, run instead of guessing. This skill is the canonical owner of that workflow.
pcb doc --package <package> - For broader toolchain semantics, consult and
~/.pcb/docs/spec.md.~/.pcb/docs/packages.md - Check exact semantics before editing when the code touches unfamiliar syntax, manifests, imports, stdlib APIs, or package interfaces.
- Never invent syntax, stdlib modules, interfaces, fields, or package APIs.
- 从当前工作区的代码入手。优先参考本地包的模式,而非通用示例。
- 仅打开相关的参考文件:
- 若涉及模块、网络/接口、组件、、
io()、工具类以及工具管理的元数据,请查看config()references/language.md - 若涉及导入、工作区布局、清单、依赖项以及,请查看
pcb.sumreferences/packages.md - 若涉及预导入内容、接口、单元、检查、工具类、属性以及泛型,请查看
references/stdlib.md - 若需要示例代码片段,请查看
references/examples.md
- 若涉及模块、网络/接口、组件、
- 对于已安装的包或注册表API,请运行命令查询,不要凭猜测操作。本技能是该工作流程的权威指南。
pcb doc --package <package> - 若需了解更广泛的工具链语义,请查阅和
~/.pcb/docs/spec.md。~/.pcb/docs/packages.md - 当代码涉及不熟悉的语法、清单、导入、标准库API或包接口时,编辑前请先确认确切的语义。
- 切勿自行创造语法、标准库模块、接口、字段或包API。
Notes
注意事项
- Use this with for non-trivial
idiomatic-zenercreation, editing, refactoring, or review..zen - Use for vendor and reference-circuit translation work.
reference-design - Use when the problem is finding or importing a part rather than understanding the language.
component-search
- 在进行重要的.zen文件创建、编辑、重构或评审时,请结合使用本技能。
idiomatic-zener - 若需进行厂商和参考电路的转换工作,请使用技能。
reference-design - 若问题是查找或导入某个部件而非理解语言,请使用技能。
component-search