Act as a knowledgeable travel host for a vlog series titled "Exploring [REGION]". For this episode about [SPECIFIC LOCATION], generate a 2-minute voiceover script that covers [MAIN ATTRACTION 1] and [MAIN ATTRACTION 2], along with a unique local insight. Use an enthusiastic and slightly adventurous tone. Conclude with a teaser for the next episode in [REGION].
Act as an expert crypto technical analyst. I am analyzing the chart for [INSERT CRYPTO TICKER, e.g., BTC/USDT] on the [INSERT TIMEFRAME, e.g., 4-Hour] chart.
Here are the current market metrics:
- Current Price: [INSERT PRICE]
- Key Resistance Levels: [INSERT LEVELS]
- Key Support Levels: [INSERT LEVELS]
- 14-period RSI: [INSERT RSI VALUE]
- MACD Line / Signal Line: [INSERT MACD STATUS, e.g., bullish crossover below zero line]
- 50 EMA and 200 EMA Status: [INSERT EMA STATUS]
Task:
1. Evaluate the confluence between these indicators and key levels.
2. Identify whether the current setup favors a long, short, or neutral stance.
3. Suggest an optimal entry zone, stop-loss price, and two realistic take-profit targets based on structural liquidity.
4. Highlight key invalidation criteria for this trade setup.
You are an expert viral copywriter specializing in X (Twitter) organic growth.
Generate 7 distinct viral hooks for a post about [INSERT TOPIC HERE].
Use these 7 specific angles:
1. The Curiosity Gap ("Most people think X, but the reality is Y...")
2. The Bold Transformation ("How I achieved [RESULT] in [TIME PERIOD] without [PAIN POINT]")
3. The Counter-Intuitive Truth ("Stop doing [COMMON PRACTICE] if you want [DESIRED OUTCOME]")
4. The Data-Backed Claim ("[PERCENTAGE]% of people fail at [TASK] because of this single mistake")
5. The High-Value Curator ("I spent [X HOURS/YEARS] studying [TOPIC]. Here are [NUMBER] lessons:")
6. The Direct Call-Out ("If you are a [TARGET ROLE], you are losing money by ignoring [TOPIC]")
7. The Storytelling Teaser ("In [YEAR], I almost gave up on [GOAL]. Then I discovered...")
Keep each hook under 280 characters. Output only the hooks without extra intro commentary.
Act as a Lead Frontend Engineer expert in React and modern state management.
Build a production-ready shopping cart store using Zustand with persistent storage and backend synchronization.
Requirements:
1. Cart State: items array (variantId, quantity, price, title, image, selectedOptions), couponCode, drawerIsOpen, isLoading, and total calculations.
2. Optimistic UI Updates: Instantly update item quantities in UI while making background REST/GraphQL API calls to revalidate stock.
3. Tab Synchronization: Sync state across multiple browser tabs using broadcast channels or local storage sync hooks.
4. Backend Revalidation: Method to trigger cart revalidation against the server DB to catch out-of-stock items and price changes before checkout.
5. Edge Cases: Handle network failures by rolling back optimistic updates and showing actionable error messages to the user.
6. Write clean TypeScript code with full interface definitions and JSDoc inline documentation.
Act as a Senior React Developer. Write a responsive Navigation Bar component using React 18, TypeScript, and Tailwind CSS.
Requirements:
- Include desktop navigation links and a mobile hamburger menu.
- Use React `useState` to control mobile drawer visibility.
- Close the drawer on ESC key press and when clicking outside.
- Ensure proper ARIA attributes (`aria-expanded`, `aria-label`).
- Export explicit TypeScript interface for navigation items (`{ label: string; href: string; icon?: React.ReactNode }`).
- Provide pure, runnable code with no inline styles.
Write a 45-second Instagram Reels script for a travel vlog promoting a trip to [DESTINATION]. Focus on [UNIQUE EXPERIENCE] and include a vibrant, energetic tone. Add a hook that encourages viewers to tag a friend they'd visit with.
Act as a Senior Database Architect specializing in high-throughput e-commerce platforms.
Generate a complete Prisma schema for a relational PostgreSQL database supporting an e-commerce product catalog.
Requirements:
1. Product entity with title, slug, description, published status, category reference, metadata JSONB, and soft deletes.
2. ProductVariant entity representing purchasable SKUs with independent prices, comparison prices, dimensions, weight, and inventory level.
3. Flexible Option and OptionValue system allowing dynamic attributes (e.g., Color: Red, Size: XL, Material: Cotton) associated with variants.
4. InventoryLevel model supporting multiple warehouse locations with reserved inventory and available inventory to prevent race conditions.
5. Indexes optimized for fast faceted searching, filtering by price, and querying by category slug.
6. Provide TypeScript types generated from this schema alongside a seed script sample in Node.js.
Ensure proper database cascading rules, foreign key constraints, and standard timestamp fields (created_at, updated_at).
Cinematic tracking shot moving backward smoothly down a narrow cyberpunk alleyway drenched in rain. Neon signs in crimson and electric blue reflect off wet asphalt puddles. A lone cyborg figure in a dark matte trench coat walks slowly away from the camera. Atmospheric volumetric fog, lens flare, 35mm anamorphic lens, realistic fluid motion, dark moody aesthetic, photorealistic 8K, cinematic lighting --ar 16:9
Prompt 1: Standard Proofreading
"Review the following text for all grammatical errors, spelling mistakes, and punctuation issues. Provide the corrected text directly."
Prompt 2: Highlighted Corrections
"Please proofread the following paragraph for grammar, spelling, and punctuation. Present the corrected text, with all changes clearly highlighted or bolded, and briefly explain the rationale for each major correction."
Prompt 3: Error Identification Only
"Analyze the following passage and identify all grammatical errors, misspellings, and punctuation issues. Do not correct them, but list each error type and its location (e.g., 'Comma splice in sentence 3', 'Subject-verb agreement error in sentence 5')."
Act as an expert UK accounting assistant specializing in HMRC tax compliance.
Generates a text-based, fully HMRC-compliant invoice using the following raw transaction details:
- My Name / Trading Name: [Insert Name]
- My Address: [Insert Address]
- Client Name & Address: [Insert Client Details]
- Invoice Date: [DD/MM/YYYY]
- Goods/Services Provided: [Insert Brief Description]
- Itemized Charges: [Insert Pricing/Hours]
- Unique Invoice Number: [Insert e.g., INV-2026-001]
Rule Constraints:
1. Include a clear header stating "INVOICE".
2. Ensure the invoice number is sequential and unique.
3. State the invoice date clearly.
4. List itemized goods/services with clear unit rates and line totals.
5. Provide a total figure due.
6. Include payment terms and bank account details for payment.
7. Add a explicit note stating: "Non-VAT registered entity. No VAT applied."
Format the final output as clean plain text with clear line breaks and bold sections ready for copying into standard document templates.
Draft a brief follow-up message for an Upwork message thread that has gone silent for 4 days.
Original Job/Context: [INSERT SUMMARY OF PREVIOUS CHAT]
Value Add to Share: [INSERT QUICK IDEA, HELPFUL LINK, OR INSIGHT]
Rules:
- Keep under 75 words.
- Do not sound needy or overly demanding ("Just checking in...").
- Offer a new piece of value or quick suggestion relevant to their project.
- Close with a simple line asking if they are still moving forward this week.
Refine and edit the following Upwork proposal draft to make it sound completely human, conversational, and compelling.
Draft to Edit: [PASTE YOUR AI OR MANUAL DRAFT HERE]
Editing Rules:
- Remove AI clichés (e.g., "In today's fast-paced digital world," "Testament," "Delve," "Leverage," "Seamlessly," "Elevate").
- Vary sentence length for natural cadence.
- Ensure passive voice is converted to active voice.
- Keep the word count under 170 words while preserving core facts.
/imagine prompt: A seamless vector geometry pattern design, art deco inspiration, gold foil foil lines on a deep emerald green background, minimalist modern aesthetic, repeated tileable motif, high graphic precision, flat vector art style --ar 1:1 --v 6.0
Act as a Backend Security & Integration Engineer.
Create an endpoint handler for Stripe Payment Webhooks using Node.js / Next.js App Router (TypeScript).
Requirements:
1. Validate Stripe signature using raw request body and the STRIPE_WEBHOOK_SECRET environment variable. Reject unauthorized calls immediately with a 400 response.
2. Process key events: 'payment_intent.succeeded', 'payment_intent.payment_failed', and 'charge.disputed.created'.
3. Implement Idempotency: Store processed event IDs in a Redis or database store to prevent processing duplicate webhooks twice.
4. Logic for payment_intent.succeeded:
- Transition order status from 'PENDING' to 'PAID'.
- Decrement reserved inventory to hard allocated inventory.
- Trigger transactional confirmation email queue payload.
5. Structured error handling and logging returning proper HTTP status codes (200 for processed/ignored, 400 for bad signatures, 500 for backend processing errors).
6. Reference official security best practices from official Stripe documentation (https://stripe.com/docs/webhooks).
Write a single X post presenting a contrarian opinion regarding [INSERT INDUSTRY PRACTICE/BELIEF].
Requirements:
1. Start with a sharp, controversial statement challenging conventional wisdom.
2. Provide a 2-sentence logical explanation backing up the stance using real-world context.
3. Conclude with an open-ended question inviting debate from peers in the field.
4. Total length must be under 280 characters. Avoid clickbait; focus on credible alternative thinking.
Prompt 1: Advanced Punctuation Check
"Carefully review the following text for sophisticated punctuation errors, specifically focusing on correct usage of semicolons, colons, em dashes, and parenthetical commas. Correct any misapplications and ensure proper serial comma usage."
Prompt 2: Consistency in Hyphenation and Capitalization
"Check the attached document for consistency in hyphenation (e.g., compound adjectives), capitalization (e.g., proper nouns, titles), and number formatting (e.g., numerals vs. words). Apply standard English grammar rules consistently throughout."
Act as a Senior UI/UX Developer specializing in SEO and Accessibility (WCAG 2.1 AA).
Write a React component (Tailwind CSS) for an E-commerce Faceted Search Sidebar and Grid layout.
Requirements:
1. Filters included: Price range slider, multi-select checkboxes for categories and brand, rating system, and dynamic attributes (Size/Color).
2. URL Synchronization: All filter states must map bidirectionally to URL search query params (e.g., ?category=shoes&price=50-100&sort=newest) using Next.js useSearchParams / useRouter or standard Web APIs.
3. SEO Crawlability: Ensure clean semantic HTML structure using canonical filter links where relevant.
4. Accessibility: Full keyboard navigation support, proper ARIA tags (aria-expanded, aria-controls, role="search"), and high-contrast styling.
5. Performance: Include debounce logic for price slider input and a full skeleton loading state for product cards during data re-fetching.
An ethereal fine-art underwater wedding portrait of a bride floating weightlessly beneath crystal-clear water. Her white silk gown flowing around her in graceful sweeping waves. Sunlight rays hitting the water surface from above, serene aqua blue color palette.
Act as a Technical SEO Specialist and JavaScript Developer.
Create a TypeScript utility module that accepts an e-commerce Product object and returns valid Schema.org Product JSON-LD data.
Requirements:
1. Support standard attributes: @type Product, name, image array, description, SKU, MPN, brand, and aggregateRating.
2. Support dynamic offer arrays: Map variants to individual Offer objects with price, priceCurrency, availability ('https://schema.org/InStock' vs 'OutOfStock'), priceValidUntil, and url.
3. Merchant Return Policy and Shipping Details: Include nested merchantReturnDays and shippingRate schema matching Google Rich Results guidelines.
4. Include a React server component wrapper function that renders this schema inside a safe tag.
5. Validate against Schema.org Product specifications (https://schema.org/Product).
A full-length cinematic portrait of a bride and groom sharing a gentle forehead kiss in the middle of a blooming purple lavender field in Provence. The low sun creates a strong golden outline on their clothes. Vibrant purple and warm amber contrast, professional editorial style.
Draft an Upwork proposal for a fixed-budget project that emphasizes clear milestone delivery.
Job Post: [PASTE JOB POSTING]
Proposed Timeline/Milestones: [INSERT ESTIMATED PHASES]
Guidelines:
- Acknowledge their project goal upfront.
- Break down the workflow into 2-3 structured deliverables or milestones.
- Clarify what is included to prevent scope creep gently.
- End with an offer to refine the milestones together. Limit to 180 words.
Write a Next.js `middleware.ts` file that executes on the Edge Runtime.
Requirements:
1. Protect `/dashboard/*` and `/admin/*` routes, redirecting unauthenticated users to `/login?callbackUrl=...`.
2. Allow public access to `/`, `/login`, `/register`, and `/api/webhooks/*`.
3. Add custom HTTP security headers (CSP, X-Frame-Options, Referrer-Policy) to all outgoing responses.
4. Export an optimized `config` matcher object to prevent middleware from executing on static assets or image requests.