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