Временные файлы вне репозитория

productivity

temp-files is a Claude Code skill that standardizes how agents create temporary files — reports, logs, and progress tracking — by routing them to the system /tmp directory instead of the repository root. It defines a consistent base path /tmp/claude/{sanitized-cwd}/, where the current working directory is converted into a safe name by stripping the leading slash and replacing / with -. The step-by-step workflow covers directory creation with mkdir -p, unique filename generation using a {descriptor}-{YYYYMMDD-HHMMSS}.{ext} pattern, writing via the Write tool, and notifying the user of the exact file location. Allowed tools are Bash, Write, and Read. The skill fits code review reports, test result summaries, and analysis outputs — anything not meant to be committed. It also defines when not to apply the pattern: if the user specifies a path explicitly or the file belongs in version control.