create-evlog-enricher

Scaffold a built-in evlog enricher with Info interface, factory, and tests.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/andreasasprou/polaris --skill create-evlog-enricher-andreasasprou
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-evlog-enricher
Source: https://github.com/andreasasprou/polaris/tree/main/.agents/skills/create-evlog-enricher
Command: npx skills add https://github.com/andreasasprou/polaris --skill create-evlog-enricher-andreasasprou

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

The Create EVLog Enricher skill provides a formal blueprint for adding a built-in enricher to the evlog package. It guides engineering teams to model derived context enrichments consistently across source code, tests, and documentation, reducing integration friction and ensuring observable event data.

Core Features & Use Cases

  • Scaffolds a new enricher with a consistent Info interface, factory, and test coverage.
  • Enforces a 6-point touchpoint workflow (source, tests, docs, overview, built-in docs, and README) to maintain alignment across the repository.
  • Ensures safe, side-effect-free enrichment of events via the existing EnricherOptions and merge helpers.

Quick Start

Scaffold and wire a new evlog enricher into your project using the standard template described in this skill.

Frequently Asked Questions about create-evlog-enricher

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a built-in event enricher to an evlog pipeline in TypeScript?

To add an event enricher to the evlog pipeline, you scaffold a new module defining its Info interface, factory function, and tests, then wire it into the pipeline using existing helpers like getHeader and mergeEventField.

What is event enrichment in structured logging and when do I need it?

Event enrichment in structured logging adds derived context to log events before they are emitted. You need it when you want consistent, observable event data across your application without duplicating logging logic or introducing side effects.

How do I scaffold a new evlog enricher with consistent test coverage and documentation?

Scaffolding an evlog enricher requires implementing a 6-point touchpoint workflow across source code, tests, public docs, overview pages, built-in docs, and the README to ensure the enricher's behavior is consistent and discoverable.

Can I configure evlog enricher behavior without introducing side effects?

Yes, you can configure evlog enricher behavior safely using EnricherOptions. The enrichment process is designed to be side-effect-free by relying on existing merge helpers to combine event fields without mutating the original event.

Does the evlog enricher workflow require external dependencies?

No, the evlog enricher workflow does not require external dependencies. It uses existing internal helpers such as getHeader and mergeEventField to ensure safe, configurable event enrichment within your current TypeScript project.