qa-code-expert-free
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "qa-code-expert-free" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-117a3a54d1935e1daeee71ce8e56c89e7140e4a95c19caa5bf4a83396b65142e. Verify the upstream source and version against https://skillhub.cn/skills/org-l7548nxs/qa-code-expert-free before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Xingjian lightweight code quality inspector — a local static code-review tool. Contains 587 normative rules covering four dimensions: syntax/format, code quality, architectural compliance, and component contracts. Supports Python/JS/Java/Go/mini-programs, runs with zero dependencies and provides results in seconds, intended for code review and static analysis.
Introduction source: third_party · org-l7548nxs · 5.5.2 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: xinpect-code-review
version: 5.5.1
description: 煋鉴代码质检轻量版,本地静态代码审查工具。规范层 587 条有效规则,覆盖语法格式、代码质量、架构合规、组件契约四大维度,支持Python/JS/Java/Go/小程序等,零依赖秒级出结果。代码审查、code review、代码质量检查、静态分析时使用。
category: 开发工具
triggers:
- 代码审查
- 代码质检
- 静态分析
- code review
- 代码质量检查
- 组件契约
platforms:
- WorkBuddy
- OpenClaw煋鉴代码质检(轻量版 v5.5.1)
本地静态代码审查工具,代码不上传、数据不出本地,零依赖秒级出结果。 专业版支持 9 大脑 / 950+ 规则 / 全维度扫描,0.5元/次,见文末直达。
🔥 新增:组件契组合规检查(B9)
v5.5.1 新增页面可达性检测(2026-08-10):
- 新增
CC-PAGE-001注册页面无入口可达(medium):检查 app.json 中注册的页面是否有导航入口 - 新增
CC-PAGE-002游离页面未注册(high):检测项目中存在但未在 app.json 注册的页面文件 - 自动排除 /components/、/comp/、/common/、/widgets/ 等组件目录,不误报组件文件
v5.5.0 新增 组件契约引擎,专门扫描小程序 WXML 文件,检查 TDesign 等组件库的使用是否符合规范:
- 8 条 CC 规则:必传属性、属性值越界、非法嵌套、层级超限、样式红线、同页不一致…
- 20+ 语义组件:t-button、t-card、t-popup、t-input、t-cell、t-tabs、t-avatar、t-tag…
- 零依赖纯正则+DOM解析,不依赖任何组件库SDK
📊 规则覆盖(587 条)
| 维度 | 大脑 | 规则数 | 说明 |
|---|---|---|---|
| 语法格式 | B1 | 9条 | 缩进、行尾空格、命名规范、过长行 |
| 代码质量 | B6 | 398条 | 复杂度、嵌套、注释、错误处理、魔法数字 |
| 架构合规 | B7 | 170条 | 目录结构、依赖、全局状态、安全隐患 |
| 组件契约 | B9 | 8条 | 小程序/WXML组件使用规范 |
| 合计 | 587条 | 规范层全部开放 |
支持语言:Python / JavaScript / TypeScript / Java / Go / Ruby / PHP / C/C++ / C# / 小程序 WXML
🚀 怎么用
一行命令跑起来:
python scripts/scan.py /path/to/your/code/
输出结构化报告:
- 问题所在文件和行号
- 严重级别(blocker / critical / high / medium / low / info)
- 问题描述与修复建议
- 按维度和严重度的统计汇总
✅ 真实可运行示例
拿一段小程序代码试试:
<!-- test.wxml -->
<view class="container">
<t-button theme="primary">确认</t-button>
</view>
扫描结果:
[high] CC-001 - 必传属性缺失
文件: test.wxml:2
说明: 组件 <t-button> 缺少必传属性: size
有代码、能跑、有真实输出——不是纯文档型玩具。
🎯 适用场景
- 提交代码前自查,别把低级错误带到线上
- 学习代码规范,知道什么是"好代码"
- 快速评估接手项目的代码质量
- 团队代码评审辅助,统一标准减少扯皮
- 小程序组件库规范化,杜绝样式走样和交互不一致
💡 专业版能力
本版本为轻量版,仅包含 规范层 587 条规则。专业版(9大脑全量)已上线:
- 9 大脑 950+ 规则:安全合规(B2)、AST深度检查(B3)、性能优化(B4)、依赖风险(B5)、业务风控(B8)
- 全维度扫描:安全漏洞 / 代码质量 / 架构合规 / 业务逻辑 / 依赖风险
- 在线检测 + 报告导出:上传即扫,支持HTML/PDF报告
- 团队协作:多项目管理、历史对比、趋势分析
直达煋鉴官网(独立部署·服务可控): https://xinpect.xingwangzhineng.com/?from=skillhub
SkillHub 付费版(0.5元/次·即用即走): https://skillhub.cn/skills/xinpect-code-review-pro
煋鉴代码质检 · 让好代码成为默认值
Current listing version
5.5.2
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供587条有效规则的本地静态代码审查,覆盖语法、质量、架构、组件契约四大维度
- 支持Python/JS/Java/Go/小程序等多语言,解决开发者代码质量自查和团队评审的明确痛点
Highlights
- 触发词覆盖全面,包含中英文多种表达方式,边界清晰不易误触
Highlights
- 文档结构完整,包含版本、功能、示例、场景说明,frontmatter规范
- 提供真实可运行的代码示例和具体执行命令
Areas to improve
-
执行脚本异常处理缺失 Reported severity: Minor
提供了 scripts/scan.py 执行路径和命令行示例,但未说明脚本内部是否包含对路径不存在、权限不足、文件格式错误等常见异常的捕获和处理机制
Recommendation: 建议在文档或脚本中添加异常处理说明,或在执行命令前增加参数校验提示
Highlights
- 提供了具体的执行脚本路径和命令行调用方式
- 输出格式明确,包含文件行号、严重级别、问题描述和建议
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- skillhub.cn
- xinpect.xingwangzhineng.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.