qwen-code/packages
jinye 2080686a62
feat(skills): add /batch skill for parallel batch operations (#3079)
* feat(skills): add /batch skill for parallel batch operations

Add a new built-in skill `/batch` that orchestrates large-scale parallel
changes across multiple files. The skill automatically:

- Discovers target files using glob patterns
- Splits files into chunks for parallel processing
- Launches multiple worker agents concurrently
- Aggregates results with success/failure statistics
- Supports --dry-run mode for preview

Resolves #3043

* fix(skills): address PR review feedback for /batch skill

- Extend chunking table to cover 51-100 files (now uses 5 chunks)
- Clarify that `task` tool is the Agent tool for spawning workers
- Add SKIPPED status to Agent Prompt Template output format
- Shorten description field, move examples to body
- Expand test file exclusion patterns (*.test.js, __tests__/, etc.)
- Expand Dry-Run Mode section with detailed example output
- Fix example math: "24 files → 3 chunks of ~8 each"

* fix(skills): address wenshao's review feedback for /batch skill

- Add copyright header
- Add ask_user_question to allowedTools
- Fix edit_file -> edit (canonical tool name)
- Fix chunking table math (3-8 each, not ~7-8)
- Add zero file match handling
- Reframe dry-run from --flag to natural language pattern

* fix(skills): remove unnecessary copyright header from SKILL.md

---------

Co-authored-by: jinye.djy <jinye.djy@alibaba-inc.com>
2026-04-17 15:52:21 +08:00
..
channels chore(release): bump version to 0.14.5 (#3298) 2026-04-15 22:43:29 +08:00
cli feat(cli): support multi-line status line output (#3311) 2026-04-17 12:44:30 +08:00
core feat(skills): add /batch skill for parallel batch operations (#3079) 2026-04-17 15:52:21 +08:00
sdk-java feat(cli/sdk): expose /context usage data in non-interactive mode and SDK API (#2916) 2026-04-14 03:28:32 +08:00
sdk-typescript fix(sdk): avoid leaking process exit listeners in ProcessTransport (#3295) 2026-04-16 10:52:19 +08:00
vscode-ide-companion feat(memory): managed auto-memory and auto-dream system (#3087) 2026-04-16 20:05:45 +08:00
web-templates chore(release): bump version to 0.14.5 (#3298) 2026-04-15 22:43:29 +08:00
webui feat(memory): managed auto-memory and auto-dream system (#3087) 2026-04-16 20:05:45 +08:00
zed-extension chore(zed-extension): update package version to 0.10.0 2026-02-06 14:26:01 +08:00