Skip to content

Add pre-commit hook support#3

Merged
munzzyy merged 1 commit into
mainfrom
precommit-hook
Jul 15, 2026
Merged

Add pre-commit hook support#3
munzzyy merged 1 commit into
mainfrom
precommit-hook

Conversation

@munzzyy

@munzzyy munzzyy commented Jul 15, 2026

Copy link
Copy Markdown
Owner

Adds a .pre-commit-hooks.yaml so people can run skillxray as a pre-commit hook and block a dangerous skill before it ever gets committed.

pre-commit passes the staged files one batch at a time, so the CLI now takes more than one path (scan_paths); scanning a single path still works exactly as before. README gets a short pre-commit block.

Tests green (71 passed). Verified the hook end to end with pre-commit try-repo . skillxray against a malicious sample. The rev: v0.2.0 in the README resolves once a v0.2.0 tag is cut that includes this commit.

@munzzyy
munzzyy merged commit 16c6129 into main Jul 15, 2026
13 checks passed
@munzzyy
munzzyy deleted the precommit-hook branch July 15, 2026 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant