用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/omiinaya/repairshopr-skills --skill repairshopr-payment命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | repairshopr-payment |
| description | Create and manage payments in RepairShopr to invoice customers |
| license | MIT |
| compatibility | opencode |
| metadata | {"audience":"accountants, receptionists, administrators","api":"GET /payments, POST /payments, GET /payments/{id}"} |
I manage payments in RepairShopr. Payments represent money received from customers, typically applied to invoices. I can list payments, create new payments (including credit card processing if configured), and retrieve individual payment details.
Use this when:
Required API base URL:
VITE_REPAIRSHOPR_SUBDOMAINVITE_REPAIRSHOPR_API_KEYPermissions:
List Payments (GET /payments) Optional:
query (string) - Search paymentspage (integer) - Page number (25 results per page)Create Payment (POST /payments) At minimum, you need to specify either:
customer_id + amount_cents + payment_methodinvoice_id + amount_cents (and optionally payment_method)Common parameters:
customer_id (integer) - Customer making paymentinvoice_id (integer) - Invoice to apply to (can be omitted for on-account payments)invoice_number (string) - Alternative to invoice_idamount_cents (integer) - Payment amount in cents (e.g., 1000 = $10.00)payment_method (string) - Method: "Cash", "Check", "Credit Card", "Other", etc.ref_num (string) - Reference number (check number, transaction ID)apply_payments (object) - For applying to multiple invoices: { invoice_id: amount, ... }address_street, address_city, address_zip - For credit card address verificationcredit_card_number, date_month, date_year, cvv - For direct credit card processingfirstname, lastname - Cardholder namesignature_name, signature_data, signature_date - For signature captureGet Payment (GET /payments/{id})
id (integer) - Payment IDExample call:
// Record a cash payment applied to an invoice
const payment = await skill({ name: "repairshopr-payment" }, {
invoice_id: 123,
amount_cents: 2500, // $25.00
payment_method: "Cash",
ref_num: "CASH-2024-001"
})
// Record a credit card payment
const ccPayment = await skill({ name: "repairshopr-payment" }, {
customer_id: 123,
amount_cents: 4999,
payment_method: "Credit Card",
credit_card_number: "4111111111111111",
date_month: "12",
date_year: "2025",
cvv: "123",
firstname: "John",
lastname: "Doe"
})
Response includes:
id, payment_amount, invoice_ids (array of applied invoices), payment_method, success flag, applied_at, signature_data if any, and embedded customer infoinvoice_id is provided, payment is automatically applied to that invoiceapply_payments allows splitting a payment across multiple invoicesrepairshopr-invoice - To create invoices firstrepairshopr-payment-method - For available payment method configurationsrepairshopr-payment-profile - For stored customer payment profiles