The atcommit skill empowers Claude to handle complex git workflows by ensuring every commit is functionally complete and logically isolated. It automatically scans for cross-file dependencies, detects potential fixup candidates for existing branch commits, and constructs a dependency graph to prevent broken builds. By enforcing foundation-first commit ordering and providing standardized message templates, it maintains a clean, bisectable repository history while ensuring that staged changes never reference symbols introduced in later commits.
主要功能
01Hunk-Level Splitting: Breaks down single files into multiple commits when they contain unrelated logical changes.
02Build Verification: Stashes unstaged changes to verify that the proposed commit group builds in isolation.
030 GitHub stars
04Dependency Graph Analysis: Maps imports and exports to ensure no commit references symbols in future commits.
05Fixup Detection: Automatically identifies if changes should be merged into existing branch commits rather than creating new ones.
06Structured Commit Messages: Generates clean, markdown-formatted messages following the project's specific style and conventions.
使用场景
01Splitting a large, multi-file feature into a series of logical, bisectable commits for better code review.
02Automating the validation of staged changes to catch missing file dependencies before they reach CI/CD.
03Ensuring shared types and interfaces are committed before the implementation code to prevent temporary build breaks.