You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[prompts] Add clean-gps-trace and optimize-deliveries prompts
Add two new prompts to guide users through using the Map Matching
and Optimization tools added in PR #89.
New Prompts:
- clean-gps-trace: Clean and snap noisy GPS traces to roads
* Guides through parsing GPS coordinates
* Uses map_matching_tool with proper parameters
* Shows before/after visualization with confidence scores
* Example: "Clean up this GPS trace from my bike ride"
- optimize-deliveries: Optimize multi-stop routes
* Handles address geocoding automatically
* Configures optimization with shipments format
* Shows optimized route with efficiency metrics
* Example: "Optimize my delivery route for these addresses"
Changes:
- Added CleanGpsTracePrompt.ts with map matching workflow
- Added OptimizeDeliveriesPrompt.ts with route optimization workflow
- Updated promptRegistry.ts with new prompts
- Added comprehensive tests in promptRegistry.test.ts
- Updated README.md with example prompts
Testing:
- All 424 tests passing ✓
- New prompt metadata tests verify correct structure
- Prompts follow kebab-case naming convention
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
0 commit comments