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