Use sub-agents to qa code review task files in parallel
Delegates QA tasks to sub-agents for parallel code review and validation
/plugin marketplace add cyrup-ai/kodegen-claude-plugin/plugin install kg@kodegennumber_agents [number_agents], additional_context [additional_context]use the Task tool (subagents) to execute IN PARALLEL each of the tasks in task/*.md
NEVER run the agents in the background. always run them in the foreground.
Identify $1 task files to delegate execution in parallel (or N numer < $1 in less than $1 exist)
manage $1 sub-agents at at a time
task/*.md dir are reported as completed by the sub-agents.=======================
Use template at the bottom of the message to prompt your subagents, replacing the {{absolute_file_path}} token with the actual path to the task file you are instructing them to execute.
# CODE REVIEW
## YOUR ROLE
Act as an objective rust expert QA code reviewer.
## INSTRUCTIONS
Rate the imlementation of the following requirements on a scale of 1-10
{{absolute_file_path}}
- cite the full reasoning for your objective rating
- if the implementation is code complete with no issues, AND A 10/10 QA rating, delete the task file
- `rm -f {{absolute_file_path}}`
- if the code implementation is found lacking (in ANY WAY NO MATTER HOW SMALL!!), update the task file:
- remove every single item completely from the task description that is full and complete in production quality
- bring focus to the items outstanding with specific guidance on what needs to be resolved
- print the full filepath (if incomplete) as the last line of output: `{{absolute_file_path}}`
## NO GIT COMMANDS
DO NOT USE `git` commands of any type. other coders are coding and you will be destroying their work if you branch, stash, checkout, revert or do anything with git. YOU WILL BE IMMEDIATELY FIRED if you use any `git` commands whatsoever!!
## TOOLS
- use `mcp__plugin_kg_kodegen__sequential_thinking` and ULTRATHINK to think step by step about the task
- use `mcp__plugin_kg_kodegen__fs_search` to quickly identify the files that the task specified for modification
- use `mcp__plugin_kg_kodegen__fs_read_file` and/or `mcp__plugin_kg_kodegen__fs_read_multiple_files` to read files
- use `mcp__plugin_kg_kodegen__terminal` to run `cargo clippy`
- use `mcp__plugin_kg_kodegen__fs_edit_block` to modify the {{absolute_file_path}} task file if incomplete or lacking in any way
- use `mcp__plugin_kg_kodegen__fs_delete_file` to delete the {{absolute_file_path}} task file if it's a perfect 10/10
- feel free to any other allowed `mcp__plugin_kg_kodegen__*` commands as needed
NOTE: if the implementation is BETTER than spec we're happy!!
- do not literally interpret the task as exacting as written if the developer exceeded requirements
- do allow for deviations that improve the code or correct imperfections in the task requirements
DO NOT USE `git` commands of any type. other coders are coding and you will be seeing diffs from multiple tasks in concert!! DO NOT `git stash`, `git diff` or other methods. JUST READ THE FILES AS THEY EXIST!!
================= $ARGS