Auto Refactor Novel Structure
story_auto_refactor_structureRefactors and normalizes novel project directories into a standard layout, with a dry-run preview before applying changes.
Instructions
Phân loại và chuẩn hóa cấu trúc thư mục dự án tiểu thuyết theo layout chuẩn. Hỗ trợ dry-run mode (confirm=false) để preview trước khi thực hiện.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | false = dry-run (chỉ preview), true = thực hiện thực sự (sẽ tự động snapshot trước) | |
| strategy | No | Chiến lược sắp xếp: auto_profile (mặc định, v0.6.0) — nhận diện bố cục hiện có trước: một file lớn chứa nhiều chương → TÁCH theo tiêu đề chương; thư mục phân tập tự đặt tên → map thành arc_XX; chương phẳng → đánh số lại ch_XXX by_chapter — mọi file bản thảo → manuscript/arc_01/ by_arc — đoán arc từ tên file/nội dung ("quyển 3", "part 2"...) chronological — đánh số theo thời gian sửa file | auto_profile |
| projectPath | Yes | Đường dẫn dự án |