job51-gitlab-cr-node-skill-prompt-optimize 1.4.6 → 1.4.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.
Files changed (2) hide show
  1. package/index.js +1 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -140,7 +140,6 @@ ${diffObject.diff}`;
140
140
  // 检查审查结果中是否包含严重问题,只有包含严重问题才发布评论
141
141
  if (blockObj.review_result && blockObj.review_result.includes('🔴 严重问题')) {
142
142
  // 立即发布评论
143
- console.log(`🤖 AI 代码审查结果: ${blockObj.review_result}`);
144
143
  await this.postSingleCommentToGitLab(projectId, mergeRequestIid, {
145
144
  diff_info: blockObj,
146
145
  block_index: blockObj.block_index,
@@ -211,7 +210,7 @@ ${diffObject.diff}`;
211
210
  1. 严格按照 .claude/skills/simple-code-review/SKILL.md 中定义的模板格式输出
212
211
  2. **每个模块不是必须的**:没有对应问题时,完全省略该模块(不输出标题)
213
212
  3. 必须以 <REPORT> 开始,以 </REPORT> 结束
214
- 4. **必须输出 `<LINE_INFO>` 标签**,包含所有问题的行号信息(无问题时输出空数组 []
213
+ 4. **必须输出 '<LINE_INFO>' 标签**,包含所有问题的行号信息(无问题时输出空数组 [])
215
214
  5. 不要输出任何额外的解释、问候或总结文本`;
216
215
  //打印
217
216
  debugLog(`Claude命令: ${prompt}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "job51-gitlab-cr-node-skill-prompt-optimize",
3
- "version": "1.4.6",
3
+ "version": "1.4.8",
4
4
  "description": "GitLab merge request code review tool with AI-powered analysis and project context support",
5
5
  "main": "index.js",
6
6
  "bin": {