Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add zhaixin244-wq/fnw --skill chip-rtl-guideline-generatorgit clone --depth 1 https://github.com/zhaixin244-wq/fnwWrote 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.
[](https://agentmods.dev/skills/zhaixin244-wq/fnw/chip-rtl-guideline-generator)<a href="https://agentmods.dev/skills/zhaixin244-wq/fnw/chip-rtl-guideline-generator"><img src="https://agentmods.dev/badge/skills/zhaixin244-wq/fnw/chip-rtl-guideline-generator/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.
<a href="https://agentmods.dev/skills/zhaixin244-wq/fnw/chip-rtl-guideline-generator"><img src="https://agentmods.dev/badge/skills/zhaixin244-wq/fnw/chip-rtl-guideline-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00068 | $0.01258 |
| Opus 5 | $0.00034 | $0.00629 |
| Sonnet 5 | $0.00014 | $0.00252 |
| Haiku 4.5 | $0.00007 | $0.00126 |
Grade A, and why
chip-rtl-guideline-generator 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 9d 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.
How it starts
The opening of the file, as written. The whole thing — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Chip RTL Guideline Generator
任务
从微架构设计生成可执行的 RTL 编码规范与实现指导。
规范维度
- Clock/Reset 策略
- 单一时钟域优先,多时钟域明确 CDC 方案
- 同步复位或异步复位同步释放
- 禁止门控时钟直接驱动组合逻辑
- 可综合性
- 避免不可综合结构(initial、delay、floating 端口)
- 禁止使用 latch(除低功耗保持单元外)
- 时序逻辑与组合逻辑分离
- 编码风格
- 参数化设计(可配置的 DATA_WIDTH、DEPTH、PIPELINE_STAGES)
- 模块化接口封装(ready/valid 握手标准模板)
- 状态机采用两段式或三段式,优先使用
enum/localparam
- DFT 友好性
- 所有触发器接入扫描链(或预留扫描端口)
- 避免异步置位/复位与组合反馈环
- 时钟门控使用标准 ICG 单元
- 断言与验证接口
- 关键协议点插入 SVA(握手、边界条件、不变量)
- 提供可配置的数据通路旁路(BYPASS)用于验证加速
执行步骤
- 读取微架构设计描述或框图。
- 读取项目编码规范:必须先读取
.claude/rules/coding-style.md,确保生成的规则不与项目规范冲突。 - 提取关键实现约束(数据宽度、流水线级数、状态机数量、特殊单元需求)。
- 针对每项约束生成对应的 RTL 编码规则与代码片段示例。所有代码示例必须使用 Verilog-2005 语法(
always @(posedge clk)而非always_ff)。 - 关联
quality-checklist-impl.md的 IC 编号,确保编码规则与项目质量体系对齐。 - 输出《RTL 实现指导书》Markdown 文档到
{module}_work/ds/doc/ua/。
输出格式
### RTL 实现指导(模块:XXX)
#### 1. Clock/Reset
- 主时钟:`clk_core`(频率:X MHz)
- 复位策略:异步复位同步释放,复位同步器深度为 2。
#### 2. 参数定义
```systemverilog
localparam DATA_WIDTH = 64;
localparam FIFO_DEPTH = 16;
3. 关键编码规则
| 规则 ID | 规则描述 | 优先级 | 示例/备注 |
|---|---|---|---|
| RTL-001 | 所有时序逻辑统一使用 always @(posedge clk or negedge rst_n) |
Must | Verilog-2005 语法,见 coding-style.md §5 |
4. 可综合性检查点
- ...
## 使用示例
**示例 1**:
- 用户:「从 data_adpt 微架构生成 RTL 编码指导」
- 行为:读取微架构提取关键约束(数据宽度、流水线级数、FSM 数量),生成 Clock/Reset 策略、参数定义、编码规则表、可综合性检查点
**示例 2**:
- 用户:「帮我为 buf_mgr 生成 DFT 友好性编码规范」
- 行为:聚焦 DFT 维度,生成扫描链接入规则、ICG 使用规范、异步置位禁止规则,输出编码指导文档
## 异常处理
| 场景 | 触发条件 | 处理动作 |
|------|----------|----------|
| 微架构文档缺失 | 文件路径无效 | 暂停,提示先完成微架构设计 |
| 约束信息不足 | 微架构无详细时序/面积约束 | 基于通用规范生成,标注 `[GUIDE-GENERAL]` |
| 编码风格冲突 | 项目编码规范与生成规则矛盾 | 以项目编码规范为准,标注差异项 |
## 检查点
**检查前**:
- 确认微架构文档路径有效(用 Glob 搜索 `ds/doc/ua/*.md`)
- 确认项目编码规范 `.claude/rules/coding-style.md` 已读取
**检查后**:
- 确认 5 个规范维度均已覆盖
- 确认编码规则表包含规则 ID、描述、优先级
- 确认所有代码示例使用 Verilog-2005 语法(非 SystemVerilog)
- 确认可综合性检查点已列出
## 降级策略
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.
- 9d ago First seen · 100 lines · 68 tokens per session scan A a37c98c2b4d7
chip-rtl-guideline-generator is a skill published in the GitHub repository zhaixin244-wq/fnw (29 stars, last pushed 3mo ago), licensed MIT. It adds 68 tokens to every session and 1,258 once invoked, about $0.0003 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-09-03.
Other skills, from other repositories
cardputer-buddy
Iterate on the Cardputer-Adv MicroPython app bundle (Claude Buddy, Snake, Hello) after the device is already provisioned via m5-onboard. Use when the user wants to add a new app, push a single changed .py without re-flashing, watch device serial logs, or run a one-shot REPL command. Trigger on "add an app", "push to…
doca-argp
Use this skill for hands-on DOCA Arg Parser CLI work on a shipped sample or new DOCA-using app — adding / removing / renaming flags; wiring docaargpinit → register params → docaargpstart → docaargpdestroy in order; picking a parameter type from the full public enum (DOCAARGPTYPESTRING, INT, BOOLEAN, DEVICE, DEVICEREP…
holoscan-install-wheel
Install Holoscan SDK Python wheel via pip into a venv. Use for Python installs; not for native C++/apt or Conda installs.
zener-language
Read or edit Zener HDL, package APIs, and tool-managed dependencies.
embedded-stm32
Best practices for embedded C/C++ development on STM32 microcontrollers using the HAL, covering peripherals, DMA, interrupts, memory constraints, and hardware-focused testing. Use when writing STM32 HAL code, configuring peripherals generated by STM32CubeMX, working with interrupts or DMA, debugging with SWD/JTAG…
003-skills-inventory
Use when you need to generate a checklist document with Java system prompts from skills.xml, following the embedded section template and producing INVENTORY-SKILLS-JAVA.md. This should trigger for requests such as Create Java system prompts checklist; Generate INVENTORY-SKILLS-JAVA.md; Use @003-skills-inventory…