From fpga-lsp
Format a SystemVerilog/Verilog file with `verible-verilog-format`, either in-place (rewrite the file) or in preview mode (print formatted text to stdout, file unchanged). Use when the user asks to "format this `.sv` file", "reformat X", or "show me what Y would look like formatted / preview the formatting before I commit".
How this skill is triggered — by the user, by Claude, or both
Slash command
/fpga-lsp:sv-formatThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Thin wrapper over `verible-verilog-format`. Two modes; pick based on intent.
Thin wrapper over verible-verilog-format. Two modes; pick based on intent.
Rewrites the file on disk:
verible-verilog-format --inplace <path>
Use when the user wants the working tree updated — phrasings like "format this file", "fix the formatting", "reformat X". On success the command prints nothing and exits 0; report the path that was rewritten.
Prints formatted text to stdout, leaves the file untouched:
verible-verilog-format <path>
Use when the user wants to see the result before committing — phrasings like "preview the formatting", "show me what it would look like formatted", "diff the formatted version against current". Capture stdout and return it; the caller can diff against the original.
Non-zero exit means the file did not parse; surface Verible's stderr verbatim — the file is unchanged in both modes when this happens.
This skill SHALL invoke only verible-verilog-format. No bespoke style rules, no post-processing of the output.
npx claudepluginhub nyavana/fpga-lsp --plugin fpga-lspCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.