·property-test-generator
</>

property-test-generator

為目前 git 分支中變更的檔案設計並產生基於屬性的測試 (PBT)。提取規範、設計屬性(不變量、往返、冪等性、變形、單調性、參考模型)、建立生成器策略、實施測試並根據評分標準進行自我評分(需要 24/30+)。支援快速檢查 (TS/JS)、假設 (Python) 和 proptest (Rust)。在以下情況下使用:(1)“為我的變更編寫屬性測試”,(2)“新增 PBT”,(3)“基於屬性的測試”,(4) 在實作純函數、驗證器、解析器或格式化程式之後驗證不變量。

13安裝·0熱度·@nimiusrd

安裝

$npx skills add https://github.com/nimiusrd/agent-skills --skill property-test-generator

如何安裝 property-test-generator

透過命令列快速安裝 property-test-generator AI 技能到你的開發環境

  1. 開啟終端機: 開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 執行安裝指令: 複製並執行以下指令:npx skills add https://github.com/nimiusrd/agent-skills --skill property-test-generator
  3. 驗證安裝: 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

來源:nimiusrd/agent-skills。

SKILL.md

查看原文

Design and generate property-based tests for changed files, with self-scoring to ensure quality (24/30+ on the evaluation rubric).

Filter to source files (.ts, .tsx, .js, .jsx, .py, .rs), excluding test files, config, styles, and assets.

| Invariant | Output always satisfies a condition | Length preservation, range bounds, type guarantees | | Round-trip | decode(encode(x)) === x | Parsers, serializers, codecs | | Idempotence | f(f(x)) === f(x) | Normalizers, formatters, canonicalizers | | Metamorphic | Relationship between f(x) and f(transform(x)) | Sort, filter, math operations |

為目前 git 分支中變更的檔案設計並產生基於屬性的測試 (PBT)。提取規範、設計屬性(不變量、往返、冪等性、變形、單調性、參考模型)、建立生成器策略、實施測試並根據評分標準進行自我評分(需要 24/30+)。支援快速檢查 (TS/JS)、假設 (Python) 和 proptest (Rust)。在以下情況下使用:(1)“為我的變更編寫屬性測試”,(2)“新增 PBT”,(3)“基於屬性的測試”,(4) 在實作純函數、驗證器、解析器或格式化程式之後驗證不變量。 來源:nimiusrd/agent-skills。

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/nimiusrd/agent-skills --skill property-test-generator
分類
</>開發工具
認證
收錄時間
2026-02-22
更新時間
2026-03-11

Browse more skills from nimiusrd/agent-skills

快速解答

什麼是 property-test-generator?

為目前 git 分支中變更的檔案設計並產生基於屬性的測試 (PBT)。提取規範、設計屬性(不變量、往返、冪等性、變形、單調性、參考模型)、建立生成器策略、實施測試並根據評分標準進行自我評分(需要 24/30+)。支援快速檢查 (TS/JS)、假設 (Python) 和 proptest (Rust)。在以下情況下使用:(1)“為我的變更編寫屬性測試”,(2)“新增 PBT”,(3)“基於屬性的測試”,(4) 在實作純函數、驗證器、解析器或格式化程式之後驗證不變量。 來源:nimiusrd/agent-skills。

如何安裝 property-test-generator?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/nimiusrd/agent-skills --skill property-test-generator 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

這個 Skill 的原始碼在哪?

https://github.com/nimiusrd/agent-skills

詳情

分類
</>開發工具
來源
skills.sh
收錄時間
2026-02-22