[{"data":1,"prerenderedAt":761},["ShallowReactive",2],{"navigation_docs":3,"-getting-started-agent-skills":297,"-getting-started-agent-skills-surround":756},[4,30,70,115,203,267,283],{"title":5,"path":6,"stem":7,"children":8,"page":29},"Getting Started","\u002Fgetting-started","1.getting-started",[9,14,19,24],{"title":10,"path":11,"stem":12,"icon":13},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction","i-lucide-info",{"title":15,"path":16,"stem":17,"icon":18},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation","i-lucide-download",{"title":20,"path":21,"stem":22,"icon":23},"Quick Start","\u002Fgetting-started\u002Fquick-start","1.getting-started\u002F3.quick-start","i-lucide-zap",{"title":25,"path":26,"stem":27,"icon":28},"Agent Skills","\u002Fgetting-started\u002Fagent-skills","1.getting-started\u002F4.agent-skills","i-lucide-sparkles",false,{"title":31,"path":32,"stem":33,"children":34,"page":29},"Logging","\u002Flogging","2.logging",[35,40,45,50,55,60,65],{"title":36,"path":37,"stem":38,"icon":39},"Overview","\u002Flogging\u002Foverview","2.logging\u002F0.overview","i-lucide-list",{"title":41,"path":42,"stem":43,"icon":44},"Simple Logging","\u002Flogging\u002Fsimple-logging","2.logging\u002F1.simple-logging","i-lucide-terminal",{"title":46,"path":47,"stem":48,"icon":49},"Wide Events","\u002Flogging\u002Fwide-events","2.logging\u002F2.wide-events","i-lucide-layers",{"title":51,"path":52,"stem":53,"icon":54},"Structured Errors","\u002Flogging\u002Fstructured-errors","2.logging\u002F3.structured-errors","i-lucide-shield-alert",{"title":56,"path":57,"stem":58,"icon":59},"Client Logging","\u002Flogging\u002Fclient-logging","2.logging\u002F4.client-logging","i-lucide-monitor",{"title":61,"path":62,"stem":63,"icon":64},"AI SDK Integration","\u002Flogging\u002Fai-sdk","2.logging\u002F5.ai-sdk","i-simple-icons-vercel",{"title":66,"path":67,"stem":68,"icon":69},"Better Auth Integration","\u002Flogging\u002Fbetter-auth","2.logging\u002F6.better-auth","i-simple-icons-betterauth",{"title":71,"path":72,"stem":73,"children":74,"page":29},"Core Concepts","\u002Fcore-concepts","3.core-concepts",[75,80,85,90,95,100,105,110],{"title":76,"path":77,"stem":78,"icon":79},"Lifecycle","\u002Fcore-concepts\u002Flifecycle","3.core-concepts\u002F0.lifecycle","i-lucide-arrow-right-left",{"title":81,"path":82,"stem":83,"icon":84},"Configuration","\u002Fcore-concepts\u002Fconfiguration","3.core-concepts\u002F1.configuration","i-lucide-settings",{"title":86,"path":87,"stem":88,"icon":89},"Sampling","\u002Fcore-concepts\u002Fsampling","3.core-concepts\u002F2.sampling","i-lucide-filter",{"title":91,"path":92,"stem":93,"icon":94},"Typed Fields","\u002Fcore-concepts\u002Ftyped-fields","3.core-concepts\u002F3.typed-fields","i-simple-icons-typescript",{"title":96,"path":97,"stem":98,"icon":99},"Best Practices","\u002Fcore-concepts\u002Fbest-practices","3.core-concepts\u002F4.best-practices","i-lucide-shield-check",{"title":101,"path":102,"stem":103,"icon":104},"Performance","\u002Fcore-concepts\u002Fperformance","3.core-concepts\u002F5.performance","i-lucide-gauge",{"title":106,"path":107,"stem":108,"icon":109},"Vite Plugin","\u002Fcore-concepts\u002Fvite-plugin","3.core-concepts\u002F6.vite-plugin","i-custom-vite",{"title":111,"path":112,"stem":113,"icon":114},"Auto-Redaction","\u002Fcore-concepts\u002Fredaction","3.core-concepts\u002F7.redaction","i-lucide-eye-off",{"title":116,"path":117,"stem":118,"children":119,"page":29},"Frameworks","\u002Fframeworks","4.frameworks",[120,124,129,134,139,144,149,154,159,164,169,174,179,184,188,193,198],{"title":36,"path":121,"stem":122,"icon":123},"\u002Fframeworks\u002Foverview","4.frameworks\u002F00.overview","i-lucide-layout-grid",{"title":125,"path":126,"stem":127,"icon":128},"Nuxt","\u002Fframeworks\u002Fnuxt","4.frameworks\u002F01.nuxt","i-simple-icons-nuxtdotjs",{"title":130,"path":131,"stem":132,"icon":133},"Next.js","\u002Fframeworks\u002Fnextjs","4.frameworks\u002F02.nextjs","i-simple-icons-nextdotjs",{"title":135,"path":136,"stem":137,"icon":138},"SvelteKit","\u002Fframeworks\u002Fsveltekit","4.frameworks\u002F03.sveltekit","i-simple-icons-svelte",{"title":140,"path":141,"stem":142,"icon":143},"Nitro","\u002Fframeworks\u002Fnitro","4.frameworks\u002F04.nitro","i-custom-nitro",{"title":145,"path":146,"stem":147,"icon":148},"TanStack Start","\u002Fframeworks\u002Ftanstack-start","4.frameworks\u002F05.tanstack-start","i-custom-tanstack",{"title":150,"path":151,"stem":152,"icon":153},"NestJS","\u002Fframeworks\u002Fnestjs","4.frameworks\u002F06.nestjs","i-simple-icons-nestjs",{"title":155,"path":156,"stem":157,"icon":158},"Express","\u002Fframeworks\u002Fexpress","4.frameworks\u002F07.express","i-simple-icons-express",{"title":160,"path":161,"stem":162,"icon":163},"Hono","\u002Fframeworks\u002Fhono","4.frameworks\u002F08.hono","i-simple-icons-hono",{"title":165,"path":166,"stem":167,"icon":168},"Fastify","\u002Fframeworks\u002Ffastify","4.frameworks\u002F09.fastify","i-simple-icons-fastify",{"title":170,"path":171,"stem":172,"icon":173},"Elysia","\u002Fframeworks\u002Felysia","4.frameworks\u002F10.elysia","i-custom-elysia",{"title":175,"path":176,"stem":177,"icon":178},"React Router","\u002Fframeworks\u002Freact-router","4.frameworks\u002F11.react-router","i-custom-reactrouter",{"title":180,"path":181,"stem":182,"icon":183},"Cloudflare Workers","\u002Fframeworks\u002Fcloudflare-workers","4.frameworks\u002F12.cloudflare-workers","i-simple-icons-cloudflare",{"title":185,"path":186,"stem":187,"icon":94},"Standalone","\u002Fframeworks\u002Fstandalone","4.frameworks\u002F13.standalone",{"title":189,"path":190,"stem":191,"icon":192},"Astro","\u002Fframeworks\u002Fastro","4.frameworks\u002F14.astro","i-simple-icons-astro",{"title":194,"path":195,"stem":196,"icon":197},"Custom Integration","\u002Fframeworks\u002Fcustom-integration","4.frameworks\u002F15.custom-integration","i-lucide-puzzle",{"title":199,"path":200,"stem":201,"icon":202},"AWS Lambda","\u002Fframeworks\u002Faws-lambda","4.frameworks\u002F16.aws-lambda","i-custom-lambda",{"title":204,"path":205,"stem":206,"children":207,"page":29},"Adapters","\u002Fadapters","5.adapters",[208,212,217,222,227,232,237,242,247,252,257,262],{"title":36,"path":209,"stem":210,"icon":211},"\u002Fadapters\u002Foverview","5.adapters\u002F1.overview","i-custom-plug",{"title":213,"path":214,"stem":215,"icon":216},"Custom Adapters","\u002Fadapters\u002Fcustom","5.adapters\u002F10.custom","i-lucide-code",{"title":218,"path":219,"stem":220,"icon":221},"Pipeline","\u002Fadapters\u002Fpipeline","5.adapters\u002F11.pipeline","i-lucide-workflow",{"title":223,"path":224,"stem":225,"icon":226},"HTTP","\u002Fadapters\u002Fhttp","5.adapters\u002F12.http","i-lucide-globe",{"title":228,"path":229,"stem":230,"icon":231},"Axiom","\u002Fadapters\u002Faxiom","5.adapters\u002F2.axiom","i-custom-axiom",{"title":233,"path":234,"stem":235,"icon":236},"OTLP","\u002Fadapters\u002Fotlp","5.adapters\u002F3.otlp","i-simple-icons-opentelemetry",{"title":238,"path":239,"stem":240,"icon":241},"PostHog","\u002Fadapters\u002Fposthog","5.adapters\u002F4.posthog","i-simple-icons-posthog",{"title":243,"path":244,"stem":245,"icon":246},"Sentry","\u002Fadapters\u002Fsentry","5.adapters\u002F5.sentry","i-simple-icons-sentry",{"title":248,"path":249,"stem":250,"icon":251},"Better Stack","\u002Fadapters\u002Fbetter-stack","5.adapters\u002F6.better-stack","i-simple-icons-betterstack",{"title":253,"path":254,"stem":255,"icon":256},"File System","\u002Fadapters\u002Ffs","5.adapters\u002F7.fs","i-lucide-hard-drive",{"title":258,"path":259,"stem":260,"icon":261},"Datadog","\u002Fadapters\u002Fdatadog","5.adapters\u002F8.datadog","i-simple-icons-datadog",{"title":263,"path":264,"stem":265,"icon":266},"HyperDX","\u002Fadapters\u002Fhyperdx","5.adapters\u002F9.hyperdx","i-custom-hyperdx",{"title":268,"path":269,"stem":270,"children":271,"page":29},"Enrichers","\u002Fenrichers","6.enrichers",[272,275,279],{"title":36,"path":273,"stem":274,"icon":28},"\u002Fenrichers\u002Foverview","6.enrichers\u002F1.overview",{"title":276,"path":277,"stem":278,"icon":197},"Built-in","\u002Fenrichers\u002Fbuilt-in","6.enrichers\u002F2.built-in",{"title":280,"path":281,"stem":282,"icon":216},"Custom","\u002Fenrichers\u002Fcustom","6.enrichers\u002F3.custom",{"title":284,"path":285,"stem":286,"children":287,"page":29},"NuxtHub","\u002Fnuxthub","7.nuxthub",[288,292],{"title":36,"path":289,"stem":290,"icon":291},"\u002Fnuxthub\u002Foverview","7.nuxthub\u002F1.overview","i-lucide-database",{"title":293,"path":294,"stem":295,"icon":296},"Retention","\u002Fnuxthub\u002Fretention","7.nuxthub\u002F2.retention","i-lucide-clock",{"id":298,"title":25,"body":299,"description":742,"extension":743,"links":744,"meta":752,"navigation":753,"path":26,"seo":754,"stem":27,"__hash__":755},"docs\u002F1.getting-started\u002F4.agent-skills.md",{"type":300,"value":301,"toc":722},"minimark",[302,306,311,320,343,347,392,396,399,402,431,435,440,443,481,485,488,513,517,527,556,560,563,578,589,600,611,622,633,637,645,649,652,656,667,671,682,686,697,701,718],[303,304,305],"p",{},"evlog includes agent skills that help AI assistants review your logging patterns and guide evlog adoption.",[307,308,310],"h2",{"id":309},"what-are-agent-skills","What are Agent Skills?",[303,312,313,319],{},[314,315,25],"a",{"href":316,"rel":317},"https:\u002F\u002Fagentskills.io\u002F",[318],"nofollow"," is an open specification for packaging AI assistant capabilities. Skills provide:",[321,322,323,331,337],"ul",{},[324,325,326,330],"li",{},[327,328,329],"strong",{},"Domain knowledge",": Best practices for wide events and structured errors",[324,332,333,336],{},[327,334,335],{},"Code review",": Identify logging anti-patterns in your codebase",[324,338,339,342],{},[327,340,341],{},"Guided adoption",": Step-by-step help migrating to evlog",[307,344,346],{"id":345},"available-skills","Available Skills",[348,349,350,363],"table",{},[351,352,353],"thead",{},[354,355,356,360],"tr",{},[357,358,359],"th",{},"Skill",[357,361,362],{},"Description",[364,365,366,378],"tbody",{},[354,367,368,375],{},[369,370,371],"td",{},[372,373,374],"code",{},"skills\u002Freview-logging-patterns",[369,376,377],{},"Review code for logging patterns, suggest evlog adoption, guide wide event design",[354,379,380,385],{},[369,381,382],{},[372,383,384],{},"skills\u002Fanalyze-logs",[369,386,387,388,391],{},"Analyze application logs from ",[372,389,390],{},".evlog\u002Flogs\u002F"," to debug errors, investigate performance, and understand behavior",[307,393,395],{"id":394},"installing-the-skill","Installing the Skill",[303,397,398],{},"Compatible agents (Cursor, Claude Code, etc.) can discover and use skills automatically.",[303,400,401],{},"To manually install with the skills CLI:",[403,404,410],"pre",{"className":405,"code":406,"filename":407,"language":408,"meta":409,"style":409},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","npx skills add https:\u002F\u002Fwww.evlog.dev\n","Terminal","bash","",[372,411,412],{"__ignoreMap":409},[413,414,417,421,425,428],"span",{"class":415,"line":416},"line",1,[413,418,420],{"class":419},"sBMFI","npx",[413,422,424],{"class":423},"sfazB"," skills",[413,426,427],{"class":423}," add",[413,429,430],{"class":423}," https:\u002F\u002Fwww.evlog.dev\n",[307,432,434],{"id":433},"what-the-skill-does","What the Skill Does",[436,437,439],"h3",{"id":438},"code-review","Code Review",[303,441,442],{},"The skill analyzes your codebase for:",[321,444,445,459,465,475],{},[324,446,447,450,451,454,455,458],{},[327,448,449],{},"Scattered logging",": Multiple ",[372,452,453],{},"console.log"," or ",[372,456,457],{},"logger.info"," calls in request handlers",[324,460,461,464],{},[327,462,463],{},"Missing context",": Logs without user, request, or business context",[324,466,467,470,471,474],{},[327,468,469],{},"Unhelpful errors",": ",[372,472,473],{},"throw new Error()"," without structured fields",[324,476,477,480],{},[327,478,479],{},"Correlation gaps",": Missing request IDs or trace IDs",[436,482,484],{"id":483},"adoption-guidance","Adoption Guidance",[303,486,487],{},"The skill helps you:",[321,489,490,493,496,510],{},[324,491,492],{},"Convert traditional logging to wide events",[324,494,495],{},"Design effective wide event schemas",[324,497,498,499,502,503,506,507],{},"Implement structured errors with ",[372,500,501],{},"why",", ",[372,504,505],{},"fix",", and ",[372,508,509],{},"link",[324,511,512],{},"Set up evlog in Nuxt, Nitro, or standalone TypeScript",[436,514,516],{"id":515},"log-analysis","Log Analysis",[303,518,519,520,523,524,526],{},"The ",[372,521,522],{},"analyze-logs"," skill teaches your AI assistant to read structured logs from ",[372,525,390],{},":",[321,528,529,535,541,550],{},[324,530,531,534],{},[327,532,533],{},"Error debugging",": Find and explain errors, stack traces, and failure patterns",[324,536,537,540],{},[327,538,539],{},"Performance investigation",": Identify slow requests by duration",[324,542,543,546,547],{},[327,544,545],{},"Request tracing",": Follow a request across its lifecycle using ",[372,548,549],{},"requestId",[324,551,552,555],{},[327,553,554],{},"Pattern detection",": Spot recurring issues or anomalies",[436,557,559],{"id":558},"example-prompts","Example Prompts",[303,561,562],{},"Ask your AI assistant:",[564,565,566],"code-collapse",{},[403,567,572],{"className":568,"code":569,"filename":570,"language":571,"meta":409,"style":409},"language-txt shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","Review this file for logging anti-patterns\n","Prompt","txt",[372,573,574],{"__ignoreMap":409},[413,575,576],{"class":415,"line":416},[413,577,569],{},[564,579,580],{},[403,581,583],{"className":568,"code":582,"filename":570,"language":571,"meta":409,"style":409},"Help me convert these console.log calls to a wide event\n",[372,584,585],{"__ignoreMap":409},[413,586,587],{"class":415,"line":416},[413,588,582],{},[564,590,591],{},[403,592,594],{"className":568,"code":593,"filename":570,"language":571,"meta":409,"style":409},"What context should I add to this wide event?\n",[372,595,596],{"__ignoreMap":409},[413,597,598],{"class":415,"line":416},[413,599,593],{},[564,601,602],{},[403,603,605],{"className":568,"code":604,"filename":570,"language":571,"meta":409,"style":409},"How do I structure this error with evlog?\n",[372,606,607],{"__ignoreMap":409},[413,608,609],{"class":415,"line":416},[413,610,604],{},[564,612,613],{},[403,614,616],{"className":568,"code":615,"filename":570,"language":571,"meta":409,"style":409},"Why is the checkout endpoint failing?\n",[372,617,618],{"__ignoreMap":409},[413,619,620],{"class":415,"line":416},[413,621,615],{},[564,623,624],{},[403,625,627],{"className":568,"code":626,"filename":570,"language":571,"meta":409,"style":409},"Show me the slowest requests from today\n",[372,628,629],{"__ignoreMap":409},[413,630,631],{"class":415,"line":416},[413,632,626],{},[307,634,636],{"id":635},"skill-structure","Skill Structure",[403,638,643],{"className":639,"code":641,"language":642},[640],"language-text","skills\u002F\n├── review-logging-patterns\u002F\n│   ├── SKILL.md              # Main skill instructions\n│   └── references\u002F\n│       ├── wide-events.md    # Wide event patterns\n│       ├── structured-errors.md # Error handling guide\n│       └── code-review.md    # Review checklist\n└── analyze-logs\u002F\n    └── SKILL.md              # Log analysis from .evlog\u002Flogs\u002F\n","text",[372,644,641],{"__ignoreMap":409},[307,646,648],{"id":647},"reference-documents","Reference Documents",[303,650,651],{},"The skill includes reference documents that provide:",[436,653,655],{"id":654},"wide-eventsmd","wide-events.md",[321,657,658,661,664],{},[324,659,660],{},"Wide event anatomy and best practices",[324,662,663],{},"Context grouping patterns",[324,665,666],{},"Output format examples",[436,668,670],{"id":669},"structured-errorsmd","structured-errors.md",[321,672,673,676,679],{},[324,674,675],{},"Error field definitions",[324,677,678],{},"Status code guidelines",[324,680,681],{},"Frontend integration patterns",[436,683,685],{"id":684},"code-reviewmd","code-review.md",[321,687,688,691,694],{},[324,689,690],{},"Checklist for logging code review",[324,692,693],{},"Common anti-patterns to identify",[324,695,696],{},"Migration suggestions",[307,698,700],{"id":699},"next-steps","Next Steps",[321,702,703,708,713],{},[324,704,705,707],{},[314,706,20],{"href":21}," - Get started with evlog",[324,709,710,712],{},[314,711,46],{"href":47}," - Learn wide event design",[324,714,715,717],{},[314,716,51],{"href":52}," - Error handling patterns",[719,720,721],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":409,"searchDepth":723,"depth":723,"links":724},2,[725,726,727,728,735,736,741],{"id":309,"depth":723,"text":310},{"id":345,"depth":723,"text":346},{"id":394,"depth":723,"text":395},{"id":433,"depth":723,"text":434,"children":729},[730,732,733,734],{"id":438,"depth":731,"text":439},3,{"id":483,"depth":731,"text":484},{"id":515,"depth":731,"text":516},{"id":558,"depth":731,"text":559},{"id":635,"depth":723,"text":636},{"id":647,"depth":723,"text":648,"children":737},[738,739,740],{"id":654,"depth":731,"text":655},{"id":669,"depth":731,"text":670},{"id":684,"depth":731,"text":685},{"id":699,"depth":723,"text":700},"AI-assisted code review and evlog adoption using Agent Skills. Let AI review your logging patterns and guide migration to wide events.","md",[745],{"label":746,"icon":747,"to":748,"target":749,"color":750,"variant":751},"Agent Skills Spec","i-lucide-external-link","https:\u002F\u002Fagentskills.io","_blank","neutral","subtle",{},{"icon":28},{"title":25,"description":742},"2x3i71QuUMNJojP_4dJIRrtY57nr3J2r-tKwGe0JQnw",[757,759],{"title":20,"path":21,"stem":22,"description":758,"icon":23,"children":-1},"Get up and running with evlog in minutes. Learn the log API, createLogger for wide events, useLogger for requests, and structured errors.",{"title":36,"path":37,"stem":38,"description":760,"icon":39,"children":-1},"evlog gives you three ways to log. Simple one-liners, wide events that accumulate context, and auto-managed request logging. Choose the right one for your use case.",1776287857064]