agent/claude/code
Snider 14cb0f4d7b
feat(code): add secret detection hook (#67)
This change introduces a new hook that runs before a file is written or edited. The hook executes a script that scans the file content for patterns that match common secret formats, such as API keys, AWS keys, and private keys.

If a potential secret is found, the script exits with a non-zero status code, which blocks the file operation and prevents the secret from being committed. The script also provides a user-friendly error message with the filename, line number, and a suggestion to use environment variables.

This helps to prevent accidental commits of sensitive credentials to the repository.
2026-02-02 07:13:28 +00:00
..
.claude-plugin refactor: extract data collection into separate 'collect' plugin 2026-02-02 00:00:50 +00:00
commands feat: /core:explain explain code or errors (#66) 2026-02-02 07:13:13 +00:00
hooks refactor: restructure as plugin monorepo 2026-02-01 19:44:26 +00:00
scripts feat(code): add secret detection hook (#67) 2026-02-02 07:13:28 +00:00
skills feat: Add Laravel-specific skill for PHP modules (#64) 2026-02-02 07:12:40 +00:00
hooks.json feat(code): add secret detection hook (#67) 2026-02-02 07:13:28 +00:00