[{"data":1,"prerenderedAt":657},["ShallowReactive",2],{"navigation_docs":3,"-getting-started-agent-skills":219,"-getting-started-agent-skills-surround":652},[4,30,105,139,188,205],{"title":5,"path":6,"stem":7,"children":8,"page":29},"Getting Started","/getting-started","1.getting-started",[9,14,19,24],{"title":10,"path":11,"stem":12,"icon":13},"Introduction","/getting-started/introduction","1.getting-started/1.introduction","i-lucide-info",{"title":15,"path":16,"stem":17,"icon":18},"Installation","/getting-started/installation","1.getting-started/2.installation","i-lucide-download",{"title":20,"path":21,"stem":22,"icon":23},"Quick Start","/getting-started/quick-start","1.getting-started/3.quick-start","i-lucide-zap",{"title":25,"path":26,"stem":27,"icon":28},"Agent Skills","/getting-started/agent-skills","1.getting-started/4.agent-skills","i-lucide-sparkles",false,{"title":31,"path":32,"stem":33,"children":34,"page":29},"Frameworks","/frameworks","2.frameworks",[35,40,45,50,55,60,65,70,75,80,85,90,95,100],{"title":36,"path":37,"stem":38,"icon":39},"Overview","/frameworks/overview","2.frameworks/00.overview","i-lucide-layout-grid",{"title":41,"path":42,"stem":43,"icon":44},"Nuxt","/frameworks/nuxt","2.frameworks/01.nuxt","i-simple-icons-nuxtdotjs",{"title":46,"path":47,"stem":48,"icon":49},"Next.js","/frameworks/nextjs","2.frameworks/02.nextjs","i-simple-icons-nextdotjs",{"title":51,"path":52,"stem":53,"icon":54},"SvelteKit","/frameworks/sveltekit","2.frameworks/03.sveltekit","i-simple-icons-svelte",{"title":56,"path":57,"stem":58,"icon":59},"Nitro","/frameworks/nitro","2.frameworks/04.nitro","i-custom-nitro",{"title":61,"path":62,"stem":63,"icon":64},"TanStack Start","/frameworks/tanstack-start","2.frameworks/05.tanstack-start","i-custom-tanstack",{"title":66,"path":67,"stem":68,"icon":69},"NestJS","/frameworks/nestjs","2.frameworks/06.nestjs","i-simple-icons-nestjs",{"title":71,"path":72,"stem":73,"icon":74},"Express","/frameworks/express","2.frameworks/07.express","i-simple-icons-express",{"title":76,"path":77,"stem":78,"icon":79},"Hono","/frameworks/hono","2.frameworks/08.hono","i-simple-icons-hono",{"title":81,"path":82,"stem":83,"icon":84},"Fastify","/frameworks/fastify","2.frameworks/09.fastify","i-simple-icons-fastify",{"title":86,"path":87,"stem":88,"icon":89},"Elysia","/frameworks/elysia","2.frameworks/10.elysia","i-custom-elysia",{"title":91,"path":92,"stem":93,"icon":94},"Cloudflare Workers","/frameworks/cloudflare-workers","2.frameworks/11.cloudflare-workers","i-simple-icons-cloudflare",{"title":96,"path":97,"stem":98,"icon":99},"Standalone","/frameworks/standalone","2.frameworks/12.standalone","i-simple-icons-typescript",{"title":101,"path":102,"stem":103,"icon":104},"Astro","/frameworks/astro","2.frameworks/13.astro","i-simple-icons-astro",{"title":106,"path":107,"stem":108,"children":109,"page":29},"Core Concepts","/core-concepts","3.core-concepts",[110,115,120,125,129,134],{"title":111,"path":112,"stem":113,"icon":114},"Wide Events","/core-concepts/wide-events","3.core-concepts/1.wide-events","i-lucide-layers",{"title":116,"path":117,"stem":118,"icon":119},"Structured Errors","/core-concepts/structured-errors","3.core-concepts/2.structured-errors","i-lucide-shield-alert",{"title":121,"path":122,"stem":123,"icon":124},"Best Practices","/core-concepts/best-practices","3.core-concepts/3.best-practices","i-lucide-shield-check",{"title":126,"path":127,"stem":128,"icon":99},"Typed Fields","/core-concepts/typed-fields","3.core-concepts/4.typed-fields",{"title":130,"path":131,"stem":132,"icon":133},"Sampling","/core-concepts/sampling","3.core-concepts/5.sampling","i-lucide-filter",{"title":135,"path":136,"stem":137,"icon":138},"Client Logging","/core-concepts/client-logging","3.core-concepts/6.client-logging","i-lucide-monitor",{"title":140,"path":141,"stem":142,"children":143,"page":29},"Adapters","/adapters","4.adapters",[144,148,153,158,163,168,173,178,183],{"title":36,"path":145,"stem":146,"icon":147},"/adapters/overview","4.adapters/1.overview","i-custom-plug",{"title":149,"path":150,"stem":151,"icon":152},"Axiom","/adapters/axiom","4.adapters/2.axiom","i-custom-axiom",{"title":154,"path":155,"stem":156,"icon":157},"OTLP","/adapters/otlp","4.adapters/3.otlp","i-simple-icons-opentelemetry",{"title":159,"path":160,"stem":161,"icon":162},"PostHog","/adapters/posthog","4.adapters/4.posthog","i-simple-icons-posthog",{"title":164,"path":165,"stem":166,"icon":167},"Sentry","/adapters/sentry","4.adapters/5.sentry","i-simple-icons-sentry",{"title":169,"path":170,"stem":171,"icon":172},"Better Stack","/adapters/better-stack","4.adapters/6.better-stack","i-simple-icons-betterstack",{"title":174,"path":175,"stem":176,"icon":177},"Custom Adapters","/adapters/custom","4.adapters/7.custom","i-lucide-code",{"title":179,"path":180,"stem":181,"icon":182},"Pipeline","/adapters/pipeline","4.adapters/8.pipeline","i-lucide-workflow",{"title":184,"path":185,"stem":186,"icon":187},"Browser","/adapters/browser","4.adapters/9.browser","i-lucide-globe",{"title":189,"path":190,"stem":191,"children":192,"page":29},"Enrichers","/enrichers","5.enrichers",[193,196,201],{"title":36,"path":194,"stem":195,"icon":28},"/enrichers/overview","5.enrichers/1.overview",{"title":197,"path":198,"stem":199,"icon":200},"Built-in","/enrichers/built-in","5.enrichers/2.built-in","i-lucide-puzzle",{"title":202,"path":203,"stem":204,"icon":177},"Custom","/enrichers/custom","5.enrichers/3.custom",{"title":206,"path":207,"stem":208,"children":209,"page":29},"NuxtHub","/nuxthub","6.nuxthub",[210,214],{"title":36,"path":211,"stem":212,"icon":213},"/nuxthub/overview","6.nuxthub/1.overview","i-lucide-database",{"title":215,"path":216,"stem":217,"icon":218},"Retention","/nuxthub/retention","6.nuxthub/2.retention","i-lucide-clock",{"id":220,"title":25,"body":221,"description":638,"extension":639,"links":640,"meta":648,"navigation":649,"path":26,"seo":650,"stem":27,"__hash__":651},"docs/1.getting-started/4.agent-skills.md",{"type":222,"value":223,"toc":620},"minimark",[224,228,233,242,265,269,300,304,307,310,339,343,348,351,389,393,396,421,425,428,436,442,448,454,458,464,468,471,475,486,490,501,505,516,520,523,595,599,616],[225,226,227],"p",{},"evlog includes agent skills that help AI assistants review your logging patterns and guide evlog adoption.",[229,230,232],"h2",{"id":231},"what-are-agent-skills","What are Agent Skills?",[225,234,235,241],{},[236,237,25],"a",{"href":238,"rel":239},"https://agentskills.io/",[240],"nofollow"," is an open specification for packaging AI assistant capabilities. Skills provide:",[243,244,245,253,259],"ul",{},[246,247,248,252],"li",{},[249,250,251],"strong",{},"Domain knowledge",": Best practices for wide events and structured errors",[246,254,255,258],{},[249,256,257],{},"Code review",": Identify logging anti-patterns in your codebase",[246,260,261,264],{},[249,262,263],{},"Guided adoption",": Step-by-step help migrating to evlog",[229,266,268],{"id":267},"available-skills","Available Skills",[270,271,272,285],"table",{},[273,274,275],"thead",{},[276,277,278,282],"tr",{},[279,280,281],"th",{},"Skill",[279,283,284],{},"Description",[286,287,288],"tbody",{},[276,289,290,297],{},[291,292,293],"td",{},[294,295,296],"code",{},"skills/evlog",[291,298,299],{},"Review code for logging patterns, suggest evlog adoption, guide wide event design",[229,301,303],{"id":302},"installing-the-skill","Installing the Skill",[225,305,306],{},"Compatible agents (Cursor, Claude Code, etc.) can discover and use skills automatically.",[225,308,309],{},"To manually install with the skills CLI:",[311,312,318],"pre",{"className":313,"code":314,"filename":315,"language":316,"meta":317,"style":317},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","npx skills add hugorcd/evlog\n","Terminal","bash","",[294,319,320],{"__ignoreMap":317},[321,322,325,329,333,336],"span",{"class":323,"line":324},"line",1,[321,326,328],{"class":327},"sBMFI","npx",[321,330,332],{"class":331},"sfazB"," skills",[321,334,335],{"class":331}," add",[321,337,338],{"class":331}," hugorcd/evlog\n",[229,340,342],{"id":341},"what-the-skill-does","What the Skill Does",[344,345,347],"h3",{"id":346},"code-review","Code Review",[225,349,350],{},"The skill analyzes your codebase for:",[243,352,353,367,373,383],{},[246,354,355,358,359,362,363,366],{},[249,356,357],{},"Scattered logging",": Multiple ",[294,360,361],{},"console.log"," or ",[294,364,365],{},"logger.info"," calls in request handlers",[246,368,369,372],{},[249,370,371],{},"Missing context",": Logs without user, request, or business context",[246,374,375,378,379,382],{},[249,376,377],{},"Unhelpful errors",": ",[294,380,381],{},"throw new Error()"," without structured fields",[246,384,385,388],{},[249,386,387],{},"Correlation gaps",": Missing request IDs or trace IDs",[344,390,392],{"id":391},"adoption-guidance","Adoption Guidance",[225,394,395],{},"The skill helps you:",[243,397,398,401,404,418],{},[246,399,400],{},"Convert traditional logging to wide events",[246,402,403],{},"Design effective wide event schemas",[246,405,406,407,410,411,414,415],{},"Implement structured errors with ",[294,408,409],{},"why",", ",[294,412,413],{},"fix",", and ",[294,416,417],{},"link",[246,419,420],{},"Set up evlog in Nuxt, Nitro, or standalone TypeScript",[344,422,424],{"id":423},"example-prompts","Example Prompts",[225,426,427],{},"Ask your AI assistant:",[311,429,434],{"className":430,"code":432,"language":433},[431],"language-text","Review this file for logging anti-patterns\n","text",[294,435,432],{"__ignoreMap":317},[311,437,440],{"className":438,"code":439,"language":433},[431],"Help me convert these console.log calls to a wide event\n",[294,441,439],{"__ignoreMap":317},[311,443,446],{"className":444,"code":445,"language":433},[431],"What context should I add to this wide event?\n",[294,447,445],{"__ignoreMap":317},[311,449,452],{"className":450,"code":451,"language":433},[431],"How do I structure this error with evlog?\n",[294,453,451],{"__ignoreMap":317},[229,455,457],{"id":456},"skill-structure","Skill Structure",[311,459,462],{"className":460,"code":461,"language":433},[431],"skills/\n└── evlog/\n    ├── SKILL.md              # Main skill instructions\n    └── references/\n        ├── wide-events.md    # Wide event patterns\n        ├── structured-errors.md # Error handling guide\n        └── code-review.md    # Review checklist\n",[294,463,461],{"__ignoreMap":317},[229,465,467],{"id":466},"reference-documents","Reference Documents",[225,469,470],{},"The skill includes reference documents that provide:",[344,472,474],{"id":473},"wide-eventsmd","wide-events.md",[243,476,477,480,483],{},[246,478,479],{},"Wide event anatomy and best practices",[246,481,482],{},"Context grouping patterns",[246,484,485],{},"Output format examples",[344,487,489],{"id":488},"structured-errorsmd","structured-errors.md",[243,491,492,495,498],{},[246,493,494],{},"Error field definitions",[246,496,497],{},"Status code guidelines",[246,499,500],{},"Frontend integration patterns",[344,502,504],{"id":503},"code-reviewmd","code-review.md",[243,506,507,510,513],{},[246,508,509],{},"Checklist for logging code review",[246,511,512],{},"Common anti-patterns to identify",[246,514,515],{},"Migration suggestions",[229,517,519],{"id":518},"creating-custom-skills","Creating Custom Skills",[225,521,522],{},"You can extend evlog's skills or create your own for team-specific patterns:",[311,524,529],{"className":525,"code":526,"filename":527,"language":528,"meta":317,"style":317},"language-markdown shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# My Team Logging Skill\n\nExtends evlog skill with team-specific guidelines.\n\n## References\n- @evlog/skills/evlog\n\n## Custom Patterns\n- Always include `team` field in wide events\n- Use `X-Team-Request-Id` header for correlation\n- Log to DataDog with structured format\n","skills/my-team/SKILL.md","markdown",[294,530,531,536,543,549,554,560,566,571,577,583,589],{"__ignoreMap":317},[321,532,533],{"class":323,"line":324},[321,534,535],{},"# My Team Logging Skill\n",[321,537,539],{"class":323,"line":538},2,[321,540,542],{"emptyLinePlaceholder":541},true,"\n",[321,544,546],{"class":323,"line":545},3,[321,547,548],{},"Extends evlog skill with team-specific guidelines.\n",[321,550,552],{"class":323,"line":551},4,[321,553,542],{"emptyLinePlaceholder":541},[321,555,557],{"class":323,"line":556},5,[321,558,559],{},"## References\n",[321,561,563],{"class":323,"line":562},6,[321,564,565],{},"- @evlog/skills/evlog\n",[321,567,569],{"class":323,"line":568},7,[321,570,542],{"emptyLinePlaceholder":541},[321,572,574],{"class":323,"line":573},8,[321,575,576],{},"## Custom Patterns\n",[321,578,580],{"class":323,"line":579},9,[321,581,582],{},"- Always include `team` field in wide events\n",[321,584,586],{"class":323,"line":585},10,[321,587,588],{},"- Use `X-Team-Request-Id` header for correlation\n",[321,590,592],{"class":323,"line":591},11,[321,593,594],{},"- Log to DataDog with structured format\n",[229,596,598],{"id":597},"next-steps","Next Steps",[243,600,601,606,611],{},[246,602,603,605],{},[236,604,20],{"href":21}," - Get started with evlog",[246,607,608,610],{},[236,609,111],{"href":112}," - Learn wide event design",[246,612,613,615],{},[236,614,116],{"href":117}," - Error handling patterns",[617,618,619],"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":317,"searchDepth":538,"depth":538,"links":621},[622,623,624,625,630,631,636,637],{"id":231,"depth":538,"text":232},{"id":267,"depth":538,"text":268},{"id":302,"depth":538,"text":303},{"id":341,"depth":538,"text":342,"children":626},[627,628,629],{"id":346,"depth":545,"text":347},{"id":391,"depth":545,"text":392},{"id":423,"depth":545,"text":424},{"id":456,"depth":538,"text":457},{"id":466,"depth":538,"text":467,"children":632},[633,634,635],{"id":473,"depth":545,"text":474},{"id":488,"depth":545,"text":489},{"id":503,"depth":545,"text":504},{"id":518,"depth":538,"text":519},{"id":597,"depth":538,"text":598},"AI-assisted code review and evlog adoption using Agent Skills. Let AI review your logging patterns and guide migration to wide events.","md",[641],{"label":642,"icon":643,"to":644,"target":645,"color":646,"variant":647},"Agent Skills Spec","i-lucide-external-link","https://agentskills.io","_blank","neutral","subtle",{},{"icon":28},{"title":25,"description":638},"LmPQSnTLAh2DQMX6ctzkTFEoOkkXtwED6kTjfZ8kp3Q",[653,655],{"title":20,"path":21,"stem":22,"description":654,"icon":23,"children":-1},"Get up and running with evlog in minutes. Learn useLogger, createError, parseError, and the log API for wide events and structured errors.",{"title":36,"path":37,"stem":38,"description":656,"icon":39,"children":-1},"evlog supports every major TypeScript framework. Choose your stack and get started in minutes.",1773097842946]