view-gen SKILL.md skillC

view-gen from conol-ai/cohdl is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add conol-ai/cohdl/view-gen@git:20260806.341dce9

Pins git:20260806.341dce9 in mdr.lock. Pin the fingerprint instead.

Audit grade
C, 14 of 17 checks passed
Kind
SKILL.md skill
Repository
conol-ai/cohdl
Path
explorer/skills/view-gen/SKILL.md
Versions recorded
1
Latest version
git:20260806.341dce9, committed Aug 6, 2026
Size
4,564 bytes
Repository stars
20
License
MIT

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Skill: explorer-view-gen

# CoHDL Explorer 视图配置生成 — AI 为看板生成/维护分区展示配置

Use when: 为 CoHDL design 生成/更新 schematic explorer 的 view.json
(分区/多页展示配置);用户说"给这个板子分区"、"生成看板视图"、
"整理电源分区"、partition/region/view config for explorer。

## 定位红线

view.json **只管展示,不碰电气**。源码(.cohdl)是唯一电气真相;配置错了
最多显示难看,不可能弄坏电路。因此本 skill 允许大胆自动生成、人工随意
微调,无需任何电气验证门禁。

## 输入

1. design 源码(`src/*.cohdl`)——语义主来源
2. `cohdl-explorer <project> -o model.json` 的 ExplorerModel——机读事实:
   - `instances[].designator/device_fq/impl_traits/part.mpn`
   - `derived.fn_groups`(fn 子电路展开分组——天然区域种子)
   - `derived.rails`(电源轨列表)与 `derived.two_terminal`
   - net `voltage`/`is_gnd` 注解

## 输出契约(schema v1)

`views/<Design>.view.json`(部署到 web/public/views/ 或 serve dist):

```json
{
  "schema_version": 1,
  "design": "<design 名,必须与模型 design 字段一致(文件名同名)>",
  "views": [
    { "name": "<页名>", "regions": [
      { "name": "<区域名>", "members": ["U2", "path:Top::mcu", "agg:GND + V3V3"] }
    ]}
  ]
}
```

成员规则(按优先序匹配,首个命中区域获得该节点):
- `"U2"` — designator(首选,稳定可读)
- `"path:<instance path>"` — 精确实例路径
- `"agg:host:<IC path>"` — 某 IC 的去耦聚合节点(带 #[bypass] 标注的
  电容自动按宿主分组,如 `agg:host:Pico2::mcu`;UI 会画虚线连到宿主,
  分区时把它和宿主放同一区)
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add conol-ai/cohdl/view-gen@sha256:22a8db6596a365f7

The line at the top of this page pins the label git:20260806.341dce9, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_gye4qtzhm353ofus.svg)](https://markdownregistry.com/a/art_gye4qtzhm353ofus)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Aug 6, 2026.

versioncommittedcommitsizeaudit
git:20260806.341dce9 latest2026-08-06 341dce9 4,564 BC view

Audit of the latest version

C  14 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: Frontmatter block present
  • fail: Frontmatter declares a name
  • fail: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4564 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

conol-ai/cohdl · 20 stars · license MIT · pushed 2026-11-04 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_gye4qtzhm353ofus
GET https://markdownregistry.com/api/v1/resolve?ref=conol-ai/cohdl/view-gen
GET https://markdownregistry.com/api/v1/blob/22a8db6596a365f79fc1e5b43b58654fbc9edb553351792edd0af7553e36d716

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from conol-ai/cohdl

AGENTS.md AGENTS.md file
conol-ai/cohdl · AGENTS.md
git:20261103.7d5a380 · audit A · 20 stars
CLAUDE.md CLAUDE.md file
conol-ai/cohdl · CLAUDE.md
git:20260825.bd119bd · audit B · 20 stars

Every file in conol-ai/cohdl

Browse by kind, by grade C, or by owner.