| # Hacker Laws Fetcher Prompt | |
| Extract one random law from the Hacker Laws website and format it for iOS notification display. | |
| ## Instructions: | |
| 1. Fetch content from: https://hacker-laws.com | |
| 2. Select ONE law randomly from the available laws on the page | |
| 3. Extract the law's title and its main content/description | |
| 4. Format the output as valid JSON with "title" and "content" fields | |
| 5. Keep the content concise but complete - suitable for iOS notification display | |
| 6. Remove any markdown formatting, links, or extra whitespace | |
| 7. Ensure the content is readable and fits well in a notification | |
| ## Output Format: | |
| ```json | |
| { | |
| "title": "[Law Title]", | |
| "content": "[Law Description/Content]" | |
| } | |
| ``` | |
| ## Example Output: | |
| ```json | |
| { | |
| "title": "Murphy's Law", | |
| "content": "Anything that can go wrong will go wrong." | |
| } | |
| ``` | |
| ## Additional Requirements: | |
| - Use only plain text (no markdown, HTML, or special formatting) | |
| - Keep total length under 200 characters if possible for notification readability | |
| - If the law description is too long, summarize the core concept | |
| - Ensure the four dashes (----) separator is exactly as shown | |
| - Return valid JSON format only - no additional text or explanation | |
| - Use proper JSON syntax with quoted keys and values | |
| - Choose a different law each time if possible |