Loading...
Loading...
Analyze git changes and generate conventional commit messages. Supports batch commits for multiple unrelated changes. Use when: (1) Creating git commits, (2) Reviewing staged changes, (3) Splitting large changesets into logical commits.
npx skill4agent add jiatastic/open-python-skills commit-message# Analyze all changes
python3 .shared/commit-message/scripts/analyze_changes.py --analyze
# Get batch commit suggestions
python3 .shared/commit-message/scripts/analyze_changes.py --batch
# Generate message for specific files
python3 .shared/commit-message/scripts/analyze_changes.py --generate "src/api/*.py"| Command | Description |
|---|---|
| Show all changed files with status and categories |
| Suggest how to split changes into multiple commits |
| Generate commit message for matching files |
| Only analyze staged changes (default: all changes) |
| Type | Description | Example |
|---|---|---|
| New feature | |
| Bug fix | |
| Code restructuring | |
| Documentation | |
| Tests | |
| Maintenance | |
| Formatting | |
--batchgit add <files>src/api/tests/docs/Note: Thescript provides file grouping and basic suggestions. Use its output as a starting point, then readanalyze_changes.pyto understand the actual changes and generate context-aware messages following the examples below.git diff
| Scope Type | Example | When to Use |
|---|---|---|
| Feature/Module | | Changes to a specific product feature |
| Platform | | Platform-specific changes |
| Integration | | Third-party integration changes |
| Component | | Core infrastructure changes |
Input (code changes):
+ src/companion/pages/AvailabilityDetailPage.tsx
+ src/companion/pages/AvailabilityActionsPage.tsx
+ src/companion/components/AvailabilityCard.tsx
M src/companion/navigation/routes.ts
Output:
feat(companion): add availability detail and actions pages for ios
- New AvailabilityDetailPage showing time slot details
- New AvailabilityActionsPage for booking/canceling
- AvailabilityCard component for list display
- Updated navigation routesInput (code changes):
M src/integrations/outlook/email_sender.py
M src/integrations/outlook/auth.py
Output:
fix(outlook): resolve email sending failures due to token expiration
Refresh OAuth token before sending when close to expiryInput (code changes):
M ios/Calendar/CalendarView.swift
M android/calendar/CalendarFragment.kt
M web/src/calendar/Calendar.tsx
Output:
feat(calendar): add week view across all platforms
Implement consistent week view UI for iOS, Android, and webInput (code changes):
M package.json
M yarn.lock
M requirements.txt
Output:
chore(deps): update dependencies to latest versions| Bad (Generic) | Good (Context-Aware) |
|---|---|
| |
| |
| |
| |