maestro-flow 0.5.1 → 0.5.2
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/.codex/skills/learn-decompose/SKILL.md +144 -144
- package/.codex/skills/learn-follow/SKILL.md +83 -83
- package/.codex/skills/learn-investigate/SKILL.md +84 -84
- package/.codex/skills/learn-retro/SKILL.md +113 -113
- package/.codex/skills/learn-second-opinion/SKILL.md +116 -116
- package/.codex/skills/maestro/SKILL.md +11 -8
- package/.codex/skills/maestro-amend/SKILL.md +4 -4
- package/.codex/skills/maestro-analyze/SKILL.md +2 -2
- package/.codex/skills/maestro-blueprint/SKILL.md +4 -4
- package/.codex/skills/maestro-companion/SKILL.md +4 -4
- package/.codex/skills/maestro-composer/SKILL.md +217 -217
- package/.codex/skills/maestro-grill/SKILL.md +1 -1
- package/.codex/skills/maestro-help/SKILL.md +30 -30
- package/.codex/skills/maestro-init/SKILL.md +1 -1
- package/.codex/skills/maestro-learn/SKILL.md +80 -80
- package/.codex/skills/maestro-merge/SKILL.md +76 -76
- package/.codex/skills/maestro-milestone-release/SKILL.md +74 -74
- package/.codex/skills/maestro-player/SKILL.md +3 -3
- package/.codex/skills/maestro-quick/SKILL.md +129 -129
- package/.codex/skills/maestro-ralph/SKILL.md +9 -9
- package/.codex/skills/maestro-ralph-beta/SKILL.md +34 -34
- package/.codex/skills/maestro-ralph-execute/SKILL.md +5 -5
- package/.codex/skills/maestro-tools-execute/SKILL.md +3 -3
- package/.codex/skills/maestro-tools-register/SKILL.md +3 -3
- package/.codex/skills/manage-codebase-rebuild/SKILL.md +412 -412
- package/.codex/skills/manage-codebase-refresh/SKILL.md +1 -1
- package/.codex/skills/manage-harvest/SKILL.md +99 -99
- package/.codex/skills/manage-issue-discover/SKILL.md +1 -1
- package/.codex/skills/manage-knowhow/SKILL.md +95 -95
- package/.codex/skills/manage-knowhow-capture/SKILL.md +137 -137
- package/.codex/skills/manage-status/SKILL.md +7 -7
- package/.codex/skills/manage-wiki/SKILL.md +55 -55
- package/.codex/skills/quality-auto-test/SKILL.md +1 -1
- package/.codex/skills/quality-debug/SKILL.md +8 -8
- package/.codex/skills/quality-refactor/SKILL.md +3 -3
- package/.codex/skills/quality-review/SKILL.md +1 -1
- package/.codex/skills/quality-sync/SKILL.md +111 -111
- package/.codex/skills/quality-test/SKILL.md +1 -1
- package/.codex/skills/spec-add/SKILL.md +2 -2
- package/.codex/skills/spec-load/SKILL.md +1 -1
- package/.codex/skills/spec-map/SKILL.md +204 -204
- package/.codex/skills/spec-remove/SKILL.md +75 -75
- package/.codex/skills/spec-setup/SKILL.md +2 -2
- package/.codex/skills/wiki-connect/SKILL.md +73 -73
- package/.codex/skills/wiki-digest/SKILL.md +87 -87
- package/dist/src/ralph/skill-scanner.d.ts.map +1 -1
- package/dist/src/ralph/skill-scanner.js +9 -3
- package/dist/src/ralph/skill-scanner.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: wiki-connect
|
|
3
|
-
description: Find and link hidden connections in wiki graph
|
|
4
|
-
argument-hint: "[--scope <type>] [--min-similarity N] [--fix] [--max N]"
|
|
5
|
-
allowed-tools: Read, Write, Edit, Bash, Glob, Grep,
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
<purpose>
|
|
9
|
-
Knowledge graph link discovery. Analyzes wiki index to find orphaned entries, missing
|
|
10
|
-
bidirectional links, and transitive closure gaps. Scores connection candidates and
|
|
11
|
-
optionally auto-applies new `related` links to improve graph connectivity.
|
|
12
|
-
</purpose>
|
|
13
|
-
|
|
14
|
-
<context>
|
|
15
|
-
$ARGUMENTS — optional flags.
|
|
16
|
-
|
|
17
|
-
**Flags:**
|
|
18
|
-
- `--scope <type>` — Limit to wiki type (spec, knowhow, note, issue). Default: all.
|
|
19
|
-
- `--min-similarity N` — Threshold 0.0-1.0 (default: 0.3)
|
|
20
|
-
- `--fix` — Auto-apply top suggestions
|
|
21
|
-
- `--max N` — Max suggestions (default: 20)
|
|
22
|
-
|
|
23
|
-
**Output**: `.workflow/knowhow/KNW-wiki-connections-{date}.md`
|
|
24
|
-
</context>
|
|
25
|
-
|
|
26
|
-
<execution>
|
|
27
|
-
|
|
28
|
-
### Stage 1: Load Wiki State
|
|
29
|
-
Parallel `maestro wiki` commands: `list --json`, `health`, `orphans`, `hubs --top 10`.
|
|
30
|
-
|
|
31
|
-
### Stage 2: Identify Connection Candidates
|
|
32
|
-
- **Orphan rescue**: BM25 search by title, tag overlap, same category/parent
|
|
33
|
-
- **Missing bidirectional**: A→B exists but B→A missing
|
|
34
|
-
- **Transitive closure**: A→B and B→C but no A→C (with shared tags/category)
|
|
35
|
-
- **Type bridge**: Different types referencing same concept but unlinked
|
|
36
|
-
- **Parent cluster**: Entries sharing the same parent but not linked to each other
|
|
37
|
-
|
|
38
|
-
### Stage 3: Score Candidates
|
|
39
|
-
Score = 0.4 x tag_overlap + 0.3 x title_bm25 + 0.2 x same_category + 0.1 x type_bridge. Filter by `--min-similarity`, rank desc, limit by `--max`.
|
|
40
|
-
|
|
41
|
-
### Stage 4: Present Suggestions
|
|
42
|
-
Display ranked suggestions with scores, reasons, projected health delta.
|
|
43
|
-
If not `--fix`: display and exit.
|
|
44
|
-
|
|
45
|
-
### Stage 5: Apply (--fix only)
|
|
46
|
-
For each suggestion: get entry → append target to `related` → update via `maestro wiki update`.
|
|
47
|
-
Re-run `maestro wiki health` for delta.
|
|
48
|
-
|
|
49
|
-
### Stage 6: Persist
|
|
50
|
-
Write `KNW-wiki-connections-{date}.md`. Append graph insights to `specs/learnings.md` (source: "wiki-connect").
|
|
51
|
-
|
|
52
|
-
**Next steps:**
|
|
53
|
-
</execution>
|
|
54
|
-
|
|
55
|
-
<error_codes>
|
|
56
|
-
| Code | Severity | Condition | Recovery |
|
|
57
|
-
|------|----------|-----------|----------|
|
|
58
|
-
| E001 | error | No wiki entries found | Initialize wiki content |
|
|
59
|
-
| W001 | warning | No candidates above threshold | Lower --min-similarity |
|
|
60
|
-
| W002 | warning | Some wiki updates failed during --fix | Retry manually |
|
|
61
|
-
| W003 | warning | Health score unchanged after fix | Connections may not affect specific metrics |
|
|
62
|
-
</error_codes>
|
|
63
|
-
|
|
64
|
-
<success_criteria>
|
|
65
|
-
- [ ] Wiki index loaded with type distribution
|
|
66
|
-
- [ ] Baseline health score recorded
|
|
67
|
-
- [ ] Orphans identified and rescue candidates generated
|
|
68
|
-
- [ ] Candidates scored and ranked
|
|
69
|
-
- [ ] Suggestions displayed with scores and reasons
|
|
70
|
-
- [ ] If --fix: entries updated, new health score reported
|
|
71
|
-
- [ ] Report written to `KNW-wiki-connections-{date}.md`
|
|
72
|
-
- [ ] Graph insights appended to `specs/learnings.md`
|
|
73
|
-
</success_criteria>
|
|
1
|
+
---
|
|
2
|
+
name: wiki-connect
|
|
3
|
+
description: Find and link hidden connections in wiki graph
|
|
4
|
+
argument-hint: "[--scope <type>] [--min-similarity N] [--fix] [--max N]"
|
|
5
|
+
allowed-tools: Read, Write, Edit, Bash, Glob, Grep, request_user_input
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<purpose>
|
|
9
|
+
Knowledge graph link discovery. Analyzes wiki index to find orphaned entries, missing
|
|
10
|
+
bidirectional links, and transitive closure gaps. Scores connection candidates and
|
|
11
|
+
optionally auto-applies new `related` links to improve graph connectivity.
|
|
12
|
+
</purpose>
|
|
13
|
+
|
|
14
|
+
<context>
|
|
15
|
+
$ARGUMENTS — optional flags.
|
|
16
|
+
|
|
17
|
+
**Flags:**
|
|
18
|
+
- `--scope <type>` — Limit to wiki type (spec, knowhow, note, issue). Default: all.
|
|
19
|
+
- `--min-similarity N` — Threshold 0.0-1.0 (default: 0.3)
|
|
20
|
+
- `--fix` — Auto-apply top suggestions
|
|
21
|
+
- `--max N` — Max suggestions (default: 20)
|
|
22
|
+
|
|
23
|
+
**Output**: `.workflow/knowhow/KNW-wiki-connections-{date}.md`
|
|
24
|
+
</context>
|
|
25
|
+
|
|
26
|
+
<execution>
|
|
27
|
+
|
|
28
|
+
### Stage 1: Load Wiki State
|
|
29
|
+
Parallel `maestro wiki` commands: `list --json`, `health`, `orphans`, `hubs --top 10`.
|
|
30
|
+
|
|
31
|
+
### Stage 2: Identify Connection Candidates
|
|
32
|
+
- **Orphan rescue**: BM25 search by title, tag overlap, same category/parent
|
|
33
|
+
- **Missing bidirectional**: A→B exists but B→A missing
|
|
34
|
+
- **Transitive closure**: A→B and B→C but no A→C (with shared tags/category)
|
|
35
|
+
- **Type bridge**: Different types referencing same concept but unlinked
|
|
36
|
+
- **Parent cluster**: Entries sharing the same parent but not linked to each other
|
|
37
|
+
|
|
38
|
+
### Stage 3: Score Candidates
|
|
39
|
+
Score = 0.4 x tag_overlap + 0.3 x title_bm25 + 0.2 x same_category + 0.1 x type_bridge. Filter by `--min-similarity`, rank desc, limit by `--max`.
|
|
40
|
+
|
|
41
|
+
### Stage 4: Present Suggestions
|
|
42
|
+
Display ranked suggestions with scores, reasons, projected health delta.
|
|
43
|
+
If not `--fix`: display and exit.
|
|
44
|
+
|
|
45
|
+
### Stage 5: Apply (--fix only)
|
|
46
|
+
For each suggestion: get entry → append target to `related` → update via `maestro wiki update`.
|
|
47
|
+
Re-run `maestro wiki health` for delta.
|
|
48
|
+
|
|
49
|
+
### Stage 6: Persist
|
|
50
|
+
Write `KNW-wiki-connections-{date}.md`. Append graph insights to `specs/learnings.md` (source: "wiki-connect").
|
|
51
|
+
|
|
52
|
+
**Next steps:** `$wiki-digest <topic>`, `$manage-wiki health`, `$learn-follow <wiki-id>`, `maestro wiki graph`
|
|
53
|
+
</execution>
|
|
54
|
+
|
|
55
|
+
<error_codes>
|
|
56
|
+
| Code | Severity | Condition | Recovery |
|
|
57
|
+
|------|----------|-----------|----------|
|
|
58
|
+
| E001 | error | No wiki entries found | Initialize wiki content |
|
|
59
|
+
| W001 | warning | No candidates above threshold | Lower --min-similarity |
|
|
60
|
+
| W002 | warning | Some wiki updates failed during --fix | Retry manually |
|
|
61
|
+
| W003 | warning | Health score unchanged after fix | Connections may not affect specific metrics |
|
|
62
|
+
</error_codes>
|
|
63
|
+
|
|
64
|
+
<success_criteria>
|
|
65
|
+
- [ ] Wiki index loaded with type distribution
|
|
66
|
+
- [ ] Baseline health score recorded
|
|
67
|
+
- [ ] Orphans identified and rescue candidates generated
|
|
68
|
+
- [ ] Candidates scored and ranked
|
|
69
|
+
- [ ] Suggestions displayed with scores and reasons
|
|
70
|
+
- [ ] If --fix: entries updated, new health score reported
|
|
71
|
+
- [ ] Report written to `KNW-wiki-connections-{date}.md`
|
|
72
|
+
- [ ] Graph insights appended to `specs/learnings.md`
|
|
73
|
+
</success_criteria>
|
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: wiki-digest
|
|
3
|
-
description: Generate wiki digest with theme clustering and gap analysis
|
|
4
|
-
argument-hint: "[<topic>|--recent N] [--type <type>] [--format brief|full] [--create-issues]"
|
|
5
|
-
allowed-tools: Read, Write, Edit, Bash, Glob, Grep,
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
<purpose>
|
|
9
|
-
Knowledge synthesis that generates actionable digests from the wiki knowledge graph.
|
|
10
|
-
Clusters entries by semantic theme, identifies knowledge gaps, and produces a coverage
|
|
11
|
-
heatmap. Unlike `maestro search` (raw entries), this synthesizes and interprets
|
|
12
|
-
the knowledge base with gap analysis and recommended actions.
|
|
13
|
-
</purpose>
|
|
14
|
-
|
|
15
|
-
<context>
|
|
16
|
-
$ARGUMENTS — scope and optional flags.
|
|
17
|
-
|
|
18
|
-
**Scope resolution:**
|
|
19
|
-
- `<topic>` — Search wiki for matching entries
|
|
20
|
-
- `--recent N` — Entries updated in last N days
|
|
21
|
-
- `--type <type>` — Filter by wiki type
|
|
22
|
-
- No args — entire wiki
|
|
23
|
-
|
|
24
|
-
**Flags:**
|
|
25
|
-
- `--format brief` — Compact summary (default)
|
|
26
|
-
- `--format full` — Detailed with per-entry summaries
|
|
27
|
-
- `--create-issues` — Auto-create knowledge-gap issues in issues.jsonl
|
|
28
|
-
|
|
29
|
-
**Output**: `.workflow/knowhow/KNW-digest-{slug}-{date}.md`
|
|
30
|
-
</context>
|
|
31
|
-
|
|
32
|
-
<execution>
|
|
33
|
-
|
|
34
|
-
### Stage 1: Scope & Load
|
|
35
|
-
Load entries via `maestro search`. Run `maestro wiki health` for baseline.
|
|
36
|
-
|
|
37
|
-
### Stage 2: Theme Clustering
|
|
38
|
-
Group entries into 3-5 themes via: tag co-occurrence, title BM25 similarity, relationship proximity, type grouping.
|
|
39
|
-
|
|
40
|
-
### Stage 3: Per-Theme Analysis
|
|
41
|
-
Per theme: summary paragraph, key entries (by hub score), gap detection (broken links, orphans, TODO markers, missing perspectives), health score.
|
|
42
|
-
|
|
43
|
-
### Stage 4: Cross-Reference with Lessons
|
|
44
|
-
Search `specs/learnings.md` for related insights. Flag unlinked insights (knowhow entries matching theme but not referenced by wiki entries).
|
|
45
|
-
|
|
46
|
-
### Stage 5: Coverage Heatmap
|
|
47
|
-
Type × theme matrix showing knowledge density:
|
|
48
|
-
```
|
|
49
|
-
Theme 1 Theme 2 Theme 3
|
|
50
|
-
spec ███░░ ░░░░░ █████
|
|
51
|
-
memory ████░ ███░░ ░░░░░
|
|
52
|
-
knowhow █░░░░ ██░░░ ████░
|
|
53
|
-
```
|
|
54
|
-
Empty cells = knowledge gaps.
|
|
55
|
-
|
|
56
|
-
### Stage 6: Write Digest
|
|
57
|
-
Produce `digest-{slug}-{date}.md` with themes, heatmap, gaps, unlinked insights, recommended actions.
|
|
58
|
-
|
|
59
|
-
### Stage 7: Gap → Issue (if --create-issues)
|
|
60
|
-
For each gap: dedup against issues.jsonl, append with `type: "knowledge-gap"`, `source: "wiki-digest"`.
|
|
61
|
-
|
|
62
|
-
### Stage 8: Persist
|
|
63
|
-
Append meta-insights to `specs/learnings.md` (source: "wiki-digest"). Display summary.
|
|
64
|
-
|
|
65
|
-
**Next steps:**
|
|
66
|
-
</execution>
|
|
67
|
-
|
|
68
|
-
<error_codes>
|
|
69
|
-
| Code | Severity | Condition | Recovery |
|
|
70
|
-
|------|----------|-----------|----------|
|
|
71
|
-
| E001 | error | No wiki entries found | Initialize wiki content |
|
|
72
|
-
| E002 | error | Topic search returned 0 | Broaden topic |
|
|
73
|
-
| W001 | warning | Too few entries (<5) | Themes may be trivial |
|
|
74
|
-
| W002 | warning | learnings.md not found | Skip cross-reference |
|
|
75
|
-
| W003 | warning | Some entry bodies failed to load | Partial summaries |
|
|
76
|
-
</error_codes>
|
|
77
|
-
|
|
78
|
-
<success_criteria>
|
|
79
|
-
- [ ] Scope parsed and entries loaded
|
|
80
|
-
- [ ] Entries clustered into 3-5 semantic themes
|
|
81
|
-
- [ ] Per-theme analysis with gaps identified
|
|
82
|
-
- [ ] Cross-reference with specs/learnings.md completed
|
|
83
|
-
- [ ] Coverage heatmap generated
|
|
84
|
-
- [ ] If --create-issues: gap issues created (deduped)
|
|
85
|
-
- [ ] Digest written to `KNW-digest-{slug}-{date}.md`
|
|
86
|
-
- [ ] Meta-insights appended to specs/learnings.md
|
|
87
|
-
</success_criteria>
|
|
1
|
+
---
|
|
2
|
+
name: wiki-digest
|
|
3
|
+
description: Generate wiki digest with theme clustering and gap analysis
|
|
4
|
+
argument-hint: "[<topic>|--recent N] [--type <type>] [--format brief|full] [--create-issues]"
|
|
5
|
+
allowed-tools: Read, Write, Edit, Bash, Glob, Grep, request_user_input
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<purpose>
|
|
9
|
+
Knowledge synthesis that generates actionable digests from the wiki knowledge graph.
|
|
10
|
+
Clusters entries by semantic theme, identifies knowledge gaps, and produces a coverage
|
|
11
|
+
heatmap. Unlike `maestro search` (raw entries), this synthesizes and interprets
|
|
12
|
+
the knowledge base with gap analysis and recommended actions.
|
|
13
|
+
</purpose>
|
|
14
|
+
|
|
15
|
+
<context>
|
|
16
|
+
$ARGUMENTS — scope and optional flags.
|
|
17
|
+
|
|
18
|
+
**Scope resolution:**
|
|
19
|
+
- `<topic>` — Search wiki for matching entries
|
|
20
|
+
- `--recent N` — Entries updated in last N days
|
|
21
|
+
- `--type <type>` — Filter by wiki type
|
|
22
|
+
- No args — entire wiki
|
|
23
|
+
|
|
24
|
+
**Flags:**
|
|
25
|
+
- `--format brief` — Compact summary (default)
|
|
26
|
+
- `--format full` — Detailed with per-entry summaries
|
|
27
|
+
- `--create-issues` — Auto-create knowledge-gap issues in issues.jsonl
|
|
28
|
+
|
|
29
|
+
**Output**: `.workflow/knowhow/KNW-digest-{slug}-{date}.md`
|
|
30
|
+
</context>
|
|
31
|
+
|
|
32
|
+
<execution>
|
|
33
|
+
|
|
34
|
+
### Stage 1: Scope & Load
|
|
35
|
+
Load entries via `maestro search`. Run `maestro wiki health` for baseline.
|
|
36
|
+
|
|
37
|
+
### Stage 2: Theme Clustering
|
|
38
|
+
Group entries into 3-5 themes via: tag co-occurrence, title BM25 similarity, relationship proximity, type grouping.
|
|
39
|
+
|
|
40
|
+
### Stage 3: Per-Theme Analysis
|
|
41
|
+
Per theme: summary paragraph, key entries (by hub score), gap detection (broken links, orphans, TODO markers, missing perspectives), health score.
|
|
42
|
+
|
|
43
|
+
### Stage 4: Cross-Reference with Lessons
|
|
44
|
+
Search `specs/learnings.md` for related insights. Flag unlinked insights (knowhow entries matching theme but not referenced by wiki entries).
|
|
45
|
+
|
|
46
|
+
### Stage 5: Coverage Heatmap
|
|
47
|
+
Type × theme matrix showing knowledge density:
|
|
48
|
+
```
|
|
49
|
+
Theme 1 Theme 2 Theme 3
|
|
50
|
+
spec ███░░ ░░░░░ █████
|
|
51
|
+
memory ████░ ███░░ ░░░░░
|
|
52
|
+
knowhow █░░░░ ██░░░ ████░
|
|
53
|
+
```
|
|
54
|
+
Empty cells = knowledge gaps.
|
|
55
|
+
|
|
56
|
+
### Stage 6: Write Digest
|
|
57
|
+
Produce `digest-{slug}-{date}.md` with themes, heatmap, gaps, unlinked insights, recommended actions.
|
|
58
|
+
|
|
59
|
+
### Stage 7: Gap → Issue (if --create-issues)
|
|
60
|
+
For each gap: dedup against issues.jsonl, append with `type: "knowledge-gap"`, `source: "wiki-digest"`.
|
|
61
|
+
|
|
62
|
+
### Stage 8: Persist
|
|
63
|
+
Append meta-insights to `specs/learnings.md` (source: "wiki-digest"). Display summary.
|
|
64
|
+
|
|
65
|
+
**Next steps:** `$learn-follow <wiki-id>`, `$wiki-connect --fix`, `$manage-wiki cleanup`, `$learn-decompose <path>`
|
|
66
|
+
</execution>
|
|
67
|
+
|
|
68
|
+
<error_codes>
|
|
69
|
+
| Code | Severity | Condition | Recovery |
|
|
70
|
+
|------|----------|-----------|----------|
|
|
71
|
+
| E001 | error | No wiki entries found | Initialize wiki content |
|
|
72
|
+
| E002 | error | Topic search returned 0 | Broaden topic |
|
|
73
|
+
| W001 | warning | Too few entries (<5) | Themes may be trivial |
|
|
74
|
+
| W002 | warning | learnings.md not found | Skip cross-reference |
|
|
75
|
+
| W003 | warning | Some entry bodies failed to load | Partial summaries |
|
|
76
|
+
</error_codes>
|
|
77
|
+
|
|
78
|
+
<success_criteria>
|
|
79
|
+
- [ ] Scope parsed and entries loaded
|
|
80
|
+
- [ ] Entries clustered into 3-5 semantic themes
|
|
81
|
+
- [ ] Per-theme analysis with gaps identified
|
|
82
|
+
- [ ] Cross-reference with specs/learnings.md completed
|
|
83
|
+
- [ ] Coverage heatmap generated
|
|
84
|
+
- [ ] If --create-issues: gap issues created (deduped)
|
|
85
|
+
- [ ] Digest written to `KNW-digest-{slug}-{date}.md`
|
|
86
|
+
- [ ] Meta-insights appended to specs/learnings.md
|
|
87
|
+
</success_criteria>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill-scanner.d.ts","sourceRoot":"","sources":["../../../src/ralph/skill-scanner.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"skill-scanner.d.ts","sourceRoot":"","sources":["../../../src/ralph/skill-scanner.ts"],"names":[],"mappings":"AAqBA,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,GAAG,KAAK,CAAC;AAEjE,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC;IAC1B,KAAK,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC5B,QAAQ,EAAE,aAAa,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,MAAM,EAAE,CAAC;CAC3B;AAoED,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,EAAE,aAAa,CAAC;CAC1B;AAED,wBAAgB,aAAa,CAC3B,YAAY,GAAE,MAA+B,EAC7C,IAAI,GAAE,WAAgB,GACrB,YAAY,EAAE,CA2EhB;AAED,yEAAyE;AACzE,wBAAgB,SAAS,CACvB,IAAI,EAAE,MAAM,EACZ,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,EAC1B,QAAQ,CAAC,EAAE,aAAa,GACvB,YAAY,GAAG,IAAI,CAGrB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// ---------------------------------------------------------------------------
|
|
2
|
-
// Skill scanner — discovers commands + skills across
|
|
2
|
+
// Skill scanner — discovers commands + skills across all platforms.
|
|
3
3
|
//
|
|
4
4
|
// Sources (project overrides global by `(platform, name)`):
|
|
5
5
|
// - <cwd>/.claude/commands/*.md type: command, scope: project, platform: claude
|
|
@@ -8,8 +8,10 @@
|
|
|
8
8
|
// - ~/.claude/skills/*/SKILL.md type: skill, scope: global, platform: claude
|
|
9
9
|
// - <cwd>/.codex/skills/*/SKILL.md type: skill, scope: project, platform: codex
|
|
10
10
|
// - ~/.codex/skills/*/SKILL.md type: skill, scope: global, platform: codex
|
|
11
|
-
//
|
|
12
|
-
//
|
|
11
|
+
// - <cwd>/.agents/skills/*/SKILL.md type: skill, scope: project, platform: agent
|
|
12
|
+
// - ~/.agents/skills/*/SKILL.md type: skill, scope: global, platform: agent
|
|
13
|
+
// - <cwd>/.agy/skills/*/SKILL.md type: skill, scope: project, platform: agy
|
|
14
|
+
// - ~/.agy/skills/*/SKILL.md type: skill, scope: global, platform: agy
|
|
13
15
|
// ---------------------------------------------------------------------------
|
|
14
16
|
import { existsSync, readdirSync, statSync } from 'node:fs';
|
|
15
17
|
import { homedir } from 'node:os';
|
|
@@ -104,6 +106,10 @@ export function scanAllSkills(workflowRoot = resolve(process.cwd()), opts = {})
|
|
|
104
106
|
type: 'skill', scope: 'project', platform: 'codex', nameFn: skillName,
|
|
105
107
|
},
|
|
106
108
|
// Agent Skills open-standard (.agents/)
|
|
109
|
+
{
|
|
110
|
+
files: collectSkillFiles(join(home, '.agents', 'skills')),
|
|
111
|
+
type: 'skill', scope: 'global', platform: 'agent', nameFn: skillName,
|
|
112
|
+
},
|
|
107
113
|
{
|
|
108
114
|
files: collectSkillFiles(join(workflowRoot, '.agents', 'skills')),
|
|
109
115
|
type: 'skill', scope: 'project', platform: 'agent', nameFn: skillName,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill-scanner.js","sourceRoot":"","sources":["../../../src/ralph/skill-scanner.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,
|
|
1
|
+
{"version":3,"file":"skill-scanner.js","sourceRoot":"","sources":["../../../src/ralph/skill-scanner.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,oEAAoE;AACpE,EAAE;AACF,4DAA4D;AAC5D,4FAA4F;AAC5F,4FAA4F;AAC5F,4FAA4F;AAC5F,4FAA4F;AAC5F,2FAA2F;AAC3F,2FAA2F;AAC3F,2FAA2F;AAC3F,2FAA2F;AAC3F,yFAAyF;AACzF,yFAAyF;AACzF,8EAA8E;AAE9E,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM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