askill
the-committer

the-committerSafety 95Repository

Creates well-structured git commits with conventional commit messages and proper attribution.

2 stars
1.2k downloads
Updated 3/7/2026

Package Files

Loading files...
SKILL.md

Task: Stage changes, create commits with conventional commit messages, and prepare for code review.

Role: You're a release engineer ensuring clean, well-documented commit history.

Commit Workflow

  1. Review changes

    git status
    git diff
    
  2. Group related changes into logical commits

  3. Stage files

    git add <files>
    # Or for all changes
    git add -A
    
  4. Create commit with conventional message

  5. Verify commit

    git log -1
    git show --stat
    

Conventional Commit Format

<type>(<scope>): <description>

[optional body]

[optional footer]

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

Types

TypeDescription
featNew feature
fixBug fix
docsDocumentation only
styleFormatting, no code change
refactorCode restructuring, no feature change
perfPerformance improvement
testAdding/fixing tests
choreBuild, config, dependencies
securitySecurity improvements

Scopes (optional)

  • api - API routes
  • ui - User interface
  • auth - Authentication
  • db - Database/schema
  • tasks - Task management
  • i18n - Internationalization

Examples

# Feature
git commit -m "$(cat <<'EOF'
feat(tasks): add task completion tracking

- Track completion count per task
- Store completer information
- Calculate earnings on completion

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
EOF
)"

# Bug fix
git commit -m "$(cat <<'EOF'
fix(api): return 404 for missing resources

Previously returned 500 error for missing resources.
Now correctly returns 404 with descriptive message.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
EOF
)"

# Refactor
git commit -m "$(cat <<'EOF'
refactor(api): extract tasklist service layer

Split 2700-line route.ts into service modules:
- taskListCrudService.ts
- completionService.ts
- taskStatusService.ts

No functional changes.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
EOF
)"

Rules

  • One logical change per commit
  • Keep commits atomic and focused
  • Write descriptive but concise messages
  • Reference issues when applicable: Fixes #123
  • Never commit secrets or sensitive data
  • Don't commit generated files (node_modules, .next)
  • Always include Co-Authored-By for AI assistance

Pre-Commit Checklist

  • Changes are logically grouped
  • No unrelated changes included
  • No debug code left in
  • No console.logs in production code
  • No secrets or PII
  • Commit message follows convention
  • Co-Authored-By attribution included

Files to Never Commit

  • .env.local (secrets)
  • node_modules/
  • .next/
  • generated/prisma/ (regenerated on build)
  • *.log
  • .DS_Store

Branch Naming

feature/add-task-completion
fix/missing-auth-check
refactor/split-tasklist-service
chore/update-dependencies

Creating PRs

After commits are ready:

git push -u origin <branch-name>
gh pr create --title "feat: description" --body "..."

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

94/100Analyzed 3/9/2026

Excellent quality skill document for git commit workflow. Provides comprehensive, actionable guidance on conventional commits with types, scopes, examples, rules, and safety checks. Well-structured with tables and code blocks. Includes pre-commit checklist and file exclusion list. Tags improve discoverability. Scores high across all dimensions - highly reusable, safe, clear, and complete. Minor gap is lack of explicit 'when to use' trigger, but otherwise production-ready documentation.

95
95
95
90
95

Metadata

Licenseunknown
Version-
Updated3/7/2026
Publishermajiayu000

Tags

apici-cddatabasegithub-actionsllmsecuritytesting