chip-impl-quality-gate

chip-impl-quality-gate is a skill for Claude Code from zhaixin244-wq/fnw. It costs 76 tokens per session (1,951 once invoked), scanned A, original, MIT.

A quality-check procedure for RTL code, the hardware-description code used to design digital circuits. It runs lint checks and synthesis, which tests whether the design can be built into hardware and estimates its size.

In plain words
What is it for?
It helps find RTL errors, run Verilog checks, synthesize a design with Yosys, and report whether the required checks pass.
Why use it?
It catches code and build problems before delivery and requires failed checks to be investigated and repaired.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is cd {module}_work && bash ds/run/run_lint.sh {top} rtl/*.v.

Good fit It helps find RTL errors, run Verilog checks, synthesize a design with Yosys, and report whether the required checks pass.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/zhaixin244-wq/fnw
agentmods
npx agentmods add skills/zhaixin244-wq/fnw/chip-impl-quality-gate

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for chip-impl-quality-gate

README.md
[![agentmods](https://agentmods.dev/badge/skills/zhaixin244-wq/fnw/chip-impl-quality-gate/github.svg)](https://agentmods.dev/skills/zhaixin244-wq/fnw/chip-impl-quality-gate)
Your own site
<a href="https://agentmods.dev/skills/zhaixin244-wq/fnw/chip-impl-quality-gate"><img src="https://agentmods.dev/badge/skills/zhaixin244-wq/fnw/chip-impl-quality-gate/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for chip-impl-quality-gate

Your own site · 80×15
<a href="https://agentmods.dev/skills/zhaixin244-wq/fnw/chip-impl-quality-gate"><img src="https://agentmods.dev/badge/skills/zhaixin244-wq/fnw/chip-impl-quality-gate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,951 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00076 $0.01951
Opus 5 $0.00038 $0.00975
Sonnet 5 $0.00015 $0.00390
Haiku 4.5 $0.00008 $0.00195

Measured 12d ago against content hash 6a423cafd529, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

chip-impl-quality-gate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/chip-impl-quality-gate/SKILL.md · 166 lines

How it starts

The opening of the file, as written. The whole thing — 166 lines — stays where its author put it; the contents beside it link to each section on GitHub.

质量门禁 Skill

任务

执行 Lint 和综合检查,不通过时自动进入自愈循环修复。

强制门禁声明

铁律:Lint 和综合检查是 RTL 交付的强制前置条件,不可跳过、不可降级。

门禁 强制级别 通过标准 失败行为
Lint MUST lint_summary.log ALL PASS 进入自愈循环修复
综合 MUST synth_summary.log ALL PASS + 面积差异 <50% 进入自愈循环优化

输入

  • rtl_files: RTL 文件列表
  • sdc_file: SDC 约束文件
  • work_dir: 工作目录路径

执行步骤

  1. 文件发现:用 Glob 搜索 {module}_work/ds/rtl/*.v 获取 RTL 文件列表。若文件不存在,暂停并提示用户。同时验证 lint/synth 脚本({module}_work/ds/run/run_lint.sh{module}_work/ds/run/run_synth.sh)存在

  2. 环境检测:检查工具可用性,缺失时提示安装:

# 检查 iverilog
command -v .claude/tools/oss-cad-suite/bin/iverilog >/dev/null 2>&1 || \
  command -v iverilog >/dev/null 2>&1 || \
  { echo "[ENV-MISSING] iverilog not found. Install oss-cad-suite or add to PATH."; exit 1; }

# 检查 yosys
command -v .claude/tools/oss-cad-suite/bin/yosys >/dev/null 2>&1 || \
  command -v yosys >/dev/null 2>&1 || \
  { echo "[ENV-MISSING] yosys not found. Install oss-cad-suite or add to PATH."; exit 1; }

工具路径优先级:项目本地 .claude/tools/oss-cad-suite/bin/ > 系统 PATH。 检测失败 → 暂停,标注 [ENV-MISSING],提示用户安装。

  1. Lint 检查

    cd {module}_work && bash ds/run/run_lint.sh {top} rtl/*.v
    

    读取 ds/report/lint/lint_summary.log

    • ALL PASS → 进入步骤 2
    • HAS FAILURES → 进入 Lint 修复
  2. 综合检查

    cd {module}_work && bash ds/run/run_synth.sh {top} rtl/*.v
    

读取 ds/report/syn/synth_summary.log

  • ALL PASS + 面积差异 <50% → 门禁通过
  • 面积差异 >50% → 暂停确认
  • HAS FAILURES → 进入综合优化

自愈循环

Lint → ALL PASS? → Synthesis → ALL PASS? → 通过
         ↓ No              ↓ No
    Lint 分析          Synth 分析
         ↓                  ↓
    修复 RTL           优化 RTL
         ↓                  ↓
    重跑 Lint          重跑 Synth

Lint 修复规则

Critical(必须修复)

错误类型 识别特征 修复规则
语法 error 1_iverilog.log 中 error 行 补分号/修正端口声明
组合环路 2_yosys_lint.logcombinational loop 插入时序寄存器打断
多驱动 2_yosys_lint.logmultiple driver 合并到单个 always 块

Read the full file on GitHub · 166 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 166 lines · 76 tokens per session scan A 6a423cafd529

Subscribe to this mod's changes

chip-impl-quality-gate is a skill published in the GitHub repository zhaixin244-wq/fnw (29 stars, last pushed 3mo ago), licensed MIT. It adds 76 tokens to every session and 1,951 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

jetson-diagnostic

Read-only Jetson health snapshot for identity, memory, GPU, thermal, power, storage, services, and top processes.

NVIDIA/skills · 30 tokens

doca-socket-relay

Use this skill when the operator is driving the DOCA Socket Relay to bridge a socket-oriented host application onto a BlueField DPU peer without rewriting it — picking the deployment shape (in-process, sidecar, or BlueField service container), configuring the host-side socket and the DPU-side forwarding endpoint…

NVIDIA/skills · 236 tokens

offensive-z-wave

Z-Wave attack methodology — sniffing with Z-Force / EZ-Wave / RTL-SDR + ZniffMobile, S0 (legacy) network-key derivation flaw and key reuse, S2 (modern) ECDH commissioning analysis, replay/injection on unauthenticated nodes, default-key brute-force on test deployments, and home-automation hub pivots. Use when targeting…

SnailSploit/Claude-Red · 113 tokens

hsb-flash

Flash the FPGA on an HSB board connected to an NVIDIA devkit. Supports HSB Lattice boards (FPGA versions 2407, 2412, 2507, 2510) and Leopard Imaging VB1940 "all-in-one" cameras (FPGA versions 2507, 2510). Uses release-specific YAML manifests and board-type-specific program commands. Lattice and VB1940 commands must…

NVIDIA/skills · 94 tokens

jetson-validate-image

Use after jetson-flash-image to run static BSP checks, on-target smoke/regression tests on a flashed DUT, or both. Not for build or flash steps. Triggers: validate bsp, on-target validation.

NVIDIA/skills · 50 tokens