Commit Graph

6 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
cbe3cfccba Clarify minio-upload skill as Obsidian vault upload tool
Update documentation to reflect that the obsidian bucket serves as sync directory for Obsidian note-taking app. Replace generic "path" terminology with "vault" concept, explaining that each top-level directory is a separate Obsidian vault. Add vault structure explanation and update examples to show vault-specific uploads.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-28 12:57:57 +08:00
Misaka Company
16a7619ed0 Emphasize path configuration rules in minio-upload skill documentation
Add prominent Path Configuration section that explicitly states files must upload to main path when no path is specified. Includes constraints and examples to prevent path assumptions.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-28 12:30:49 +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