Advanced Matching Strategies Explained
Template rules are an advanced feature of PromptHelper, and the main application scenarios include:
1. URL wildcard matching
- basic grammar: Use asterisk (*) to match any character, e.g. '*openai.com*' matches all sub-domains.
- real-life example: Research templates for '*.google.com/*' and creative templates for 'claude.ai/*'
2. Priority management system
- The smaller the value the higher the priority: Set the priority of important rules to 1 and general rules to 5
- conflict resolution: When multiple rules match, prioritize the rule with the smallest number
3. Combined use of techniques
- Setting up 'Explanation of Terms Templates' for technical documentation sites
- Setting up 'brainstorming templates' for creative platforms
- Setting up a global undercover template (priority 99) in response to unconfigured sites
expert advice: Regularly export the rule configuration (json file) backup, complex rules are recommended to add a note description
This answer comes from the articlePromptHelper: Efficient User Scripts for Writing and Managing AI PromptsThe