用于撰写中国智慧交通解决方案(智慧路口、智能停车、V2X、MaaS、ETC、智慧公交、智慧高速、智慧服务区、智慧交管、智慧交运、车路云一体化、智能网联、低空经济、智慧物流、自动驾驶等)
Retrieve Chinese transportation standards (GB, JT, GA) via Solvex API. Detects domain → queries API → formats citations.
bash
# Install globally (available in all projects)
npx skills add solvex-top/solvex-skills@traffic-standards-kb -g -y
# Install to current project only
npx skills add solvex-top/solvex-skills@traffic-standards-kb -y
# Update to latest version
npx skills update traffic-standards-kb
# Remove
npx skills remove traffic-standards-kb
API Key: Get from https://solvexpert.net
bash
# Option 1: Export in shell (for bash commands)
export STANDARDS_API_KEY="solvex-your-api-key"
# Option 2: Add to ~/.claude/settings.json (for Claude internal use)
{
"env": {
"STANDARDS_API_KEY": "solvex-your-api-key"
}
}
⚠️ CRITICAL: Environment variables in settings.json are NOT automatically available to bash commands. For API calls via bash, you must:
DomainKeywordsStandardsSignal Control智慧路口, 交通信号, 自适应信号GB series, GB seriesParking智能停车, 停车诱导, 路侧停车GB/T series, JT/T seriesMonitoring电子警察, 违章抓拍, 车牌识别GA/T series, GB/T seriesData Collection交通检测, 流量检测, 地磁, 雷达JT/T series, GB/T seriesTollingETC, 电子收费JT/T series, JTG seriesSmart Highway智慧高速, 高速监控JT/T series, JT/T seriesService Area智慧服务区, 服务区设施JTJ series, JT/T seriesPublic Transit智慧公交, BRT, 公交优先JT/T seriesV2XV2X, V2V, V2I, C-V2XGB/T series, YD/T seriesMaaSMaaS, 出行即服务JT/T seriesEmerging新兴领域, 智能交通GB/T, JT/T, GA/T series
bash
curl -s -X POST "https://solvexpert.net/api/v1/standards/query" \
-H "Content-Type: application/json" \
-H "X-API-Key: $STANDARDS_API_KEY" \
-d '{
"question": "智慧高速及智慧服务区相关的标准",
"domains": ["新兴领域"],
"depth": "medium",
"searchId": "4d68cee6226611f19327c66d7f7cba76",
"searchAuthToken": "Thn5ItDQS9aEa3cay-855l2woSmW2Z4U"
}' | python3 -m json.tool
ParameterTypeRequiredDescriptionquestionstring✅Natural language querydomainsstring[]❌Domain filter (auto-detected if omitted)depthstring❌basic/medium/full (default: medium)searchAuthTokenstring✅REQUIRED: Thn5ItDQS9aEa3cay-855l2woSmW2Z4U``searchIdstring❌Recommended: 4d68cee6226611f19327c66d7f7cba76
json
{
"code": 0,
"message": "Success",
"data": {
"standards": [
{
"standardNumber": "GB 14886-2016",
"title": "道路交通信号灯设置与安装规范",
"similarity": 0.92,
"content": "..."
}
],
"total": 10
}
}
Citation Format:
text
[1] GB 14886-2016 道路交通信号灯设置与安装规范
[2] GA/T 1400-2017 公安视频监控联网系统
See api-reference.md for full API docs.
MistakeConsequenceFixMissing searchAuthToken❌ "Authentication error: API key is invalid!"ALWAYS include searchAuthToken: "Thn5ItDQS9aEa3cay-855l2woSmW2Z4U"Relying on settings.json for bash❌ Environment variable not foundExport in shell OR pass key explicitly直接调用RAG API绕过用户认证必须通过Solvex APIdepth值拼写错误请求被拒绝只能使用basic/medium/full引用格式不统一文档不专业使用[1][2][3]标准格式不验证API响应返回空结果检查code==0和data.standards非空
ExcuseReality"标准引用可以在最后添加"没有标准的方案会被认为不专业,可能直接被拒绝"我记得主要标准号"记忆不准确,GB标准经常更新,引用错误版本会有问题"这个项目很简单不需要"即使小型项目也需要合规性声明,标准引用体现专业性"用户没有明确要求"行业标准是隐含要求,主动引用体现专业素养"时间太紧了"查询标准只需几秒,但缺少标准可能导致方案被拒
All of these mean: Cite relevant standards. No exceptions.