Sales & customer service · Automation
commerce-returns
/commerce-returns
Use when processing return requests, managing RMAs, or handling refund workflows.
- Author
- stateset ↗
- Repository
- stateset-icommerce ↗
- Licence
- MIT
- Last repository change
- 22.10.2026
Assessment and security
100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
Deprecation
No signals detected. Repository changed on 22.10.2026, without references to retired models or APIs.
Licence
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Use when processing return requests, managing RMAs, or handling refund workflows.
Original author description
Use when processing return requests, managing RMAs, or handling refund workflows.
How it works
- Return Lifecycle
- Return Structure
- Return Reasons
- Item Condition
- Return Policy Guidelines
- Return Processing Workflow
- Rejection Reasons
- Refund Methods
- Inventory Impact
- Common Errors
Original SKILL.md headings · 209 lines, 823 words
SKILL.md preview
---
name: commerce-returns
description: Use when processing return requests, managing RMAs, or handling refund workflows.
---
# Commerce Returns Skill
Domain knowledge for return merchandise authorization (RMA) processing and refund workflows.
## Return Lifecycle
### Status Flow
```
[requested] ──► [approved] ──► [received] ──► [refunded]
│
└───────► [rejected]
```
### Status Definitions
| Status | Description | Next States |
|--------|-------------|-------------|
| `requested` | Customer initiated return | approved, rejected |
| `approved` | RMA approved, awaiting items | received, cancelled |
| `rejected` | Return denied | - |
| `received` | Items received at warehouse | refunded, exchanged |
| `refunded` | Refund processed | - |
| `exchanged` | Exchange fulfilled | - |
| `cancelled` | Return cancelled | - |
## Return Structure
```javascript
{
id: "uuid",
returnNumber: "RMA-12345",
orderId: "order-uuid",
status: "requested",
reason: "defective",
reasonDetails: "Screen has dead pixels",
// Items being returned
items: [
{
orderItemId: "item-uuid",
sku: "WIDGET-001",
name: "Premium Widget",
quantity: 1,
condition: "defective"
}
],
// Refund details
refundAmount: 29.99,
refundMethod: "original_payment",
// Timestamps
requestedAt: "2024-01-15T10:00:00Z",
approvedAt: null,
receivedAt: null,
completedAt: null
}
```
## Return Reasons
| Reason Code | Description | Typical Action |
|-------------|-------------|----------------|
| `defective` | Product defect/malfunction | Full refund, no restock |
| `wrong_item` | Incorrect item shipped | Full refund + reship |
| `not_as_described` | Differs from listing | Full refund |
| `changed_mind` | Customer decision | Refund - restocking fee |
| `better_price_found` | Found cheaper | Refund - restocking fee |
| `no_longer_needed` | No longer wants | Refund - restocking fee |
| `damaged` | Arrived damaged | Full refund, file claim |
| `other` | Other reason | Case by case |
## Item Condition
| Condition | Description | Restockable |
|-----------|-------------|-------------|
| `new` | Unopened, unused | Yes |
| `like_new` | Opened but unused | Yes |
| `used` | Shows use | Maybe |
| `damaged` | Customer damaged | No |
| `defective` | Product defect | No |
## Return Policy Guidelines
### Standard Policy (Example)
- **Window**: 30 days from delivery
- **Condition**: Unused, in original packaging
- **Restocking fee**: 15% for buyer's remorse
- **Free returns**: Defective items, wrong item shipped
### Calculating Refund
```
Original Amount: $99.99
- Restocking Fee: -$15.00 (15%)
- Return Shipping: -$8.99 (if customer pays)
= Refund Amount: $76.00
```
### Exception Cases
- Defective: Full refund, no fees
- Wrong item: Full refund + free return shipping
- Damaged in transit: Full refund + carrier claim
- Final sale: No returns accepted
## Return Processing Workflow
### Customer Initiates Return
```
1. Customer contacts support
2. Verify order exists and eligible
3. Collect return reason
4. Create return request
5. Provide RMA number
```
### Review & Approve
```
1. Review return request
2. Check return policy eligibility
3. Verify reason is valid
4. Calculate refund amount
5. Approve or reject with reason
```
### Process Return
```
1. Customer ships items back
2. Receive and inspect items
3. Update condition assessment
4. Process refund
5. Restock if applicable
```
## Rejection Reasons
When rejecting a return:
- Outside return window
- Item shows customer damage
- Item not from this order
- Final sale item
- Missing components/packaging
- Hygiene/safety item used
Always document clearly:
```
"Item shows signs of customer damage (scratches on surface)
not covered under warranty. Return window for change of mind
items is 30 days, this request is 45 days from delivery."
```
## Refund Methods
| Method | Description | Timeline |
|--------|-------------|----------|
| `original_payment` | Credit to original card | 3-5 days |
| `store_credit` | Account credit | Immediate |
| `exchange` | Ship replacement | Upon receipt |
| `check` | Mail check | 7-10 days |
## Inventory Impact
### On Return Receipt
If restockable:
```
adjust_inventory(sku, +quantity, "Return RMA-12345")
```
If not restockable:
```
// No inventory adjustment
// Document as loss/damage
```
### On Exchange
```
1. Process return item (may restock)
2. Ship replacement (reserve + fulfill)
```
## Common Errors
| Error | Cause | Solution |
|-------|-------|----------|
| `Order not found` | Invalid order ID | Verify order number |
| `Already returned` | Item has existing return | Check return status |
| `Outside window` | Past return deadline | Review for exception |
| `Invalid quantity` | More than purchased | Check order items |
## Metrics to Track
| Metric | Description |
|--------|-------------|
| Return rate | Returns / Orders |
| Reason breakdown | Count by reason |
| Processing time | Request to complete |
| Refund amount | Total refunded |
| Restock rate | Items restocked |
## Best Practices
1. **Respond quickly** - Acknowledge within 24 hours
2. **Be clear about policy** - Set expectations upfront
3. **Document everything** - Photos, condition notes
4. **Make exceptions wisely** - Balance customer vs cost
5. **Track patterns** - Identify product issues
6. **Simplify process** - Easy returns = customer loyalty
Versions
The database has no other skills named commerce-returns.
Database snapshot: 13.11.2026 · package version a69c3f93ed4e (SHA-256 digest of the entire package)
Downloads in the last 30 days: 1 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100returns-and-refunds
Run returns as a tracked RMA from request to inspection, refund only what the policy and payment allow, and restock only inspected items. Use when building a returns portal, refund rules, exchanges, store credit, or restocking after a return. - 100returns-reason-miner-ecommerce
Mines e-commerce returns exports, refund reasons, support notes, and product page data to find preventable return patterns and fixes for product pages, sizing, expectations, fulfillment, packaging, and quality. Use when the return rate rises, a specific SKU returns far above the… - 100redo-webhooks
Receive and authenticate Redo returns webhooks. Use when setting up a Redo webhook endpoint, checking the Authorization Bearer header sent with every delivery, debugging 401s, or handling return.created and return.updated events (plus backfill events) for e-commerce returns. - 95refund-page-generator
When the user wants to create or optimize a refund or return policy page. Also use when the user mentions "refund policy," "return policy," "money-back guarantee," "returns and refunds," "refund page," "return process," "refund terms," "satisfaction guarantee," "cancellation… - 100returns-reverse-logistics
Codified expertise for returns authorization, receipt and inspection, disposition decisions, refund processing, fraud detection, and warranty claims management. Informed by returns operations managers with 15+ years experience. Includes grading frameworks, disposition economics,… - 100returns-reverse-logistics
Codified expertise for returns authorization, receipt and inspection, disposition decisions, refund processing, fraud detection, and warranty claims management. Informed by returns operations managers with 15+ years experience. Includes grading frameworks, disposition economics,…