@x-otto/skill 0.0.1-alpha.0 → 0.0.1-alpha.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/README.md +19 -19
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
# @x-otto/skill
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## Module Purpose
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Manages discovery, parsing, matching, and registration of SKILL.md skill files. Supports automatic discovery at both project and user level.
|
|
6
6
|
|
|
7
|
-
##
|
|
7
|
+
## Core Features
|
|
8
8
|
|
|
9
|
-
|
|
|
9
|
+
| Module | Function |
|
|
10
10
|
| -------------- | -------------------------------------------- |
|
|
11
|
-
| SkillRegistry |
|
|
12
|
-
| SkillDiscovery | .otto/skills/ + ~/.otto/skills/
|
|
13
|
-
| SkillParser | SKILL.md YAML frontmatter + Markdown
|
|
14
|
-
| SkillMatcher |
|
|
11
|
+
| SkillRegistry | Skill registration/discovery/lifecycle events |
|
|
12
|
+
| SkillDiscovery | Scans .otto/skills/ + ~/.otto/skills/ |
|
|
13
|
+
| SkillParser | Parses SKILL.md YAML frontmatter + Markdown |
|
|
14
|
+
| SkillMatcher | Multi-factor scoring (name 0.3 + description 0.5 + tags 0.2) |
|
|
15
15
|
|
|
16
|
-
##
|
|
16
|
+
## Directory Overview
|
|
17
17
|
|
|
18
18
|
```
|
|
19
19
|
src/
|
|
20
|
-
types.ts #
|
|
21
|
-
skill-registry.ts #
|
|
22
|
-
skill-discovery.ts #
|
|
23
|
-
skill-parser.ts #
|
|
24
|
-
skill-matcher.ts #
|
|
25
|
-
skill-context.ts #
|
|
20
|
+
types.ts # core types
|
|
21
|
+
skill-registry.ts # registry
|
|
22
|
+
skill-discovery.ts # auto-discovery
|
|
23
|
+
skill-parser.ts # parser
|
|
24
|
+
skill-matcher.ts # matcher
|
|
25
|
+
skill-context.ts # execution context
|
|
26
26
|
index.ts
|
|
27
|
-
tests/ # 3
|
|
27
|
+
tests/ # 3 test files
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
##
|
|
30
|
+
## Development Commands
|
|
31
31
|
|
|
32
32
|
```bash
|
|
33
33
|
pnpm --filter @x-otto/skill build
|
|
@@ -35,6 +35,6 @@ pnpm --filter @x-otto/skill typecheck
|
|
|
35
35
|
pnpm --filter @x-otto/skill clean
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
##
|
|
38
|
+
## Related Packages
|
|
39
39
|
|
|
40
|
-
`@x-otto/shared
|
|
40
|
+
`@x-otto/shared`, `@x-otto/env`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@x-otto/skill",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.2",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"
|
|
18
|
-
"@x-otto/shared": "0.1.0-alpha.
|
|
19
|
-
"
|
|
17
|
+
"yaml": "2.8.3",
|
|
18
|
+
"@x-otto/shared": "0.1.0-alpha.6",
|
|
19
|
+
"@x-otto/env": "0.1.0-alpha.6"
|
|
20
20
|
},
|
|
21
21
|
"private": false,
|
|
22
22
|
"publishConfig": {
|