create-evlog-enricher

Implement a factory function and six touchpoints to add a built-in evlog enricher.

1.7k|57|Updated Jan 24, 2026
One-click install
npx skills add https://github.com/HugoRCD/evlog --skill create-evlog-enricher
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-evlog-enricher
Source: https://github.com/HugoRCD/evlog/tree/main/.agents/skills/create-enricher
Command: npx skills add https://github.com/HugoRCD/evlog --skill create-evlog-enricher

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create a repeatable, guided process to add a new built-in evlog enricher, covering source code, tests, and documentation so new enrichers are consistent and easy to maintain.

Core Features & Use Cases

  • Walks through all 6 touchpoints required to add an enricher: enricher source, tests, built-in docs, overview, AGENTS.md entry, and README updates.
  • Enforces a consistent architecture: info interface, factory function, EnricherOptions, and safe merging with existing event fields.
  • Supports common enrichment scenarios like deployment metadata, tenant context, and feature flags.

Quick Start

Follow this skill to add a new enricher by updating the specified files and touchpoints.

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 new built-in enricher to evlog?

To add a new built-in enricher to evlog, implement a factory function using helpers like getHeader and mergeEventField, then update the six touchpoints: source, tests, docs, overview, AGENTS.md, and README.

What is an evlog enricher and when do I need one?

An evlog enricher adds derived context to events across source code, tests, and documentation. You need one when extending evlog with consistent metadata like deployment info, tenant context, or feature flags.

How do I ensure evlog enrichers merge safely with existing event fields?

Safe merging of evlog event fields is enforced by using the mergeEventField helper within your factory function, ensuring new enrichers do not overwrite existing data and maintain a consistent architecture.

What files need to be updated when creating an evlog enricher?

Creating an evlog enricher requires updating six specific touchpoints: enricher source code, tests, built-in documentation, overview, AGENTS.md entry, and README to ensure consistent maintainability.

Can I use TypeScript to build a custom evlog enricher?

Yes, building a custom evlog enricher uses TypeScript to define the info interface, EnricherOptions, and the factory function, ensuring type-safe enrichment of events across your application.

What's the best way to structure an evlog enricher factory function?

The best way to structure an evlog enricher is using the create{Name}Enricher(options?: EnricherOptions) pattern, ensuring consistent architecture and safe merging of derived context into event fields.