split
Break large files into smaller, manageable components or sections using configurable splitting strategies for better code organization and maintainability.
Instructions
【文件拆分】将大文件拆分成多个小文件或小组件
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | 文件内容或路径 | |
| strategy | No | 拆分策略:auto, type, function, component, feature(默认 auto) |
Input Schema (JSON Schema)
{
"properties": {
"file": {
"description": "文件内容或路径",
"type": "string"
},
"strategy": {
"description": "拆分策略:auto, type, function, component, feature(默认 auto)",
"type": "string"
}
},
"required": [],
"type": "object"
}