Accelerates development by creating new files and committing them to Git in a single atomic operation.
The Write and Commit skill optimizes the Claude Code workflow by collapsing the traditional multi-step process of writing a file, setting permissions, staging, and committing into one efficient execution. Designed for speed, it reduces LLM round-trips by 60-75%, making it the ideal choice for adding scripts, configuration files, and documentation where iterative editing isn't required. It includes built-in safety features to verify Git status and ensures parent directories are created automatically.
Key Features
01Support for executable permission flags
022 GitHub stars
03Atomic file creation and Git commit
04Automated parent directory creation
0560-75% reduction in LLM round-trip latency
06Structured JSON output for process verification
Use Cases
01Generating new unit tests and boilerplate code templates
02Rapidly creating utility scripts with executable permissions
03Adding configuration files like .gitignore or README.md