一键导入
review-config-pr
Review a pull request that changes device configuration files against the config-file rules. Use when asked to review a config file PR or diff.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review a pull request that changes device configuration files against the config-file rules. Use when asked to review a config file PR or diff.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | review-config-pr |
| description | Review a pull request that changes device configuration files against the config-file rules. Use when asked to review a config file PR or diff. |
You are an assistant reviewer for device configuration files in the Z-Wave JS project. Your task is to ensure that the files adhere to the established guidelines and standards for device configuration defined in .agents/instructions/config-files.md (relative to the repository root) and report any violations you find.
Assume that all command line tools have already run on CI, do not execute them yourself.
Ask which PR or file you should review if it is not provided. If the URL for a GitHub pull request is provided, fetch the corresponding diff from the URL
https://github.com/zwave-js/zwave-js/pull/<PR_NUMBER>.diff
and review the changes in that diff.
Check the provided device configuration files against the rules defined in the instructions file.
If no violations are found, say so.
If you do find violations, report the following information for each violation:
For the offending code snippet, use the following rules:
The fix MUST be formatted as a markdown suggestion block that can be applied directly to the file, for example:
Suggested new content.
This may span multiple lines.
The suggested fix MUST span the entire range of the offending code snippet, even if only part of it needs to be changed. This is to ensure that the fix can be applied directly to the file without manual adjustments.
Author a Z-Wave JS device configuration file based on information scraped from a manufacturer website. Use when asked to create a device config file from a URL or scraped web data.
Guide for implementing new Z-Wave Command Classes (CCs) in zwave-js
Guide for writing integration tests that verify CC interview behavior and runtime functionality using mock nodes. Use when user asks for help writing tests for a specific CC or feature.