[{"data":1,"prerenderedAt":123},["ShallowReactive",2],{"page:\u002Fdocs\u002F5.x\u002Fai\u002Fcontext7":3},{"id":4,"title":5,"body":6,"description":105,"extension":106,"frontmatter":107,"heading":5,"meta":113,"navigation":115,"order":103,"path":116,"seo":117,"sitemap":118,"source":119,"stem":120,"__hash__":121,"hasPopups":122},"docs\u002Fdocs\u002F5.x\u002Fai\u002Fcontext7.md","Use Kubb with Context7",{"type":7,"value":8,"toc":98},"minimark",[9,24],[10,11,12,13,18,19,23],"p",{},"Kubb's documentation is indexed on ",[14,15,17],"a",{"href":16},"https:\u002F\u002Fcontext7.com","Context7"," under the library ID ",[20,21,22],"code",{},"\u002Fkubb-labs\u002Fkubb",".",[25,26,28,33,36,62,65,69,76,95],"steps",{"level":27},"2",[29,30,32],"h2",{"id":31},"set-up-context7","Set up Context7",[10,34,35],{},"Run the interactive setup and select your AI assistant:",[37,38,43],"pre",{"language":39,"filename":40,"code":41,"class":42},"shell","Terminal","npx ctx7 setup","shiki shiki-themes github-light github-dark dark:github-dark",[20,44,46],{"class":45},"language-shell",[47,48,51,55,59],"span",{"class":49,"style":50},"line","display: inline",[47,52,54],{"style":53},"color:#6F42C1;--shiki-dark:#B392F0","npx",[47,56,58],{"style":57},"color:#032F62;--shiki-dark:#9ECBFF"," ctx7",[47,60,61],{"style":57}," setup",[10,63,64],{},"The setup connects Context7 through MCP or installs its documentation skill, depending on the\noption you select.",[29,66,68],{"id":67},"use-kubb-documentation","Use Kubb documentation",[10,70,71,72,75],{},"Include ",[20,73,74],{},"use context7"," in your prompt. Add the Kubb library ID when you want to skip library\ndiscovery:",[37,77,81],{"language":78,"filename":79,"code":80,"class":42},"text","Prompt","Create a kubb.config.ts that generates TypeScript types, a Fetch client, and React Query hooks\nfrom .\u002FpetStore.yaml. Use Context7 library \u002Fkubb-labs\u002Fkubb.",[20,82,84,89,90],{"class":83},"language-text",[47,85,86],{"class":49,"style":50},[47,87,88],{},"Create a kubb.config.ts that generates TypeScript types, a Fetch client, and React Query hooks","\n",[47,91,92],{"class":49,"style":50},[47,93,94],{},"from .\u002FpetStore.yaml. Use Context7 library \u002Fkubb-labs\u002Fkubb.",[10,96,97],{},"A rule in your assistant's instructions can make it use Context7 for every Kubb question.",{"title":99,"searchDepth":100,"depth":100,"links":101},"",5,[102,104],{"id":31,"depth":103,"text":32},2,{"id":67,"depth":103,"text":68},"Connect Context7 to your AI assistant and use current Kubb documentation when generating code or configuring Kubb.","md",{"layout":108,"title":5,"description":105,"outline":109,"order":103,"navigation":111},"doc",[103,110],3,{"title":17,"icon":112},"i-iconoir-code-brackets",{"layout":108,"outline":114},[103,110],{"title":17,"icon":112},"\u002Fdocs\u002F5.x\u002Fai\u002Fcontext7",{"title":5,"description":105},{"loc":116},"kubb-labs\u002Fkubb\u002Fdocs\u002F5.x\u002Fai\u002Fcontext7.md","docs\u002F5.x\u002Fai\u002Fcontext7","OfOrKIjVoTkp7h5t-ocVk7zqA5jtwJRqg9sTYXh29yU",false,1792440815068]