Git Commit Workflow (Worktree-Aware)
SkillDev toolsGit commit workflow in a worktree with Python linting, formatting, and testing.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Git Commit Workflow (Worktree-Aware) skill
What this skill tells your AI
The instructions your AI receives, as published by nex-agi/nexrl in .claude/skills/git-commit/SKILL.md and read by ahel’s review.
Prerequisites
Verify you're in a worktree (not main clone):
git rev-parse --show-toplevel
git worktree list
Workflow
Step 1: Analyze Changes
git diff --name-only
git diff --cached --name-only
Step 2: Format & Lint
# Format changed Python files
python -m black <changed_python_files>
python -m isort <changed_python_files>
# Fix license headers
python tests/lint/fix_license_header.py <changed_files>
# Lint
python -m pylint <changed_python_files> --rcfile=.pylintrc -rn -sn
python -m mypy <changed_python_files> --ignore-missing-imports
Step 3: Run Tests
python -m pytest tests/ -v --tb=short
Step 4: Review (use code-review skill)
Follow .ai-instructions/code-review/generic.md checklist.
Step 5: Stage Changes
git add path/to/changed/files
git diff --staged # Final review
Never stage: __pycache__/, .env, *.egg-info/, build artifacts, coverage files
Step 6: Commit
Format: type(scope): description (72 chars max)
Types: feat, fix, refactor, test, docs, style, chore, perf
git commit -m "type(scope): description
Detailed explanation if needed.
Fixes #ISSUE_NUMBER"
No AI co-author lines. (per .ai-instructions/developing/commit-guidelines.md)
Step 7: Verify
git show HEAD --name-only
git log -1
Signals
- GitHub stars
- 119
- Forks
- 9
- Last commit
- Jul 2026
Advanced
- Catalog kind
- skill
- Gateway key
git-commit-nex-agi- Source
- github.com/nex-agi/nexrl