Read the prompt file at prompts/simplify.md and follow its instructions.
Parse $ARGUMENTS:
- •The first argument is the crate path. Replace
$TARGETwith it. - •If
--applyis present, set$MODE = apply. Otherwise set$MODE = review.
对 crate 中的代码进行审查或实施简化优化
--- frontmattername: simplify description: Review or apply code simplifications to a crate argument-hint: <crate-path> [--apply]
Read the prompt file at prompts/simplify.md and follow its instructions.
Parse $ARGUMENTS:
$TARGET with it.--apply is present, set $MODE = apply. Otherwise set $MODE = review.