feat(cli): Add argument hints for batch, loop, qc-helper, and review skills

This commit is contained in:
DragonnZhang 2026-04-24 17:57:03 +08:00
parent 7aa5badf15
commit 342bad9ee0
4 changed files with 4 additions and 0 deletions

View file

@ -1,6 +1,7 @@
---
name: batch
description: Execute batch operations on multiple files in parallel. Automatically discovers files, splits into chunks, and processes with parallel worker agents. Use `/batch` followed by operation and file pattern.
argument-hint: '<operation> <file-pattern>'
allowedTools:
- task
- glob

View file

@ -1,6 +1,7 @@
---
name: loop
description: Create a recurring loop that runs a prompt on a schedule. Usage - /loop 5m check the build, /loop check the PR every 30m, /loop run tests (defaults to 10m). /loop list to show jobs, /loop clear to cancel all.
argument-hint: '[interval] <prompt> | list | clear'
allowedTools:
- cron_create
- cron_list

View file

@ -1,6 +1,7 @@
---
name: qc-helper
description: Answer any question about Qwen Code usage, features, configuration, and troubleshooting by referencing the official user documentation. Also helps users view or modify their settings.json. Invoke with `/qc-helper` followed by a question, e.g. `/qc-helper how do I configure MCP servers?` or `/qc-helper change approval mode to yolo`.
argument-hint: '<question>'
allowedTools:
- read_file
- edit_file

View file

@ -1,6 +1,7 @@
---
name: review
description: Review changed code for correctness, security, code quality, and performance. Use when the user asks to review code changes, a PR, or specific files. Invoke with `/review`, `/review <pr-number>`, `/review <file-path>`, or `/review <pr-number> --comment` to post inline comments on the PR.
argument-hint: '[pr-number|file-path] [--comment]'
allowedTools:
- task
- run_shell_command