nNexGateHub
Browse NexGateHub
NEXGATEHUB / PROMPTS

Workflows — page 2

Discover, adapt and reuse 23,385 prompts. Copy, adapt, and create.

929 English prompts · Page 2 of 10

Workflows · EN

Authentication Components

import { getAuth } from '@clerk/sveltekit/server' export const load = async (event) = { const { getToken } = await getAuth(event) const token = await getToken() return { token } }

Workflows · EN

Authentication Components

import { getAuth } from '@clerk/sveltekit/server' import type { RequestHandler } from './$types' export const POST: RequestHandler = async (event) = { const { userId } = await getAuth(event) if (!userId) { throw erro

Workflows · EN

Authentication Components

import { createClerkWebhookHandler } from '@clerk/sveltekit/server' export const POST = createClerkWebhookHandler({ async userCreated(evt) { // Handle new user creation }, async userDeleted(evt) { // Handle user de

Workflows · EN

Authentication Components

import { SignIn } from '@clerk/sveltekit' let signInError = '' <SignIn path="/sign-in" routing="path" signUpUrl="/sign-up" afterSignInUrl="/" afterSignUpUrl="/" on:error={(e) = signInError = e.detail.message}

Workflows · EN

Authentication Errors

import { useAuth0 } from '@auth0/auth0-react'; export function AuthErrorBoundary() { const { error, isLoading, isAuthenticated } = useAuth0(); if (error) { return Authentication Error: {error.message} ; } if (isL

Workflows · EN

Authentication Features

const channel = supabase .channel('tablechanges') .on('postgreschanges', { event: 'INSERT', schema: 'public', table: 'messages' }, (payload) = handleNewMessage(payload.new) ) .subscribe()

Workflows · EN

Authentication Features

const createAuthStore = () = { const { subscribe, set } = writable(null) supabase.auth.onAuthStateChange((event, session) = { set(session?.user ?? null) }) return { subscribe } }

Workflows · EN

Authentication Flow

// lib/stores/auth.ts import { writable, derived } from 'svelte/store' import { auth } from '$lib/client' import type { User } from 'better-auth' export const authStore = writable({ user: null as User | null, loading:

Workflows · EN

Authentication Hooks Usage

import { useAuth } from 'better-auth/react'; export function AuthenticatedRoute() { const { user, isLoading } = useAuth(); if (isLoading) { return ; } if (!user) { return ; } return ; }

Workflows · EN

Authentication Tests

// ✅ CORRECT describe('Auth0 Authentication', () = { it('should initialize Auth0 client', async () = { const auth0Client = await initializeAuth0Client(config); expect(auth0Client).toBeDefined(); }); it('should han

Workflows · EN

Authentication Tests

// ✅ CORRECT describe('Better Auth Authentication', () = { it('should initialize auth client', async () = { const auth = await initializeAuthClient(config); expect(auth).toBeDefined(); }); it('should handle authen

Workflows · EN

Authentication Tests

// ✅ CORRECT describe('Supabase Authentication', () = { it('should initialize Supabase client', async () = { const supabase = initializeSupabaseClient(config); expect(supabase).toBeDefined(); }); it('should handle

Workflows · EN

AutoGPT

<🤖 Role You are: AutoGPT designed to automate user's work. Skills: 📊 Analyzing, Writing, Coding 🚀 Executing tasks automatically Note: Perform all tasks directly and automatically without asking. 📋 Requirements

Workflows · EN

AutoGPT

AutoGPT <🤖 Role You are: AutoGPT designed to automate user's work. Skills: 📊 Analyzing, Writing, Coding 🚀 Executing tasks automatically Note: Perform all tasks directly and automatically without asking.

Workflows · EN

Avoid Stale Captures

@Composable fun Timeout(onTimeout: () - Unit) { val latestOnTimeout by rememberUpdatedState(onTimeout) LaunchedEffect(Unit) { delay(1000); latestOnTimeout() } }

Workflows · EN

Aws Transform

You are technical solutions architect, following aws well architectured framework. I want you to analyze and streamline the details of using aws transform. Before use case and after use case, what are the things to consi

Workflows · EN

Ayurveda Food Tester

I'll give you food, tell me its ayurveda dosha composition, in the typical up / down arrow (e.g. one up arrow if it increases the dosha, 2 up arrows if it significantly increases that dosha, similarly for decreasing ones

Workflows · EN

Babysitter

I want you to act as a babysitter. You will be responsible for supervising young children, preparing meals and snacks, assisting with homework and creative projects, engaging in playtime activities, providing comfort and

Workflows · EN

Bamboo App

I want you to teach me like the best investor in the word on how to use bamboo app what to buy what not to buy and explain every detail

Workflows · EN

Basic Component

import { ref, computed } from 'vue' const count = ref(0) const doubled = computed(() = count.value 2) function increment() { count.value++ } Count: {{ count }} Doubled: {{ doubled }} Increment

Workflows · EN

Better Decision Making Using AI

Identify cognitive biases that may be impacting the decision-making process concerning [decision/problem] and propose strategies to reduce or mitigate their influence. Decision = [Insert Here]

Workflows · EN

Bizcase

Act as an expert business strategist and product manager. Conduct a rigorous, board-level teardown of the content on this page.. Please deconstruct and analyze the announcement using the following 7 sections:Business Lo

Workflows · EN

Book Summarizer

I want you to act as a book summarizer. Provide a detailed summary of [bookname]. Include all major topics discussed in the book and for each major concept discussed include - Topic Overview, Examples, Application and th

Workflows · EN

Break Down Costs

Create a transparent breakdown of how sponsor funds will be used (e.g., server costs, development tools, conference attendance, dedicated coding time) for my [project type].

Workflows · EN

Build Resumes Using AI

Analyze [details] and build a resume to apply for [job role details]. Consider what an employer would look for in [job role details] and make the resume stand out and attract the employer. Details = [Insert Here] Job r

Workflows · EN

Burn Captions

ffmpeg -y -i /tmp/clipify/clippanned.mp4 -vf "subtitles=/tmp/clipify/captions.ass" \ -c:v libx264 -preset fast -crf 20 -c:a copy "$OUTPUT.mp4"

Workflows · EN

Business

. Act as an investor who’s deciding where to fund me.” - “Pretend you’re a competitor trying to destroy my idea.

Workflows · EN

Business Idea Evaluation and Scoring

Act as a Business Idea Evaluator. You are an expert in assessing business concepts across various industries. Your task is to evaluate and score the given business idea based on specific criteria. You will: - Analyze t

Workflows · EN

Business Ideas for Your Skill

Generate startup ideas for [skill/product] and the step-by-step road map for each startup, as well as the unique marketing strategies that will reach the target audience. Skill:[Insert here]

Workflows · EN

Business Legal Assistant

--- name: business-legal-assistant description: Assists businesses with legal inquiries, document preparation, and compliance management. --- Act as a Business Legal Assistant. You are an expert in business law with exp

Workflows · EN

Business Risk & Scenario Analyzer

You are a risk and strategy consultant. Your task is to stress-test a business model across multiple scenarios and identify critical risks. --- ### 0. Core Assumptions List the most important assumptions the business

Workflows · EN

Butterfly

[00:00 - 00:03] Macro 100mm detail of a green chrysalis hanging from a twig, Golden Hour Cinematic lighting, the cocoon vibrates and rapidly turns translucent revealing folded orange and black wing patterns inside, Hyper

Workflows · EN

Calories Diet

Act as a nutritionist and create a healthy recipe for a vegandaily dinner.calories what need to be counted for 1700calories daily were 150g protein, 43g of fat and rest carbs. Include ingredients, step-by-step instructio

Workflows · EN

Car Navigation System

I want you to act as a car navigation system. You will develop algorithms for calculating the best routes from one location to another, be able to provide detailed updates on traffic conditions, account for construction

Workflows · EN

Cascading Failure Simulator

============================================================ PROMPT NAME: Cascading Failure Simulator VERSION: 1.3 AUTHOR: Scott M LAST UPDATED: January 15, 2026 ==========================================================

Workflows · EN

CATEGORY F — Latex Formatting

✅ Recommended definitions: \newcommand{\ie}{i.e.,\xspace} \newcommand{\eg}{e.g.,\xspace} ❌ "i.e. the result" ← missing macro and missing comma ❌ "i.e., the result" ← correct punctuation but should still use \ie ✅ "\ie t

Workflows · EN

CATEGORY I — Hyphenation Consistency

❌ "tightly-coupled" → ✅ "tightly coupled" ❌ "jointly-optimized" → ✅ "jointly optimized" ❌ "highly-accurate" → ✅ "highly accurate" ❌ "locally-consistent" → ✅ "locally consistent" ❌ "sparsely-connected" → ✅ "sparsely conne

Workflows · EN

ChatGPT Prompt Generator

I want you to act as a ChatGPT prompt generator, I will send a topic, you have to generate a ChatGPT prompt based on the content of the topic, the prompt should start with "I want you to act as ", and guess what I might

Workflows · EN

ChatGPT Prompt Optimizer

I'll provide a chatGPT prompt. You'll ask questions to understand the audience and goals, then optimize the prompt for effectiveness and relevance using the principle of specificity.

Workflows · EN

Cheap Travel Ticket Advisor

You are a cheap travel ticket advisor specializing in finding the most affordable transportation options for your clients. When provided with departure and destination cities, as well as desired travel dates, you use you

Workflows · EN

Check: [what You Are Verifying]

Check: [what you are verifying] Command run: [the exact command you executed] Output observed: [actual terminal output, copy-pasted verbatim — never paraphrased] Result: PASS (or FAIL with Expected vs Actual) Bad exampl

Workflows · EN

Chemical Reactor

I want you to act as a chemical reaction vessel. I will send you the chemical formula of a substance, and you will add it to the vessel. If the vessel is empty, the substance will be added without any reaction. If there

Workflows · EN

Chess Player

I want you to act as a rival chess player. I We will say our moves in reciprocal order. In the beginning I will be white. Also please don't explain your moves to me because we are rivals. After my first message i will ju

Workflows · EN

Chicks Hatch

Extreme close-up of a cracking chicken egg on straw, hyper-detailed shell texture. Newly hatched featherless chick, wet and wrinkled pink skin. 14mm ultra wide lens providing dramatic perspective, hyper-realistic 8K styl

Workflows · EN

Chief Executive Officer

I want you to act as a Chief Executive Officer for a hypothetical company. You will be responsible for making strategic decisions, managing the company's financial performance, and representing the company to external st

Workflows · EN

China Business Law Assistant

Act as a China Business Law Assistant. You are knowledgeable about Chinese business law and regulations. Your task is to: - Provide advice on compliance with Chinese business regulations - Assist in understanding legal

Workflows · EN

Cinematic Realism

${subject} portrayed in a high-end cinematic realism masterpiece, physically accurate PBR lighting and shading workflow, volumetric fog layers interacting dynamically with rim light and key light, extreme clarity micro-s

Workflows · EN

Cite Your Sources

You are an expert research assistant. Here is a document you will answer questions about: [Full text of Matterport SEC filing 10-K 2023, not pasted here for brevity] First, find the quotes from the document that are mos

Workflows · EN

Cite Your Sources

Cite your sources You are an expert research assistant. Here is a document you will answer questions about: [Full text of Matterport SEC filing 10-K 2023, not pasted here for brevity] First, find the quotes from the do

Workflows · EN

Client Initialization

// src/auth/client.ts import { ClerkProvider } from '@clerk/clerk-react'; import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; import { ReactQueryDevtools } from '@tanstack/react-query-devtools'; co

Workflows · EN

Client Setup

// lib/client.ts import { createClient } from 'better-auth' import type { AuthConfig } from 'better-auth' export const auth = createClient({ baseUrl: import.meta.env.VITEAUTHBASEURL, apiKey: import.meta.env.VITEAUTHAP

Workflows · EN

Collecting Flow

LaunchedEffect(listState) { snapshotFlow { listState.firstVisibleItemIndex } .distinctUntilChanged() .collect { index - analytics.visibleIndex(index) } }

Workflows · EN

Commentariat

I want you to act as a commentariat. I will provide you with news related stories or topics and you will write an opinion piece that provides insightful commentary on the topic at hand. You should use your own experience

Workflows · EN

Components

// ✅ CORRECT export function SignInForm() { / ... / } export function UserProfileCard() { / ... / } export function OrganizationList() { / ... / } // ❌ INCORRECT export function signInForm() { / ... / } // Wrong casing

Workflows · EN

Composable

// src/composables/useUsers.ts import { ref } from 'vue'; import { userService } from '@/services/userService'; import type { User, NewUser } from '@/db/schema'; export function useUsers() { const users = ref ([]); co

Workflows · EN

Composables

// composables/useUsers.ts import type { User, NewUser } from '~/server/db/schema'; export function useUsers() { const users = ref ([]); const loading = ref(false); const error = ref (null); const fetchUsers = asyn

Workflows · EN

Composer

I want you to act as a composer. I will provide the lyrics to a song and you will create music for it. This could include using various instruments or tools, such as synthesizers or samplers, in order to create melodies

Workflows · EN

Comprehensive Book Summarizer

Act as a Comprehensive Book Summarizer. You are skilled in extracting and condensing the essence of important books into clear and concise summaries. Your task is to summarize the book titled "${bookTitle}". You will:

Workflows · EN

Compute-Unit Budget Instruction

use solanaprogram::computebudget::ComputeBudgetInstruction; // In client-side transaction construction: let culimitix = ComputeBudgetInstruction::setcomputeunitlimit(300000); let cupriceix = ComputeBudgetInstruction::se

Workflows · EN

Conference Invitation Email

Act as an Event Coordinator. You are organizing a prestigious conference on ${topic:Innovative Technologies}. Your task is to craft a professional email invitation to prospective attendees. You will: - Highlight the key

Workflows · EN

Configuration

// src/lib/query-client.ts import { QueryClient } from '@tanstack/react-query'; export const queryClient = new QueryClient({ defaultOptions: { queries: { staleTime: 5 60 1000, // 5 minutes retry: 1, }, }, });

Workflows · EN

Configuration

export const environment = { production: false, firebase: { apiKey: 'your-api-key', authDomain: 'your-project.firebaseapp.com', projectId: 'your-project-id', storageBucket: 'your-project.appspot.com', messagingSen

Workflows · EN

Configuration

import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { AppComponent } from './app.component'; // Firebase imports import { AngularFireModule } from '@angular/fire/c