Skip to content

ReplAi-Now/shopify-skills / skills/operations/cod-rto-analysis

cod-rto-analysis

Verified

Find where cash on delivery orders fail (governorate, courier, product) and what it costs. Use for "RTO", "refused orders", "delivery success rate" or "مرتجعات".

FileKindSize
SKILL.mdskill md11.2 KB
assets/regions.jsonconfig33.4 KB
assets/setup.example.jsonconfig1.6 KB
references/data-sources.mdmarkdown7.2 KB
references/method.mdmarkdown7.6 KB
scripts/orders.pyscript16.6 KB
scripts/regions.pyscript5.3 KB
scripts/render_dashboard.pyscript9.6 KB
scripts/rto_analysis.pyscript20.0 KB
scripts/tabular.pyscript6.2 KB

assets/setup.example.json

View on GitHub
{
  "skill": "cod-rto-analysis",
  "version": "1.0.0",
  "currency": "EGP",
  "timezone": "Africa/Cairo",
  "couriers": [],
  "default_courier": "",
  "courier_tags": {"bosta": "Bosta", "aramex": "Aramex", "j&t": "J&T", "jnt": "J&T", "mylerz": "Mylerz", "shipblu": "ShipBlu", "ship blu": "ShipBlu", "r2s": "R2S", "smsa": "SMSA", "naqel": "Naqel", "fetchr": "Fetchr", "turbo": "Turbo"},
  "product_group": "product",
  "cod_only": true,
  "cod_payment_keywords": ["cash on delivery", "cod", "الدفع عند الاستلام", "الدفع عند التسليم"],
  "failed_tags": ["rto", "returned", "return to origin", "refused", "rejected", "undelivered", "failed delivery", "مرتجع", "رفض الاستلام"],
  "count_cancelled_after_fulfillment_as_failed": true,
  "failed_cancel_reasons": ["customer", "declined", "other"],
  "failed_financial_statuses": ["voided"],
  "failed_courier_statuses": ["undelivered", "not delivered", "return", "rto", "refused", "rejected", "cancel", "failed", "lost", "damaged", "مرتجع", "رفض", "مرفوض", "ملغي", "ملغى", "لم يتم التسليم", "لم يتم التوصيل", "ارتجاع", "إرجاع", "ارجاع"],
  "delivered_courier_statuses": ["delivered", "تم التسليم", "تم التوصيل"],
  "failed_definition_note": "",
  "default_outbound_shipping": null,
  "default_return_shipping": null,
  "default_cod_fee_failed": 0,
  "packaging_cost": null,
  "region_aliases": {},
  "min_orders": 30,
  "value_bands": [500, 1000, 2000],
  "rate_gap_for_action": 0.10,
  "prepay_failure_reduction": 0.5,
  "confirmation_failure_reduction": 0.3,
  "output": "report"
}
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 196kUpdated Claude CodeCodexVerifiedInstall