PageSourceSearch

https://www.nerdychefs.ai/assets/PackPage-BOAI9qzy.js

js nerdychefs.ai collected 2026-10-04 04:51:27 UTC 18,601 bytes, 1 lines download raw bytes

1import{j as e}from"./ui-radix-DHIxt5ep.js";import{n as O,j as G,r as c,L as f}from"./react-vendor-CR0XoUi-.js";import{H as j,ae as J,ac as W,F as C,V as Q,ad as D,t as Y,a7 as V,x as H,af as $,M as X,B as Z,A as K,J as ee,ag as S,a2 as se,ah as te,ai as ae}from"./index-5MFfP2q7.js";import{a as B}from"./deepPageData-CHGpLVeH.js";import{s as le}from"./seoOverrides-ByNHFylg.js";import{P}from"./PackPromptCard-e1BvxSQ5.js";import{P as re}from"./PackCard-DPbW6OFb.js";import{B as ie,c as ne}from"./Breadcrumbs-0NkDQebN.js";import{T as oe}from"./triangle-alert-DvAHOWwF.js";import{F as U}from"./folder-open-DsfyWDeS.js";import{M}from"./monitor-XoMJeccQ.js";import"./charts-CzQpzyai.js";const de=["setup","configuration","getting started","install","onboarding","global instructions","prerequisites"];function z(i){const x=(i||"").toLowerCase();return de.some(t=>x.includes(t))}function ce({prompts:i,packSlug:x,pack:t}){const[N,b]=c.useState({});if(i.length===0)return e.jsx("section",{className:"mb-12",children:e.jsxs("div",{className:"text-center py-12 bg-white dark:bg-slate-800 rounded-2xl border border-slate-200 dark:border-slate-700",children:[e.jsx(U,{className:"w-12 h-12 mx-auto text-slate-400 mb-4"}),e.jsx("p",{className:"text-slate-600 dark:text-slate-400",children:"No prompts found in this pack."})]})});const m=[],n=new Map;if(i.forEach(s=>{const r=s.sectionTitle||"General";n.has(r)||(n.set(r,[]),m.push(r)),n.get(r).push(s)}),m.length<=1)return e.jsxs("section",{className:"mb-12",children:[e.jsx("h2",{className:"text-2xl font-bold text-slate-900 dark:text-white mb-8",children:"Prompts in This Pack"}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-5 md:gap-6",children:i.map(s=>e.jsx(P,{title:s.title||s.name,helpsWith:s.useCase||s.use_case||s.helpsWith,promptText:s.promptText||s.prompt_text||s.prompt,packSlug:x,promptSlug:s.slug||S(s.title||s.name),category:(t==null?void 0:t.category)||"",packTitle:(t==null?void 0:t.name)||""},s.slug||s.id))})]});const h=m.filter(s=>z(s)),g=m.filter(s=>!z(s)),k=s=>{b(r=>({...r,[s]:!r[s]}))};return e.jsxs("div",{className:"mb-12 space-y-8",children:[h.length>0&&e.jsxs("section",{children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx("div",{className:"p-2 bg-emerald-100 dark:bg-emerald-900/40 rounded-xl",children:e.jsx(se,{className:"w-5 h-5 text-emerald-600 dark:text-emerald-400","aria-hidden":"true"})}),e.jsxs("div",{children:[e.jsx("h2",{className:"text-xl font-bold text-slate-900 dark:text-white",children:"Start Here"}),e.jsx("p",{className:"text-sm text-slate-500 dark:text-slate-400",children:"Complete these first before using the other prompts"})]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-5 md:gap-6",children:h.flatMap(s=>n.get(s)).map((s,r)=>e.jsxs("div",{className:"relative",children:[e.jsx("span",{className:"absolute -top-2 -left-2 z-10 w-6 h-6 bg-emerald-500 text-white text-xs font-bold rounded-full flex items-center justify-center shadow-sm",children:r+1}),e.jsx(P,{title:s.title||s.name,helpsWith:s.useCase||s.use_case||s.helpsWith,promptText:s.promptText||s.prompt_text||s.prompt,packSlug:x,promptSlug:s.slug||S(s.title||s.name),category:(t==null?void 0:t.category)||"",packTitle:(t==null?void 0:t.name)||""})]},s.slug||s.id))})]}),g.length>0&&e.jsxs("section",{children:[e.jsx("h2",{className:"text-2xl font-bold text-slate-900 dark:text-white mb-8",children:h.length>0?"All Workflows":"Prompts in This Pack"}),e.jsx("div",{className:"space-y-6",children:g.map(s=>{const r=n.get(s),u=N[s];return e.jsxs("div",{children:[e.jsxs("button",{onClick:()=>k(s),className:"flex items-center gap-2 mb-3 group w-full text-left","aria-expanded":!u,children:[u?e.jsx(te,{className:"w-4 h-4 text-slate-400 group-hover:text-slate-600 dark:group-hover:text-slate-300"}):e.jsx(ae,{className:"w-4 h-4 text-slate-400 group-hover:text-slate-600 dark:group-hover:text-slate-300"}),e.jsx("h3",{className:"text-lg font-semibold text-slate-800 dark:text-slate-200 group-hover:text-cyan-600 dark:group-hover:text-cyan-400 transition-colors",children:s}),e.jsxs("span",{className:"text-xs text-slate-400 font-normal",children:["(",r.length,")"]})]}),!u&&e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-5 md:gap-6",children:r.map(l=>e.jsx(P,{title:l.title||l.name,helpsWith:l.useCase||l.use_case||l.helpsWith,promptText:l.promptText||l.prompt_text||l.prompt,packSlug:x,promptSlug:l.slug||S(l.title||l.name),category:(t==null?void 0:t.category)||"",packTitle:(t==null?void 0:t.name)||""},l.slug||l.id))})]},s)})})]})]})}function ye(){var F,R,_,E;const{packSlug:i}
1=O(),x=G(),[t,N]=c.useState(null),[b,m]=c.useState([]),[n,h]=c.useState(null),[g,k]=c.useState([]),[s,r]=c.useState(!0),[u,l]=c.useState(!1),[q,T]=c.useState(!1),w=c.useCallback(async()=>{try{r(!0),l(!1),T(!1);let a=await B(i);if(!a){const d=i.replace(/^[a-z]+(-[a-z]+)*-\d{3}-/i,"");if(d!==i&&(a=await B(d),a)){x(`/pack/${d}`,{replace:!0});return}}if(!a){l(!0);return}N(a.pack),m(a.prompts),h(a.category),k(a.relatedPacks)}catch(a){console.error("Error loading pack data:",a),T(!0)}finally{r(!1)}},[i,x]);if(c.useEffect(()=>{w()},[w]),s)return e.jsxs("div",{className:"min-h-screen overflow-x-hidden bg-gradient-to-br from-slate-50 to-slate-100 dark:from-slate-900 dark:to-slate-800",children:[e.jsx(j,{}),e.jsx("div",{className:"max-w-7xl mx-auto px-4 py-12",children:e.jsxs("div",{className:"animate-pulse space-y-6",children:[e.jsx("div",{className:"h-4 bg-slate-200 dark:bg-slate-700 rounded w-1/3"}),e.jsx("div",{className:"h-12 bg-slate-200 dark:bg-slate-700 rounded w-2/3"}),e.jsx("div",{className:"h-5 bg-slate-200 dark:bg-slate-700 rounded w-1/2"}),e.jsxs("div",{className:"flex gap-3 mt-2",children:[e.jsx("div",{className:"h-8 bg-slate-200 dark:bg-slate-700 rounded-full w-28"}),e.jsx("div",{className:"h-8 bg-slate-200 dark:bg-slate-700 rounded-full w-24"})]}),e.jsxs("div",{className:"bg-white dark:bg-slate-800 rounded-2xl p-8 border border-slate-200 dark:border-slate-700 mt-6",children:[e.jsx("div",{className:"h-5 bg-slate-200 dark:bg-slate-700 rounded w-1/4 mb-6"}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[...Array(3)].map((a,d)=>e.jsxs("div",{className:"flex gap-4",children:[e.jsx("div",{className:"w-10 h-10 bg-slate-200 dark:bg-slate-700 rounded-full flex-shrink-0"}),e.jsxs("div",{className:"flex-1 space-y-2",children:[e.jsx("div",{className:"h-4 bg-slate-200 dark:bg-slate-700 rounded w-1/2"}),e.jsx("div",{className:"h-3 bg-slate-200 dark:bg-slate-700 rounded w-3/4"})]})]},d))})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 mt-8",children:[...Array(9)].map((a,d)=>e.jsxs("div",{className:"bg-white dark:bg-slate-800 rounded-xl p-5 border border-slate-200 dark:border-slate-700",children:[e.jsx("div",{className:"h-5 bg-slate-200 dark:bg-slate-700 rounded w-3/4 mb-3"}),e.jsx("div",{className:"h-4 bg-slate-200 dark:bg-slate-700 rounded w-full mb-2"}),e.jsx("div",{className:"h-4 bg-slate-200 dark:bg-slate-700 rounded w-1/2"})]},d))})]})})]});if(q)return e.jsxs("div",{className:"min-h-screen overflow-x-hidden bg-gradient-to-br from-slate-50 to-slate-100 dark:from-slate-900 dark:to-slate-800",children:[e.jsx(j,{}),e.jsxs("div",{className:"max-w-7xl mx-auto px-4 py-20 text-center",children:[e.jsx(oe,{className:"w-12 h-12 text-amber-500 mx-auto mb-4"}),e.jsx("h1",{className:"text-2xl font-bold text-slate-900 dark:text-white mb-2",children:"Couldn't load this pack"}),e.jsx("p",{className:"text-slate-600 dark:text-slate-400 mb-6",children:"This is likely a temporary connection issue. Try again."}),e.jsxs("div",{className:"flex flex-wrap justify-center gap-3",children:[e.jsxs("button",{onClick:w,className:"inline-flex items-center gap-2 px-6 py-3 bg-cyan-600 text-white rounded-xl hover:bg-cyan-700 transition-colors",children:[e.jsx(J,{className:"w-4 h-4"}),"Retry"]}),e.jsxs(f,{to:"/",className:"inline-flex items-center gap-2 px-6 py-3 bg-white dark:bg-slate-800 border border-slate-200 dark:border-slate-700 text-slate-700 dark:text-slate-300 rounded-xl hover:border-cyan-400 transition-colors",children:[e.jsx(W,{className:"w-4 h-4"}),"Back to Home"]})]})]}),e.jsx(C,{})]});if(u||!t)return e.jsxs("div",{className:"min-h-screen overflow-x-hidden bg-gradient-to-br from-slate-50 to-slate-100 dark:from-slate-900 dark:to-slate-800",children:[e.jsx(Q,{}),e.jsx(j,{}),e.jsxs("div",{className:"max-w-7xl mx-auto px-4 py-20 text-center",children:[e.jsx("h1",{className:"text-4xl font-bold text-slate-900 dark:text-white mb-4",children:"Pack Not Found"}),e.jsx("p",{className:"text-slate-600 dark:text-slate-400 mb-8",children:"The prompt pack you're looking for doesn't exist."}),e.jsxs(f,{to:"/",className:"inline-flex items-center gap-2 px-6 py-3 bg-cyan-600 text-white rounded-xl hover:bg-cyan-700 transition-colors",children:[e.jsx(W,{className:"w-4 h-4"}),"Back to Home"]})]}),e.jsx(C,{})]});const I=((F=t.tags)==null?void 0:F.some(a=>["cowork","claude-cowork"].includes(a==null?void 0:a.toLowerCase())))||((R=t.title)==null?void 0:R.toLowerCase().includes("cowork"))||((_=t.name)==null?void 0:_.toLowerCase().includes("cowork")),y=t.promptCount||b.length,p=t!=null&&t.name?D(t.name):i,v=Y(t.name),o=(E=le.packs)==null?void 0:E[p],L=(o==null?void 0:o.title)||`${v} — ${y} Free AI Prompts | NerdyChefs.ai`,A=(o==null?void 0:o.description)||`${t.outcomeLine||t.description||""} ${y} free, ready-to-use prompts. Copy and paste into ChatGPT, Claude, or Copilot.`.trim();return e.jsxs("div",{className:"min-h-screen overflow-x-hidden bg-gradient-to-br from-slate-50 to-slate-100 dar
1k:from-slate-900 dark:to-slate-800",children:[e.jsxs(V,{children:[e.jsx("title",{children:L}),e.jsx("meta",{name:"description",content:A}),e.jsx("meta",{property:"og:title",content:L}),e.jsx("meta",{property:"og:description",content:A}),e.jsx("meta",{property:"og:type",content:"website"}),e.jsx("meta",{property:"og:url",content:`https://www.nerdychefs.ai/pack/${p}`}),e.jsx("link",{rel:"canonical",href:`https://www.nerdychefs.ai/pack/${p}`}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"SoftwareApplication",name:v,description:t.outcomeLine||t.description,url:`https://www.nerdychefs.ai/pack/${p}`,applicationCategory:"Productivity",offers:{"@type":"Offer",price:"0",priceCurrency:"USD"}})}),(o==null?void 0:o.faq)&&e.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:o.faq.map(a=>({"@type":"Question",name:a.q,acceptedAnswer:{"@type":"Answer",text:a.a}}))})})]}),e.jsx(j,{}),e.jsxs("main",{className:"max-w-7xl mx-auto px-4 py-8 md:py-12",children:[e.jsxs("section",{className:"mb-10",children:[e.jsx(ie,{items:ne(t,n),className:"mb-6"}),e.jsx("h1",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-slate-900 dark:text-white mb-4 break-words",children:v}),e.jsx("p",{className:"text-lg md:text-xl text-slate-600 dark:text-slate-400 max-w-3xl mb-6",children:t.outcomeLine||t.description}),e.jsxs("div",{className:"flex flex-wrap items-center gap-4 text-sm",children:[e.jsxs("span",{className:"inline-flex items-center gap-1.5 px-3 py-1.5 rounded-full bg-cyan-50 dark:bg-cyan-900/30 text-cyan-700 dark:text-cyan-400 font-semibold",children:[e.jsx(U,{className:"w-4 h-4","aria-hidden":"true"}),y," prompts"]}),t.targetRole&&e.jsxs("span",{className:"text-slate-600 dark:text-slate-400",children:["Best for ",t.targetRole]}),n&&e.jsx(f,{to:`/category/${n.slug}`,className:"text-cyan-600 dark:text-cyan-400 hover:underline",children:n.name})]})]}),e.jsx("section",{className:"mb-12",children:I?e.jsxs("div",{className:"bg-white dark:bg-slate-800 rounded-2xl border border-orange-200 dark:border-orange-800/50 p-6 md:p-8",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx(M,{className:"w-5 h-5 text-orange-600 dark:text-orange-400"}),e.jsx("h2",{className:"text-lg font-bold text-slate-900 dark:text-white",children:"How to Use — Claude Cowork Desktop Only"})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"shrink-0 w-10 h-10 rounded-full bg-orange-100 dark:bg-orange-900/40 flex items-center justify-center",children:e.jsx(H,{className:"w-5 h-5 text-orange-600 dark:text-orange-400","aria-hidden":"true"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-slate-900 dark:text-white mb-1",children:"1. Copy"}),e.jsx("p",{className:"text-sm text-slate-600 dark:text-slate-400",children:'Click "Copy" on any prompt below'})]})]}),e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"shrink-0 w-10 h-10 rounded-full bg-orange-100 dark:bg-orange-900/40 flex items-center justify-center",children:e.jsx(M,{className:"w-5 h-5 text-orange-600 dark:text-orange-400","aria-hidden":"true"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-slate-900 dark:text-white mb-1",children:"2. Open Cowork"}),e.jsx("p",{className:"text-sm text-slate-600 dark:text-slate-400",children:"Paste into Claude Cowork on macOS or Windows"})]})]}),e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"shrink-0 w-10 h-10 rounded-full bg-orange-100 dark:bg-orange-900/40 flex items-center justify-center",children:e.jsx($,{className:"w-5 h-5 text-orange-600 dark:text-orange-400","aria-hidden":"true"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-slate-900 dark:text-white mb-1",children:"3. Customize"}),e.jsx("p",{className:"text-sm text-slate-600 dark:text-slate-400",children:"Fill in [placeholders] — keep the desktop app open"})]})]})]}
1),e.jsx("p",{className:"mt-4 text-xs text-orange-600 dark:text-orange-400",children:"These prompts use Cowork-specific features (local file access, connectors, /schedule). They won't work in Claude web chat or other AI tools."})]}):e.jsxs("div",{className:"bg-white dark:bg-slate-800 rounded-2xl border border-slate-200 dark:border-slate-700 p-6 md:p-8",children:[e.jsx("h2",{className:"text-lg font-bold text-slate-900 dark:text-white mb-6",children:"How to Use"}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"shrink-0 w-10 h-10 rounded-full bg-cyan-100 dark:bg-cyan-900/40 flex items-center justify-center",children:e.jsx(H,{className:"w-5 h-5 text-cyan-600 dark:text-cyan-400","aria-hidden":"true"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-slate-900 dark:text-white mb-1",children:"1. Copy"}),e.jsx("p",{className:"text-sm text-slate-600 dark:text-slate-400",children:'Click "Copy" on any prompt below'})]})]}),e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"shrink-0 w-10 h-10 rounded-full bg-cyan-100 dark:bg-cyan-900/40 flex items-center justify-center",children:e.jsx(X,{className:"w-5 h-5 text-cyan-600 dark:text-cyan-400","aria-hidden":"true"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-slate-900 dark:text-white mb-1",children:"2. Paste"}),e.jsx("p",{className:"text-sm text-slate-600 dark:text-slate-400",children:"Paste into ChatGPT, Claude, or Copilot"})]})]}),e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"shrink-0 w-10 h-10 rounded-full bg-cyan-100 dark:bg-cyan-900/40 flex items-center justify-center",children:e.jsx($,{className:"w-5 h-5 text-cyan-600 dark:text-cyan-400","aria-hidden":"true"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-slate-900 dark:text-white mb-1",children:"3. Customize"}),e.jsx("p",{className:"text-sm text-slate-600 dark:text-slate-400",children:"Fill in [placeholders] with your details"})]})]})]})]})}),e.jsx(ce,{prompts:b,packSlug:i,pack:t}),e.jsxs("section",{className:"mb-12",children:[e.jsxs(f,{to:"/books",className:"group flex flex-col sm:flex-row sm:items-center gap-4 p-5 md:p-6 rounded-2xl bg-cyan-50 dark:bg-cyan-900/20 border border-cyan-200 dark:border-cyan-800/50 hover:border-cyan-400 dark:hover:border-cyan-400 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cyan-500 focus-visible:ring-offset-2 focus-visible:ring-offset-slate-50 dark:focus-visible:ring-offset-slate-900",children:[e.jsx("div",{className:"shrink-0 w-11 h-11 rounded-xl bg-white dark:bg-slate-800 flex items-center justify-center",children:e.jsx(Z,{className:"w-5 h-5 text-cyan-600 dark:text-cyan-400","aria-hidden":"true"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h2",{className:"text-base md:text-lg font-bold text-slate-900 dark:text-white",children:"Tired of AI-sounding output? The book teaches you to fix it."}),e.jsx("p",{className:"text-sm text-slate-600 dark:text-slate-400",children:"Spot the tells, keep your voice. Start with the free checklist."})]}),e.jsxs("span",{className:"inline-flex items-center gap-1.5 text-sm font-semibold text-cyan-700 dark:text-cyan-400 group-hover:gap-2.5 transition-all",children:["See books & tools",e.jsx(K,{className:"w-4 h-4","aria-hidden":"true"})]})]}),e.jsxs("p",{className:"mt-3 text-center text-sm text-slate-500 dark:text-slate-400",children:["These prompts stay free. If they saved you time,"," ",e.jsx("a",{href:ee("https://buymeacoffee.com/nerdychefsai",{medium:"pack_page",campaign:"storefront",content:p}),target:"_blank",rel:"noopener noreferrer",className:"font-medium text-slate-600 dark:text-slate-300 underline underline-offset-2 hover:text-cyan-700 dark:hover:text-cyan-400 transition-colors",children:"toss Noodle a snack 🍜"})]})]}),g.length>0&&e.jsxs("section",{className:"mb-12",children:[e.jsx("h2",{className:"text-2xl font-bold text-slate-900 dark:text-white mb-6",children:"Related Packs"}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-
15 md:gap-6",children:g.map(a=>{var d;return e.jsx(re,{name:a.name||a.title,slug:a.slug||D(a.title),outcomeLine:a.outcomeLine||a.description,promptCount:a.promptCount||0,targetRole:a.targetRole||((d=a.personas)==null?void 0:d[0])},a.slug||a.id)})})]}),e.jsx("section",{className:"mb-12 text-center",children:e.jsxs("p",{className:"text-sm text-slate-600 dark:text-slate-400",children:["Like this pack? You can also"," ",e.jsx(f,{to:"/downloads",className:"font-semibold text-cyan-600 dark:text-cyan-400 hover:underline",children:"grab every pack as a downloadable PDF"})," ","from the downloads hub."]})})]}),e.jsx(C,{})]})}export{ye as default,D as titleToSlug};

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.