branch-guard
vincentlauriat/ModsTools
Asks the user before Edit/Write/NotebookEdit changes a file of a git repo whose current branch is main or master (once per repo and session)
1,509 mods
vincentlauriat/ModsTools
Asks the user before Edit/Write/NotebookEdit changes a file of a git repo whose current branch is main or master (once per repo and session)
vincentlauriat/ModsTools
Band above the prompt when a turn changed source code without running a matching build or type-check
vincentlauriat/ModsTools
A pane listing the files Claude modified during the session
vincentlauriat/ModsTools
Follows the GitHub Actions runs of a commit after git push: status line while they run, toast with the failed workflows and their link when they end
vincentlauriat/ModsTools
A pane listing the Bash commands run this session with exit status and duration
vincentlauriat/ModsTools
Refuses git commit commands whose message subject is not a Conventional Commit (type(scope)!: subject, header within a length limit)
vincentlauriat/ModsTools
Asks before a git commit or git add includes large files, big binaries or build/release artifacts (dmg, zip, app, ipa, xcarchive, DerivedData, node_modules, .build, release/)
vincentlauriat/ModsTools
Toasts once when the context crosses a threshold; /compact-advisor prints a ready-to-paste /compact line with branch, edited files, open tasks and the last goal
vincentlauriat/ModsTools
Finds Xcode DerivedData folders whose workspace is gone (removed worktrees), shows them in a status line and cleans them on an explicit command
vincentlauriat/ModsTools
Warns above the prompt when a turn did not update COMMANDS.md, or changed code without updating CHANGES.md
vincentlauriat/ModsTools
Snapshots each file before Claude's Edit/Write/NotebookEdit and lets you undo the last change per file from a pane or /undo , with a two-step confirm
vincentlauriat/ModsTools
Asks the user before Claude reads secret files (.env, private keys, .netrc, .npmrc, .aws/credentials, keychains…) with Read, Grep, Glob or Bash
vincentlauriat/ModsTools
Spots test commands that failed then passed with no code edit in between, toasts once per command and lists them in a pane
vincentlauriat/ModsTools
After each successful git commit, toasts a 5-7-5 haiku about it (written by a small model, or from templates when the model is unavailable); /haiku-commit re-shows the last one
vincentlauriat/ModsTools
Lints the files Claude just edited (SwiftLint, ESLint, Ruff, ShellCheck when available) in the background, with a status line count and a pane of issues
vincentlauriat/ModsTools
Refuses git pushes to main/master, force pushes, tag creation and GitHub releases unless the person allows them
vincentlauriat/ModsTools
A one-line mascot band above the prompt whose mood reflects the last turn (off by default: /mood on|off)
vincentlauriat/ModsTools
A pane listing the network activity of the session: web fetches, searches, MCP calls and network Bash commands
vincentlauriat/ModsTools
Strips Co-Authored-By: Claude/Anthropic trailers from git commit messages before the commit runs
vincentlauriat/ModsTools
Follows Apple notarization submissions made with xcrun notarytool submit, directly or from a release script: status line while in progress, toast when accepted or invalid
vincentlauriat/ModsTools
Asks the user before Edit, Write, NotebookEdit or simple Bash redirections/mv/cp/rm touch a path outside the session folder
vincentlauriat/ModsTools
A status line for the current branch's pull request: checks, review decision and merge state, refreshed after pushes and PR commands
vincentlauriat/ModsTools
Toasts when a Bash verification probe is misleading: $? read after a pipeline, grep used as proof of absence, git grep ignoring untracked files
vincentlauriat/ModsTools
A pane running pre-release checks for a macOS project and a post-release verification reminder
No tracking cookies, no third-party scripts. How we handle data