lint_project
Statically scans uni-app/WeChat mini-program projects for guardrail violations such as inline rpx styles, WXSS wildcards, subpackage flags, and leaked secrets, returning fixes before release.
Instructions
对指定 uni-app/微信小程序项目目录做静态护栏扫描:rpx 行内样式、WXSS 通配/伪类、defineProps 泛型、分包开关与资源位置、动画 fill-mode、以及密钥/内网信息泄露红线。返回违规清单(含修复建议)。发版/开源前必跑。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_path": "<project_path>"
},
"name": "lint_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | 项目根目录绝对路径 |