@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.
Files changed (2) hide show
  1. package/README.md +19 -19
  2. 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
- 管理 SKILL.md 技能文件的发现、解析、匹配与注册。支持项目级和用户级技能自动发现。
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 | 多因子评分(名称 0.3 + 描述 0.5 + 标签 0.2 |
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`、`@x-otto/env`
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.0",
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
- "@x-otto/env": "0.1.0-alpha.1",
18
- "@x-otto/shared": "0.1.0-alpha.1",
19
- "yaml": "2.8.3"
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": {