Precommit banner
scalus3 scalus3

Precommit

Git community

Description

--- allowed-tools: Bash(git status:*), Bash(git diff:*), Bash(git branch:*), Bash(git log:*), Bash(sbtn quick:*), Bash(sbtn scalafmtAll:*) description: Review code, run tests, write a git commit message with context --- ## Context - Current git status: !`git status` - Current git diff: !`git diff HEAD` - Current branch: !`git branch --show-current` - Recent commits: !`git log --oneline -10` ## Your task - Review code (use code reviewer agent) - Run `optimize` command - Run tests and code for

Installation

Installs to ~/.claude/commands/scalus3-scalus-precommit.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/scalus3/scalus/HEAD/.claude/commands/precommit.md -o ~/.claude/commands/scalus3-scalus-precommit.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository