org-universal-validator
验证技能和插件,使用确定性证据包和严格模式门。用于审计变更或强制合规。通过“运行验证”或“审计验证器”触发。
📖 中文导读:验证技能和插件,使用确定性证据包和严格模式门。用于审计变更或强制合规。通过“运行验证”或“审计验证器”触发。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: org-universal-validator description: "Validate skills and plugins with deterministic evidence bundles and strict schema gates. Use when auditing changes or enforcing compliance. Trigger with 'run validation' or 'audit validators'." allowed-tools: "Read,Write,Glob,Grep,Bash(python:),Bash(bash:),Bash(pytest:*)" version: "0.1.0" author: "Your Team team@example.com" license: MIT
Universal Validator
Purpose
Produce deterministic, reviewable validation evidence (reports + JSON + logs) for a repo, plugin, or skill.
Overview
- Phase prompts live in
{baseDir}/agents/ - Procedures live in
{baseDir}/references/ - Deterministic runner + profiles live in
{baseDir}/scripts/
Prerequisites
- Python 3.11+
- Your repo validators and tests installed
Instructions
- Choose a target (repo/plugin/skill).
- Run the deterministic suite with a profile:
python {baseDir}/scripts/run_validator_suite.py \
--target . \
--project example \
--out reports/example \
--profile default
- Optionally run tests:
python {baseDir}/scripts/run_validator_suite.py \
--target . \
--project example \
--out reports/example \
--profile default \
--run-tests
Output
reports/<project>/<timestamp>/summary.jsonreports/<project>/<timestamp>/report.mdreports/<project>/<timestamp>/checks/*.log
Error Handling
- If schema checks fail, fix structure before running tests.
- Treat logs as ground truth; update narratives to match evidence.
Examples
python {baseDir}/scripts/run_validator_suite.py --target . --project pr-1234 --out reports/pr-1234 --profile default
Resources
- Agents:
{baseDir}/agents/ - Procedures:
{baseDir}/references/ - Scripts:
{baseDir}/scripts/