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