Install
$ agentstack add skill-kilimcininkoroglu-cli-tweaks-commit ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ● Environment & secrets Used
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Commit
Creates well-formatted commits with conventional commit messages.
Usage
/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 # Commit, then push (confirms before pushing to a default branch)
Git Safety Protocol
- NEVER update the git config
- NEVER skip hooks (--no-verify) unless the user explicitly passes
--no-verify - NEVER use
git commit --amendunless the user explicitly passes--amend - NEVER commit files that likely contain secrets (.env, .env.local, credentials.json, .pem, .key, id_rsa, etc.) -- warn the user if detected
- NEVER create empty commits if there are no changes
- NEVER use git commands with -i flag (git rebase -i, git add -i) -- interactive mode is not supported
- NEVER add signatures like "Created by Claude", "Co-authored-by: AI" or similar
- NEVER push unless the user explicitly asked (the
--pushflag, or said "push" / "commit and push") -- a plain commit NEVER pushes - NEVER push to the default branch (
main/master) without explicit confirmation -- if on the default branch, offer to create a feature branch first
Commit Message Format (Default)
Used when repo has no established style or uses conventional commits:
():
[optional body]
[optional footer(s)]
For multi-line commit messages, use HEREDOC syntax:
git commit -m "$(cat commit only staged
- No staged but changes exist -> analyze and stage appropriately
- Untracked files -> ask if they should be included
- Working tree clean -> if a push was requested, skip to step 8; otherwise report no changes
4. **Review Changes**: `git diff --cached --stat` + `git diff --cached`
5. **Match Repo Style**: Look at the recent `git log` and adopt the repo's existing style:
- Conventional commits (`feat:`, `fix:`) -> follow that
- Plain messages ("Add login page") -> follow that
- Ticket prefixes (`JIRA-123: ...`) -> follow that
- No clear pattern -> default to the conventional `(): ` format (see Commit Message Format)
6. **Analyze for Logical Grouping**: Check if changes belong together, suggest splitting if multiple concerns
7. **Create Commit**: Use HEREDOC syntax for multi-line, simple -m for single-line
8. **Push (only if requested)**: Push only when the user explicitly asked (`--push`, or said "push" / "commit and push"). If the tree was already clean (nothing to commit), push the existing commits instead. Before pushing to the default branch (`main`/`master`), confirm first or offer to create a feature branch. A plain commit request never reaches this step.
## Smart Staging Strategy
| Situation | Action |
|----------------------|---------------------------|
| Only staged files | Commit staged files |
| Only modified files | Stage only the files for this logical change (explicit paths), then commit |
| Only untracked files | Prompt for inclusion |
| Mixed changes | Stage by logical group; ask which files belong together (never `git add -i`) |
| No changes | Report clean state |
## Commit Rules
- Imperative mood: "add" not "added"
- First line: max 72 characters
- Atomic commits: single logical change
- No period at end of subject line
- Capitalize first letter of subject
- Focus on "why" not "what" -- the diff shows what changed
- Stage only the files this change touches (explicit paths); NEVER a blanket `git add .` / `git add -A` / `git add ` -- it can sweep in unrelated changes or another session's work
### When to Split Commits
- Different features or fixes
- Mixed types (feat + fix)
- Unrelated file changes
- Large changes (>100 lines)
- Different modules/packages
## Options
| Option | Description | Behavior |
|-----------------|----------------------------|---------------------------|
| `--all` | Stage all changes | Everything incl. untracked -- use only when all changes belong in one commit |
| `--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` | Commit, then push | Confirms before pushing to a default branch |
| `--wip` | Work in progress | Quick WIP commit |
## Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- **Author:** [KilimcininKorOglu](https://github.com/KilimcininKorOglu)
- **Source:** [KilimcininKorOglu/cli-tweaks](https://github.com/KilimcininKorOglu/cli-tweaks)
- **License:** MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.