Skip to main content

gf-summary

Summarize Verilator, lint, or simulation output into a readable, actionable format. Use when the user wants to understand build output, lint errors, or simulation results from a Verilator or EDA tool run.

来源信息

仓库
codejunkie99/Gateflow-Plugin
最近来源活动
2026年4月15日 07:56
检测到的 SKILL.md 语言
英语
星标
116
分支
16

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
gf-summary
description
Summarize Verilator, lint, or simulation output into a readable, actionable format. Use when the user wants to understand build output, lint errors, or simulation results from a Verilator or EDA tool run.
user-invocable
true
triggers
["summarize lint output","summarize Verilator output","what do these errors mean","parse build output","summarize simulation results","explain these lint warnings","make this output readable","summarize EDA tool output"]
allowed-tools: - Bash - Read # GateFlow Summary Skill Summarizes Verilator lint and simulation output into a clean, readable report. ## Instructions When invoked, analyze the most recent Verilator output or run a new lint check and present results as: ### Summary Format ``` ## Lint Summary: <filename> | Status | Count | |--------|-------| | Errors | X | | Warnings | X | | Clean | Yes/No | ### Issues Found #### Errors - **Line X**: <error description> - <fix suggestion> #### Warnings - **Line X**: <warning description> - <fix suggestion> ### Recommendations 1. <prioritized fix> 2. <next fix> ``` ## Trigger Patterns Activate when user says: - "summarize lint" - "lint summary" - "what's wrong with" - "show lint results" ## Example **Input:** Verilator output with WIDTH and UNUSED warnings **Output:** ``` ## Lint Summary: sync_fifo.sv | Status | Count | |--------|-------| | Errors | 0 | | Warnings | 2 | | Clean | No | ### Warnings - **Line 15**: WIDTH - Signal 'count' width mismatch (8 vs 4 bits) - Fix: Change `logic [7:0] count` to `logic [3:0] count` - **Line 32**: UNUSED - Signal 'debug_flag' is never used - Fix: Remove the signal or add `/* verilator lint_off UNUSED */` ### Recommendations 1. Fix WIDTH warning first (affects functionality) 2. Clean up UNUSED signals ``` ## Usage ``` /gf-summary # Summarize last lint output /gf-summary sync_fifo.sv # Run lint and summarize for specific file ``` When given a file path, run: ```bash verilator --lint-only -Wall <file> 2>&1 ``` Then parse and present the summary.
在 GitHub 查看