Skip to content

alirezarezvani/claude-skills / engineering/skills/commit-craft

commit-craft

Verified

Turn a mix of changes into clean, reviewable commits with good messages, blocking staged secrets and .env files. Use whenever the user says commit this, wants to split work into commits, write a commit message, or is about to push.

assets/hooks/commit-msg

View on GitHub
#!/bin/sh
# commit-craft commit-msg hook: block vague subjects and large changes with no "why".
# Install: cp commit-msg .git/hooks/commit-msg && chmod +x .git/hooks/commit-msg
SCRIPTS="${COMMIT_CRAFT_SCRIPTS:-$HOME/.claude/skills/commit-craft/scripts}"
if [ ! -f "$SCRIPTS/message_linter.py" ]; then
  echo "commit-craft: message_linter.py not found in $SCRIPTS; set COMMIT_CRAFT_SCRIPTS" >&2
  exit 1
fi
python3 "$SCRIPTS/message_linter.py" --message-file "$1" --staged
status=$?
[ "$status" -eq 0 ] || [ "$status" -eq 2 ] || exit 1
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall