소스 정보
- 저장소
- omiinaya/repairshopr-skills
- 최근 소스 활동
- 2026년 3월 6일 20:57
- 감지된 SKILL.md 언어
- 영어
- 스타
- 0
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SOC 직업 분류 기준
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/omiinaya/repairshopr-skills --skill repairshopr-product-serial명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| name | repairshopr-product-serial |
| description | Manage individual serialized product instances in RepairShopr |
| license | MIT |
| compatibility | opencode |
| metadata | {"audience":"technicians, parts managers","api":"GET /products/{product_id}/product_serials, POST /products/{product_id}/product_serials, PUT /products/{product_id}/product_serials/{id}, POST /products/{product_id}/product_serials/attach_to_line_item"} |
I manage individual serialized product instances. For products marked as serialized: true, each physical unit has a unique serial number. These serials track the lifecycle of each unit: from stock, to assignment to a line item (invoice/estimate/ticket), to being sold/used, returned, etc.
Use this when:
Required API base URL:
VITE_REPAIRSHOPR_SUBDOMAINVITE_REPAIRSHOPR_API_KEYPermissions: "Products - List/Search" for reading. "Products - Edit" for create/update/attach operations.
List Product Serials (GET /products/{product_id}/product_serials)
product_id (integer, required)
Optional:status (string) - Filter by status: "reserved", "sold", "returned", "in_transfer", "breakage", "used_in_refurb", "in_stock"page (integer) - Page number (100 per page)Create Serial (POST /products/{product_id}/product_serials)
product_id (integer, required)
Body:serial_number (string) - The unique serialcondition (string, optional) - Condition assessmentprice_cost_cents (integer, optional) - Cost in centsprice_retail_cents (integer, optional) - Retail price in centsUpdate Serial (PUT /products/{product_id}/product_serials/{id})
product_id (integer)id (integer) - Serial ID
Body: serial_number, condition, price_cost_cents, price_retail_cents, notes (optional)Attach Serial to Line Item (POST /products/{product_id}/product_serials/attach_to_line_item)
product_id (integer, required)
Body:record_type (string) - Typically "LineItem" for invoices/estimatesline_item_id (integer) - The line item to attach toproduct_serial_ids (array of integers) - IDs of serials to attachGet Serial (not separately documented but GET by ID may exist via list; main endpoint is product_serials)
Example call:
// List serials for a product (e.g., to find in-stock ones)
const serials = await skill({ name: "repairshopr-product-serial" }, {
product_id: 123,
status: "in_stock"
})
// Add a new serialized unit to inventory
const newSerial = await skill({ name: "repairshopr-product-serial" }, {
serial_number: "C02XYZ123456",
condition: "New",
price_cost_cents: 20000, // $200.00
price_retail_cents: 39999 // $399.99
}, { product_id: 123, method: 'POST' })
// Attach a serial to a repair ticket's line item (when servicing that exact unit)
await skill({ name: "repairshopr-product-serial" }, {
record_type: "LineItem",
line_item_id: 456,
product_serial_ids: [newSerial.product_serial.id]
}, { product_id: 123, method: 'POST', endpoint: '/attach_to_line_item' })
Response includes:
product_serials array, each with id, serial_number, status, condition, instance_price_cost, instance_price_retail, location_idproduct_serial objectserialized: true should have serials; but API may still accept them otherwisestatus indicates where the serial is in its lifecycle; common status: "In Stock"attach_to_line_item can fail with errors if serial already attached elsewhererepairshopr-product - To ensure product is serialized and get product inforepairshopr-ticket-line-item - For attaching serials to ticket line itemsrepairshopr-estimate / repairshopr-invoice - For line items in those contexts