Hooks
5 hooks, ready to install
Lifecycle hooks that enforce safety rules (secret protection, destructive command blocks) automatically. 2 are free.
- HookMobile
Android Quality Check
After Kotlin edits, runs one fast Gradle static check the project already defines (ktlintCheck, lintKotlin or detekt) and reports findings; blocks the agent with the first failure lines only when forgekit.yaml explicitly sets qualityGates.lint to true and the check really fails.
View details
- HookEngineering
Auto Format
Runs the formatter your project already configures (prettier, biome, ktlint or spotless, swiftformat, gofmt, ruff or black) on each file the agent edits, using only locally installed tools, so diffs stay clean and style review noise disappears. Never fails an edit.
View details
- HookFree
Block Destructive Commands
Stops irreversible shell commands before they run — recursive deletes of /, ~, . or $HOME, force-pushes to main/master, hard resets to a remote ref, DROP DATABASE, recursive world-writable chmod, mkfs and dd onto block devices — and tells the model a safer alternative.
View details
- HookFree
Protect Secrets
Blocks the agent from reading or writing secret material — .env files, keystores, private keys, credentials.json, secrets/ directories and any globs in forgekit.yaml security.denyPaths — through file tools and shell commands, while still allowing .env.example.
View details
- HookEngineering
Release Gate
Blocks release and ship commands (git tag, pushing tags, fastlane release or deploy, gradle publish, npm publish, eas submit, forge ship) unless .forgekit/reports/latest-gate.json shows PASS or PASS_WITH_WARNINGS generated within the last 24 hours.
View details