@optima-chat/dev-skills 0.1.4 → 0.1.5

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.
@@ -2,7 +2,7 @@
2
2
 
3
3
  快速查看服务日志,支持 Stage/Prod 两个环境。
4
4
 
5
- **版本**: v0.1.1
5
+ **版本**: v0.1.5
6
6
 
7
7
  ## 使用场景
8
8
 
@@ -19,7 +19,9 @@
19
19
  "Bash(git push:*)",
20
20
  "Bash(find:*)",
21
21
  "Bash(git commit:*)",
22
- "Bash(aws logs get-log-events:*)"
22
+ "Bash(aws logs get-log-events:*)",
23
+ "Bash(npm install:*)",
24
+ "Bash(optima-dev-skills:*)"
23
25
  ],
24
26
  "deny": [],
25
27
  "ask": []
package/README.md CHANGED
@@ -105,13 +105,11 @@ Claude:
105
105
  optima-dev-skills/
106
106
  ├── .claude/
107
107
  │ ├── commands/
108
- │ │ └── logs/
109
- │ │ └── logs.md # /logs - 查看服务日志
108
+ │ │ └── logs.md # /logs - 查看服务日志
110
109
  │ │
111
110
  │ └── skills/
112
- │ └── scenarios/
113
- │ └── viewing-logs/ # 查看日志场景
114
- │ └── SKILL.md
111
+ │ └── viewing-logs/ # 查看日志场景
112
+ │ └── SKILL.md
115
113
 
116
114
  └── docs/
117
115
  └── COMMANDS_DESIGN.md
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optima-chat/dev-skills",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Claude Code Skills for Optima development team - cross-environment collaboration tools",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -7,7 +7,7 @@ const os = require('os');
7
7
  const CLAUDE_DIR = path.join(os.homedir(), '.claude');
8
8
  const SKILLS_SOURCE = path.join(__dirname, '..', '.claude');
9
9
  const COMMANDS_DEST = path.join(CLAUDE_DIR, 'commands');
10
- const SKILLS_DEST = path.join(CLAUDE_DIR, 'skills', 'scenarios', 'viewing-logs');
10
+ const SKILLS_DEST = path.join(CLAUDE_DIR, 'skills', 'viewing-logs');
11
11
 
12
12
  // 颜色输出
13
13
  const colors = {
@@ -63,7 +63,7 @@ function install() {
63
63
  }
64
64
 
65
65
  // 安装 skills
66
- const skillsSource = path.join(SKILLS_SOURCE, 'skills', 'scenarios', 'viewing-logs');
66
+ const skillsSource = path.join(SKILLS_SOURCE, 'skills', 'viewing-logs');
67
67
  if (fs.existsSync(skillsSource)) {
68
68
  copyRecursive(skillsSource, SKILLS_DEST);
69
69
  log(`✓ Installed viewing-logs skill to ${SKILLS_DEST}`, 'green');