openmatrix 0.1.5 → 0.1.6
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/skills/openmatrix-auto.md +59 -41
package/package.json
CHANGED
|
@@ -1,64 +1,82 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: openmatrix-auto
|
|
3
|
-
description: Auto-
|
|
3
|
+
description: "Use this for ANY development task - implementing features, adding functionality, fixing bugs, building components, creating systems, or modifying code. Auto-invokes /om:start to orchestrate the work."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
<objective>
|
|
7
|
-
Automatically detect when user
|
|
7
|
+
Automatically detect when user wants to accomplish a development task and invoke /om:start without requiring explicit command.
|
|
8
8
|
</objective>
|
|
9
9
|
|
|
10
|
-
<
|
|
10
|
+
<trigger-conditions>
|
|
11
11
|
## When to Auto-Invoke /om:start
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
Invoke `/om:start` when the user's input indicates **intent to build, create, add, fix, or modify** something in code.
|
|
14
14
|
|
|
15
|
-
###
|
|
16
|
-
- `实现...功能` / `实现...` (implement)
|
|
17
|
-
- `添加...` / `新增...` (add/create)
|
|
18
|
-
- `修复...` / `修复...bug` (fix)
|
|
19
|
-
- `优化...` / `重构...` (optimize/refactor)
|
|
20
|
-
- `创建...` / `编写...` / `开发...` (create/write/develop)
|
|
21
|
-
- `构建...` / `部署...` (build/deploy)
|
|
22
|
-
- `更新...功能` / `改进...` (update/improve)
|
|
23
|
-
- Any sentence that clearly describes a development task
|
|
15
|
+
### Semantic Triggers (Intent-based)
|
|
24
16
|
|
|
25
|
-
|
|
26
|
-
- `implement...` / `add...` / `create...`
|
|
27
|
-
- `fix...` / `bug...` / `issue...`
|
|
28
|
-
- `build...` / `develop...`
|
|
29
|
-
- `refactor...` / `optimize...`
|
|
30
|
-
- `update...` / `improve...`
|
|
17
|
+
**These patterns indicate development intent:**
|
|
31
18
|
|
|
32
|
-
|
|
33
|
-
|
|
19
|
+
| User Says | Intent | Action |
|
|
20
|
+
|-----------|--------|--------|
|
|
21
|
+
| "项目支持 Python/Go/Java" | Add language support | `/om:start 项目支持 Python/Go/Java` |
|
|
22
|
+
| "需要登录功能" | Need a feature | `/om:start 需要登录功能` |
|
|
23
|
+
| "想做一个后台管理" | Want to build something | `/om:start 想做一个后台管理` |
|
|
24
|
+
| "加个导出功能" | Add functionality | `/om:start 加个导出功能` |
|
|
25
|
+
| "用户能上传文件" | Enable capability | `/om:start 用户能上传文件` |
|
|
26
|
+
| "集成第三方支付" | Integrate something | `/om:start 集成第三方支付` |
|
|
27
|
+
| "支持多语言" | Add support for something | `/om:start 支持多语言` |
|
|
28
|
+
| "要有 API 文档" | Need documentation | `/om:start 要有 API 文档` |
|
|
34
29
|
|
|
35
|
-
|
|
30
|
+
### Keyword Triggers (Pattern-based)
|
|
31
|
+
|
|
32
|
+
**Chinese:**
|
|
33
|
+
- `实现...` / `添加...` / `新增...` / `创建...`
|
|
34
|
+
- `修复...` / `优化...` / `重构...` / `改进...`
|
|
35
|
+
- `开发...` / `构建...` / `编写...` / `集成...`
|
|
36
|
+
- `支持...` / `需要...` / `想要...` / `要做...`
|
|
37
|
+
|
|
38
|
+
**English:**
|
|
39
|
+
- `implement...` / `add...` / `create...` / `build...`
|
|
40
|
+
- `fix...` / `bug...` / `issue...` / `refactor...`
|
|
41
|
+
- `develop...` / `integrate...` / `support...` / `need...`
|
|
42
|
+
- `want to...` / `would like...` / `should have...`
|
|
36
43
|
|
|
37
|
-
|
|
38
|
-
-
|
|
39
|
-
-
|
|
40
|
-
- User requests info: "show me...", "list...", "read..."
|
|
41
|
-
- User navigates: "open folder", "go to..."
|
|
42
|
-
- User greets or chats: "hello", "thanks"
|
|
44
|
+
### File Path Triggers
|
|
45
|
+
- Input ends with `.md` (treated as task document)
|
|
46
|
+
</trigger-conditions>
|
|
43
47
|
|
|
44
|
-
|
|
48
|
+
<exclusions>
|
|
49
|
+
## When NOT to Auto-Invoke
|
|
50
|
+
|
|
51
|
+
Do NOT invoke when the user is:
|
|
52
|
+
- **Asking questions**: "how do I...", "what is...", "why..."
|
|
53
|
+
- **Requesting info**: "show me...", "list...", "read...", "check..."
|
|
54
|
+
- **Navigating**: "open folder", "go to...", "cd..."
|
|
55
|
+
- **Chatting**: "hello", "thanks", "好的"
|
|
56
|
+
- **Using explicit commands**: `/om:*`, `/gsd:*`, `/superpowers:*`
|
|
45
57
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
↓
|
|
51
|
-
Action: Invoke /om:start 实现用户登录功能
|
|
52
|
-
```
|
|
58
|
+
**Key distinction:**
|
|
59
|
+
- ✅ "项目支持 Python" → Intent to ADD support → INVOKE
|
|
60
|
+
- ❌ "这个项目支持 Python 吗" → Asking a question → DO NOT invoke
|
|
61
|
+
</exclusions>
|
|
53
62
|
|
|
63
|
+
<examples>
|
|
54
64
|
## Examples
|
|
55
65
|
|
|
56
66
|
| User Input | Action |
|
|
57
67
|
|------------|--------|
|
|
68
|
+
| `当前项目支持下 Python/Go/Java` | → `/om:start 当前项目支持下 Python/Go/Java` |
|
|
58
69
|
| `实现用户登录功能` | → `/om:start 实现用户登录功能` |
|
|
70
|
+
| `需要加个导出功能` | → `/om:start 需要加个导出功能` |
|
|
71
|
+
| `想做一个管理后台` | → `/om:start 想做一个管理后台` |
|
|
59
72
|
| `fix the login bug` | → `/om:start fix the login bug` |
|
|
60
|
-
|
|
|
61
|
-
|
|
|
62
|
-
| `
|
|
63
|
-
|
|
64
|
-
|
|
73
|
+
| `集成微信支付` | → `/om:start 集成微信支付` |
|
|
74
|
+
| `这个项目支持 Python 吗?` | → No invoke (question) |
|
|
75
|
+
| `show me the config` | → No invoke (info request) |
|
|
76
|
+
</examples>
|
|
77
|
+
|
|
78
|
+
<process>
|
|
79
|
+
1. Detect user intent from input
|
|
80
|
+
2. If intent matches trigger conditions → invoke `/om:start` with full user input
|
|
81
|
+
3. If unclear → do NOT invoke, let user be explicit
|
|
82
|
+
</process>
|