PageSourceSearch

https://thinkvelocity.ai/_next/static/chunks/619.a88c140cb3756198.js

js thinkvelocity.ai collected 2026-10-02 00:45:13 UTC 16,382 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[619],{60619:(e,t,r)=>{r.r(t),r.d(t,{CURATED_FEATURED_PROMPTS:()=>b,fetchLibraryFromApi:()=>m,fetchLibraryTagsFromApi:()=>h,getPromptById:()=>S,getPromptLibrary:()=>y,getPromptLibraryCategoryPage:()=>v,mapApiLibraryItem:()=>g});var i=r(61975),a=r(22043),n=r(45377),o=r(71450),s=r(65338),c=r(77722),l=r(4431),d=["All"];function p(e){return"".concat((0,l.hY)(),"/prompt/library").concat(e)}function g(e){var t=e.category||"General",r=e.tags||[],i=(0,s.sP)({slug:e.slug,title:e.title,cover_url:e.cover_url,image_name:e.image_name,tags:r.length?r:[t],categoryLabel:t}),a=i.displaySrc,n=i.nativeCoverSrc,o=i.fallbackSrc,c=i.hasNativeCover;return{id:e.slug,slug:e.slug,title:e.title,description:e.short_prompt||"",shortPrompt:e.short_prompt||"",prompt:e.prompt||"",rawPrompt:e.prompt||"",intent:e.intent||null,domain:e.domain||t,intentLabel:e.intent_label||null,modality:e.modality||null,alignmentScore:e.alignment_score||null,whyItWorks:e.why_it_works||"",tags:r,coverSrc:a,nativeCoverSrc:n,fallbackSrc:o,hasNativeCover:c,imageName:e.image_name||null,accessTier:e.access_tier||"free",isProOnly:e.is_pro_only||!1,wordCount:e.word_count||0,hasPlaceholders:e.has_placeholders||!1,lengthBand:e.length_band||"Short",categoryLabel:e.category||"General",source:e.source||"internal"}}function u(e){return(0,i._)(function(){var t;return(0,o.YH)(this,function(r){switch(r.label){case 0:return[4,fetch(e)];case 1:if(!(t=r.sent()).ok)return[2,null];return[2,t.json()]}})})()}function m(){return(0,i._)(function(){var e,t,r,i,a,s,c,l,d,m,h,y,b,f=arguments;return(0,o.YH)(this,function(o){switch(o.label){case 0:r=void 0===(t=(e=f.length>0&&void 0!==f[0]?f[0]:{}).pageSize)?250:t,a=void 0===(i=e.maxPages)?20:i,c=void 0===(s=e.sort)?"best":s,l=[],d=encodeURIComponent(c||"best"),o.label=1;case 1:o.trys.push([1,6,,7]),m=1,o.label=2;case 2:if(!(m<=a))return[3,5];return[4,u(p("?limit=".concat(r,"&page=").concat(m,"&sort=").concat(d)))];case 3:if(!(null==(y=o.sent())?void 0:y.success)||!Array.isArray(y.items))return[2,null];if((h=l).push.apply(h,(0,n._)(y.items)),b=Number(y.total)||0,!y.items.length||l.length>=b)return[3,5];o.label=4;case 4:return m+=1,[3,2];case 5:return[2,l.map(g)];case 6:return o.sent(),[2,null];case 7:return[2]}})}).apply(this,arguments)}function h(){return(0,i._)(function(){var e;return(0,o.YH)(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,u(p("/tags"))];case 1:if(!(null==(e=t.sent())?void 0:e.success)||!Array.isArray(e.tags))return[2,null];return[2,e.tags.filter(Boolean)];case 2:return t.sent(),[2,null];case 3:return[2]}})})()}function y(){return(0,i._)(function(){var e,t,r,i,s,l,p,g=arguments;return(0,o.YH)(this,function(o){switch(o.label){case 0:return r=void 0===(t=(e=g.length>0&&void 0!==g[0]?g[0]:{}).limit)?250:t,[4,Promise.all([m({pageSize:null!=(i=e.pageSize)?i:r}),h()])];case 1:if(l=(s=a._.apply(void 0,[o.sent(),2]))[0],p=s[1],null===l)return[2,{prompts:[],filters:d,source:"api",error:"Unable to load the prompt library. Please try again later."}];return[2,{prompts:(0,c.Zn)(l),filters:Array.isArray(p)&&p.length?["All"].concat((0,n._)((0,c.Td)(p))):d,source:"api",error:null}]}})}).apply(this,arguments)}var b=[{id:"ai-code-refactoring-wizard",slug:"ai-code-refactoring-wizard",title:"AI Code Refactoring & Optimization Wizard",description:"Transform legacy spaghetti code into clean, modular, highly optimized TypeScript with complete unit test coverage.",shortPrompt:"Refactor legacy code into clean, type-safe, modular code with unit tests.",prompt:"Acts as a Principal Software Engineer. Review the provided codebase, identify performance bottlenecks, anti-p
1atterns, and memory leaks. Refactor it into clean, modern TypeScript adhering to SOLID principles, add JSDoc annotations, and generate comprehensive Jest/Vitest unit tests.",intent:"Code Refactoring",domain:"Coding",tags:["Coding","Top UI","Refactoring","TypeScript"],categoryLabel:"Coding",accessTier:"free",coverSrc:"/library_assets/01.webp",whyItWorks:"Enforces clean code principles, typed interfaces, and automated test coverage out of the box."},{id:"saas-landing-page-architect",slug:"saas-landing-page-architect",title:"Modern SaaS Landing Page Architect",description:"Design and build high-converting Next.js & Tailwind SaaS landing pages with glassmorphism and micro-animations.",shortPrompt:"Generate high-converting SaaS landing page with dark mode and smooth animations.",prompt:"You are an elite Lead Frontend Architect & UI Designer. Build a modern, high-converting SaaS landing page component in Next.js using Tailwind CSS. Include a hero section with glowing radial aura, interactive prompt bar, feature grid, dark glassmorphic cards, customer testimonials marquee, pricing toggle, and responsive navbar.",intent:"UI Architecture",domain:"UI Design",tags:["UI Design","Top UI","Next.js","Tailwind"],categoryLabel:"UI Design",accessTier:"free",coverSrc:"/library_assets/02.webp",whyItWorks:"Combines modern visual aesthetics with production-grade responsive Tailwind structure."},{id:"fullstack-api-route-generator",slug:"fullstack-api-route-generator",title:"Fullstack Secure API Route & Schema Generator",description:"Generate secure Node.js/Next.js API routes with Zod validation, JWT middleware, rate limiting, and Prisma ORM models.",shortPrompt:"Create secure API route with Zod validation, rate limiting, and database ORM integration.",prompt:"Acts as a Senior Backend Architect. Design a production-ready REST API route in Next.js / Express with Zod request validation, JWT authentication middleware, rate-limiting headers, CSRF protection, comprehensive error handling, and Prisma DB models.",intent:"API Development",domain:"Coding",tags:["Coding","Backend","Security","API"],categoryLabel:"Coding",accessTier:"free",coverSrc:"/library_assets/03.jpg",whyItWorks:"Covers security best practices, input validation, and ORM database schema definitions."},{id:"viral-copywriting-growth-engine",slug:"viral-copywriting-growth-engine",title:"Viral Copywriting & Growth Marketing Engine",description:"Craft punchy, high-converting copy for Product Hunt launches, Twitter/X threads, and LinkedIn growth posts.",shortPrompt:"Write viral product announcement copy for Product Hunt, Twitter/X, and LinkedIn.",prompt:"Acts as a Head of Growth & Master Copywriter. Craft a compelling launch campaign strategy for a new AI product. Include: 1) Product Hunt tagline & maker story, 2) 5-tweet viral hook thread, 3) Story-driven LinkedIn post, 4) Cold outreach email template.",intent:"Growth Marketing",domain:"Marketing",tags:["Marketing","Copywriting","Growth","Creative"],categoryLabel:"Marketing",accessTier:"free",coverSrc:"/library_assets/04.png",whyItWorks:"Uses proven copywriting frameworks (AIDA/PAS) tuned for developer and tech audiences."},{id:"ai-agent-system-prompt-builder",slug:"ai-agent-system-prompt-builder",title:"AI Autonomous Agent System Prompt Builder",description:"Engineer bulletproof, zero-shot system prompts with chain-of-thought logic, tool call schemas, and strict fallback guardrails.",shortPrompt:"Build bulletproof system prompt for AI autonomous agent with tool calling schemas.",prompt:"Acts as an AI System Prompt Engineer. Create a bulletproof system prompt for an autonomous AI agent. Define explicit identity, step-by-step chain-of-thought reasoning, JSON function tool calling schemas, strict safety guardrails, and error recovery protocols.",intent:"Prompt Engineering",domain:"AI Tools",tags:["AI Tools","Top UI","Prompting","Agent"],categoryLabel:"AI Tools",accessTier:"free",coverSrc:"/library_assets/05.webp",whyItWorks:"Eliminates AI hallucinations and ensures predictable JSON tool execution."},{id:"svg-ui-icon-illustration-craft",slug:"svg-ui-icon-illustration-craft",title:"Vector SVG Icon & Tech Graphic Creator",description:"Generate clean, crisp inline vector SVG code for custom UI icons, tech logos, and sleek dark-mode abstract graphics.",shortPrompt:"Generate raw inline SVG code for modern tech UI icons and abstract glowing graphics.",prompt:"Acts as a Vector Graphics Engineer. Generate raw, valid inline SVG code for a set of sleek modern tech icons (e.g. AI Brain, Quantum Code, Cyber Shield). Use clean paths, vibrant gradient fills (#52E9FB to #32D9FF), responsive viewports, and smooth viewBox scaling.",intent:"Graphic Design",domain:"Creative",tags:["Creative","SVG","UI Design","Design Systems"],categoryLabel:"Creative",accessTier:"free",coverSrc:"/library_assets/06.webp",whyItWorks:"Directly provides raw inline SVG code ready to copy-paste into React/HTML components."},{id:"mobile-app-ui-kit-generator",slug:"mobile-app-ui-kit-generator",title:"Mobile React Native UI Kit & State Manager",description:"Build sleek mobile app screens in React Native & Expo with Tailwind NativeWind styling and Zustand state management.",shortPrompt:"Generate React Native Expo screen with NativeWind and Zustand state.",prompt:"Acts as a Mobile App Architect. Build a fluid React Native / Expo screen using NativeWind (Tailwind). Include dark mode styling, animated bottom sheets, custom haptic feedback, and a Zustand store for state synchronization.",intent:"Mobile Development",domain:"Coding",tags:["Coding","Mobile","UI Design","React Native"],categoryLabel:"Coding",accessTier:"free",coverSrc:"/library_assets/07.webp",whyItWorks:"Tailored specifically for cross-platform mobile app development with clean component state."},{id:"pitch-deck-investor-narrative",slug:"pitch-deck-investor-narrative",title:"YC-Style Investor Pitch Deck & Narrative Builder",description:"Formulate a 10-slide Y-Combinator style pitch deck outline with problem/solution hooks, market size TAM, and unit economics.",shortPrompt:"Build Y
1C-style 10-slide startup pitch deck with TAM and traction metrics.",prompt:"Acts as a VC Partner & Startup Advisor. Structure a 10-slide Y-Combinator style investor pitch deck for a B2B SaaS startup. Outline Slide 1 (Hook), Slide 2 (Problem), Slide 3 (Solution), Slide 4 (TAM/SAM/SOM), Slide 5 (Business Model), Slide 6 (Traction), Slide 7 (Competitive Moat), Slide 8 (Unit Economics), Slide 9 (Team), Slide 10 (The Ask).",intent:"Business Strategy",domain:"Business",tags:["Business","Startup","Pitch Deck","Presentation"],categoryLabel:"Business",accessTier:"free",coverSrc:"/library_assets/08.webp",whyItWorks:"Uses Silicon Valley VC evaluation benchmarks for clear investor storytelling."},{id:"cold-email-b2b-sequence",slug:"cold-email-b2b-sequence",title:"High-Converting B2B Cold Email Sequence",description:"Write personalized 4-touchpoint cold outreach sequences with high open rates and response triggers.",shortPrompt:"Write 4-step B2B cold email outreach sequence with irresistible subject lines.",prompt:"Acts as an Enterprise Sales Director. Write a 4-step B2B cold email sequence targeting CTOs and VP of Engineering. Step 1: Pattern interrupt hook. Step 2: Case study value proof. Step 3: Low-friction CTA. Step 4: Soft breakup email. Include 3 subject line variants per step.",intent:"Sales Outreach",domain:"Marketing",tags:["Marketing","Sales","Email","Outreach"],categoryLabel:"Marketing",accessTier:"free",coverSrc:"/library_assets/09.webp",whyItWorks:"Applies psychological triggers and pattern interrupts to maximize executive reply rates."},{id:"database-schema-sql-designer",slug:"database-schema-sql-designer",title:"PostgreSQL Schema & Query Optimization Specialist",description:"Design relational database schemas with foreign keys, indexes, triggers, and optimized SQL queries.",shortPrompt:"Design PostgreSQL relational schema with indexes, migration scripts, and query optimizations.",prompt:"Acts as a Principal Database Administrator. Design an optimized PostgreSQL relational database schema. Include table DDL definitions, primary and foreign key constraints, composite index strategies for high-frequency queries, and a sample SQL query joining multi-tenant records with EXPLAIN ANALYZE tuning.",intent:"Database Design",domain:"Coding",tags:["Coding","Database","SQL","PostgreSQL"],categoryLabel:"Coding",accessTier:"free",coverSrc:"/library_assets/10.webp",whyItWorks:"Prevents database N+1 query issues and provides index optimization strategies."},{id:"rag-knowledge-base-pipeline",slug:"rag-knowledge-base-pipeline",title:"RAG Vector Search & Embeddings Pipeline Architect",description:"Architect a Retrieval-Augmented Generation pipeline with chunking strategies, Pinecone/Supabase pgvector, and re-ranking.",shortPrompt:"Architect RAG vector embedding pipeline with semantic chunking and re-ranking.",prompt:"Acts as an AI Infrastructure Architect. Design a production Retrieval-Augmented Generation (RAG) pipeline for domain documentation. Specify: 1) Recursive document chunking strategy, 2) OpenAI/Cohere embedding generation, 3) Vector store integration (pgvector/Pinecone), 4) Hybrid keyword + vector search, 5) Cross-encoder re-ranking for context injection.",intent:"AI Infrastructure",domain:"AI Tools",tags:["AI Tools","Top UI","RAG","Embeddings","Coding"],categoryLabel:"AI Tools",accessTier:"free",coverSrc:"/library_assets/11.webp",whyItWorks:"Delivers high precision semantic search context for enterprise knowledge retrieval."},{id:"design-system-token-architect",slug:"design-system-token-architect",title:"Design System & Component Token Architect",description:"Create scalable design tokens (colors, typography, spacing, shadows) and reusable component contracts in Tailwind CSS.",shortPrompt:"Define design system tokens and Tailwind CSS theme configuration.",prompt:"Acts as a Design System Lead. Create a scalable design token architecture for a multi-theme web application. Define CSS variables and Tailwind config for semantic color palettes (primary, secondary, surface, accent, status), typography scale, spacing tokens, elevation shadows, and component variants for Button, Card, and Input.",intent:"Design Systems",domain:"UI Design",tags:["UI Design","Top UI","Design Systems","Tailwind"],categoryLabel:"UI Design",accessTier:"free",coverSrc:"/library_assets/12.webp",whyItWorks:"Establishes visual consistency and theme scalability across large codebase teams."}];function f(e,t){if(!e||!e.length)return[];for(var r,i,a=(0,n._)(e),o=a.length,s=t||42;o;)i=Math.floor((s=(9301*s+49297)%233280)/233280*o--),r=a[o],a[o]=a[i],a[i]=r;return a}function v(){return(0,i._)(function(){var e,t,r,i,a,n,s,c,l,d,m,h,y,v,S,w,A,k=arguments;return(0,o.YH)(this,function(o){switch(o.label){case 0:r=void 0===(t=(e=k.length>0&&void 0!==k[0]?k[0]:{}).category)?"All":t,a=void 0===(i=e.limit)?6:i,s=void 0===(n=e.page)?1:n,l=void 0===(c=e.sort)?"best":c,d=function(){try{var e=sessionStorage.getItem("velocity_prompt_seed");e||(e=String(Math.floor(1e6*Math.random())+Date.now()%1e4),sessionStorage.setItem("velocity_prompt_seed",e));for(var t=localStorage.getItem("userId")||localStorage.getItem("userEmail")||localStorage.getItem("email")||e,r=0,i=0;i<t.length;i++)r=(r<<5)-r+t.charCodeAt(i)|0;return Math.abs(r)+Number(e)%1e3}catch(e){return Math.floor(1e5*Math.random())}}()+17*s+("All"===r?0:3*r.length),o.label=1;case 1:return o.trys.push([1,3,,4]),m=encodeURIComponent(l||"best"),h="?limit=".concat(a,"&page=").concat(s,"&sort=").concat(m),r&&"All"!==r&&(h+="&tag=".concat(encodeURIComponent(r))),[4,u(p(h))];case 2:if((null==(y=o.sent())?void 0:y.success)&&Array.isArray(y.items)&&y.items.length>0)return v=y.items.map(g),S=Number(y.total)||0,w=s*a<S,[2,{prompts:f(v,d),hasMore:w,error:null}];return[3,4];case 3:return console.warn("API prompt library load failed, using curated starter prompts:",o.sent()),[3,4];case 4:return[2,{prompts:f((A="All"===r?b:b.filter(function(e){return e.tags.includes(r)||e.categoryLabel===r||e.domain===r})).length>0?A:b,d),hasMore:!1,error:null}]}})}).apply(this,arguments)}function S(e){return(0,i._)(function(){var t,r;return(0,o.YH)(this,function(i){switch(i.label){case 0:if(!e)return[2,null];i.label=1;case 1:return i.trys.push([1,4,,5]),[4,fetch("".concat(LIBRARY_API_BASE,"/prompt/library/").concat(encodeURIComponent(e)))];case 2:if(!(t=i.sent()).ok)return[2,null];return[4,t.json()];case 3:if((null==(r=i.sent())?void 0:r.success)&&(null==r?void 0:r.item))return[2,g(r.item)];return[3,5];case 4:return console.error("Error fetching prompt by ID from API:",i.sent()),[3,5];case 5:return[2,null]}})})()}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.