@rse/ase 0.0.59 → 0.0.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/plugin/.github/plugin/plugin.json +1 -1
- package/plugin/etc/markdownlint.yaml +2 -0
- package/plugin/meta/ase-skill.md +80 -37
- package/plugin/package.json +1 -1
- package/plugin/skills/ase-arch-analyze/SKILL.md +2 -2
- package/plugin/skills/ase-arch-discover/SKILL.md +4 -4
- package/plugin/skills/ase-code-analyze/SKILL.md +1 -1
- package/plugin/skills/ase-code-craft/SKILL.md +10 -4
- package/plugin/skills/ase-code-craft/help.md +8 -0
- package/plugin/skills/ase-code-explain/SKILL.md +6 -6
- package/plugin/skills/ase-code-insight/SKILL.md +4 -4
- package/plugin/skills/ase-code-lint/SKILL.md +9 -9
- package/plugin/skills/ase-code-refactor/SKILL.md +10 -4
- package/plugin/skills/ase-code-refactor/help.md +8 -0
- package/plugin/skills/ase-code-resolve/SKILL.md +12 -6
- package/plugin/skills/ase-code-resolve/help.md +8 -0
- package/plugin/skills/ase-docs-proofread/SKILL.md +5 -5
- package/plugin/skills/ase-meta-brainstorm/SKILL.md +220 -0
- package/plugin/skills/ase-meta-brainstorm/help.md +51 -0
- package/plugin/skills/ase-meta-changes/SKILL.md +5 -5
- package/plugin/skills/ase-meta-diaboli/SKILL.md +3 -3
- package/plugin/skills/ase-meta-diff/SKILL.md +301 -0
- package/plugin/skills/ase-meta-diff/help.md +81 -0
- package/plugin/skills/ase-meta-evaluate/SKILL.md +9 -9
- package/plugin/skills/ase-meta-why/SKILL.md +3 -3
- package/plugin/skills/ase-task-delete/SKILL.md +1 -1
- package/plugin/skills/ase-task-edit/SKILL.md +2 -2
- package/plugin/skills/ase-task-grill/SKILL.md +2 -2
- package/plugin/skills/ase-task-view/SKILL.md +2 -2
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"homepage": "http://github.com/rse/ase",
|
|
7
7
|
"repository": { "url": "git+https://github.com/rse/ase.git", "type": "git" },
|
|
8
8
|
"bugs": { "url": "http://github.com/rse/ase/issues" },
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.61",
|
|
10
10
|
"license": "GPL-3.0-only",
|
|
11
11
|
"author": {
|
|
12
12
|
"name": "Dr. Ralf S. Engelschall",
|
package/plugin/meta/ase-skill.md
CHANGED
|
@@ -158,40 +158,83 @@ MCP Tool Calls
|
|
|
158
158
|
Skill Identification
|
|
159
159
|
--------------------
|
|
160
160
|
|
|
161
|
-
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
161
|
+
- *IMPORTANT*: Set <skill></skill> (set to empty)
|
|
162
|
+
and <skill-name></skill-name> (set name to empty).
|
|
163
|
+
|
|
164
|
+
In case <skill/> later becomes *not* empty by defining it as <skill
|
|
165
|
+
name="<name/>"><body/></skill>, set <skill-name><name/></skill-name>
|
|
166
|
+
(set skill name to name), and then (but only if `$1` is *NOT* equal
|
|
167
|
+
to `-h` or `--help`) you *MUST* once output the following output
|
|
168
|
+
<template/>:
|
|
169
|
+
|
|
170
|
+
<template>
|
|
171
|
+
⧉ **ASE**: ✪ skill: **<skill-name/>**, ✦ purpose: **<skill/>**, ▶ status: **skill started**
|
|
172
|
+
</template>
|
|
173
|
+
|
|
174
|
+
Later (but only if `$1` is *NOT* equal to `-h` or `--help`), once
|
|
175
|
+
this skill finally will stop processing, you *MUST* once output the
|
|
176
|
+
following output <template/>:
|
|
177
|
+
|
|
178
|
+
<template>
|
|
179
|
+
⧉ **ASE**: ✪ skill: **<skill-name/>**, status: **skill finished**
|
|
180
|
+
</template>
|
|
181
|
+
|
|
182
|
+
- *IMPORTANT*: Set <objective></objective> (set to empty).
|
|
183
|
+
Then, in case <objective/> later becomes *not* empty,
|
|
184
|
+
you *MUST* once output the following output <template/>:
|
|
185
|
+
|
|
186
|
+
<template>
|
|
187
|
+
⧉ **ASE**: ✪ skill: **<skill-name/>**, ◎ objective: **<objective/>**
|
|
188
|
+
</template>
|
|
189
|
+
|
|
190
|
+
- *IMPORTANT*:
|
|
191
|
+
If `$1` (the first token of the skill arguments) is equal to `-h` or
|
|
192
|
+
`--help`, you *MUST* once output the following output <template/> and
|
|
193
|
+
then *IMMEDIATELY* *STOP* the further skill processing:
|
|
194
|
+
|
|
195
|
+
<template>
|
|
196
|
+
@${CLAUDE_SKILL_DIR}/help.md
|
|
197
|
+
</template>
|
|
198
|
+
|
|
199
|
+
Template Patterns
|
|
200
|
+
-----------------
|
|
201
|
+
|
|
202
|
+
- When `<ase-tpl-head/>` (no title attribute) should be expanded, use:
|
|
203
|
+
|
|
204
|
+
<template>
|
|
205
|
+
╭──────────────────────────────────────────────────────────────────────┈┈┈┈┈┈┈┈┈┈
|
|
206
|
+
</template>
|
|
207
|
+
|
|
208
|
+
- When `<ase-tpl-head title="<title/>"/>` should be expanded, use
|
|
209
|
+
(where <bar/> = "─" x (70 - 8 - length("<title/>")), i.e., <bar/> is
|
|
210
|
+
the "─" character repeated (70 - 16 - length("<title/>")) times):
|
|
211
|
+
|
|
212
|
+
<template>
|
|
213
|
+
╭────━━━━**(** `<title/>` **)**━━━━────<bar/>┈┈┈┈┈┈┈┈┈┈
|
|
214
|
+
</template>
|
|
215
|
+
|
|
216
|
+
- When `<ase-tpl-foot/>` (no title attribute) should be expanded, use:
|
|
217
|
+
|
|
218
|
+
<template>
|
|
219
|
+
╰──────────────────────────────────────────────────────────────────────┈┈┈┈┈┈┈┈┈┈
|
|
220
|
+
</template>
|
|
221
|
+
|
|
222
|
+
- When `<ase-tpl-foot title="<title/>"/>` should be expanded, use
|
|
223
|
+
(where <bar/> = "─" x (70 - 8 - length("<title/>")), i.e., <bar/> is
|
|
224
|
+
the "─" character repeated (70 - 16 - length("<title/>")) times):
|
|
225
|
+
|
|
226
|
+
<template>
|
|
227
|
+
╰────━━━━**(** `<title/>` **)**━━━━────<bar/>┈┈┈┈┈┈┈┈┈┈
|
|
228
|
+
</template>
|
|
229
|
+
|
|
230
|
+
- When `<ase-tpl-bullet-secondary/>` should be expanded, use:
|
|
231
|
+
|
|
232
|
+
<template>⚪</template>
|
|
233
|
+
|
|
234
|
+
- When `<ase-tpl-bullet-normal/>` should be expanded, use:
|
|
235
|
+
|
|
236
|
+
<template>🔵</template>
|
|
237
|
+
|
|
238
|
+
- When `<ase-tpl-bullet-signal/>` should be expanded, use:
|
|
239
|
+
|
|
240
|
+
<template>🟠</template>
|
package/plugin/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"homepage": "http://github.com/rse/ase",
|
|
7
7
|
"repository": { "url": "git+https://github.com/rse/ase.git", "type": "git" },
|
|
8
8
|
"bugs": { "url": "http://github.com/rse/ase/issues" },
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.61",
|
|
10
10
|
"license": "GPL-3.0-only",
|
|
11
11
|
"author": {
|
|
12
12
|
"name": "Dr. Ralf S. Engelschall",
|
|
@@ -357,7 +357,7 @@ interface quality, quality attributes, and architecture governance.
|
|
|
357
357
|
Report each unpaired finding with the following <template/>:
|
|
358
358
|
|
|
359
359
|
<template>
|
|
360
|
-
|
|
360
|
+
<ase-tpl-bullet-signal/> **PROBLEM** P<n/> (Severity: <severity/>, Aspect: <aspect-id/>): **<title/>**
|
|
361
361
|
|
|
362
362
|
<description/>
|
|
363
363
|
</template>
|
|
@@ -365,7 +365,7 @@ interface quality, quality attributes, and architecture governance.
|
|
|
365
365
|
Report each paired or clustered finding with the following <template/>:
|
|
366
366
|
|
|
367
367
|
<template>
|
|
368
|
-
|
|
368
|
+
<ase-tpl-bullet-normal/> **TRADEOFF** T<n/> (Severity: <severity/>): **<title/>**
|
|
369
369
|
|
|
370
370
|
- *Focal aspect*: <focal-aspect/> — <focal-state/>
|
|
371
371
|
- *In tension with*: <partner-list/>
|
|
@@ -39,7 +39,7 @@ for the technology stack to *provide* the *needed functionality*
|
|
|
39
39
|
<template/>:
|
|
40
40
|
|
|
41
41
|
<template>
|
|
42
|
-
|
|
42
|
+
<ase-tpl-bullet-normal/> **FUNCTIONALITY**: <functionality/>
|
|
43
43
|
</template>
|
|
44
44
|
</step>
|
|
45
45
|
|
|
@@ -73,7 +73,7 @@ for the technology stack to *provide* the *needed functionality*
|
|
|
73
73
|
following <template/>:
|
|
74
74
|
|
|
75
75
|
<template>
|
|
76
|
-
|
|
76
|
+
<ase-tpl-bullet-normal/> **TECHNOLOGY STACK**: <stack/>
|
|
77
77
|
</template>
|
|
78
78
|
</step>
|
|
79
79
|
|
|
@@ -157,7 +157,7 @@ for the technology stack to *provide* the *needed functionality*
|
|
|
157
157
|
anything else:
|
|
158
158
|
|
|
159
159
|
<template>
|
|
160
|
-
|
|
160
|
+
<ase-tpl-bullet-normal/> **COMPONENT HINTS**:
|
|
161
161
|
|
|
162
162
|
| ⚑ *Component* | ▣ *Package* | ⚖ *Hint* |
|
|
163
163
|
| :----------------- | :------------- | :-------- |
|
|
@@ -170,7 +170,7 @@ for the technology stack to *provide* the *needed functionality*
|
|
|
170
170
|
with just the following <template/>:
|
|
171
171
|
|
|
172
172
|
<template>
|
|
173
|
-
|
|
173
|
+
<ase-tpl-bullet-normal/> **COMPONENT RANKING**:
|
|
174
174
|
|
|
175
175
|
| ⚑ *Component* | ▣ *Package* | ❖ *Version* | ↓ *Downloads* | ⎈ *Stars* | ⏲ *Updated* | ☆ *Created* |
|
|
176
176
|
| :----------------- | :------------- | -----------: | -----------------: | -------------: | :--------------- | :----------- |
|
|
@@ -51,7 +51,7 @@ code, for problems in its *logic* and *semantics* and its related
|
|
|
51
51
|
points.
|
|
52
52
|
|
|
53
53
|
<template>
|
|
54
|
-
|
|
54
|
+
<ase-tpl-bullet-signal/> PROBLEM (Severity: **<severity/>**): **P<n/>**: **<title/>**
|
|
55
55
|
|
|
56
56
|
<description/>
|
|
57
57
|
</template>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ase-code-craft
|
|
3
|
-
argument-hint: "[--help|-h] [--auto|-a] [--dry|-d] [--next|-n <option>[,...]] [<task-id>:] <feature>"
|
|
3
|
+
argument-hint: "[--help|-h] [--auto|-a] [--dry|-d] [--quick|-Q] [--next|-n <option>[,...]] [<task-id>:] <feature>"
|
|
4
4
|
description: >
|
|
5
5
|
Craft Source Code:
|
|
6
6
|
Use when user wants to create or craft a new feature from scratch.
|
|
@@ -23,10 +23,16 @@ Craft Source Code
|
|
|
23
23
|
|
|
24
24
|
<expand name="getopt"
|
|
25
25
|
arg1="ase-code-craft"
|
|
26
|
-
arg2="--auto|-a --dry|-d --next|-n=(none|DONE|EDIT|PREFLIGHT|IMPLEMENT)...">
|
|
26
|
+
arg2="--auto|-a --dry|-d --quick|-Q --next|-n=(none|DONE|EDIT|PREFLIGHT|IMPLEMENT)...">
|
|
27
27
|
$ARGUMENTS
|
|
28
28
|
</expand>
|
|
29
29
|
|
|
30
|
+
<if condition="<getopt-option-quick/> is equal `true`">
|
|
31
|
+
The `--quick`/`-Q` flag is a *shorthand alias*: set <getopt-option-auto/>
|
|
32
|
+
to `true`, <getopt-option-dry/> to `true`, and <getopt-option-next/> to
|
|
33
|
+
`IMPLEMENT,DELETE`. Do not output anything.
|
|
34
|
+
</if>
|
|
35
|
+
|
|
30
36
|
<objective>
|
|
31
37
|
From scratch *craft* the following feature:
|
|
32
38
|
<feature><getopt-arguments/></feature>
|
|
@@ -193,7 +199,7 @@ permitted way to persist artifacts is via `ase_task_save(...)`.
|
|
|
193
199
|
4. Indicate start of reporting by showing the following <template/>:
|
|
194
200
|
|
|
195
201
|
<template>
|
|
196
|
-
|
|
202
|
+
<ase-tpl-head title="APPROACHES"/>
|
|
197
203
|
</template>
|
|
198
204
|
|
|
199
205
|
5. Now report each approach with the following <template/>,
|
|
@@ -234,7 +240,7 @@ permitted way to persist artifacts is via `ase_task_save(...)`.
|
|
|
234
240
|
6. Indicate end of reporting by showing the following <template/>:
|
|
235
241
|
|
|
236
242
|
<template>
|
|
237
|
-
|
|
243
|
+
<ase-tpl-foot title="APPROACHES"/>
|
|
238
244
|
</template>
|
|
239
245
|
|
|
240
246
|
5. **Choose Feature Crafting Approach**:
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
[`--help`|`-h`]
|
|
10
10
|
[`--auto`|`-a`]
|
|
11
11
|
[`--dry`|`-d`]
|
|
12
|
+
[`--quick`|`-Q`]
|
|
12
13
|
[`--next`|`-n` *option*[,...]]
|
|
13
14
|
[*task-id*:] *feature*
|
|
14
15
|
|
|
@@ -39,6 +40,13 @@ plan via `ase_task_save` and then hands off to `ase-task-edit`,
|
|
|
39
40
|
type-checker, or program execution) once the source files have
|
|
40
41
|
been modified.
|
|
41
42
|
|
|
43
|
+
`--quick`|`-Q`:
|
|
44
|
+
Shorthand alias for `-a -d -n IMPLEMENT,DELETE`: automatically pick
|
|
45
|
+
the recommended feature approach, compose the plan *without* the
|
|
46
|
+
`※ VERIFICATION` section, immediately hand off to `ase-task-implement`,
|
|
47
|
+
and finally `ase-task-delete` the now-consumed plan. This gives a
|
|
48
|
+
single, fast *one-shot* crafting mode.
|
|
49
|
+
|
|
42
50
|
`--next`|`-n` *option*[,...]:
|
|
43
51
|
Automatically choose the next step after composing the plan.
|
|
44
52
|
*option* is a single token or a *comma-separated chronological
|
|
@@ -42,12 +42,12 @@ code and *explain* it in a *brief*, *standardized*, and *concise* way.
|
|
|
42
42
|
Output the result with the following <template/>:
|
|
43
43
|
|
|
44
44
|
<template>
|
|
45
|
-
|
|
45
|
+
<ase-tpl-bullet-normal/> **WHAT** (You should know what):
|
|
46
46
|
- [...]
|
|
47
47
|
- [...]
|
|
48
48
|
- [...]
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
<ase-tpl-bullet-normal/> **WHY** (You should know why):
|
|
51
51
|
- [...]
|
|
52
52
|
- [...]
|
|
53
53
|
- [...]
|
|
@@ -80,12 +80,12 @@ code and *explain* it in a *brief*, *standardized*, and *concise* way.
|
|
|
80
80
|
Output the result with the following <template/>:
|
|
81
81
|
|
|
82
82
|
<template>
|
|
83
|
-
|
|
83
|
+
<ase-tpl-bullet-secondary/> **ANALOGY** (You should imagine):
|
|
84
84
|
- [...]
|
|
85
85
|
- [...]
|
|
86
86
|
- [...]
|
|
87
87
|
|
|
88
|
-
|
|
88
|
+
<ase-tpl-bullet-secondary/> **DIAGRAM** (You should grasp):
|
|
89
89
|
[...]
|
|
90
90
|
</template>
|
|
91
91
|
</step>
|
|
@@ -103,12 +103,12 @@ code and *explain* it in a *brief*, *standardized*, and *concise* way.
|
|
|
103
103
|
Output the result with the following <template/>:
|
|
104
104
|
|
|
105
105
|
<template>
|
|
106
|
-
|
|
106
|
+
<ase-tpl-bullet-signal/> **CRUXES** (You should notice):
|
|
107
107
|
- [...]
|
|
108
108
|
- [...]
|
|
109
109
|
- [...]
|
|
110
110
|
|
|
111
|
-
|
|
111
|
+
<ase-tpl-bullet-signal/> **GOTCHAS** (You should not stumble over):
|
|
112
112
|
- [...]
|
|
113
113
|
- [...]
|
|
114
114
|
- [...]
|
|
@@ -35,7 +35,7 @@ Give *insights* into the project through the source code of $ARGUMENTS.
|
|
|
35
35
|
Display the results with the following <template/>:
|
|
36
36
|
|
|
37
37
|
<template>
|
|
38
|
-
|
|
38
|
+
<ase-tpl-bullet-normal/> **PROJECT ABSTRACT**:
|
|
39
39
|
|
|
40
40
|
<abstract/>
|
|
41
41
|
</template>
|
|
@@ -52,7 +52,7 @@ Give *insights* into the project through the source code of $ARGUMENTS.
|
|
|
52
52
|
...and then display the results with the following <template/>:
|
|
53
53
|
|
|
54
54
|
<template>
|
|
55
|
-
|
|
55
|
+
<ase-tpl-bullet-normal/> **PROJECT AUTHOR**:
|
|
56
56
|
|
|
57
57
|
<author/>
|
|
58
58
|
</template>
|
|
@@ -64,7 +64,7 @@ Give *insights* into the project through the source code of $ARGUMENTS.
|
|
|
64
64
|
Display the following <template/>:
|
|
65
65
|
|
|
66
66
|
<template>
|
|
67
|
-
|
|
67
|
+
<ase-tpl-bullet-normal/> **SOURCE CHURN**:
|
|
68
68
|
</template>
|
|
69
69
|
|
|
70
70
|
Then run the following command...
|
|
@@ -82,7 +82,7 @@ Give *insights* into the project through the source code of $ARGUMENTS.
|
|
|
82
82
|
Display the following <template/>:
|
|
83
83
|
|
|
84
84
|
<template>
|
|
85
|
-
|
|
85
|
+
<ase-tpl-bullet-normal/> **MODULE STRUCTURE**:
|
|
86
86
|
</template>
|
|
87
87
|
|
|
88
88
|
Find all modules (or OOP classes) and build a Mermaid specification
|
|
@@ -36,7 +36,7 @@ related to a set of code quality aspects.
|
|
|
36
36
|
First, use the following <template/> to give a hint on this step:
|
|
37
37
|
|
|
38
38
|
<template>
|
|
39
|
-
|
|
39
|
+
<ase-tpl-bullet-secondary/> **LINT INVESTIGATION**
|
|
40
40
|
</template>
|
|
41
41
|
|
|
42
42
|
Dispatch the investigation to a *sub-agent* via the `Agent`
|
|
@@ -70,10 +70,10 @@ related to a set of code quality aspects.
|
|
|
70
70
|
ordering `A01 - XXX`...`A20 - XXX`.
|
|
71
71
|
|
|
72
72
|
<template>
|
|
73
|
-
|
|
73
|
+
<ase-tpl-bullet-secondary/> **LINT SUMMARY**:
|
|
74
74
|
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
<ase-tpl-bullet-signal/> **AX - XXX**: N issues
|
|
76
|
+
<ase-tpl-bullet-signal/> **AX - XXX**: N issues
|
|
77
77
|
[...]
|
|
78
78
|
</template>
|
|
79
79
|
|
|
@@ -81,7 +81,7 @@ related to a set of code quality aspects.
|
|
|
81
81
|
output the summary instead:
|
|
82
82
|
|
|
83
83
|
<template>
|
|
84
|
-
|
|
84
|
+
<ase-tpl-bullet-secondary/> **LINT SUMMARY**:
|
|
85
85
|
|
|
86
86
|
*(no problems detected)*
|
|
87
87
|
</template>
|
|
@@ -162,7 +162,7 @@ related to a set of code quality aspects.
|
|
|
162
162
|
4. Report the problem with the following <template/>:
|
|
163
163
|
|
|
164
164
|
<template>
|
|
165
|
-
|
|
165
|
+
<ase-tpl-bullet-signal/> **<aspect/> PROBLEM** (`<severity/>`): <context/>
|
|
166
166
|
|
|
167
167
|
<description/>
|
|
168
168
|
|
|
@@ -173,7 +173,7 @@ related to a set of code quality aspects.
|
|
|
173
173
|
Report the solution with the following <template/>:
|
|
174
174
|
|
|
175
175
|
<template>
|
|
176
|
-
|
|
176
|
+
<ase-tpl-bullet-normal/> **<aspect/> SOLUTION**:
|
|
177
177
|
|
|
178
178
|
```diff
|
|
179
179
|
<diff/>
|
|
@@ -187,7 +187,7 @@ related to a set of code quality aspects.
|
|
|
187
187
|
Report the solution with the following <template/>:
|
|
188
188
|
|
|
189
189
|
<template>
|
|
190
|
-
|
|
190
|
+
<ase-tpl-bullet-normal/> **<aspect/> SOLUTION**:
|
|
191
191
|
|
|
192
192
|
*(corresponding change automatically applied)*
|
|
193
193
|
|
|
@@ -250,7 +250,7 @@ related to a set of code quality aspects.
|
|
|
250
250
|
following final <template/>:
|
|
251
251
|
|
|
252
252
|
<template>
|
|
253
|
-
|
|
253
|
+
<ase-tpl-bullet-secondary/> **LINT FINISHED**
|
|
254
254
|
</template>
|
|
255
255
|
|
|
256
256
|
</step>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ase-code-refactor
|
|
3
|
-
argument-hint: "[--help|-h] [--auto|-a] [--dry|-d] [--next|-n <option>[,...]] [<task-id>:] <request>"
|
|
3
|
+
argument-hint: "[--help|-h] [--auto|-a] [--dry|-d] [--quick|-Q] [--next|-n <option>[,...]] [<task-id>:] <request>"
|
|
4
4
|
description: >
|
|
5
5
|
Refactor Code Base:
|
|
6
6
|
Use when user wants to refactor the code base.
|
|
@@ -23,10 +23,16 @@ Refactor Artifacts
|
|
|
23
23
|
|
|
24
24
|
<expand name="getopt"
|
|
25
25
|
arg1="ase-code-refactor"
|
|
26
|
-
arg2="--auto|-a --dry|-d --next|-n=(none|DONE|EDIT|PREFLIGHT|IMPLEMENT)...">
|
|
26
|
+
arg2="--auto|-a --dry|-d --quick|-Q --next|-n=(none|DONE|EDIT|PREFLIGHT|IMPLEMENT)...">
|
|
27
27
|
$ARGUMENTS
|
|
28
28
|
</expand>
|
|
29
29
|
|
|
30
|
+
<if condition="<getopt-option-quick/> is equal `true`">
|
|
31
|
+
The `--quick`/`-Q` flag is a *shorthand alias*: set <getopt-option-auto/>
|
|
32
|
+
to `true`, <getopt-option-dry/> to `true`, and <getopt-option-next/> to
|
|
33
|
+
`IMPLEMENT,DELETE`. Do not output anything.
|
|
34
|
+
</if>
|
|
35
|
+
|
|
30
36
|
<objective>
|
|
31
37
|
*Refactor* existing artifacts the following way:
|
|
32
38
|
<request><getopt-arguments/></request>
|
|
@@ -182,7 +188,7 @@ permitted way to persist artifacts is via `ase_task_save(...)`.
|
|
|
182
188
|
4. Indicate start of reporting by showing the following <template/>:
|
|
183
189
|
|
|
184
190
|
<template>
|
|
185
|
-
|
|
191
|
+
<ase-tpl-head title="APPROACHES"/>
|
|
186
192
|
</template>
|
|
187
193
|
|
|
188
194
|
5. Now report each approach with the following <template/>,
|
|
@@ -224,7 +230,7 @@ permitted way to persist artifacts is via `ase_task_save(...)`.
|
|
|
224
230
|
6. Indicate end of reporting by showing the following <template/>:
|
|
225
231
|
|
|
226
232
|
<template>
|
|
227
|
-
|
|
233
|
+
<ase-tpl-foot title="APPROACHES"/>
|
|
228
234
|
</template>
|
|
229
235
|
|
|
230
236
|
5. **Choose Refactoring Approach**:
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
[`--help`|`-h`]
|
|
10
10
|
[`--auto`|`-a`]
|
|
11
11
|
[`--dry`|`-d`]
|
|
12
|
+
[`--quick`|`-Q`]
|
|
12
13
|
[`--next`|`-n` *option*[,...]]
|
|
13
14
|
[*task-id*:] *request*
|
|
14
15
|
|
|
@@ -39,6 +40,13 @@ plan via `ase_task_save` and then hands off to `ase-task-edit`,
|
|
|
39
40
|
type-checker, or program execution) once the source files have
|
|
40
41
|
been modified.
|
|
41
42
|
|
|
43
|
+
`--quick`|`-Q`:
|
|
44
|
+
Shorthand alias for `-a -d -n IMPLEMENT,DELETE`: automatically pick
|
|
45
|
+
the recommended refactoring approach, compose the plan *without* the
|
|
46
|
+
`※ VERIFICATION` section, immediately hand off to `ase-task-implement`,
|
|
47
|
+
and finally `ase-task-delete` the now-consumed plan. This gives a
|
|
48
|
+
single, fast *one-shot* refactoring mode.
|
|
49
|
+
|
|
42
50
|
`--next`|`-n` *option*[,...]:
|
|
43
51
|
Automatically choose the next step after composing the plan.
|
|
44
52
|
*option* is a single token or a *comma-separated chronological
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ase-code-resolve
|
|
3
|
-
argument-hint: "[--help|-h] [--auto|-a] [--dry|-d] [--next|-n <option>[,...]] [<task-id>:] <problem>"
|
|
3
|
+
argument-hint: "[--help|-h] [--auto|-a] [--dry|-d] [--quick|-Q] [--next|-n <option>[,...]] [<task-id>:] <problem>"
|
|
4
4
|
description: >
|
|
5
5
|
Resolve Problem:
|
|
6
6
|
Use when user wants a bug fixed or problem resolved.
|
|
@@ -23,10 +23,16 @@ Resolve Problem
|
|
|
23
23
|
|
|
24
24
|
<expand name="getopt"
|
|
25
25
|
arg1="ase-code-resolve"
|
|
26
|
-
arg2="--auto|-a --dry|-d --next|-n=(none|DONE|EDIT|PREFLIGHT|IMPLEMENT)...">
|
|
26
|
+
arg2="--auto|-a --dry|-d --quick|-Q --next|-n=(none|DONE|EDIT|PREFLIGHT|IMPLEMENT)...">
|
|
27
27
|
$ARGUMENTS
|
|
28
28
|
</expand>
|
|
29
29
|
|
|
30
|
+
<if condition="<getopt-option-quick/> is equal `true`">
|
|
31
|
+
The `--quick`/`-Q` flag is a *shorthand alias*: set <getopt-option-auto/>
|
|
32
|
+
to `true`, <getopt-option-dry/> to `true`, and <getopt-option-next/> to
|
|
33
|
+
`IMPLEMENT,DELETE`. Do not output anything.
|
|
34
|
+
</if>
|
|
35
|
+
|
|
30
36
|
<objective>
|
|
31
37
|
*Resolve* the following problem:
|
|
32
38
|
<problem><getopt-arguments/></problem>
|
|
@@ -119,11 +125,11 @@ permitted way to persist artifacts is via `ase_task_save(...)`.
|
|
|
119
125
|
Report those details with the following <template/>:
|
|
120
126
|
|
|
121
127
|
<template>
|
|
122
|
-
|
|
128
|
+
<ase-tpl-bullet-signal/> **PROBLEM CONTEXT**: *<context/>*
|
|
123
129
|
<affected-code-excerpt/>
|
|
124
130
|
<optional-diagram/>
|
|
125
131
|
|
|
126
|
-
|
|
132
|
+
<ase-tpl-bullet-signal/> **PROBLEM DETAILS**: *<summary/>*
|
|
127
133
|
● [...]
|
|
128
134
|
● [...]
|
|
129
135
|
● [...]
|
|
@@ -231,7 +237,7 @@ permitted way to persist artifacts is via `ase_task_save(...)`.
|
|
|
231
237
|
4. Indicate start of reporting by showing the following <template/>:
|
|
232
238
|
|
|
233
239
|
<template>
|
|
234
|
-
|
|
240
|
+
<ase-tpl-head title="APPROACHES"/>
|
|
235
241
|
</template>
|
|
236
242
|
|
|
237
243
|
5. Now report each approach with the following <template/>,
|
|
@@ -273,7 +279,7 @@ permitted way to persist artifacts is via `ase_task_save(...)`.
|
|
|
273
279
|
6. Indicate end of reporting by showing the following <template/>:
|
|
274
280
|
|
|
275
281
|
<template>
|
|
276
|
-
|
|
282
|
+
<ase-tpl-foot title="APPROACHES"/>
|
|
277
283
|
</template>
|
|
278
284
|
|
|
279
285
|
5. **Choose Problem Resolution Approach**:
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
[`--help`|`-h`]
|
|
10
10
|
[`--auto`|`-a`]
|
|
11
11
|
[`--dry`|`-d`]
|
|
12
|
+
[`--quick`|`-Q`]
|
|
12
13
|
[`--next`|`-n` *option*[,...]]
|
|
13
14
|
[*task-id*:] *problem*
|
|
14
15
|
|
|
@@ -44,6 +45,13 @@ plan via `ase_task_save` and then hands off to `ase-task-edit`,
|
|
|
44
45
|
type-checker, or program execution) once the source files have
|
|
45
46
|
been modified.
|
|
46
47
|
|
|
48
|
+
`--quick`|`-Q`:
|
|
49
|
+
Shorthand alias for `-a -d -n IMPLEMENT,DELETE`: automatically pick
|
|
50
|
+
the recommended resolution approach, compose the plan *without* the
|
|
51
|
+
`※ VERIFICATION` section, immediately hand off to `ase-task-implement`,
|
|
52
|
+
and finally `ase-task-delete` the now-consumed plan. This gives a
|
|
53
|
+
single, fast *one-shot* resolution mode.
|
|
54
|
+
|
|
47
55
|
`--next`|`-n` *option*[,...]:
|
|
48
56
|
Automatically choose the next step after composing the plan.
|
|
49
57
|
*option* is a single token or a *comma-separated chronological
|
|
@@ -36,7 +36,7 @@ Analyze documents for spelling, punctuation, or grammar errors
|
|
|
36
36
|
First, use the following <template/> to give a hint on this step:
|
|
37
37
|
|
|
38
38
|
<template>
|
|
39
|
-
|
|
39
|
+
<ase-tpl-bullet-secondary/> **PROOFREADING INVESTIGATION**
|
|
40
40
|
</template>
|
|
41
41
|
|
|
42
42
|
Dispatch the investigation to a *sub-agent* via the `Agent`
|
|
@@ -69,7 +69,7 @@ Analyze documents for spelling, punctuation, or grammar errors
|
|
|
69
69
|
problems in <problems/>:
|
|
70
70
|
|
|
71
71
|
<template>
|
|
72
|
-
|
|
72
|
+
<ase-tpl-bullet-secondary/> **PROOFREADING SUMMARY**:
|
|
73
73
|
|
|
74
74
|
| *Proofread Type* | *Proofread Result* |
|
|
75
75
|
| ---------------- | ----------------------- |
|
|
@@ -109,7 +109,7 @@ Analyze documents for spelling, punctuation, or grammar errors
|
|
|
109
109
|
2. Report the problem with the following <template/>:
|
|
110
110
|
|
|
111
111
|
<template>
|
|
112
|
-
|
|
112
|
+
<ase-tpl-bullet-signal/> **<type/> PROBLEM**: `<file/>`:<line/>:
|
|
113
113
|
|
|
114
114
|
<description/>
|
|
115
115
|
</template>
|
|
@@ -121,7 +121,7 @@ Analyze documents for spelling, punctuation, or grammar errors
|
|
|
121
121
|
|
|
122
122
|
<template>
|
|
123
123
|
|
|
124
|
-
|
|
124
|
+
<ase-tpl-bullet-normal/> **<type/> CORRECTION**:
|
|
125
125
|
|
|
126
126
|
```diff
|
|
127
127
|
--- <file/> (original)
|
|
@@ -201,7 +201,7 @@ Analyze documents for spelling, punctuation, or grammar errors
|
|
|
201
201
|
following final <template/>:
|
|
202
202
|
|
|
203
203
|
<template>
|
|
204
|
-
|
|
204
|
+
<ase-tpl-bullet-secondary/> **PROOFREAD FINISHED**
|
|
205
205
|
</template>
|
|
206
206
|
|
|
207
207
|
</step>
|