Loading...
Loading...
Creates commits with conventional format and validation. Use when committing changes or generating commit messages.
npx skill4agent add yonatangross/orchestkit commit/commit# CRITICAL: Verify we're not on dev/main
BRANCH=$(git branch --show-current)
if [[ "$BRANCH" == "dev" || "$BRANCH" == "main" || "$BRANCH" == "master" ]]; then
echo "STOP! Cannot commit directly to $BRANCH"
echo "Create a feature branch: git checkout -b issue/<number>-<description>"
exit 1
fi# Backend (Python)
poetry run ruff format --check app/
poetry run ruff check app/
poetry run mypy app/
# Frontend (Node.js)
npm run format:check
npm run lint
npm run typecheckgit status
git diff --staged # What will be committed
git diff # Unstaged changes# Stage files
git add <files>
# Or all: git add .
# Commit with conventional format
git commit -m "<type>(#<issue>): <brief description>
- [Change 1]
- [Change 2]
Co-Authored-By: Claude <noreply@anthropic.com>"
# Verify
git log -1 --stat| Type | Use For |
|---|---|
| New feature |
| Bug fix |
| Code improvement |
| Documentation |
| Tests only |
| Build/deps/CI |
#123git add . && git commit -m "fix(#123): Fix typo in error message
Co-Authored-By: Claude <noreply@anthropic.com>"rules/| Category | Rule | Impact | Key Pattern |
|---|---|---|---|
| Atomic Commits | | CRITICAL | One logical change per commit, atomicity test |
| Commit Splitting | | HIGH | |
| Conventional Format | | HIGH | type(scope): description, breaking changes |