Files
skillshare/.pre-commit-hooks.yaml
Willie 8e83495200 feat(audit): add analyzability score and pre-commit hook
Analyzability score measures what percentage of a skill's content is
auditable plaintext vs binary/non-scannable. Surfaces in CLI text
output, JSON, SARIF, and Web UI API responses.

- Add TotalBytes, AuditableBytes, Analyzability fields to audit.Result
- Emit INFO-level low-analyzability finding when score < 70%
- Show "Auditable: X%" in per-skill and summary text output
- Expose analyzability in server API (auditResultResponse + auditSummary)
- Add .pre-commit-hooks.yaml for pre-commit framework integration
- Add pre-commit hook recipe docs and audit.md cross-references
2026-03-02 23:01:30 +08:00

9 lines
258 B
YAML

- id: skillshare-audit
name: Skillshare Audit
description: Scan skills for security threats before committing
entry: skillshare audit -p --format text
language: system
files: '(\.skillshare/|skills/)'
pass_filenames: false
stages: [pre-commit]