[{"data":1,"prerenderedAt":119},["ShallowReactive",2],{"page:\u002Fdocs\u002F5.x\u002Fai\u002Fcontext7":3},{"id":4,"title":5,"body":6,"description":102,"extension":103,"frontmatter":104,"heading":5,"meta":110,"navigation":112,"order":100,"path":113,"seo":114,"sitemap":115,"source":116,"stem":117,"__hash__":118},"docs\u002Fdocs\u002F5.x\u002Fai\u002Fcontext7.md","Use Kubb with Context7",{"type":7,"value":8,"toc":95},"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,59,62,66,73,92],"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","highlights",[20,44,46],{"class":45},"language-shell",[47,48,51,55],"span",{"class":49,"style":50},"line","display: inline",[47,52,54],{"style":53},"color:#6f42c1;--hls-dark:#b392f0","npx ",[47,56,58],{"style":57},"color:#24292e;--hls-dark:#e1e4e8","ctx7 setup",[10,60,61],{},"The setup connects Context7 through MCP or installs its documentation skill, depending on the\noption you select.",[29,63,65],{"id":64},"use-kubb-documentation","Use Kubb documentation",[10,67,68,69,72],{},"Include ",[20,70,71],{},"use context7"," in your prompt. Add the Kubb library ID when you want to skip library\ndiscovery:",[37,74,78],{"language":75,"filename":76,"code":77,"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,79,81,86,87],{"class":80},"language-text",[47,82,83],{"class":49,"style":50},[47,84,85],{"style":57},"Create a kubb.config.ts that generates TypeScript types, a Fetch client, and React Query hooks","\n",[47,88,89],{"class":49,"style":50},[47,90,91],{"style":57},"from .\u002FpetStore.yaml. Use Context7 library \u002Fkubb-labs\u002Fkubb.",[10,93,94],{},"A rule in your assistant's instructions can make it use Context7 for every Kubb question.",{"title":96,"searchDepth":97,"depth":97,"links":98},"",5,[99,101],{"id":31,"depth":100,"text":32},2,{"id":64,"depth":100,"text":65},"Connect Context7 to your AI assistant and use current Kubb documentation when generating code or configuring Kubb.","md",{"layout":105,"title":5,"description":102,"outline":106,"order":100,"navigation":108},"doc",[100,107],3,{"title":17,"icon":109},"i-iconoir-code-brackets",{"layout":105,"outline":111},[100,107],{"title":17,"icon":109},"\u002Fdocs\u002F5.x\u002Fai\u002Fcontext7",{"title":5,"description":102},{"loc":113},"kubb-labs\u002Fkubb\u002Fdocs\u002F5.x\u002Fai\u002Fcontext7.md","docs\u002F5.x\u002Fai\u002Fcontext7","SI8Jc0AIxp4LG-1sMcE7-72jxxNP7KhMoeD3Rw0V4B4",1792931639259]