pr-review
審查合併請求以確保 Skill 品質
手動審查 MiniMax Skills 儲存庫中的合併請求可能會遺漏結構性問題和品質標準。本 Skill 提供自動化驗證和引導式內容審查,確保每個 Skill 在合併前皆符合儲存庫標準。
下载技能 ZIP
在 Claude 中上传
前往 设置 → 功能 → 技能 → 上传技能
开启并开始使用
测试它
正在使用“pr-review”。 Review PR #42 adding a new weather-api skill
预期结果:
- Phase 1 Validation: PASS - validate_skills.py exited with code 0
- Phase 2 審查:
- - Skill 範圍:與既有 skills 無重疊
- - 描述品質:包含觸發條件與關鍵字
- - 檔案大小:SKILL.md 共 45 行,參考檔案共 120 行
- - 憑證處理:API 金鑰已記錄為必要的環境變數
- - 指令稿品質:包含 shebang、requirements.txt 已附上、錯誤處理明確
- - 語言:所有內容皆為英文
- - README 同步:README.md 與 README_zh.md 皆已更新,來源為 Community
- 結論:核准 — 所有檢查皆通過
正在使用“pr-review”。 Validate the weather-api skill submission
预期结果:
- Validating 1 skill(s)...
- [PASS] skills/weather-api
- 0 errors, 0 warnings
- Validation PASSED.
- Name matches directory. Frontmatter valid. No secrets detected.
安全审计
低风险All 70 static analysis findings are false positives. The scanner misinterpreted Markdown backtick code fences (used for documentation formatting) as Ruby/shell command execution. Blocker findings for 'weak cryptographic algorithm' matched on secret-scanning regex patterns in the validation script, not actual cryptography. 'System reconnaissance' findings matched standard PR review terminology in documentation. No malicious intent, data exfiltration, or unsafe behavior was found. The skill is a legitimate PR review tool with a Python validation script that uses only standard library modules.
低风险问题 (3)
质量评分
你能构建什么
Skill 提交之自動化 PR 驗證
在開始手動審查前,執行驗證指令碼以檢查新 skill 提交是否符合結構需求。
既有 skill 的品質審查
套用內容審查指南以評估 skill 描述、檔案大小及憑證處理實務。
統一 skill 文件格式
確保儲存庫中所有 skill 遵循一致的命名、frontmatter 格式與文件標準。
试试这些提示
Review this pull request for the MiniMax Skills repository. Run the validation script first, then check the PR against the quality guidelines.
Validate the new skill in this PR. Check that SKILL.md has valid frontmatter, required fields, no hardcoded secrets, and follows the kebab-case naming convention.
Perform a complete review of this PR. Phase 1: run validate_skills.py and check all ERROR items pass. Phase 2: review description quality, file size, API key handling, script quality, language, and README sync status.
Run the validation script across all skills in the repository. List any that fail ERROR checks or have WARNING items. For failures, summarize what needs to be fixed.
最佳实践
- 在開始手動內容審查前,務必先執行 validate_skills.py
- 確認 API 憑證已記錄為環境變數,而非硬編碼值
- 新增 skills 時,確認 README.md 與 README_zh.md 的表格已同步更新
避免
- 未先執行驗證指令碼就核准 PR
- 忽略 WARNING 項目(例如缺少授權條款或中繼資料欄位)
- 允許 skill 檔案或指令稿中出現硬編碼的 API 金鑰或密碼