donaldfilimon/abi / .agents/skills/git-commit-integration
git-commit-integration
VerifiedCreate reviewed conventional Git commits through the agent workflow. This is not an `abi agent tui` slash command.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 2.2 KB |
SKILL.md
View on GitHub---
name: git-commit-integration
description: Create reviewed conventional Git commits through the agent workflow. This is not an `abi agent tui` slash command.
---
# Git Commit Integration
Creates properly formatted git commits for the abi project.
## Usage
```bash
git commit -m "type(scope): description"
```
## Features
- Enforces Conventional Commits format
- Validates message format: `type(scope): description`
- Types: feat, fix, refactor, docs, chore, test, perf
- Auto-adds all staged changes
## Implementation
The agent stages reviewed paths explicitly and invokes Git directly. ABI's Rust
REPL does not execute Git.
## Shared checkout with another session's unpushed commits
Trigger: `git status --short --branch` shows `ahead N`, or the tree carries dirty
paths you did not create. On a checkout several agents share, `git switch -c`
from the local tip is the wrong move twice over: the new branch inherits those
unpushed commits and rides them into your PR, and switching rewrites the working
tree under whoever is mid-task there.
Branch from the remote in a throwaway worktree instead:
```bash
git fetch origin
git worktree add ../<repo>-wt-<topic> -b <prefix>/<topic> origin/main
# bring in ONLY your own change, then verify it is the whole diff
git diff --stat origin/main -- <your-path>
git log --oneline origin/main..HEAD # must list only your commits
git add <your-path> && git commit && git push -u
```
After the merge: `git worktree remove ../<repo>-wt-<topic>`, `git branch -d`,
`git worktree prune`. Leave the shared checkout exactly as you found it — do not
amend, reword, rebase, or `reset` a commit you did not author, even when its
message is malformed.
Verified on `/Users/donald/sources/repos/abi`, whose local `main` was `ahead 1` with another
author's unpushed commit and 11 dirty paths from other sessions: the worktree
branch's diff against `origin/main` was exactly the one intended file
(`AGENTS.md`, +3/-1), the junk commit never entered the PR, and every other
session's path stayed dirty and unstaged.
## Skill Integration
There is no `/commit` command in `abi agent tui`; use this skill outside the ABI
binary after reviewing the exact staged diff.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |