4 Commits

Author SHA1 Message Date
Misaka Company
ae8642cdfe Refactor rename logic into reusable function
Extract duplicate rename code from --rename option and interactive 'r' branch into find_unique_filename() function. Reduces code duplication and improves maintainability.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-28 14:36:23 +08:00
Misaka Company
45c8623666 Add mutual exclusion validation for conflict handling options
Ensure --force, --skip, --backup, --rename options are used exclusively
to prevent ambiguous conflict resolution behavior.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-28 14:05:32 +08:00
Misaka Company
51eae214cc Add file conflict handling to minio-upload skill
Implement comprehensive file conflict detection and resolution:
- Check for existing files before upload using mc stat (fixes mc ls bug)
- Interactive prompt when conflict detected: overwrite, skip, backup, rename
- Command-line options for non-interactive use: --force, --skip, --backup, --rename
- Auto-rename with numeric suffix when file exists
- Backup existing files with .bak extension before overwriting
- Update SKILL.md with conflict handling documentation and examples

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-28 13:45:43 +08:00
Misaka Company
5f9d79fbb0 Add minio-upload skill and update README.md to match actual project structure 2026-01-28 09:20:17 +08:00