用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/omiinaya/repairshopr-skills --skill repairshopr-asset-create-from-lenovo命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | repairshopr-asset-create-from-lenovo |
| description | Validate Lenovo serial and create asset in RepairShopr |
| license | MIT |
| compatibility | opencode |
| metadata | {"audience":"technicians, kiosk applications","api":"GET /api/validate-and-create-asset/:serial/:customerId, POST /customer_assets"} |
I validate a Lenovo serial number against the Lenovo product database and, if valid, create an asset in RepairShopr linked to a customer. The asset is marked as type "Computer" with manufacturer "Lenovo".
Use this when:
Required API base URL:
VITE_REPAIRSHOPR_SUBDOMAINVITE_REPAIRSHOPR_API_KEYParameters:
serial (string) - The Lenovo serial number (e.g., "PW01B6J5")customerId (integer) - The RepairShopr customer ID to attach the asset toExample call:
const result = await skill({ name: "repairshopr-asset-create-from-lenovo" }, {
serial: "PW01B6J5",
customerId: 35451526
})
Response includes:
valid (boolean) - Whether the serial is a valid Lenovo productasset (object or null) - The created asset data if valid, including:
id - Asset ID (use in ticket creation)name - Product name from Lenovo (e.g., "L13 Yoga Gen 2 ...")asset_serial - Serial numberasset_type - "Computer"properties - Includes manufacturer: "Lenovo" and Lenovo-specific fields{ valid: false, asset: null }{ valid: true, asset: null }asset_ids parameter in ticket creation