@catcuts-skills/commit 1.0.6 → 1.0.8

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 CHANGED
@@ -206,7 +206,7 @@ skills/commit/
206
206
 
207
207
  ## 开发
208
208
 
209
- 本技能基于 [agent-skill-npm-boilerplate](https://github.com/<your-username>/agent-skill-npm-boilerplate) 开发。
209
+ 本技能基于 [agent-skill-npm-boilerplate](https://github.com/catcuts/agent-skill-npm-boilerplate) 开发。
210
210
 
211
211
  ## 相关资源
212
212
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@catcuts-skills/commit",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "description": "读取 staged 代码差异,自动生成符合 Conventional Commits 规范的提交文本",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -14,9 +14,6 @@
14
14
  "SKILL.md",
15
15
  "scripts/"
16
16
  ],
17
- "optionalDependencies": {
18
- "skills": "^1.1.2"
19
- },
20
17
  "keywords": [
21
18
  "claude-code",
22
19
  "skill",
@@ -180,7 +180,8 @@ try {
180
180
  // Build skills command
181
181
  const commandParts = [
182
182
  'npx',
183
- 'skills',
183
+ '-y', // Auto-confirm npx installation
184
+ 'skills', // Always use latest version
184
185
  'add',
185
186
  `"${packageRoot}"`,
186
187
  ];
@@ -189,7 +190,7 @@ try {
189
190
  commandParts.push('-g');
190
191
  }
191
192
 
192
- commandParts.push('-y'); // Non-interactive mode
193
+ commandParts.push('-y'); // Non-interactive mode for skills add
193
194
 
194
195
  const command = commandParts.join(' ');
195
196