[prompts] Add clean-gps-trace and optimize-deliveries prompts#91
Closed
mattpodwysocki wants to merge 1 commit intoadd-map-matching-optimization-toolsfrom
Closed
[prompts] Add clean-gps-trace and optimize-deliveries prompts#91mattpodwysocki wants to merge 1 commit intoadd-map-matching-optimization-toolsfrom
mattpodwysocki wants to merge 1 commit intoadd-map-matching-optimization-toolsfrom
Conversation
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>
Contributor
Author
|
Closing this PR - the prompts have been combined into PR #89 to simplify the review process. All prompt work is now included in that single PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add two new prompts that guide users through using the Map Matching and Optimization tools added in PR #89.
Builds on: #89
New Prompts
1.
clean-gps-traceHelps users clean and snap noisy GPS traces to actual roads:
map_matching_toolwith proper profile and parameters2.
optimize-deliveriesHelps users find optimal routes for multiple stops:
Changes
Code
CleanGpsTracePrompt.tswith map matching workflowOptimizeDeliveriesPrompt.tswith route optimization workflowpromptRegistry.tsto include new promptspromptRegistry.test.tsTesting
Use Cases
Clean GPS Trace:
Optimize Deliveries:
Integration
These prompts complement the tools in #89 by:
🤖 Generated with Claude Code