@rse/ase 0.0.56 → 0.0.58
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 +1 -0
- package/plugin/meta/ase-constitution.md +2 -1
- package/plugin/meta/ase-getopt.md +24 -10
- package/plugin/meta/ase-skill.md +24 -7
- package/plugin/package.json +1 -1
- package/plugin/skills/ase-arch-analyze/SKILL.md +3 -10
- package/plugin/skills/ase-arch-analyze/help.md +50 -0
- package/plugin/skills/ase-arch-discover/SKILL.md +1 -9
- package/plugin/skills/ase-arch-discover/help.md +48 -0
- package/plugin/skills/ase-code-analyze/SKILL.md +1 -9
- package/plugin/skills/ase-code-analyze/help.md +47 -0
- package/plugin/skills/ase-code-craft/SKILL.md +36 -14
- package/plugin/skills/ase-code-craft/help.md +74 -0
- package/plugin/skills/ase-code-explain/SKILL.md +1 -9
- package/plugin/skills/ase-code-explain/help.md +43 -0
- package/plugin/skills/ase-code-insight/SKILL.md +1 -9
- package/plugin/skills/ase-code-insight/help.md +43 -0
- package/plugin/skills/ase-code-lint/SKILL.md +1 -9
- package/plugin/skills/ase-code-lint/help.md +54 -0
- package/plugin/skills/ase-code-refactor/SKILL.md +36 -14
- package/plugin/skills/ase-code-refactor/help.md +74 -0
- package/plugin/skills/ase-code-resolve/SKILL.md +36 -14
- package/plugin/skills/ase-code-resolve/help.md +81 -0
- package/plugin/skills/ase-docs-proofread/SKILL.md +3 -12
- package/plugin/skills/ase-docs-proofread/help.md +54 -0
- package/plugin/skills/ase-meta-changes/SKILL.md +1 -9
- package/plugin/skills/ase-meta-changes/help.md +33 -0
- package/plugin/skills/ase-meta-chat/SKILL.md +1 -8
- package/plugin/skills/ase-meta-chat/help.md +45 -0
- package/plugin/skills/ase-meta-commit/SKILL.md +1 -8
- package/plugin/skills/ase-meta-commit/help.md +31 -0
- package/plugin/skills/ase-meta-evaluate/SKILL.md +1 -9
- package/plugin/skills/ase-meta-evaluate/help.md +52 -0
- package/plugin/skills/ase-meta-persona/SKILL.md +8 -2
- package/plugin/skills/ase-meta-persona/help.md +50 -0
- package/plugin/skills/ase-meta-quorum/SKILL.md +1 -8
- package/plugin/skills/ase-meta-quorum/help.md +41 -0
- package/plugin/skills/ase-meta-search/SKILL.md +1 -8
- package/plugin/skills/ase-meta-search/help.md +39 -0
- package/plugin/skills/ase-meta-why/SKILL.md +1 -8
- package/plugin/skills/ase-meta-why/help.md +39 -0
- package/plugin/skills/ase-task-delete/SKILL.md +3 -7
- package/plugin/skills/ase-task-delete/help.md +47 -0
- package/plugin/skills/ase-task-edit/SKILL.md +52 -70
- package/plugin/skills/ase-task-edit/help.md +84 -0
- package/plugin/skills/ase-task-id/SKILL.md +5 -4
- package/plugin/skills/ase-task-id/help.md +42 -0
- package/plugin/skills/ase-task-implement/SKILL.md +13 -9
- package/plugin/skills/ase-task-implement/help.md +63 -0
- package/plugin/skills/ase-task-list/SKILL.md +5 -4
- package/plugin/skills/ase-task-list/help.md +43 -0
- package/plugin/skills/ase-task-preflight/SKILL.md +3 -9
- package/plugin/skills/ase-task-preflight/help.md +58 -0
- package/plugin/skills/ase-task-reboot/SKILL.md +3 -9
- package/plugin/skills/ase-task-reboot/help.md +55 -0
- package/plugin/skills/ase-task-rename/SKILL.md +3 -8
- package/plugin/skills/ase-task-rename/help.md +44 -0
- package/plugin/skills/ase-task-view/SKILL.md +3 -7
- package/plugin/skills/ase-task-view/help.md +43 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
|
|
2
|
+
## NAME
|
|
3
|
+
|
|
4
|
+
`ase-code-insight` - Project Insight
|
|
5
|
+
|
|
6
|
+
## SYNOPSIS
|
|
7
|
+
|
|
8
|
+
`ase-code-insight`
|
|
9
|
+
[`--help`|`-h`]
|
|
10
|
+
*code-references*
|
|
11
|
+
|
|
12
|
+
## DESCRIPTION
|
|
13
|
+
|
|
14
|
+
The `ase-code-insight` skill gives high-level *insights* into the
|
|
15
|
+
project through the referenced source code. The skill produces four
|
|
16
|
+
sections: a *PROJECT ABSTRACT* (summary derived from `README.*` or
|
|
17
|
+
source scanning), a *PROJECT AUTHOR* list (from `git shortlog`),
|
|
18
|
+
a *SOURCE CHURN* table (most-committed files in the last year), and
|
|
19
|
+
a *MODULE STRUCTURE* Mermaid diagram of modules and their imports.
|
|
20
|
+
|
|
21
|
+
## ARGUMENTS
|
|
22
|
+
|
|
23
|
+
*code-references*:
|
|
24
|
+
One or more file or directory references to source code that
|
|
25
|
+
should be inspected for insights.
|
|
26
|
+
|
|
27
|
+
## EXAMPLES
|
|
28
|
+
|
|
29
|
+
Get insights into the current project:
|
|
30
|
+
|
|
31
|
+
```text
|
|
32
|
+
❯ /ase-code-insight src/
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Get insights into a specific subsystem:
|
|
36
|
+
|
|
37
|
+
```text
|
|
38
|
+
❯ /ase-code-insight tool/src/
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## SEE ALSO
|
|
42
|
+
|
|
43
|
+
`ase-code-explain`, `ase-code-analyze`, `ase-arch-analyze`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ase-code-lint
|
|
3
|
-
argument-hint: "<source-reference>"
|
|
3
|
+
argument-hint: "[--help|-h] [--auto|-a] <source-reference>"
|
|
4
4
|
description: >
|
|
5
5
|
Lint source code for potential code quality problems.
|
|
6
6
|
Use when the user wants to "lint" or "check" source code.
|
|
@@ -14,9 +14,6 @@ effort: high
|
|
|
14
14
|
@${CLAUDE_SKILL_DIR}/../../meta/ase-dialog.md
|
|
15
15
|
@${CLAUDE_SKILL_DIR}/../../meta/ase-getopt.md
|
|
16
16
|
|
|
17
|
-
Lint Source Code
|
|
18
|
-
================
|
|
19
|
-
|
|
20
17
|
<skill name="ase-code-lint">
|
|
21
18
|
Lint Source Code
|
|
22
19
|
</skill>
|
|
@@ -27,11 +24,6 @@ Lint Source Code
|
|
|
27
24
|
$ARGUMENTS
|
|
28
25
|
</expand>
|
|
29
26
|
|
|
30
|
-
<role>
|
|
31
|
-
Your role is an experienced, *expert-level software developer*,
|
|
32
|
-
specialized in *analyzing source code*.
|
|
33
|
-
</role>
|
|
34
|
-
|
|
35
27
|
<objective>
|
|
36
28
|
*Analyze* the code of `<getopt-arguments/>` for *potential problems*
|
|
37
29
|
related to a set of code quality aspects.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
|
|
2
|
+
## NAME
|
|
3
|
+
|
|
4
|
+
`ase-code-lint` - Lint Source Code
|
|
5
|
+
|
|
6
|
+
## SYNOPSIS
|
|
7
|
+
|
|
8
|
+
`ase-code-lint`
|
|
9
|
+
[`--help`|`-h`]
|
|
10
|
+
[`--auto`|`-a`]
|
|
11
|
+
*source-reference*
|
|
12
|
+
|
|
13
|
+
## DESCRIPTION
|
|
14
|
+
|
|
15
|
+
The `ase-code-lint` skill lints the source code of the referenced
|
|
16
|
+
location for *potential code quality problems* related to a fixed set
|
|
17
|
+
of code quality aspects. The investigation is dispatched to a
|
|
18
|
+
sub-agent (`ase:ase-code-lint`) so that scanning details do not leak
|
|
19
|
+
into the user-visible transcript.
|
|
20
|
+
|
|
21
|
+
For each detected problem, the skill renders a unified-diff *SOLUTION*
|
|
22
|
+
preview and either asks the user to `ACCEPT` or `REJECT` the proposed
|
|
23
|
+
correction interactively or — with `--auto` — applies all corrections
|
|
24
|
+
automatically.
|
|
25
|
+
|
|
26
|
+
## OPTIONS
|
|
27
|
+
|
|
28
|
+
`--auto`|`-a`:
|
|
29
|
+
Automatically apply every proposed correction without asking the
|
|
30
|
+
user via the interactive dialog.
|
|
31
|
+
|
|
32
|
+
## ARGUMENTS
|
|
33
|
+
|
|
34
|
+
*source-reference*:
|
|
35
|
+
A file, directory, or other reference to the source code to lint.
|
|
36
|
+
|
|
37
|
+
## EXAMPLES
|
|
38
|
+
|
|
39
|
+
Lint a source file interactively:
|
|
40
|
+
|
|
41
|
+
```text
|
|
42
|
+
❯ /ase-code-lint src/server.ts
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Lint a directory and automatically apply all corrections:
|
|
46
|
+
|
|
47
|
+
```text
|
|
48
|
+
❯ /ase-code-lint --auto src/handlers/
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## SEE ALSO
|
|
52
|
+
|
|
53
|
+
`ase-code-analyze`, `ase-code-resolve`, `ase-code-refactor`,
|
|
54
|
+
`ase-docs-proofread`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ase-code-refactor
|
|
3
|
-
argument-hint: "[<task-id>:] <request>"
|
|
3
|
+
argument-hint: "[--help|-h] [--auto|-a] [--dry|-d] [--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.
|
|
@@ -17,23 +17,16 @@ allowed-tools:
|
|
|
17
17
|
@${CLAUDE_SKILL_DIR}/../../meta/ase-dialog.md
|
|
18
18
|
@${CLAUDE_SKILL_DIR}/../../meta/ase-getopt.md
|
|
19
19
|
|
|
20
|
-
Refactor Artifacts
|
|
21
|
-
==================
|
|
22
|
-
|
|
23
20
|
<skill name="ase-code-refactor">
|
|
24
21
|
Refactor Artifacts
|
|
25
22
|
</skill>
|
|
26
23
|
|
|
27
24
|
<expand name="getopt"
|
|
28
25
|
arg1="ase-code-refactor"
|
|
29
|
-
arg2="--auto|-a --next|-n=(none|DONE|EDIT|PREFLIGHT|IMPLEMENT)">
|
|
26
|
+
arg2="--auto|-a --dry|-d --next|-n=(none|DONE|EDIT|PREFLIGHT|IMPLEMENT)">
|
|
30
27
|
$ARGUMENTS
|
|
31
28
|
</expand>
|
|
32
29
|
|
|
33
|
-
<role>
|
|
34
|
-
Your role is an experienced, *expert-level software developer*.
|
|
35
|
-
</role>
|
|
36
|
-
|
|
37
30
|
<objective>
|
|
38
31
|
*Refactor* existing artifacts the following way:
|
|
39
32
|
<request><getopt-arguments/></request>
|
|
@@ -259,6 +252,18 @@ permitted way to persist artifacts is via `ase_task_save(...)`.
|
|
|
259
252
|
the information from refactoring A<n/> and all derived realization
|
|
260
253
|
decisions into it. Store the resulting task plan in <content/>.
|
|
261
254
|
|
|
255
|
+
If a `CHANGELOG.md` file exists in the project (or in any
|
|
256
|
+
affected sub-package), the plan *MUST* include, as part of its
|
|
257
|
+
`## ※ CHANGES` section, an explicit bullet point describing
|
|
258
|
+
the addition of a corresponding new entry to that `CHANGELOG.md`
|
|
259
|
+
file, aligned with its existing style and conventions.
|
|
260
|
+
|
|
261
|
+
<if condition="<getopt-option-dry/> is equal `true`">
|
|
262
|
+
You *MUST* completely omit the `## ※ VERIFICATION` section
|
|
263
|
+
(including its heading and all of its bullet points) from
|
|
264
|
+
<content/>.
|
|
265
|
+
</if>
|
|
266
|
+
|
|
262
267
|
You *MUST* *NOT* call `Edit`, `Write`, `NotebookEdit`, or any
|
|
263
268
|
filesystem-modifying tool during this step.
|
|
264
269
|
|
|
@@ -278,9 +283,26 @@ permitted way to persist artifacts is via `ase_task_save(...)`.
|
|
|
278
283
|
⧉ **ASE**: ◉ task: **<ase-task-id/>**, ✪ plan: **<words/>** words, ▶ status: **plan created**
|
|
279
284
|
</template>
|
|
280
285
|
|
|
281
|
-
5. Directly pass-through control to the
|
|
282
|
-
|
|
283
|
-
is
|
|
284
|
-
|
|
285
|
-
|
|
286
|
+
5. Directly pass-through control to the next skill:
|
|
287
|
+
|
|
288
|
+
1. <if condition="<getopt-option-next/> is equal `IMPLEMENT`">
|
|
289
|
+
Call the tool `Skill(skill: "ase:ase-task-implement")` to
|
|
290
|
+
*implement* the freshly composed plan, bypassing `ase-task-edit`.
|
|
291
|
+
</if>
|
|
292
|
+
|
|
293
|
+
2. <if condition="<getopt-option-next/> is equal `PREFLIGHT`">
|
|
294
|
+
Call the tool `Skill(skill: "ase:ase-task-preflight")` to
|
|
295
|
+
*preflight* the freshly composed plan, bypassing `ase-task-edit`.
|
|
296
|
+
</if>
|
|
297
|
+
|
|
298
|
+
3. <if condition="
|
|
299
|
+
<getopt-option-next/> is not equal `IMPLEMENT` AND
|
|
300
|
+
<getopt-option-next/> is not equal `PREFLIGHT`
|
|
301
|
+
">
|
|
302
|
+
Set <args></args> (set args to empty).
|
|
303
|
+
<if condition="<getopt-option-next/> is not equal `none`">
|
|
304
|
+
Set <args><args/> --next <getopt-option-next/></args> (append to args).
|
|
305
|
+
</if>
|
|
306
|
+
Then call the tool `Skill(skill: "ase:ase-task-edit", args: <args/>)`.
|
|
307
|
+
</if>
|
|
286
308
|
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
|
|
2
|
+
## NAME
|
|
3
|
+
|
|
4
|
+
`ase-code-refactor` - Refactor Artifacts
|
|
5
|
+
|
|
6
|
+
## SYNOPSIS
|
|
7
|
+
|
|
8
|
+
`ase-code-refactor`
|
|
9
|
+
[`--help`|`-h`]
|
|
10
|
+
[`--auto`|`-a`]
|
|
11
|
+
[`--dry`|`-d`]
|
|
12
|
+
[`--next`|`-n` *option*]
|
|
13
|
+
[*task-id*:] *request*
|
|
14
|
+
|
|
15
|
+
## DESCRIPTION
|
|
16
|
+
|
|
17
|
+
The `ase-code-refactor` skill refactors existing artifacts by
|
|
18
|
+
investigating the related code, internalizing refactoring tenets
|
|
19
|
+
(Behavior Preservation, Boy Scout Rule, DRY, SRP, loose coupling,
|
|
20
|
+
clear interfaces, ...), proposing one or more *refactoring approaches*
|
|
21
|
+
with pros and cons, letting the user pick the preferred approach,
|
|
22
|
+
and composing a corresponding *task plan*.
|
|
23
|
+
|
|
24
|
+
The skill does *not* directly modify source files. It persists the
|
|
25
|
+
plan via `ase_task_save` and then hands off to `ase-task-edit`,
|
|
26
|
+
`ase-task-preflight`, or `ase-task-implement`, as selected by
|
|
27
|
+
`--next`.
|
|
28
|
+
|
|
29
|
+
## OPTIONS
|
|
30
|
+
|
|
31
|
+
`--auto`|`-a`:
|
|
32
|
+
Automatically pick the recommended refactoring approach without
|
|
33
|
+
asking the user via the interactive dialog.
|
|
34
|
+
|
|
35
|
+
`--dry`|`-d`:
|
|
36
|
+
Compose the plan *without* the `※ VERIFICATION` section. When
|
|
37
|
+
`ase-task-implement` later applies such a plan, it strictly skips
|
|
38
|
+
the entire verification phase (no build, tests, linter,
|
|
39
|
+
type-checker, or program execution) once the source files have
|
|
40
|
+
been modified.
|
|
41
|
+
|
|
42
|
+
`--next`|`-n` *option*:
|
|
43
|
+
Automatically choose the next step after composing the plan,
|
|
44
|
+
where *option* is either `none` (default, hand-off to
|
|
45
|
+
`ase-task-edit` interactively), `DONE` (stop), `EDIT` (hand off
|
|
46
|
+
to `ase-task-edit`), `PREFLIGHT` (hand off to
|
|
47
|
+
`ase-task-preflight`), or `IMPLEMENT` (hand off to
|
|
48
|
+
`ase-task-implement`).
|
|
49
|
+
|
|
50
|
+
## ARGUMENTS
|
|
51
|
+
|
|
52
|
+
[*task-id*:] *request*:
|
|
53
|
+
Description of the refactoring *request*. Optionally prefixed
|
|
54
|
+
with a *task-id* followed by a colon to bind the resulting plan
|
|
55
|
+
to a specific task id.
|
|
56
|
+
|
|
57
|
+
## EXAMPLES
|
|
58
|
+
|
|
59
|
+
Refactor a module into smaller files:
|
|
60
|
+
|
|
61
|
+
```text
|
|
62
|
+
❯ /ase-code-refactor split src/handlers.ts into per-route modules
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Refactor under a named task and directly hand off to implementation:
|
|
66
|
+
|
|
67
|
+
```text
|
|
68
|
+
❯ /ase-code-refactor --next IMPLEMENT cleanup: extract HTTP client into its own class
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## SEE ALSO
|
|
72
|
+
|
|
73
|
+
`ase-code-craft`, `ase-code-resolve`, `ase-task-edit`,
|
|
74
|
+
`ase-task-preflight`, `ase-task-implement`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ase-code-resolve
|
|
3
|
-
argument-hint: "[<task-id>:] <problem>"
|
|
3
|
+
argument-hint: "[--help|-h] [--auto|-a] [--dry|-d] [--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.
|
|
@@ -17,23 +17,16 @@ allowed-tools:
|
|
|
17
17
|
@${CLAUDE_SKILL_DIR}/../../meta/ase-dialog.md
|
|
18
18
|
@${CLAUDE_SKILL_DIR}/../../meta/ase-getopt.md
|
|
19
19
|
|
|
20
|
-
Resolve Problem
|
|
21
|
-
===============
|
|
22
|
-
|
|
23
20
|
<skill name="ase-code-resolve">
|
|
24
21
|
Resolve Problem
|
|
25
22
|
</skill>
|
|
26
23
|
|
|
27
24
|
<expand name="getopt"
|
|
28
25
|
arg1="ase-code-resolve"
|
|
29
|
-
arg2="--auto|-a --next|-n=(none|DONE|EDIT|PREFLIGHT|IMPLEMENT)">
|
|
26
|
+
arg2="--auto|-a --dry|-d --next|-n=(none|DONE|EDIT|PREFLIGHT|IMPLEMENT)">
|
|
30
27
|
$ARGUMENTS
|
|
31
28
|
</expand>
|
|
32
29
|
|
|
33
|
-
<role>
|
|
34
|
-
Your role is an experienced, *expert-level software developer*.
|
|
35
|
-
</role>
|
|
36
|
-
|
|
37
30
|
<objective>
|
|
38
31
|
*Resolve* the following problem:
|
|
39
32
|
<problem><getopt-arguments/></problem>
|
|
@@ -307,6 +300,18 @@ permitted way to persist artifacts is via `ase_task_save(...)`.
|
|
|
307
300
|
the success of the resolution, by using the <format/> defined for a
|
|
308
301
|
task plan. Store the resulting task plan in <content/>.
|
|
309
302
|
|
|
303
|
+
If a `CHANGELOG.md` file exists in the project (or in any
|
|
304
|
+
affected sub-package), the plan *MUST* include, as part of its
|
|
305
|
+
`## ※ CHANGES` section, an explicit bullet point describing
|
|
306
|
+
the addition of a corresponding new entry to that `CHANGELOG.md`
|
|
307
|
+
file, aligned with its existing style and conventions.
|
|
308
|
+
|
|
309
|
+
<if condition="<getopt-option-dry/> is equal `true`">
|
|
310
|
+
You *MUST* completely omit the `## ※ VERIFICATION` section
|
|
311
|
+
(including its heading and all of its bullet points) from
|
|
312
|
+
<content/>.
|
|
313
|
+
</if>
|
|
314
|
+
|
|
310
315
|
You *MUST* *NOT* call `Edit`, `Write`, `NotebookEdit`, or any
|
|
311
316
|
filesystem-modifying tool during this step.
|
|
312
317
|
|
|
@@ -333,9 +338,26 @@ permitted way to persist artifacts is via `ase_task_save(...)`.
|
|
|
333
338
|
⧉ **ASE**: ◉ task: **<ase-task-id/>**, ✪ plan: **<words/>** words, ▶ status: **plan created**
|
|
334
339
|
</template>
|
|
335
340
|
|
|
336
|
-
6. Directly pass-through control to the
|
|
337
|
-
|
|
338
|
-
is
|
|
339
|
-
|
|
340
|
-
|
|
341
|
+
6. Directly pass-through control to the next skill:
|
|
342
|
+
|
|
343
|
+
1. <if condition="<getopt-option-next/> is equal `IMPLEMENT`">
|
|
344
|
+
Call the tool `Skill(skill: "ase:ase-task-implement")` to
|
|
345
|
+
*implement* the freshly composed plan, bypassing `ase-task-edit`.
|
|
346
|
+
</if>
|
|
347
|
+
|
|
348
|
+
2. <if condition="<getopt-option-next/> is equal `PREFLIGHT`">
|
|
349
|
+
Call the tool `Skill(skill: "ase:ase-task-preflight")` to
|
|
350
|
+
*preflight* the freshly composed plan, bypassing `ase-task-edit`.
|
|
351
|
+
</if>
|
|
352
|
+
|
|
353
|
+
3. <if condition="
|
|
354
|
+
<getopt-option-next/> is not equal `IMPLEMENT` AND
|
|
355
|
+
<getopt-option-next/> is not equal `PREFLIGHT`
|
|
356
|
+
">
|
|
357
|
+
Set <args></args> (set args to empty).
|
|
358
|
+
<if condition="<getopt-option-next/> is not equal `none`">
|
|
359
|
+
Set <args><args/> --next <getopt-option-next/></args> (append to args).
|
|
360
|
+
</if>
|
|
361
|
+
Then call the tool `Skill(skill: "ase:ase-task-edit", args: <args/>)`.
|
|
362
|
+
</if>
|
|
341
363
|
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
|
|
2
|
+
## NAME
|
|
3
|
+
|
|
4
|
+
`ase-code-resolve` - Resolve Problem
|
|
5
|
+
|
|
6
|
+
## SYNOPSIS
|
|
7
|
+
|
|
8
|
+
`ase-code-resolve`
|
|
9
|
+
[`--help`|`-h`]
|
|
10
|
+
[`--auto`|`-a`]
|
|
11
|
+
[`--dry`|`-d`]
|
|
12
|
+
[`--next`|`-n` *option*]
|
|
13
|
+
[*task-id*:] *problem*
|
|
14
|
+
|
|
15
|
+
## DESCRIPTION
|
|
16
|
+
|
|
17
|
+
The `ase-code-resolve` skill resolves a *bug* or *problem* by
|
|
18
|
+
investigating the related code, internalizing resolution tenets
|
|
19
|
+
(Surgical Changes, No Cleanups, Minimum Flags, Code Adequacy, Origin
|
|
20
|
+
Proximity, ...), proposing one or more *resolution approaches* with
|
|
21
|
+
pros and cons, letting the user pick the preferred approach, and
|
|
22
|
+
composing a corresponding *task plan*.
|
|
23
|
+
|
|
24
|
+
The *problem* may also be given as a bare issue identifier (e.g. `P1`
|
|
25
|
+
or `T1`) previously produced by `ase-code-analyze` or
|
|
26
|
+
`ase-arch-analyze` and persisted in the `ase` MCP key/value store
|
|
27
|
+
under `ase-issue-<id>`.
|
|
28
|
+
|
|
29
|
+
The skill does *not* directly modify source files. It persists the
|
|
30
|
+
plan via `ase_task_save` and then hands off to `ase-task-edit`,
|
|
31
|
+
`ase-task-preflight`, or `ase-task-implement`, as selected by
|
|
32
|
+
`--next`.
|
|
33
|
+
|
|
34
|
+
## OPTIONS
|
|
35
|
+
|
|
36
|
+
`--auto`|`-a`:
|
|
37
|
+
Automatically pick the recommended resolution approach without
|
|
38
|
+
asking the user via the interactive dialog.
|
|
39
|
+
|
|
40
|
+
`--dry`|`-d`:
|
|
41
|
+
Compose the plan *without* the `※ VERIFICATION` section. When
|
|
42
|
+
`ase-task-implement` later applies such a plan, it strictly skips
|
|
43
|
+
the entire verification phase (no build, tests, linter,
|
|
44
|
+
type-checker, or program execution) once the source files have
|
|
45
|
+
been modified.
|
|
46
|
+
|
|
47
|
+
`--next`|`-n` *option*:
|
|
48
|
+
Automatically choose the next step after composing the plan,
|
|
49
|
+
where *option* is either `none` (default, hand-off to
|
|
50
|
+
`ase-task-edit` interactively), `DONE` (stop), `EDIT` (hand off
|
|
51
|
+
to `ase-task-edit`), `PREFLIGHT` (hand off to
|
|
52
|
+
`ase-task-preflight`), or `IMPLEMENT` (hand off to
|
|
53
|
+
`ase-task-implement`).
|
|
54
|
+
|
|
55
|
+
## ARGUMENTS
|
|
56
|
+
|
|
57
|
+
[*task-id*:] *problem*:
|
|
58
|
+
Description of the *problem* to resolve, or a bare issue
|
|
59
|
+
identifier like `P1` or `T1` previously produced by an analyzer
|
|
60
|
+
skill. Optionally prefixed with a *task-id* followed by a colon
|
|
61
|
+
to bind the resulting plan to a specific task id.
|
|
62
|
+
|
|
63
|
+
## EXAMPLES
|
|
64
|
+
|
|
65
|
+
Resolve a free-text problem:
|
|
66
|
+
|
|
67
|
+
```text
|
|
68
|
+
❯ /ase-code-resolve fix race condition in cache invalidation
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Resolve a previously analyzed issue and hand off to implementation:
|
|
72
|
+
|
|
73
|
+
```text
|
|
74
|
+
❯ /ase-code-resolve --next IMPLEMENT P1
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
## SEE ALSO
|
|
78
|
+
|
|
79
|
+
`ase-code-craft`, `ase-code-refactor`, `ase-code-analyze`,
|
|
80
|
+
`ase-arch-analyze`, `ase-task-edit`, `ase-task-preflight`,
|
|
81
|
+
`ase-task-implement`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ase-docs-proofread
|
|
3
|
-
argument-hint: "<docs-reference>"
|
|
3
|
+
argument-hint: "[--help|-h] [--auto|-a] <docs-reference>"
|
|
4
4
|
description: >
|
|
5
5
|
Analyze the documents for spelling, punctuation, or grammar errors.
|
|
6
6
|
Use when the user wants to "proofread" or "spellcheck" a document.
|
|
@@ -14,11 +14,8 @@ effort: high
|
|
|
14
14
|
@${CLAUDE_SKILL_DIR}/../../meta/ase-dialog.md
|
|
15
15
|
@${CLAUDE_SKILL_DIR}/../../meta/ase-getopt.md
|
|
16
16
|
|
|
17
|
-
Proofread Documentation
|
|
18
|
-
=======================
|
|
19
|
-
|
|
20
17
|
<skill name="ase-docs-proofread">
|
|
21
|
-
Analyze
|
|
18
|
+
Analyze documents for spelling, punctuation, or grammar errors
|
|
22
19
|
</skill>
|
|
23
20
|
|
|
24
21
|
<expand name="getopt"
|
|
@@ -27,14 +24,8 @@ Analyze the documents for spelling, punctuation, or grammar errors.
|
|
|
27
24
|
$ARGUMENTS
|
|
28
25
|
</expand>
|
|
29
26
|
|
|
30
|
-
<role>
|
|
31
|
-
Your role is an experienced, *expert-level proofreader*, specialized in
|
|
32
|
-
checking and correcting the *spelling*, *punctuation* and *grammar* of
|
|
33
|
-
documents.
|
|
34
|
-
</role>
|
|
35
|
-
|
|
36
27
|
<objective>
|
|
37
|
-
*
|
|
28
|
+
*Proofread* the documents of `<getopt-arguments/>` for problems in their
|
|
38
29
|
*spelling*, *punctuation*, or *grammar* and propose corrections.
|
|
39
30
|
</objective>
|
|
40
31
|
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
|
|
2
|
+
## NAME
|
|
3
|
+
|
|
4
|
+
`ase-docs-proofread` - Proofread Documents
|
|
5
|
+
|
|
6
|
+
## SYNOPSIS
|
|
7
|
+
|
|
8
|
+
`ase-docs-proofread`
|
|
9
|
+
[`--help`|`-h`]
|
|
10
|
+
[`--auto`|`-a`]
|
|
11
|
+
*docs-reference*
|
|
12
|
+
|
|
13
|
+
## DESCRIPTION
|
|
14
|
+
|
|
15
|
+
The `ase-docs-proofread` skill analyzes the referenced documents for
|
|
16
|
+
*spelling*, *punctuation*, and *grammar* errors and proposes
|
|
17
|
+
corrections. The investigation is dispatched to a sub-agent
|
|
18
|
+
(`ase:ase-docs-proofread`) so that scanning details do not leak into
|
|
19
|
+
the user-visible transcript.
|
|
20
|
+
|
|
21
|
+
For each detected problem, the skill renders a unified-diff
|
|
22
|
+
*CORRECTION* preview and either asks the user to `ACCEPT` or `REJECT`
|
|
23
|
+
the proposed correction interactively or — with `--auto` — applies
|
|
24
|
+
all corrections automatically.
|
|
25
|
+
|
|
26
|
+
## OPTIONS
|
|
27
|
+
|
|
28
|
+
`--auto`|`-a`:
|
|
29
|
+
Automatically apply every proposed correction without asking the
|
|
30
|
+
user via the interactive dialog.
|
|
31
|
+
|
|
32
|
+
## ARGUMENTS
|
|
33
|
+
|
|
34
|
+
*docs-reference*:
|
|
35
|
+
A file, directory, or other reference to the documents to
|
|
36
|
+
proofread.
|
|
37
|
+
|
|
38
|
+
## EXAMPLES
|
|
39
|
+
|
|
40
|
+
Proofread a single document interactively:
|
|
41
|
+
|
|
42
|
+
```text
|
|
43
|
+
❯ /ase-docs-proofread README.md
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Proofread an entire documentation directory automatically:
|
|
47
|
+
|
|
48
|
+
```text
|
|
49
|
+
❯ /ase-docs-proofread --auto docs/
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## SEE ALSO
|
|
53
|
+
|
|
54
|
+
`ase-code-lint`, `ase-meta-changes`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ase-meta-changes
|
|
3
|
-
argument-hint: ""
|
|
3
|
+
argument-hint: "[--help|-h]"
|
|
4
4
|
description: >
|
|
5
5
|
Update changes entries in CHANGELOG.md files
|
|
6
6
|
user-invocable: true
|
|
@@ -17,18 +17,10 @@ allowed-tools:
|
|
|
17
17
|
@${CLAUDE_SKILL_DIR}/../../meta/ase-control.md
|
|
18
18
|
@${CLAUDE_SKILL_DIR}/../../meta/ase-skill.md
|
|
19
19
|
|
|
20
|
-
Update ChangeLog Entries
|
|
21
|
-
========================
|
|
22
|
-
|
|
23
20
|
<skill name="ase-meta-changes">
|
|
24
21
|
Update ChangeLog Entries
|
|
25
22
|
</skill>
|
|
26
23
|
|
|
27
|
-
<role>
|
|
28
|
-
Your role is an experienced, *expert-level software developer*,
|
|
29
|
-
specialized in *Git version control*.
|
|
30
|
-
</role>
|
|
31
|
-
|
|
32
24
|
<objective>
|
|
33
25
|
Help to complete, consolidate and sort *ChangeLog* entries of the most
|
|
34
26
|
recent *ChangeLog* section, based on underlying *Git* commits and staged
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
|
|
2
|
+
## NAME
|
|
3
|
+
|
|
4
|
+
`ase-meta-changes` - Update ChangeLog Entries
|
|
5
|
+
|
|
6
|
+
## SYNOPSIS
|
|
7
|
+
|
|
8
|
+
`ase-meta-changes`
|
|
9
|
+
[`--help`|`-h`]
|
|
10
|
+
|
|
11
|
+
## DESCRIPTION
|
|
12
|
+
|
|
13
|
+
The `ase-meta-changes` skill helps to *complete*, *consolidate*, and
|
|
14
|
+
*sort* the entries of the most recent section of a `CHANGELOG.md`
|
|
15
|
+
file, based on the underlying *Git* commits and the currently staged
|
|
16
|
+
changes in the Git *index*.
|
|
17
|
+
|
|
18
|
+
Each entry is formatted as `<prefix>: <summary>` where *prefix* is
|
|
19
|
+
one of `FEATURE`, `IMPROVEMENT`, `BUGFIX`, `UPDATE`, `CLEANUP`, or
|
|
20
|
+
`REFACTOR`. Entries are grouped and sorted by this prefix. The
|
|
21
|
+
date in the section header is also updated to the current date.
|
|
22
|
+
|
|
23
|
+
## EXAMPLES
|
|
24
|
+
|
|
25
|
+
Update the most recent ChangeLog section:
|
|
26
|
+
|
|
27
|
+
```text
|
|
28
|
+
❯ /ase-meta-changes
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## SEE ALSO
|
|
32
|
+
|
|
33
|
+
`ase-meta-commit`, `ase-docs-proofread`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ase-meta-chat
|
|
3
|
-
argument-hint: "<llm> <query>"
|
|
3
|
+
argument-hint: "[--help|-h] <llm> <query>"
|
|
4
4
|
description: >
|
|
5
5
|
Query foreign LLM for chat.
|
|
6
6
|
Use this skill if a foreign LLM like OpenAI ChatGPT, Google Gemini,
|
|
@@ -15,17 +15,10 @@ allowed-tools:
|
|
|
15
15
|
@${CLAUDE_SKILL_DIR}/../../meta/ase-control.md
|
|
16
16
|
@${CLAUDE_SKILL_DIR}/../../meta/ase-skill.md
|
|
17
17
|
|
|
18
|
-
Query Foreign LLM for Chat
|
|
19
|
-
==========================
|
|
20
|
-
|
|
21
18
|
<skill name="ase-meta-chat">
|
|
22
19
|
Query Foreign LLM for Chat
|
|
23
20
|
</skill>
|
|
24
21
|
|
|
25
|
-
<role>
|
|
26
|
-
Your role is to act as a proxy to query a foreign LLM for a single chat message.
|
|
27
|
-
</role>
|
|
28
|
-
|
|
29
22
|
<objective>
|
|
30
23
|
Query foreign LLM for: <query>$ARGUMENTS</query>
|
|
31
24
|
</objective>
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
|
|
2
|
+
## NAME
|
|
3
|
+
|
|
4
|
+
`ase-meta-chat` - Query Foreign LLM for Chat
|
|
5
|
+
|
|
6
|
+
## SYNOPSIS
|
|
7
|
+
|
|
8
|
+
`ase-meta-chat`
|
|
9
|
+
[`--help`|`-h`]
|
|
10
|
+
*llm* *query*
|
|
11
|
+
|
|
12
|
+
## DESCRIPTION
|
|
13
|
+
|
|
14
|
+
The `ase-meta-chat` skill queries a *foreign LLM* (such as OpenAI
|
|
15
|
+
ChatGPT, Google Gemini, DeepSeek, xAI Grok, Z.AI GLM, or Alibaba
|
|
16
|
+
Qwen) with a single chat message. The underlying `ase:ase-meta-chat`
|
|
17
|
+
sub-agent is invoked and its plain response is shown back verbatim
|
|
18
|
+
without any further interpretation.
|
|
19
|
+
|
|
20
|
+
## ARGUMENTS
|
|
21
|
+
|
|
22
|
+
*llm*:
|
|
23
|
+
Identifier of the foreign LLM to query, e.g. `chatgpt`,
|
|
24
|
+
`gemini`, `deepseek`, `grok`, `glm`, or `qwen`.
|
|
25
|
+
|
|
26
|
+
*query*:
|
|
27
|
+
The chat message to send to the foreign LLM.
|
|
28
|
+
|
|
29
|
+
## EXAMPLES
|
|
30
|
+
|
|
31
|
+
Ask ChatGPT a quick question:
|
|
32
|
+
|
|
33
|
+
```text
|
|
34
|
+
❯ /ase-meta-chat chatgpt What is the best way to handle UTF-8 BOMs in JSON?
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Ask Gemini for a brief comparison:
|
|
38
|
+
|
|
39
|
+
```text
|
|
40
|
+
❯ /ase-meta-chat gemini Compare gRPC and REST in one paragraph.
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## SEE ALSO
|
|
44
|
+
|
|
45
|
+
`ase-meta-quorum`, `ase-meta-search`.
|