dym-setup-guardrail-cli
Installation
SKILL.md
Skill: dym-setup-guardrail-cli — Gọi guardrail từ terminal: 3 mode, 19 luật, mã thoát
When to use
- Tại sao chạy: tự tay xác nhận luật CÓ cắn, và biết chính xác mã thoát để rẽ nhánh trong script/CI thay vì đoán 0/1.
- Sinh ra gì: không sinh file. Chỉ in vi phạm ra stderr rồi thoát với mã tương ứng.
- Gọi qua hub:
/dym-setup guardrail-cli— hoặc trực tiếp/dym-setup-guardrail-clinếu đã symlink riêng.
Steps
1. Một binary, ba mode
python3 .harness/poc-vendor-neutral/bin/llmwiki-validate.py [--policy P] {path <FILE> | files <F...> | claude-hook}
| Mode | Đọc gì | Áp luật tầng | Mã thoát khi VI PHẠM |
|---|---|---|---|
path <FILE> |
1 đường dẫn | repo |
2 |
files <F...> |
nhiều đường dẫn | repo |
1 |
claude-hook |
JSON hook Claude từ stdin | session |
2 |