用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/omiinaya/repairshopr-skills --skill repairshopr-new-ticket-form命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | repairshopr-new-ticket-form |
| description | Manage ticket forms (intake forms) for repair ticket creation |
| license | MIT |
| compatibility | opencode |
| metadata | {"audience":"administrators, support managers","api":"GET /new_ticket_forms, GET /new_ticket_forms/{id}, POST /new_ticket_forms/{id}/process_form"} |
I manage Ticket Forms (also called intake forms) in RepairShopr. These forms define the fields and layout for creating new tickets, whether via customer portal, kiosk, or staff. They control which fields are required, shown, or hidden for different ticket submission contexts.
Use this when:
Required API base URL:
VITE_REPAIRSHOPR_SUBDOMAINVITE_REPAIRSHOPR_API_KEYPermission: "Ticket Workflows - Manage" for listing forms. "Tickets - Create" for processing a form.
List Forms (GET /new_ticket_forms) Returns all ticket forms with their configuration.
Get Single Form (GET /new_ticket_forms/{id})
id (integer) - Form ID
Returns the form structure including configured fields.Process Form (POST /new_ticket_forms/{id}/process_form)
id (integer) - Form ID
Body typically includes:customer_details (object) - Customer information fields (firstname, lastname, email, phone, etc.)ticket_details (object) - Ticket fields (subject, description, problem_type, user_id, priority, etc.)appointments (object) - Optional appointment details if form includes schedulingThe exact required fields depend on the form's configuration (data field structure).
Example call:
// Retrieve form to see required fields
const form = await skill({ name: "repairshopr-new-ticket-form" }, {}, { id: 1, method: 'GET' })
// Process form submission
const result = await skill({ name: "repairshopr-new-ticket-form" }, {
customer_details: {
firstname: "Jane",
lastname: "Doe",
email: "jane@example.com",
phone: "555-1234"
},
ticket_details: {
subject: "MacBook Pro not charging",
description: "Battery doesn't hold charge, needs replacement",
problem_type: "Hardware"
}
}, { id: 1, method: 'POST' })
Response includes:
new_ticket_forms array or single new_ticket_form object with id, name, data structureticket object (created ticket), invoice (if applicable), redirect path, messagerequire, show, or hide in the data structuredata includes nested customer_details and ticket_details sections with fields configurationsworksheets and related_assets sectionssummary and start_at/end_atrepairshopr-ticket-create - Direct ticket creation when not using a formrepairshopr-appointment - For appointment scheduling after ticket creationrepairshopr-customer-create - Form may auto-create customers or link existing