home / skills / tdhopper / dotfiles2.0 / commit
This skill guides you to create clean git commits for the dotfiles repo by enforcing no AI attribution and no Co-Authored-By headers.
npx playbooks add skill tdhopper/dotfiles2.0 --skill commitReview the files below or copy the command above to add this skill to your agents.
---
name: commit
description: Use this skill when creating a git commit
---
- [ ] No AI/Claude attribution anywhere
- [ ] No Co-Authored-By headers in commits
This skill helps you create clean, consistent git commits for a dotfiles repository managed with yadm. It guides commit message format and enforces rules such as excluding AI attributions and Co-Authored-By headers. Use it to keep history readable and policy-compliant.
The skill inspects staged changes and suggests a concise commit message that reflects the scope and intent of the changes. It applies repository conventions for subject lines and body content, and flags disallowed text like AI attributions or Co-Authored-By trailers before finalizing the commit.
What if I need to record multiple authors?
Prefer keeping commits authored by the person who performed the changes. If multiple contributors edited a file, create separate commits or mention collaborators in the commit body without using Co-Authored-By trailers.
Will this skill rewrite staged files?
No. The skill only inspects staged changes and prepares a compliant commit message; it does not modify file contents.