--- name: ase-code-edit argument-hint: "[--help|-h] [--mode|-m auto|craft|refactor|resolve] [--approach|-A] [--grill|-g] [--grill-auto|-a] [--grill-rounds|-r ] [--grill-until|-u MUST|SHOULD|MAY] [--grill-perspective|-p ] [--ground|-G] [--verify|-v light|none|full] [--worktree|-w [:]] [--loop|-l] [|]" description: > Edit Source Code: Use when the user wants to "edit" the code base in one shot from a query or a bare analyzer issue id like "P1", fusing crafting, refactoring, and resolving with optional grilling, verification, looping, and Git worktree isolation. user-invocable: true disable-model-invocation: false effort: xhigh --- @${CLAUDE_SKILL_DIR}/../../meta/ase-control.md @${CLAUDE_SKILL_DIR}/../../meta/ase-skill.md @${CLAUDE_SKILL_DIR}/../../meta/ase-dialog.md @${CLAUDE_SKILL_DIR}/../../meta/ase-getopt.md Edit Source Code $ARGUMENTS *Edit* the code base directly from a query -- crafting, refactoring, or resolving in one shot -- through the states *querying*, *discovering*, *grilling*, *implementing*, and *verifying*. @${CLAUDE_SKILL_DIR}/../../meta/ase-tenets.md @${CLAUDE_SKILL_DIR}/../../meta/ase-common-ground.md @${CLAUDE_SKILL_DIR}/../../meta/ase-common-grill.md @${CLAUDE_SKILL_DIR}/../../meta/ase-common-changeset.md @${CLAUDE_SKILL_DIR}/../../meta/ase-common-approach.md @${CLAUDE_SKILL_DIR}/../../meta/ase-common-decision.md Procedure --------- This skill is *plan-less*: it *never* composes or persists a task plan and *MUST* *NOT* call `ase_task_save(...)`. Instead, it applies the requested edit *in place*, so the *implementing* state *requires* `Edit` and `Write` to modify the affected artifacts. Every modification *MUST* stay restricted to the artifacts the edit actually demands. On finishing the state ``, only output the following