# Commit

> Creates atomic commits by invoking TDG and commenting on related GitHub issues.

- Skill: `tomevault-io/commit-65` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/commit-65`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/commit-65/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/commit-65

---


# Atomic Commit

Invoke the TDG atomic commit skill to analyze changes and create clean, atomic commits.

## Instructions

Run the `tdg:atomic` skill:

```
/tdg:atomic
```

This will:
1. Analyze `git status`, `git diff`, and `git diff --staged`
2. Detect mixed concerns (multiple features, bug fixes + features, etc.)
3. Group files by shared purpose
4. Present grouping for confirmation
5. For each group: stage → review → test → commit → verify
6. Final review with `git log`

## Commit Message Rules

- Use conventional commit format: `feat|fix|refactor|docs|test|chore|perf|style`
- **NO footer** - Do not add "Generated with...", "Co-Authored-By...", or any other footers
- Keep messages concise and descriptive

## Post-Commit: Issue Comment

After commits are created, automatically comment on the related GitHub issue:

1. **Find Issue Number** - Check `docs/current.md` for `ISSUE: #N` or extract from branch name/commits
2. **If issue found**, comment with:

```bash
gh issue comment <issue-number> --body "$(cat <<'EOF'
## Implementation Update

### Changes Made
[List files changed and what was modified]

### Commits
[List commit hashes and messages]

### Status
- Branch: `<branch-name>`
- Ready for: review / merge / testing
EOF
)"
```

3. **If no issue found**, skip commenting silently

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/goffity) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-14 -->

