last-mile-delivery-optimizer
Final delivery leg optimization skill including dynamic scheduling, time-window management, and delivery confirmation
What this skill does
# Last-Mile Delivery Optimizer
## Overview
The Last-Mile Delivery Optimizer focuses on the final delivery leg optimization including dynamic scheduling, time-window management, and delivery confirmation. It maximizes delivery density, manages customer expectations, and coordinates various delivery methods including traditional carriers and crowdsourced options.
## Capabilities
- **Delivery Density Optimization**: Maximize deliveries per route by clustering nearby addresses
- **Time Window Scheduling**: Schedule deliveries within customer-preferred time windows
- **Driver Dispatch Optimization**: Assign deliveries to drivers based on location, capacity, and skills
- **Proof of Delivery Automation**: Capture signatures, photos, and timestamps for delivery confirmation
- **Failed Delivery Management**: Handle failed deliveries including rescheduling and alternative locations
- **Customer Communication Integration**: Send proactive updates on delivery status and ETA
- **Crowdsourced Delivery Coordination**: Integrate with gig economy platforms for flexible capacity
## Tools and Libraries
- Routing APIs
- Last-Mile Platforms
- Driver Apps
- Customer Notification Systems
## Used By Processes
- Last-Mile Delivery Optimization
- Route Optimization
- Multi-Channel Fulfillment
## Usage
```yaml
skill: last-mile-delivery-optimizer
inputs:
deliveries:
- delivery_id: "DEL001"
address: "123 Main St, Boston, MA"
coordinates: { lat: 42.3601, lng: -71.0589 }
time_window: { start: "14:00", end: "18:00" }
packages: 2
special_instructions: "Leave at front door"
customer_phone: "+1-555-0123"
- delivery_id: "DEL002"
address: "456 Oak Ave, Boston, MA"
coordinates: { lat: 42.3651, lng: -71.0549 }
time_window: { start: "10:00", end: "14:00" }
packages: 1
signature_required: true
drivers:
- driver_id: "DRV001"
current_location: { lat: 42.3501, lng: -71.0650 }
capacity_packages: 50
shift_end: "20:00"
skills: ["signature_capture", "heavy_items"]
optimization_parameters:
optimize_for: "delivery_density"
max_route_time_hours: 8
customer_notification: true
outputs:
delivery_routes:
- driver_id: "DRV001"
route:
- delivery_id: "DEL002"
sequence: 1
eta: "11:30"
eta_window: { start: "11:15", end: "11:45" }
- delivery_id: "DEL001"
sequence: 2
eta: "15:30"
eta_window: { start: "15:15", end: "15:45" }
total_deliveries: 2
total_distance_km: 12.5
estimated_completion: "16:00"
customer_notifications:
- delivery_id: "DEL001"
notification_type: "eta_update"
scheduled_time: "14:00"
message: "Your delivery is on the way. Expected arrival: 3:30 PM"
metrics:
deliveries_per_route: 15.5
average_delivery_time_minutes: 8
on_time_delivery_rate: 96.5
```
## Integration Points
- Transportation Management Systems (TMS)
- Order Management Systems
- Customer Communication Platforms
- Driver Mobile Apps
- GPS/Telematics Systems
## Performance Metrics
- Deliveries per route
- On-time delivery rate
- First-attempt success rate
- Cost per delivery
- Customer satisfaction score
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.