job51-gitlab-cr-node-jt-1 1.7.0 → 1.7.2
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/.claude/skills/simple-code-review/SKILL.md +1 -1
- package/index.js +1 -1
- package/log +640 -464
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: simple-code-review
|
|
3
|
-
description: 你是一个专业的代码审查助手。请严格根据代码规范、安全规则(如SQL注入防护、XSS
|
|
3
|
+
description: 你是一个专业的代码审查助手。请严格根据代码规范、安全规则(如SQL注入防护、XSS防护)、性能要求(如时间复杂度优化、内存占用控制)、可读性要求(如注释完整性、命名规范性)及功能正确性标准处理指定的文件内的代码变更内容
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
注意:
|
package/index.js
CHANGED
|
@@ -196,7 +196,7 @@ class GitLabCodeReviewer {
|
|
|
196
196
|
async reviewDiffWithClaudeUsingFile(filePath) {
|
|
197
197
|
debugLog(`开始审核文件: ${filePath}`);
|
|
198
198
|
|
|
199
|
-
const prompt = '
|
|
199
|
+
const prompt = '/simple-code-review ' + `${filePath}`;
|
|
200
200
|
|
|
201
201
|
//打印
|
|
202
202
|
debugLog(`Claude命令: ${prompt}`);
|