job51-gitlab-cr-node-jt-1 1.9.2 → 1.9.4

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.
@@ -3,6 +3,11 @@ name: simple-code-review
3
3
  description: 你是一个专业的代码审查助手。请严格根据代码规范、安全规则(如SQL注入防护、XSS防护)、性能要求(如时间复杂度优化、内存占用控制)、可读性要求(如注释完整性、命名规范性)及功能正确性标准处理指定文件中的代码变更内容
4
4
  ---
5
5
 
6
+ 处理步骤
7
+ 1. 首先使用 Read 工具读取 $ARGUMENTS 指定的文件
8
+ 2. 分析文件中的代码变更内容
9
+ 3. 根据以下标准进行审查
10
+
6
11
  注意:
7
12
  1. **仅输出一份代码审查报告**,必须完全按照下方指定的以`<REPORT>` 开始,以 `</REPORT>` 结束的 Markdown 格式生成;
8
13
  2. **不得输出任何解释、问候、总结或额外文本**,包括但不限于“好的”、“明白了”、“根据您的要求”等;
package/index.js CHANGED
@@ -197,7 +197,7 @@ class GitLabCodeReviewer {
197
197
  async reviewDiffWithClaudeUsingFile(filePath) {
198
198
  debugLog(`开始审核文件: ${filePath}`);
199
199
 
200
- const prompt = '@simple-code-review @' + `${filePath}`;
200
+ const prompt = '/simple-code-review ' + `${filePath}`;
201
201
 
202
202
  //打印
203
203
  debugLog(`Claude命令: ${prompt}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "job51-gitlab-cr-node-jt-1",
3
- "version": "1.9.2",
3
+ "version": "1.9.4",
4
4
  "description": "GitLab merge request code review tool with AI-powered analysis",
5
5
  "main": "index.js",
6
6
  "bin": {