ase-code-refactor
SolidRefactor Code: Use when user wants to "refactor" or "change" the code base.
Code & Development 42 stars
4 forks Updated yesterday Apache-2.0
Install
Quality Score: 80/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
@${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
<skill name="ase-code-refactor">
Refactor Source Code
</skill>
<expand name="getopt"
arg1="ase-code-refactor"
arg2="--auto|-a --dry|-d --quick|-Q --next|-n=(none|DONE|EDIT|GRILL|PREFLIGHT|IMPLEMENT)...">
$ARGUMENTS
</expand>
<if condition="<getopt-option-quick/> is equal `true`">
The `--quick`/`-Q` flag is a *shorthand alias*: set <getopt-option-auto/>
to `true`, <getopt-option-dry/> to `true`, and <getopt-option-next/> to
`IMPLEMENT,DELETE`. Do not output anything.
</if>
<objective>
*Refactor* existing artifacts the following way:
<request><getopt-arguments/></request>
</objective>
@${CLAUDE_SKILL_DIR}/../../meta/ase-format-task.md
@${CLAUDE_SKILL_DIR}/../../meta/ase-tenets.md
Procedure
---------
You *MUST* *NOT* call `Edit`, `Write`, `NotebookEdit`, or any
filesystem-modifying tool during this entire skill. The *only*
permitted way to persist artifacts is via `ase_task_save(...)`.
<flow>
1. <step id="STEP 1: Reason About Refactoring">
1. <if condition="
<request/> matches the regexp `^[a-zA-Z][a-zA-Z0-9_-]*$`
">
Set <ase-task-id><request/></ase-task-id> (set task id to request)
and <request></request> (set request empty), call the
`ase_task_id(id: "<ase-task-id/>", session: "<ase-session-id/>")` tool
from the `ase`...
Details
- Author
- rse
- Repository
- rse/ase
- Created
- 3 months ago
- Last Updated
- yesterday
- Language
- TypeScript
- License
- Apache-2.0
Similar Skills
Semantically similar based on skill content — not just same category
Code & Development Solid
ase-code-craft
Craft Source Code: Use when user wants to "create", "add", or "craft" a new feature from scratch.
42 Updated yesterday
rse Code & Development Solid
ase-code-resolve
Resolve Problem: Use when user wants to "bugfix" or "fix" code or "resolve" a problem.
42 Updated yesterday
rse Code & Development Solid
ase-code-analyze
Analyze the source code for problems in either the logic and semantics and its related control flow, performance and efficiency, or security.
42 Updated yesterday
rse