Token导航 LogoToken导航

Agent Skill · 研究检索

returns-refund-policy(退货退款政策)

returns-refund-policy 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

returns-refund-policy 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 55,410。

总安装 480周安装 20GitHub Stars 19下载 160核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:returns-refund-policy(退货退款政策)
来源仓库:https://github.com/finsilabs/awesome-ecommerce-skills
仓库路径:skills/returns-refund-policy
安装命令:
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill returns-refund-policy
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill returns-refund-policy

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

returns-refund-policy 用于查找、检索和筛选退货退款政策相关内容。适用于电商平台、客服或法务场景中,辅助制定或解释退换货规则。通过 GitHub 安装,使用 npx skills add 命令添加对应仓库的技能。使用前应确认权限范围和维护状态,注意是否涉及敏感信息访问或自动化操作。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/returns-refund-policy

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill ret…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

returns-refund-policy 怎么安装?

在终端执行 npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill returns-refun…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

returns-refund-policy 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

returns-refund-policy 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

returns-refund-policy 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

returns-refund-policy 用的人多吗?

公开数据是累计安装 480 次,近一周安装 20 次,下载 160 次,GitHub 19 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

returns-refund-policy 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
returns-refund-policy

退货退款政策 · 本页

48019只读未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Returns & Refund Policy Engine

Overview

A returns and refund policy engine enforces your rules automatically: different return windows per product category, restocking fees for specific item types, final-sale exclusions, and extended windows for loyalty members. This prevents your customer service team from manually evaluating every return request and ensures consistent policy enforcement. Most platforms can implement these rules through their returns apps combined with product tags and customer segments.

When to Use This Skill

  • When your return logic is inconsistent because it's handled case-by-case by customer service
  • When you need different return windows for different product categories (electronics vs. apparel vs. consumables)
  • When implementing tiered return policies where loyalty members get extended windows or waived restocking fees
  • When building an automated approval workflow that handles most returns without human intervention
  • When compliance or legal requirements mandate that return policies be auditable and version-controlled

Core Instructions

Step 1: Determine your platform and choose the right returns tool

PlatformRecommended ToolWhy
ShopifyLoop Returns or AfterShip ReturnsLoop is the most feature-complete: supports per-product-type policies, restocking fees, final-sale blocking, and loyalty tier overrides
WooCommerceReturnGo or WooCommerce Returns and Warranty RequestsReturnGo supports custom policy rules per product category and automated approval logic
BigCommerceAfterShip Returns Center or Loop ReturnsBoth support per-category policy rules and restocking fees
Custom / HeadlessBuild a policy evaluation engine + Shippo for return labelsStore policies in a database; evaluate them programmatically when return requests come in

Step 2: Define your return policy rules

Before configuring any tool, define your policy matrix clearly:

Product CategoryReturn WindowRestocking FeeAuto-ApproveNotes
Default (apparel, accessories)30 days from delivery0%YesMost items
Electronics15 days from delivery15%No — manual reviewOpened electronics
Final Sale0 days—NoNo returns
VIP / Gold members60 days from delivery0%YesOverride for loyalty tier
Defective / Wrong item90 days from delivery0%YesCustomer not at fault

Step 3: Configure policy rules in your returns app

Shopify — Loop Returns
  1. Install Loop Returns from the Shopify App Store
  2. Go to Loop → Policy → Return Windows:

- Default: 30 days - Click "Add Rule" → set "Product tag is 'electronics'" → return window: 15 days - Click "Add Rule" → set "Product tag is 'final-sale'" → return window: 0 days (no returns)

  1. Tag your products accordingly in Shopify admin (Products → Tags)
  2. Go to Loop → Policy → Restocking Fees:

- Add a rule: "Product tag is 'electronics'" → restocking fee: 15%

  1. Go to Loop → Policy → Customer Segments:

- Add a rule: "Customer tag is 'gold-member' or 'vip'" → return window override: 60 days, restocking fee: 0%

  1. Enable auto-approval for eligible returns in Loop → Settings → Automation: "Auto-approve returns that meet policy conditions"
  2. Loop generates the return label automatically when a return is approved

Testing your policy:

  • Use Loop's Policy Simulator (Loop → Policy → Test Policy) to verify that a hypothetical return request (product type, customer tag, days since delivery) applies the correct rule
WooCommerce — ReturnGo
  1. Install ReturnGo from retgo.com (or WordPress.org)
  2. Go to ReturnGo → Return Policy:

- Set default return window: 30 days - Under "Custom Rules", add product-category-based rules: - Category "Electronics" → 15 days, 15% restocking fee, requires manual review - Category "Final Sale" → 0 days (no returns allowed)

  1. Under "Customer Rules": add tag-based overrides:

- Customer tag "wholesale" → 14 days, 10% restocking fee

  1. Configure auto-approval: ReturnGo → Automation → enable "Auto-approve returns that match policy"
  2. Test by creating a return request as a customer to verify rules apply correctly

Configuring final-sale in WooCommerce:

  • Create a product category or tag called "final-sale"
  • In ReturnGo, add a rule blocking returns for this category/tag
  • On the product page, display the "Final Sale — No Returns" message using a product badge plugin
BigCommerce — AfterShip Returns Center
  1. Install AfterShip Returns Center from the BigCommerce App Marketplace
  2. Go to AfterShip → Policy:

- Set the default return window and configure exceptions by product type

  1. AfterShip's policy engine supports return windows and auto-approval rules based on product tags
  2. For restocking fees: AfterShip includes restocking fee configuration in their paid plans

Step 4: Handle return window calculation correctly

The single most important setting: the return window should start from the delivery date, not the order date or ship date.

Why this matters:

  • Shipping a package takes 2–10 days depending on the service
  • A 30-day return window starting from order date may leave the customer with only 20 days to actually return the item
  • Most consumer protection laws (EU 14-day right of withdrawal, UK 14 days) count from delivery

Verify this in your returns app:

  • Loop Returns: go to Loop → Settings → Return Window → "Starts from: Delivery Date" ✓
  • ReturnGo: go to Settings → Policy → "Return window starts from: Delivered date" ✓
  • AfterShip: go to Settings → Return Policy → "Start date: Order delivered date" ✓

If your returns app doesn't have tracking integration to detect delivery, use "Order Date + carrier average transit time" as an approximation.

Step 5: Communicate policies clearly

  1. Returns page: Create a dedicated /returns or /return-policy page with your policy matrix in a table format — customers reference this before purchasing
  2. Product pages: Show a brief returns statement near the "Add to Cart" button: "30-day free returns" or "Final Sale — No Returns" for final sale items
  3. Order confirmation email: Include a link to your returns page and a brief "30-day returns" statement
  4. Return window expiry reminder: Set up an automated email 7 days before a customer's return window closes — Loop and AfterShip both support this

Step 6: Custom / Headless — policy evaluation logic

// Return policy rules stored in database and evaluated programmatically
interface ReturnPolicy {
  id: string;
  name: string;
  priority: number;           // higher = evaluated first
  conditions: {
    productTags?: string[];   // match any of these tags
    customerTags?: string[];  // match any of these customer tags
    orderTags?: string[];     // e.g., ['final-sale']
  };
  windowDays: number;         // 0 = no returns allowed
  restockingFeePct: number;   // 0–100
  autoApprove: boolean;
}

async function evaluateReturnEligibility(params: {
  orderId: string;
  productId: string;
  customerId: string;
  returnReason: string;
  deliveredAt: Date;
}): Promise<{
  eligible: boolean;
  policy: ReturnPolicy | null;
  restockingFeeCents: number;
  requiresManualReview: boolean;
  daysRemaining: number;
  reason?: string;
}> {
  const order = await db.orders.findById(params.orderId);
  const product = await db.products.findById(params.productId, { include: ['tags'] });
  const customer = await db.customers.findById(params.customerId, { include: ['tags'] });

  // Find highest-priority matching policy
  const policies = await db.returnPolicies.findAll({ is_active: true }, { orderBy: ['priority', 'desc'] });
  const policy = policies.find(p => {
    const productMatch = !p.conditions.productTags?.length ||
      p.conditions.productTags.some(tag => product.tags.includes(tag));
    const customerMatch = !p.conditions.customerTags?.length ||
      p.conditions.customerTags.some(tag => customer.tags.includes(tag));
    const orderMatch = !p.conditions.orderTags?.length ||
      p.conditions.orderTags.some(tag => order.tags?.includes(tag));
    return productMatch && customerMatch && orderMatch;
  }) ?? null;

  if (!policy || policy.windowDays === 0) {
    return { eligible: false, policy, restockingFeeCents: 0, requiresManualReview: false, daysRemaining: 0, reason: 'FINAL_SALE_OR_NO_POLICY' };
  }

  // Calculate days since delivery
  const daysSinceDelivery = Math.floor((Date.now() - params.deliveredAt.getTime()) / 86400000);
  const daysRemaining = policy.windowDays - daysSinceDelivery;

  if (daysRemaining < 0) {
    return { eligible: false, policy, restockingFeeCents: 0, requiresManualReview: false, daysRemaining: 0, reason: 'WINDOW_EXPIRED' };
  }

  // Calculate restocking fee on the item's original price
  const orderLine = await db.orderLines.findOne({ order_id: params.orderId, product_id: params.productId });
  const itemValueCents = orderLine.unit_price_cents * orderLine.quantity;
  const restockingFeeCents = Math.round(itemValueCents * (policy.restockingFeePct / 100));

  return {
    eligible: true,
    policy,
    restockingFeeCents,
    requiresManualReview: !policy.autoApprove,
    daysRemaining,
  };
}

Best Practices

  • Start the return window from delivery date, not order date — this is more fair to customers, reduces disputes, and aligns with consumer protection laws in most jurisdictions
  • Version every policy change — when you update a return policy, log the old policy with a timestamp; apply the policy that was in effect at the time of purchase when a customer files a return
  • Display restocking fees before the customer confirms the return — show "A 15% restocking fee ($12.75) will be deducted from your refund" during the return initiation flow, not after
  • Cap auto-approval by refund value — even with auto-approval enabled, route returns over $500 to manual review to catch potential fraud
  • Notify customers proactively about expiring windows — a "Your 30-day return window closes in 7 days" email for recent purchases reduces frustrated customers who missed the window

Common Pitfalls

ProblemSolution
Return window calculated from order date instead of delivery dateCheck your returns app settings explicitly for "return window starts from" — default in some tools is order date; change to delivery date
Multiple policies match and the wrong one appliesSort by priority DESC and take the first match; document the priority hierarchy in your admin; test edge cases (VIP member buying electronics)
Customer disputes restocking feeShow the fee amount and the policy name ("Electronics Policy — 15% restocking fee") in the return confirmation email so customers have documentation
Final sale tag not applied consistentlyCreate a process: every product added to a sale must have the "final-sale" tag applied; audit monthly using a product tag report

Related Skills

  • @returns-management
  • @order-management-system
  • @b2b-commerce

平台分布

Codex

33.91%
按下载量换算54

Claude

31.72%
按下载量换算51

Cursor

20.48%
按下载量换算33

Gemini CLI

9.04%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills