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