shipping-costs

Provides distance-based and province-based shipping cost tables for Canadian marketplace checkout logic.

Updated Mar 9, 2026
One-click install
npx skills add https://github.com/yunior123/origna_gta_firebase --skill shipping-costs-yunior123
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: shipping-costs
Source: https://github.com/yunior123/origna_gta_firebase/tree/main/.claude/skills/shipping-costs
Command: npx skills add https://github.com/yunior123/origna_gta_firebase --skill shipping-costs-yunior123

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Developers working on checkout, shipping, or pricing logic for the marketplace need a single authoritative reference for shipping rates, surcharges, and multipliers instead of hunting through backend and frontend code. ## Core Features & Use Cases - Distance-Based Pricing Table: Tiered rates from $1.99 (≤15km) to $26.99 (>2500km) for distance-driven shipping quotes. - Province-Based Fallback Rates: Flat costs for same-province, adjacent-province, regional, and cross-country scenarios when distance data is unavailable, plus free-shipping handling. - Surcharges & Multipliers: Rules for local-only penalties, express and same-day multipliers, weight-based surcharges, and default package dimensions. - Use Case: When modifying functions/services/shipping_service.py or the Flutter checkout provider, consult this reference to verify that a rate change (e.g., adding a new weight surcharge) matches the documented pricing rules and corresponding tests. ## Quick Start Ask the AI to calculate the shipping cost for a 3kg order shipped 80km to another province using the shipping-costs reference tables.

Frequently Asked Questions about shipping-costs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate shipping cost by distance for a Canadian marketplace?▼

Use the distance-based pricing tiers: $1.99 for ≤15km, $4.99 for ≤50km, $9.99 for ≤150km, scaling up to $26.99 for distances over 2500km. Apply weight surcharges of $1.50 per kg over 2kg on top of the base rate.

What shipping rate applies when distance data is unavailable?▼

Fall back to province-based rates: $12.99 for same province, $18.99 for adjacent provinces, $22.99 within the same region, and $26.99 for cross-country shipments. Orders with freeShipping set to true cost $0.00.

How are express and same-day shipping surcharges calculated?▼

Express delivery within 15km multiplies the base rate by 4.0, and same-day delivery within 15km multiplies it by 4.5. Both options are only available for distances of 15km or less.

What happens with local-only products shipped across provinces?▼

Local-only products shipped cross-province incur a $50.00 penalty surcharge. If the local-only shipment exceeds 100km, a flat $75.00 fee applies instead of the standard rate.

Where is the shipping cost logic implemented in the codebase?▼

Backend logic lives in functions/services/shipping_service.py, with frontend preview in origna_gta/lib/features/checkout/checkout_provider.dart. Tests are in functions/tests/test_shipping_service_estimates.py and test_shipping_security.py.