@rse/ase 0.0.58 → 0.0.60
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/dst/ase-getopt.js +28 -2
- package/dst/ase-hello.js +5 -5
- package/package.json +1 -1
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/plugin/.github/plugin/plugin.json +1 -1
- package/plugin/meta/ase-format-adr.md +199 -0
- package/plugin/meta/ase-getopt.md +12 -5
- package/plugin/package.json +1 -1
- package/plugin/skills/ase-arch-discover/SKILL.md +1 -1
- package/plugin/skills/ase-code-craft/SKILL.md +43 -15
- package/plugin/skills/ase-code-craft/help.md +24 -8
- package/plugin/skills/ase-code-explain/SKILL.md +1 -1
- package/plugin/skills/ase-code-insight/SKILL.md +1 -1
- package/plugin/skills/ase-code-refactor/SKILL.md +43 -15
- package/plugin/skills/ase-code-refactor/help.md +24 -8
- package/plugin/skills/ase-code-resolve/SKILL.md +43 -15
- package/plugin/skills/ase-code-resolve/help.md +24 -8
- package/plugin/skills/ase-meta-changes/SKILL.md +1 -1
- package/plugin/skills/ase-meta-chat/SKILL.md +1 -1
- package/plugin/skills/ase-meta-diaboli/SKILL.md +152 -0
- package/plugin/skills/ase-meta-diaboli/help.md +60 -0
- package/plugin/skills/ase-meta-persona/SKILL.md +1 -1
- package/plugin/skills/ase-meta-quorum/SKILL.md +1 -1
- package/plugin/skills/ase-meta-search/SKILL.md +1 -1
- package/plugin/skills/ase-meta-why/SKILL.md +4 -4
- package/plugin/skills/ase-task-delete/SKILL.md +1 -1
- package/plugin/skills/ase-task-edit/SKILL.md +42 -23
- package/plugin/skills/ase-task-edit/help.md +10 -4
- package/plugin/skills/ase-task-grill/SKILL.md +275 -0
- package/plugin/skills/ase-task-grill/help.md +79 -0
- package/plugin/skills/ase-task-id/SKILL.md +1 -1
- package/plugin/skills/ase-task-implement/SKILL.md +31 -9
- package/plugin/skills/ase-task-implement/help.md +8 -4
- package/plugin/skills/ase-task-list/SKILL.md +1 -1
- package/plugin/skills/ase-task-preflight/SKILL.md +40 -13
- package/plugin/skills/ase-task-preflight/help.md +10 -5
- package/plugin/skills/ase-task-reboot/SKILL.md +61 -11
- package/plugin/skills/ase-task-reboot/help.md +13 -6
- package/plugin/skills/ase-task-rename/SKILL.md +1 -1
- package/plugin/skills/ase-task-view/SKILL.md +1 -1
- /package/plugin/meta/{ase-plan.md → ase-format-plan.md} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ase-task-reboot
|
|
3
|
-
argument-hint: "[--help|-h] [--next|-n <option>] [<id>]"
|
|
3
|
+
argument-hint: "[--help|-h] [--next|-n <option>[,...]] [<id>]"
|
|
4
4
|
description: >
|
|
5
5
|
Reboot the current or given task plan by re-creating it from scratch.
|
|
6
6
|
Use when the user calls to "reboot", "recreate" or "refresh"
|
|
@@ -21,7 +21,7 @@ Reboot a Task Plan
|
|
|
21
21
|
|
|
22
22
|
<expand name="getopt"
|
|
23
23
|
arg1="ase-task-reboot"
|
|
24
|
-
arg2="--next|-n=(none|DONE|EDIT)">
|
|
24
|
+
arg2="--next|-n=(none|DONE|EDIT)...">
|
|
25
25
|
$ARGUMENTS
|
|
26
26
|
</expand>
|
|
27
27
|
|
|
@@ -30,7 +30,7 @@ Reboot a Task Plan
|
|
|
30
30
|
based on the existing *WHAT* and *WHY*.
|
|
31
31
|
</objective>
|
|
32
32
|
|
|
33
|
-
@${CLAUDE_SKILL_DIR}/../../meta/ase-plan.md
|
|
33
|
+
@${CLAUDE_SKILL_DIR}/../../meta/ase-format-plan.md
|
|
34
34
|
|
|
35
35
|
Procedure
|
|
36
36
|
---------
|
|
@@ -158,9 +158,24 @@ explicitly requested by this procedure via outputs based on a <template/>!
|
|
|
158
158
|
|
|
159
159
|
1. *Determine next step*:
|
|
160
160
|
|
|
161
|
-
- If <getopt-option-next/>
|
|
162
|
-
|
|
163
|
-
|
|
161
|
+
- If <getopt-option-next/> is not equal to `none`:
|
|
162
|
+
Treat <getopt-option-next/> as a comma-separated chronological
|
|
163
|
+
list of pre-selected next-step tokens. *Split* it on `,`,
|
|
164
|
+
take the *first* token as <head/>, and store the remaining
|
|
165
|
+
tokens (joined back with `,`, or `none` if empty) into
|
|
166
|
+
<getopt-option-next/> so downstream skills can consume the tail.
|
|
167
|
+
|
|
168
|
+
- If <head/> matches the regex `^(DONE|EDIT|IMPLEMENT|PREFLIGHT)$`:
|
|
169
|
+
Honor the pre-selected token.
|
|
170
|
+
Set <result><head/></result>.
|
|
171
|
+
|
|
172
|
+
- else:
|
|
173
|
+
Only output the following <template/> and then immediately
|
|
174
|
+
*STOP* processing the entire current skill:
|
|
175
|
+
|
|
176
|
+
<template>
|
|
177
|
+
⧉ **ASE**: ☻ skill: **ase-task-reboot**, ▶ ERROR: invalid `--next` token: **<head/>**
|
|
178
|
+
</template>
|
|
164
179
|
|
|
165
180
|
- If <getopt-option-next/> is equal to `none`:
|
|
166
181
|
Let the *user interactively choose* what to do as the next step.
|
|
@@ -168,7 +183,9 @@ explicitly requested by this procedure via outputs based on a <template/>!
|
|
|
168
183
|
<expand name="user-dialog">
|
|
169
184
|
Next Step: How would you like to proceed with the plan?
|
|
170
185
|
DONE: Stop processing.
|
|
171
|
-
EDIT: Hand
|
|
186
|
+
EDIT: Hand off plan to editing.
|
|
187
|
+
IMPLEMENT: Hand off plan to implementation.
|
|
188
|
+
PREFLIGHT: Hand off plan to pre-flighting.
|
|
172
189
|
</expand>
|
|
173
190
|
|
|
174
191
|
2. Check the tool <result/> and dispatch accordingly:
|
|
@@ -181,13 +198,46 @@ explicitly requested by this procedure via outputs based on a <template/>!
|
|
|
181
198
|
</template>
|
|
182
199
|
|
|
183
200
|
- If <result/> is `EDIT`:
|
|
201
|
+
Set <args></args> (empty).
|
|
202
|
+
<if condition="<getopt-option-next/> is not equal `none`">
|
|
203
|
+
Set <args>--next <getopt-option-next/></args> (forward
|
|
204
|
+
remaining list tokens to the downstream skill).
|
|
205
|
+
</if>
|
|
184
206
|
Only output the following <template/> and then call the
|
|
185
|
-
tool `Skill(skill: "ase:ase-task-edit")`
|
|
186
|
-
`ase:ase-task-edit` skill in order to *edit*
|
|
187
|
-
plan. Immediately stop processing the current
|
|
188
|
-
`Skill` tool was used.
|
|
207
|
+
tool `Skill(skill: "ase:ase-task-edit", args: <args/>)`
|
|
208
|
+
to invoke the `ase:ase-task-edit` skill in order to *edit*
|
|
209
|
+
the updated plan. Immediately stop processing the current
|
|
210
|
+
skill once the `Skill` tool was used.
|
|
189
211
|
|
|
190
212
|
<template>
|
|
191
213
|
⧉ **ASE**: ◉ task: **<ase-task-id/>**, ✪ plan: **<words/>** words, ▶ status: **plan updated -- hand-off to edit**
|
|
192
214
|
</template>
|
|
193
215
|
|
|
216
|
+
- If <result/> is `IMPLEMENT`:
|
|
217
|
+
Set <args></args> (empty).
|
|
218
|
+
<if condition="<getopt-option-next/> is not equal `none`">
|
|
219
|
+
Set <args>--next <getopt-option-next/></args> (forward
|
|
220
|
+
remaining list tokens to the downstream skill).
|
|
221
|
+
</if>
|
|
222
|
+
Only output the following <template/> and then call the
|
|
223
|
+
`Skill(skill: "ase:ase-task-implement", args: <args/>)` tool
|
|
224
|
+
to *apply* the plan.
|
|
225
|
+
|
|
226
|
+
<template>
|
|
227
|
+
⧉ **ASE**: ◉ task: **<ase-task-id/>**, ✪ plan: **<words/>** words, ▶ status: **plan updated -- hand-off to implementation**
|
|
228
|
+
</template>
|
|
229
|
+
|
|
230
|
+
- If <result/> is `PREFLIGHT`:
|
|
231
|
+
Set <args></args> (empty).
|
|
232
|
+
<if condition="<getopt-option-next/> is not equal `none`">
|
|
233
|
+
Set <args>--next <getopt-option-next/></args> (forward
|
|
234
|
+
remaining list tokens to the downstream skill).
|
|
235
|
+
</if>
|
|
236
|
+
Only output the following <template/> and then call the
|
|
237
|
+
`Skill(skill: "ase:ase-task-preflight", args: <args/>)` tool
|
|
238
|
+
to *apply* the plan.
|
|
239
|
+
|
|
240
|
+
<template>
|
|
241
|
+
⧉ **ASE**: ◉ task: **<ase-task-id/>**, ✪ plan: **<words/>** words, ▶ status: **plan updated -- hand-off to pre-flight**
|
|
242
|
+
</template>
|
|
243
|
+
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
`ase-task-reboot`
|
|
9
9
|
[`--help`|`-h`]
|
|
10
|
-
[`--next`|`-n` *option*]
|
|
10
|
+
[`--next`|`-n` *option*[,...]]
|
|
11
11
|
[*id*]
|
|
12
12
|
|
|
13
13
|
## DESCRIPTION
|
|
@@ -23,11 +23,18 @@ After the reboot, the user is asked whether to stop or hand off to
|
|
|
23
23
|
|
|
24
24
|
## OPTIONS
|
|
25
25
|
|
|
26
|
-
`--next`|`-n` *option
|
|
27
|
-
Automatically answer the user dialog for the next step
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
`
|
|
26
|
+
`--next`|`-n` *option*[,...]:
|
|
27
|
+
Automatically answer the user dialog for the next step. *option*
|
|
28
|
+
is a single token or a *comma-separated chronological list* of
|
|
29
|
+
tokens; the *first* token is consumed by this skill, and any
|
|
30
|
+
remaining tokens are *forwarded* (via `--next`) to the downstream
|
|
31
|
+
skill so an entire pipeline can be pre-scripted in one shot.
|
|
32
|
+
Recognized tokens at this skill: `none` (default, interactive
|
|
33
|
+
answer required), `DONE` (stop), `EDIT` (hand off to
|
|
34
|
+
`ase-task-edit`), `IMPLEMENT` (hand off to `ase-task-implement`),
|
|
35
|
+
or `PREFLIGHT` (hand off to `ase-task-preflight`). Example: `--next
|
|
36
|
+
EDIT,DONE` reboots, hands off to editing, and the editing loop will
|
|
37
|
+
exit immediately.
|
|
31
38
|
|
|
32
39
|
## ARGUMENTS
|
|
33
40
|
|
|
File without changes
|