factory/skills/commit/SKILL.md
This skill MUST be invoked when the user says "commit", "commitle", "commit at", "commit yap", "push" or any variation requesting a git commit. SHOULD also invoke when user mentions "stage", "staged", "değişiklikleri commitle", or asks to push code changes. Creates well-formatted commits with conventional commit messages. Auto-detects git state, stages changes intelligently, and creates atomic commits with proper type/scope/description format.
npx skillsauth add kilimcininkoroglu/cli-tweaks commitInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Creates well-formatted commits with conventional commit messages.
/commit # Auto-detect and handle changes
/commit --all # Stage all changes including untracked
/commit --staged # Only commit currently staged files
/commit --modified # Stage and commit modified files only
/commit --no-verify # Skip pre-commit hooks
/commit --amend # Amend the last commit
/commit --wip # Quick WIP commit
/commit --push # Auto-push after commit
Before doing anything else, gather full repository context by running these commands IN PARALLEL:
git status # Current state of working tree
git diff HEAD # All staged and unstaged changes
git branch --show-current # Current branch name
git log --oneline -10 # Recent commits for style matching
Look at the recent commits gathered above and MATCH the repository's existing commit message style:
feat:, fix:), follow thatJIRA-123: ...), follow that--no-verifygit commit --amend unless the user explicitly passes --amendUsed when repo has no established style or uses conventional commits:
<type>(<scope>): <subject>
[optional body]
[optional footer(s)]
For multi-line commit messages, use HEREDOC syntax:
git commit -m "$(cat <<'EOF'
type(scope): subject line
Body paragraph explaining the why, not the what.
Additional context if needed.
Footer: value
EOF
)"
| Type | Description | Example |
|------------|------------------------------------------|----------------------------------------|
| feat | New feature | feat: add user authentication |
| fix | Bug fix | fix: resolve memory leak |
| docs | Documentation | docs: update API reference |
| style | Formatting | style: format code with prettier |
| refactor | Code change (no fix/feat) | refactor: extract helper functions |
| perf | Performance | perf: optimize database queries |
| test | Tests | test: add unit tests for auth |
| chore | Maintenance | chore: update dependencies |
| ci | CI/CD changes | ci: add GitHub Actions workflow |
| security | Security fixes | security: patch XSS vulnerability |
| hotfix | Critical hotfix | hotfix: fix login crash |
| revert | Revert changes | revert: undo payment refactor |
lint, move, arch, deps-add, deps-remove, deps-pinformat, patch, catch, remove, typo, comments, deprecateinit, seed, ux, a11y, i18n, animation, ui, responsivedb, analytics, logs, logs-remove, backup, metrics, flagsrelease, wip, ci-fix, ci-build, merge, license, breakingexperiment, mock, snapshots, experimental, dxdocs-api, docs-readme, types, business, assets, gitignoredead, cleanup, validation, thread, offlinegit diff --cached --stat + git diff --cached| Situation | Action | |----------------------|---------------------------| | Only staged files | Commit staged files | | Only modified files | Auto-stage and commit | | Only untracked files | Prompt for inclusion | | Mixed changes | Interactive staging | | No changes | Report clean state |
| Option | Description | Behavior |
|-----------------|----------------------------|---------------------------|
| --all | Stage all changes | Includes untracked files |
| --staged | Commit only staged | Ignores unstaged changes |
| --modified | Stage modified only | Excludes untracked files |
| --no-verify | Skip pre-commit hooks | Bypass Husky checks |
| --amend | Modify last commit | Edit previous commit |
| --push | Auto-push after commit | Push to remote branch |
| --wip | Work in progress | Quick WIP commit |
development
This skill MUST be invoked when the user says "version update skill oluştur", "create version update skill", "versiyon skill'i oluştur", "update-version skill", "version-update skill yap" or any variation requesting creation of a project-local version update skill. SHOULD also invoke when user mentions "versiyon güncelleme skill'i kur", "setup version bumping", or asks to automate version management for the current project. Scans the project for version files, build commands, and changelog, then generates a tailored version-update skill in .factory/skills/.
development
This skill MUST be invoked when the user says "task-plan", "görev planla", "break down this PRD", "create tasks from spec", "PRD'yi parçala", "görevleri oluştur" or any variation requesting task breakdown from a specification document. SHOULD also invoke when user mentions "feature breakdown", "sprint planning", "task tracking", or wants to manage a structured development workflow with features and tasks.
testing
This skill MUST be invoked when the user says "commit tarihlerini değiştir", "redate commits", "spread commits", "backdate" or any variation requesting git commit date rewriting across a date range. Rewrites both author and committer dates using git filter-branch, distributing commits realistically across the specified period.
development
This skill MUST be invoked when the user says "UIKit", "iOS geliştirme", "programmatic UI", "table view", "collection view", "Auto Layout", "UIViewController", "UINavigationController", "Core Animation", "UIKit review", "UIKit build", "iOS view controller", "UIKit pattern", "programmatic layout", or any variation requesting UIKit development, review, or improvement. Covers programmatic UIKit with Auto Layout, table/collection views, navigation, animation, networking, architecture, and 20 reference documents with production-ready patterns.