@rse/ase 0.0.56 → 0.0.57
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 +5 -4
- 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 +23 -13
- package/plugin/skills/ase-code-craft/help.md +66 -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 +23 -13
- package/plugin/skills/ase-code-refactor/help.md +66 -0
- package/plugin/skills/ase-code-resolve/SKILL.md +23 -13
- package/plugin/skills/ase-code-resolve/help.md +73 -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 +4 -11
- package/plugin/skills/ase-task-edit/help.md +75 -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 +3 -9
- package/plugin/skills/ase-task-implement/help.md +56 -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
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.57",
|
|
10
10
|
"license": "GPL-3.0-only",
|
|
11
11
|
"author": {
|
|
12
12
|
"name": "Dr. Ralf S. Engelschall",
|
|
@@ -3,7 +3,8 @@ ASE Constitution
|
|
|
3
3
|
================
|
|
4
4
|
|
|
5
5
|
You are **Claude Code**, an expert-level AI coding assistant.
|
|
6
|
-
You have the **Agentic Software Engineering (ASE)** facility enabled
|
|
6
|
+
You have the **Agentic Software Engineering (ASE)** facility enabled,
|
|
7
|
+
which boosts you to an expert-level Software Engineering AI agent.
|
|
7
8
|
|
|
8
9
|
If <ase-headless/> is empty or not set,
|
|
9
10
|
you *MUST* once and immediately output the following <template/> now:
|
|
@@ -9,7 +9,7 @@ set placeholders into the context as a side-effect.
|
|
|
9
9
|
|
|
10
10
|
1. **Determine Parameters**:
|
|
11
11
|
Set <getopt-skill><arg1/></getopt-skill>.
|
|
12
|
-
Set <getopt-spec
|
|
12
|
+
Set <getopt-spec>--help|-h <arg2/></getopt-spec>.
|
|
13
13
|
Set <getopt-opts><arg3/></getopt-opts>.
|
|
14
14
|
Set <getopt-args><content/></getopt-args>.
|
|
15
15
|
|
|
@@ -36,7 +36,7 @@ set placeholders into the context as a side-effect.
|
|
|
36
36
|
then immediately *STOP* processing the entire current skill:
|
|
37
37
|
|
|
38
38
|
<template>
|
|
39
|
-
⧉ **ASE**:
|
|
39
|
+
⧉ **ASE**: ✪ skill: **<getopt-skill/>**, ▶ ERROR: option parsing failed: **<text/>**
|
|
40
40
|
</template>
|
|
41
41
|
|
|
42
42
|
5. **Parsing JSON Result**:
|
|
@@ -58,13 +58,14 @@ set placeholders into the context as a side-effect.
|
|
|
58
58
|
Set <getopt-option-<longN/>/> to the corresponding value
|
|
59
59
|
`<getopt-result/>.opts[<longN/>]`.
|
|
60
60
|
Set <getopt-arguments/> to the value of `<getopt-result/>.args`.
|
|
61
|
-
Set <getopt-info/> to `<getopt-result/>.info
|
|
61
|
+
Set <getopt-info/> to `<getopt-result/>.info`, but remove
|
|
62
|
+
information about the `help` option.
|
|
62
63
|
|
|
63
64
|
7. **Display Results**:
|
|
64
65
|
Just output the following <template/>:
|
|
65
66
|
|
|
66
67
|
<template>
|
|
67
|
-
⧉ **ASE**:
|
|
68
|
+
⧉ **ASE**: ✪ skill: **<getopt-skill/>**, ▶ options: <getopt-info/>
|
|
68
69
|
</template>
|
|
69
70
|
</define>
|
|
70
71
|
|
package/plugin/meta/ase-skill.md
CHANGED
|
@@ -160,14 +160,23 @@ Skill Identification
|
|
|
160
160
|
|
|
161
161
|
- *IMPORTANT*: Set <skill></skill> (set to empty)
|
|
162
162
|
and <skill-name></skill-name> (set name to empty).
|
|
163
|
-
|
|
164
|
-
by defining it as <skill
|
|
165
|
-
set <skill-name><name/></skill-name>
|
|
166
|
-
set
|
|
167
|
-
|
|
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/>:
|
|
168
177
|
|
|
169
178
|
<template>
|
|
170
|
-
⧉ **ASE**:
|
|
179
|
+
⧉ **ASE**: ✪ skill: **<skill-name/>**, status: **skill finished**
|
|
171
180
|
</template>
|
|
172
181
|
|
|
173
182
|
- *IMPORTANT*: Set <objective></objective> (set to empty).
|
|
@@ -175,6 +184,14 @@ Skill Identification
|
|
|
175
184
|
you *MUST* once output the following output <template/>:
|
|
176
185
|
|
|
177
186
|
<template>
|
|
178
|
-
⧉ **ASE**: ◎ objective: **<objective/>**
|
|
187
|
+
⧉ **ASE**: ✪ skill: **<skill-name/>**, ◎ objective: **<objective/>**
|
|
179
188
|
</template>
|
|
180
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>
|
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.57",
|
|
10
10
|
"license": "GPL-3.0-only",
|
|
11
11
|
"author": {
|
|
12
12
|
"name": "Dr. Ralf S. Engelschall",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ase-arch-analyze
|
|
3
|
-
argument-hint: "<source-reference>"
|
|
3
|
+
argument-hint: "[--help|-h] <source-reference>"
|
|
4
4
|
description: Review software architecture, including package cohesion and inter-package coupling
|
|
5
5
|
user-invocable: true
|
|
6
6
|
disable-model-invocation: false
|
|
@@ -102,20 +102,13 @@ allowed-tools:
|
|
|
102
102
|
@${CLAUDE_SKILL_DIR}/../../meta/ase-control.md
|
|
103
103
|
@${CLAUDE_SKILL_DIR}/../../meta/ase-skill.md
|
|
104
104
|
|
|
105
|
-
Review Software Architecture
|
|
106
|
-
============================
|
|
107
|
-
|
|
108
105
|
<skill name="ase-arch-analyze">
|
|
109
106
|
Review Software Architecture
|
|
110
107
|
</skill>
|
|
111
108
|
|
|
112
|
-
<role>
|
|
113
|
-
Your role is an experienced, *expert-level software architect*,
|
|
114
|
-
specialized in *reviewing software architecture*.
|
|
115
|
-
</role>
|
|
116
|
-
|
|
117
109
|
<objective>
|
|
118
|
-
|
|
110
|
+
With the mindset of an *expert-level software architect*,
|
|
111
|
+
*review* the *software architecture* of $ARGUMENTS, and its directly
|
|
119
112
|
related source code, for *potential problems* across component
|
|
120
113
|
boundaries, structural organization, architecture principles,
|
|
121
114
|
interface quality, quality attributes, and architecture governance.
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
|
|
2
|
+
## NAME
|
|
3
|
+
|
|
4
|
+
`ase-arch-analyze` - Review Software Architecture
|
|
5
|
+
|
|
6
|
+
## SYNOPSIS
|
|
7
|
+
|
|
8
|
+
`ase-arch-analyze`
|
|
9
|
+
[`--help`|`-h`]
|
|
10
|
+
*source-reference*
|
|
11
|
+
|
|
12
|
+
## DESCRIPTION
|
|
13
|
+
|
|
14
|
+
The `ase-arch-analyze` skill reviews the *software architecture* of
|
|
15
|
+
the referenced source code, including *package cohesion* and *inter-
|
|
16
|
+
package coupling*, for *potential problems* across component boundaries,
|
|
17
|
+
structural organization, architecture principles, interface quality,
|
|
18
|
+
quality attributes, and architecture governance.
|
|
19
|
+
|
|
20
|
+
The skill investigates 21 architecture quality aspects across 7 thematic
|
|
21
|
+
blocks (component boundaries, structural organization, architecture
|
|
22
|
+
principles, interface quality, quality attributes, architecture
|
|
23
|
+
governance, and package cohesion), renders a high-level architecture
|
|
24
|
+
diagram, and reports findings as either `PROBLEM` or `TRADEOFF` entries
|
|
25
|
+
based on a built-in tension matrix.
|
|
26
|
+
|
|
27
|
+
## ARGUMENTS
|
|
28
|
+
|
|
29
|
+
*source-reference*:
|
|
30
|
+
A file, directory, or other reference to the source code that
|
|
31
|
+
is to be analyzed architecturally.
|
|
32
|
+
|
|
33
|
+
## EXAMPLES
|
|
34
|
+
|
|
35
|
+
Analyze architecture of the current project:
|
|
36
|
+
|
|
37
|
+
```text
|
|
38
|
+
❯ /ase-arch-analyze src/
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Analyze a specific module:
|
|
42
|
+
|
|
43
|
+
```text
|
|
44
|
+
❯ /ase-arch-analyze src/core
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## SEE ALSO
|
|
48
|
+
|
|
49
|
+
`ase-arch-discover`, `ase-code-analyze`, `ase-code-resolve`,
|
|
50
|
+
`ase-code-refactor`, `ase-code-insight`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ase-arch-discover
|
|
3
|
-
argument-hint: "<functionality>"
|
|
3
|
+
argument-hint: "[--help|-h] <functionality>"
|
|
4
4
|
description: >
|
|
5
5
|
Discover additional, third-party components (libraries/frameworks) for
|
|
6
6
|
the technology stack to provide needed functionality.
|
|
@@ -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
|
-
Discover Components
|
|
21
|
-
===================
|
|
22
|
-
|
|
23
20
|
<skill name="ase-arch-discover">
|
|
24
21
|
Discover Components
|
|
25
22
|
</skill>
|
|
26
23
|
|
|
27
|
-
<role>
|
|
28
|
-
Your role is an experienced, *expert-level software architect*,
|
|
29
|
-
specialized in *finding components* (libraries/frameworks) for the technology stack.
|
|
30
|
-
</role>
|
|
31
|
-
|
|
32
24
|
<objective>
|
|
33
25
|
*Discover* additional, *third-party components* (libraries/frameworks)
|
|
34
26
|
for the technology stack to *provide* the *needed functionality*
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
|
|
2
|
+
## NAME
|
|
3
|
+
|
|
4
|
+
`ase-arch-discover` - Discover Components
|
|
5
|
+
|
|
6
|
+
## SYNOPSIS
|
|
7
|
+
|
|
8
|
+
`ase-arch-discover`
|
|
9
|
+
[`--help`|`-h`]
|
|
10
|
+
*functionality*
|
|
11
|
+
|
|
12
|
+
## DESCRIPTION
|
|
13
|
+
|
|
14
|
+
The `ase-arch-discover` skill discovers additional, *third-party
|
|
15
|
+
components* (libraries/frameworks) for the technology stack that
|
|
16
|
+
provide the needed *functionality*.
|
|
17
|
+
|
|
18
|
+
The skill determines the project's technology stack (TypeScript,
|
|
19
|
+
JavaScript, Kotlin, or Java), derives essential keywords from the
|
|
20
|
+
requested functionality, queries the corresponding package registry
|
|
21
|
+
(NPM or Maven Central), retrieves metadata (version, downloads,
|
|
22
|
+
stars, dates) via the `ase_component_info` MCP tool, and reports
|
|
23
|
+
the top-ranked components as a Markdown table together with a single
|
|
24
|
+
distinguishing hint (USP, Crux, or Gotcha) per component.
|
|
25
|
+
|
|
26
|
+
## ARGUMENTS
|
|
27
|
+
|
|
28
|
+
*functionality*:
|
|
29
|
+
A short description of the desired functionality the third-party
|
|
30
|
+
component should provide.
|
|
31
|
+
|
|
32
|
+
## EXAMPLES
|
|
33
|
+
|
|
34
|
+
Discover components for JSON schema validation:
|
|
35
|
+
|
|
36
|
+
```text
|
|
37
|
+
❯ /ase-arch-discover JSON schema validation
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Discover components for HTTP client functionality:
|
|
41
|
+
|
|
42
|
+
```text
|
|
43
|
+
❯ /ase-arch-discover HTTP client with retries
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## SEE ALSO
|
|
47
|
+
|
|
48
|
+
`ase-arch-analyze`, `ase-meta-search`, `ase-meta-evaluate`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ase-code-analyze
|
|
3
|
-
argument-hint: "<source-reference>"
|
|
3
|
+
argument-hint: "[--help|-h] <source-reference>"
|
|
4
4
|
description: >
|
|
5
5
|
Analyze the source code for problems in the logic and semantics and its related control flow.
|
|
6
6
|
user-invocable: true
|
|
@@ -13,18 +13,10 @@ allowed-tools:
|
|
|
13
13
|
@${CLAUDE_SKILL_DIR}/../../meta/ase-control.md
|
|
14
14
|
@${CLAUDE_SKILL_DIR}/../../meta/ase-skill.md
|
|
15
15
|
|
|
16
|
-
Analyze Source Code
|
|
17
|
-
===================
|
|
18
|
-
|
|
19
16
|
<skill name="ase-code-analyze">
|
|
20
17
|
Analyze Source Code
|
|
21
18
|
</skill>
|
|
22
19
|
|
|
23
|
-
<role>
|
|
24
|
-
Your role is an experienced, *expert-level software developer*,
|
|
25
|
-
specialized in *analyzing source code*.
|
|
26
|
-
</role>
|
|
27
|
-
|
|
28
20
|
<objective>
|
|
29
21
|
*Analyze* the source code of $ARGUMENTS, and its directly related source
|
|
30
22
|
code, for problems in its *logic* and *semantics* and its related
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
|
|
2
|
+
## NAME
|
|
3
|
+
|
|
4
|
+
`ase-code-analyze` - Analyze Source Code
|
|
5
|
+
|
|
6
|
+
## SYNOPSIS
|
|
7
|
+
|
|
8
|
+
`ase-code-analyze`
|
|
9
|
+
[`--help`|`-h`]
|
|
10
|
+
*source-reference*
|
|
11
|
+
|
|
12
|
+
## DESCRIPTION
|
|
13
|
+
|
|
14
|
+
The `ase-code-analyze` skill analyzes the source code of the referenced
|
|
15
|
+
location, and its directly related source code, for problems in its
|
|
16
|
+
*logic*, *semantics*, and related *control flow*.
|
|
17
|
+
|
|
18
|
+
The skill investigates the code base silently, reports each detected
|
|
19
|
+
problem as a `PROBLEM` entry with severity (`LOW`, `MEDIUM`, `HIGH`),
|
|
20
|
+
inline file/line references, and persists results in the `ase` MCP
|
|
21
|
+
key/value store as `ase-issue-P<n>` entries so they can later be
|
|
22
|
+
resolved via `ase-code-resolve P<n>`.
|
|
23
|
+
|
|
24
|
+
## ARGUMENTS
|
|
25
|
+
|
|
26
|
+
*source-reference*:
|
|
27
|
+
A file, directory, function, or other reference to the source code
|
|
28
|
+
to analyze.
|
|
29
|
+
|
|
30
|
+
## EXAMPLES
|
|
31
|
+
|
|
32
|
+
Analyze a specific source file:
|
|
33
|
+
|
|
34
|
+
```text
|
|
35
|
+
❯ /ase-code-analyze src/server.ts
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Analyze a directory of code:
|
|
39
|
+
|
|
40
|
+
```text
|
|
41
|
+
❯ /ase-code-analyze src/handlers/
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## SEE ALSO
|
|
45
|
+
|
|
46
|
+
`ase-code-resolve`, `ase-code-refactor`, `ase-code-lint`,
|
|
47
|
+
`ase-code-explain`, `ase-arch-analyze`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ase-code-craft
|
|
3
|
-
argument-hint: "[<task-id>:] <feature>"
|
|
3
|
+
argument-hint: "[--help|-h] [--auto|-a] [--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.
|
|
@@ -17,9 +17,6 @@ allowed-tools:
|
|
|
17
17
|
@${CLAUDE_SKILL_DIR}/../../meta/ase-dialog.md
|
|
18
18
|
@${CLAUDE_SKILL_DIR}/../../meta/ase-getopt.md
|
|
19
19
|
|
|
20
|
-
Craft Feature
|
|
21
|
-
=============
|
|
22
|
-
|
|
23
20
|
<skill name="ase-code-craft">
|
|
24
21
|
Craft Source Code
|
|
25
22
|
</skill>
|
|
@@ -30,10 +27,6 @@ Craft Source Code
|
|
|
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
|
From scratch *craft* the following feature:
|
|
39
32
|
<feature><getopt-arguments/></feature>
|
|
@@ -287,9 +280,26 @@ permitted way to persist artifacts is via `ase_task_save(...)`.
|
|
|
287
280
|
⧉ **ASE**: ◉ task: **<ase-task-id/>**, ✪ plan: **<words/>** words, ▶ status: **plan created**
|
|
288
281
|
</template>
|
|
289
282
|
|
|
290
|
-
5. Directly pass-through control to the
|
|
291
|
-
|
|
292
|
-
is
|
|
293
|
-
|
|
294
|
-
|
|
283
|
+
5. Directly pass-through control to the next skill:
|
|
284
|
+
|
|
285
|
+
1. <if condition="<getopt-option-next/> is equal `IMPLEMENT`">
|
|
286
|
+
Call the tool `Skill(skill: "ase:ase-task-implement")` to
|
|
287
|
+
*implement* the freshly composed plan, bypassing `ase-task-edit`.
|
|
288
|
+
</if>
|
|
289
|
+
|
|
290
|
+
2. <if condition="<getopt-option-next/> is equal `PREFLIGHT`">
|
|
291
|
+
Call the tool `Skill(skill: "ase:ase-task-preflight")` to
|
|
292
|
+
*preflight* the freshly composed plan, bypassing `ase-task-edit`.
|
|
293
|
+
</if>
|
|
294
|
+
|
|
295
|
+
3. <if condition="
|
|
296
|
+
<getopt-option-next/> is not equal `IMPLEMENT` AND
|
|
297
|
+
<getopt-option-next/> is not equal `PREFLIGHT`
|
|
298
|
+
">
|
|
299
|
+
Set <args></args> (set args to empty).
|
|
300
|
+
<if condition="<getopt-option-next/> is not equal `none`">
|
|
301
|
+
Set <args><args/> --next <getopt-option-next/></args> (append to args).
|
|
302
|
+
</if>
|
|
303
|
+
Then call the tool `Skill(skill: "ase:ase-task-edit", args: <args/>)`.
|
|
304
|
+
</if>
|
|
295
305
|
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
|
|
2
|
+
## NAME
|
|
3
|
+
|
|
4
|
+
`ase-code-craft` - Craft Source Code
|
|
5
|
+
|
|
6
|
+
## SYNOPSIS
|
|
7
|
+
|
|
8
|
+
`ase-code-craft`
|
|
9
|
+
[`--help`|`-h`]
|
|
10
|
+
[`--auto`|`-a`]
|
|
11
|
+
[`--next`|`-n` *option*]
|
|
12
|
+
[*task-id*:] *feature*
|
|
13
|
+
|
|
14
|
+
## DESCRIPTION
|
|
15
|
+
|
|
16
|
+
The `ase-code-craft` skill crafts a *new feature* from scratch by
|
|
17
|
+
investigating the existing code base, internalizing crafting tenets
|
|
18
|
+
(KISS, YAGNI, DRY, SRP, loose coupling, ...), proposing one or more
|
|
19
|
+
*feature approaches* with pros and cons, letting the user pick the
|
|
20
|
+
preferred approach, and composing a corresponding *task plan* aligned
|
|
21
|
+
with the existing architecture.
|
|
22
|
+
|
|
23
|
+
The skill does *not* directly modify source files. It persists the
|
|
24
|
+
plan via `ase_task_save` and then hands off to `ase-task-edit`,
|
|
25
|
+
`ase-task-preflight`, or `ase-task-implement`, as selected by
|
|
26
|
+
`--next`.
|
|
27
|
+
|
|
28
|
+
## OPTIONS
|
|
29
|
+
|
|
30
|
+
`--auto`|`-a`:
|
|
31
|
+
Automatically pick the recommended feature approach without
|
|
32
|
+
asking the user via the interactive dialog.
|
|
33
|
+
|
|
34
|
+
`--next`|`-n` *option*:
|
|
35
|
+
Automatically choose the next step after composing the plan,
|
|
36
|
+
where *option* is either `none` (default, hand-off to
|
|
37
|
+
`ase-task-edit` interactively), `DONE` (stop), `EDIT` (hand off
|
|
38
|
+
to `ase-task-edit`), `PREFLIGHT` (hand off to
|
|
39
|
+
`ase-task-preflight`), or `IMPLEMENT` (hand off to
|
|
40
|
+
`ase-task-implement`).
|
|
41
|
+
|
|
42
|
+
## ARGUMENTS
|
|
43
|
+
|
|
44
|
+
[*task-id*:] *feature*:
|
|
45
|
+
Description of the *feature* to craft. Optionally prefixed with
|
|
46
|
+
a *task-id* followed by a colon to bind the resulting plan to
|
|
47
|
+
a specific task id.
|
|
48
|
+
|
|
49
|
+
## EXAMPLES
|
|
50
|
+
|
|
51
|
+
Craft a new logging feature:
|
|
52
|
+
|
|
53
|
+
```text
|
|
54
|
+
❯ /ase-code-craft add structured JSON logging with log levels
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Craft a feature under a named task and directly hand off to implementation:
|
|
58
|
+
|
|
59
|
+
```text
|
|
60
|
+
❯ /ase-code-craft --next IMPLEMENT auth: add JWT authentication middleware
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## SEE ALSO
|
|
64
|
+
|
|
65
|
+
`ase-code-refactor`, `ase-code-resolve`, `ase-task-edit`,
|
|
66
|
+
`ase-task-preflight`, `ase-task-implement`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ase-code-explain
|
|
3
|
-
argument-hint: "<source-reference>"
|
|
3
|
+
argument-hint: "[--help|-h] <source-reference>"
|
|
4
4
|
description: >
|
|
5
5
|
Explains code with WHAT, WHY, ANALOGY, DIAGRAM, CRUXES, and GOTCHAS.
|
|
6
6
|
Use when you want to know how code works or when the user asks "how does this work?"
|
|
@@ -15,18 +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
|
-
Explain Source Code
|
|
19
|
-
===================
|
|
20
|
-
|
|
21
18
|
<skill name="ase-code-explain">
|
|
22
19
|
Explain Source Code
|
|
23
20
|
</skill>
|
|
24
21
|
|
|
25
|
-
<role>
|
|
26
|
-
Your role is an experienced, *expert-level software developer*,
|
|
27
|
-
specialized in *explaining source code*.
|
|
28
|
-
</role>
|
|
29
|
-
|
|
30
22
|
<objective>
|
|
31
23
|
*Analyze* the source code of $ARGUMENTS, and its directly related source
|
|
32
24
|
code and *explain* it in a *brief*, *standardized*, and *concise* way.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
|
|
2
|
+
## NAME
|
|
3
|
+
|
|
4
|
+
`ase-code-explain` - Explain Source Code
|
|
5
|
+
|
|
6
|
+
## SYNOPSIS
|
|
7
|
+
|
|
8
|
+
`ase-code-explain`
|
|
9
|
+
[`--help`|`-h`]
|
|
10
|
+
*source-reference*
|
|
11
|
+
|
|
12
|
+
## DESCRIPTION
|
|
13
|
+
|
|
14
|
+
The `ase-code-explain` skill analyzes and explains the source code of
|
|
15
|
+
the referenced location in a *brief*, *standardized*, and *concise*
|
|
16
|
+
way along six dimensions: *WHAT* (functionality), *WHY* (rationale),
|
|
17
|
+
*ANALOGY* (everyday-life comparison in ELI5 style), *DIAGRAM* (Mermaid
|
|
18
|
+
diagram of control flow, data flow, or structure), *CRUXES* (what to
|
|
19
|
+
notice), and *GOTCHAS* (what to not stumble over).
|
|
20
|
+
|
|
21
|
+
## ARGUMENTS
|
|
22
|
+
|
|
23
|
+
*source-reference*:
|
|
24
|
+
A file, directory, function, or other reference to the source code
|
|
25
|
+
to explain.
|
|
26
|
+
|
|
27
|
+
## EXAMPLES
|
|
28
|
+
|
|
29
|
+
Explain a single source file:
|
|
30
|
+
|
|
31
|
+
```text
|
|
32
|
+
❯ /ase-code-explain src/parser.ts
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Explain a specific function:
|
|
36
|
+
|
|
37
|
+
```text
|
|
38
|
+
❯ /ase-code-explain src/parser.ts#parseExpression
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## SEE ALSO
|
|
42
|
+
|
|
43
|
+
`ase-code-insight`, `ase-code-analyze`, `ase-arch-analyze`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ase-code-insight
|
|
3
|
-
argument-hint: "<code-references>"
|
|
3
|
+
argument-hint: "[--help|-h] <code-references>"
|
|
4
4
|
description: >
|
|
5
5
|
Give insights into the source code.
|
|
6
6
|
user-invocable: true
|
|
@@ -18,18 +18,10 @@ allowed-tools:
|
|
|
18
18
|
@${CLAUDE_SKILL_DIR}/../../meta/ase-control.md
|
|
19
19
|
@${CLAUDE_SKILL_DIR}/../../meta/ase-skill.md
|
|
20
20
|
|
|
21
|
-
Project Insight
|
|
22
|
-
===============
|
|
23
|
-
|
|
24
21
|
<skill name="ase-code-insight">
|
|
25
22
|
Project Insight
|
|
26
23
|
</skill>
|
|
27
24
|
|
|
28
|
-
<role>
|
|
29
|
-
Your role is an experienced, *expert-level software developer*,
|
|
30
|
-
specialized in *analyzing source code* and giving insights.
|
|
31
|
-
</role>
|
|
32
|
-
|
|
33
25
|
<objective>
|
|
34
26
|
Give *insights* into the project through the source code of $ARGUMENTS.
|
|
35
27
|
</objective>
|
|
@@ -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.
|