Agent skill

evlog Framework Integration

by evloghq in evloghq/evlog

Walks a contributor through adding a new HTTP framework integration to the evlog logging package: middleware source, build entry, exports, tests, example app and docs.

MITAuto-check: notesDevelopment

Install evlog Framework Integration

skills CLI
$ npx skills add evloghq/evlog --skill create-evlog-framework-integration -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install evloghq/evlog create-evlog-framework-integration --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/evloghq/evlog.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/create-framework-integration .claude/skills/create-evlog-framework-integration && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
create-evlog-framework-integration
GitHub stars
1.9k
Token cost
~5k tokens
SKILL.md length
1,431 words
Files
1
Skills in repo
22
Repo updated
First seen
Licence
MIT

At a glance

Walks a contributor through adding a new HTTP framework integration to the evlog logging package: middleware source, build entry, exports, tests, example app and docs.

  • Works in 8 steps: Integration Source → Build Config → Package Exports → …
  • Adding middleware support for a framework such as Koa, H3 or Deno Fresh to evlog
  • SKILL.md covers Two paths, Required API surface (from…, PR Title and Touchpoints Checklist, plus 11 more sections
  • Calls pnpm; needs POSTHOG_API_KEY

What it does

The preferred route is manifest mode. You call `defineFrameworkIntegration` from `evlog/toolkit` once, passing request extraction and logger attachment functions with optional storage, then write a small middleware that starts the integration and runs the framework's `next()` inside `runWith`. It suits any framework with a request and response middleware shape and takes roughly 30 to 80 lines. Custom mode with `createMiddlewareLogger` is for frameworks whose lifecycle does not fit, such as Next.js, Nitro and Eve.

Every integration must expose an `evlog()` middleware or plugin that accepts the full base options, an `AsyncLocalStorage`-backed `useLogger()` with Workers as the one exception, `log.fork()` support, and the framework's native accessor. The skill also gives the pull request title convention, with a caveat that a brand-new scope fails the semantic title check until it is registered in an earlier PR or the title is left unscoped, and a touchpoints checklist that starts with the integration source and the tsdown build config.

When your agent uses it

  • Adding middleware support for a framework such as Koa, H3 or Deno Fresh to evlog
  • Deciding between manifest mode and a custom integration for an unusual lifecycle
  • Checking a new integration against the required API surface before opening a PR

Example prompts

  • “Add an evlog integration for Koa using manifest mode, with tests and an example app.”
  • “Does Deno Fresh fit manifest mode, or does it need createMiddlewareLogger?”
  • “Check my new H3 integration exposes useLogger and log.fork the way the repo requires.”

Requirements

  • A checkout of the evlog repository

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. Integration Source
  2. Build Config
  3. Package Exports
  4. Tests
  5. Framework Docs Page
  6. Overview & Installation Cards
  7. Landing Page
  8. PR Scopes

What it can do on your machine

Read from SKILL.md and the folder at commit 59a105f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pnpm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • evlog.dev

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • POSTHOG_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

evlog Framework Integration loads about 5k tokens when it runs. Until then it costs about 88 tokens; SKILL.md has 1,431 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~88
When it runs · the whole SKILL.md, loaded when a task matches
~5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:311
    mple {framework}` (which loads the root `.env` via dotenv, so no root `package.json` change is needed).
  • NoteMentions a .env fileSKILL.md:322
    ). `POSTHOG_API_KEY` is set in the root `.env` (maintainer's key, not committed), so every example exercises a real exte

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from evloghq/evlog at commit 59a105f, republished under its MIT licence (© evloghq). 1,431 words, ~4,991 tokens.

Download SKILL.mdSave it as .claude/skills/create-evlog-framework-integration/SKILL.md (or your agent's skills folder).
name
create-evlog-framework-integration
description
Create a new evlog framework integration to add automatic wide-event logging to an HTTP framework. Use when adding middleware/plugin support for a framework (e.g., Koa, H3 standalone, Deno Fresh, etc.) to the evlog package. Covers source code, build config, package exports, tests, example app, and all documentation.
metadata.internal
true

Create evlog Framework Integration

Add a new framework integration to evlog. The recommended path is the manifest mode built on defineFrameworkIntegration from evlog/toolkit, for any framework with a request/response middleware shape. For frameworks with a fundamentally different lifecycle you'll fall back to the lower-level createMiddlewareLogger.

Two paths

  • Manifest mode (preferred, ~30–80 lines of glue). Call defineFrameworkIntegration({ name, extractRequest, attachLogger, storage? }) once at module level, then write a tiny middleware that calls integration.start(ctx, options) and runs the framework's next() inside runWith. Reference implementations: all of packages/evlog/src/{hono,express,fastify,elysia,nestjs,orpc,react-router,sveltekit,workers}/index.ts use it.
  • Custom mode: use createMiddlewareLogger directly when the framework's lifecycle doesn't fit a standard middleware. Current custom-mode integrations: Next.js (src/next/), Nitro v2/v3 (src/nitro/, src/nitro-v3/), Eve (src/eve/).

Manifest mode now covers all classic HTTP frameworks. Use custom mode only when you can't extract a request synchronously at the start of the lifecycle (server actions, module-level hooks, agent turns).

Required API surface (from AGENTS.md)

Every framework integration must expose:

  1. evlog() middleware/plugin accepting the full BaseEvlogOptions (drain, enrich, keep, include, exclude, routes, plugins)
  2. useLogger() (ALS-backed). Workers is the one sanctioned exception (ALS needs a compat flag there; defineWorkerFetch attaches the logger instead)
  3. log.fork() support (automatic when storage is provided to the manifest)
  4. The framework-native accessor (c.get('log'), req.log, event.locals.log, …)

PR Title

feat({framework}): add {Framework} middleware integration

Scope timing caveat: the semantic PR check reads its scope list from the base branch, so a brand-new scope can't validate the very PR that introduces it. Either register the scope in a small preceding PR, or use an unscoped title (feat: add {Framework} middleware integration) on the introducing PR.

Touchpoints Checklist

#FileAction
1packages/evlog/src/{framework}/index.tsCreate integration source
2packages/evlog/tsdown.config.tsAdd build entry + external
3packages/evlog/package.jsonAdd exports + typesVersions + optional peer dep + keyword
4packages/evlog/test/frameworks/{framework}.test.tsCreate tests (real request driver + describeStandardHttpMatrix)
5packages/evlog/test/toolkit/__snapshots__/api-surface.test.ts.snapRegenerated by pnpm run build + pnpm test
6apps/docs/content/4.integrate/frameworks/{NN}.{framework}.mdCreate framework docs page
7apps/docs/content/4.integrate/frameworks/00.overview.mdAdd table row + card
8apps/docs/content/1.start/3.installation.mdAdd card in "Choose Your Framework"
9apps/docs/content/0.landing.mdAdd framework code snippet slot
10apps/docs/app/components/features/FeatureFrameworks.vueAdd framework tab
11skills/review-logging-patterns/SKILL.mdAdd framework setup section + update frontmatter description
12packages/evlog/README.mdAdd framework section + row in the Framework Support table
13examples/{framework}/Create example app with test UI (auto-discovered by pnpm example {framework}, no root script needed)
14.changeset/{framework}-integration.mdCreate changeset (minor)
15.github/workflows/semantic-pull-request.yml + .github/pull_request_template.mdRegister {framework} as a PR scope in both files

Important: Do NOT consider the task complete until all 15 touchpoints have been addressed.

Naming Conventions

PlaceholderExample (Hono)Usage
{framework}honoDirectory names, import paths, file names, PR scope
{Framework}HonoPascalCase in type/interface names

Shared Utilities

All integrations share the same core utilities. Never reimplement logic that exists in shared/. These are also publicly available as evlog/toolkit for community-built integrations (see Custom Integration docs).

UtilityLocationPurpose
defineFrameworkIntegration../shared/integrationManifest factory: extract request, create logger, attach, run with ALS
createMiddlewareLogger../shared/middlewareLower-level lifecycle (custom mode): logger creation, route filtering, tail sampling, emit, enrich, drain
BaseEvlogOptions../shared/middlewareBase user-facing options type with drain, enrich, keep, include, exclude, routes, plugins
createLoggerStorage../shared/storage (evlog/toolkit/storage)Factory returning { storage, useLogger } for AsyncLocalStorage-backed useLogger(). Prefer evlog/toolkit/storage on Workers / edge
shouldDeferEmitForResponse../shared/streamResponseDefer the wide event until a streaming body closes (see Hono/Elysia)

defineFrameworkIntegration automatically:

  • normalizes both Web Headers and Node IncomingHttpHeaders (so you don't need to pick a header extractor)
  • generates a requestId when none is present
  • calls createMiddlewareLogger and surfaces its { logger, finish, skipped, middlewareOptions }
  • attaches log.fork() automatically when storage is provided
  • exposes runWith(fn) to run downstream handlers inside the integration's ALS
  • forwards waitUntil when the runtime provides one (Workers, Hono on Workers)

Step 1: Integration Source

Create packages/evlog/src/{framework}/index.ts.

Template Structure (manifest mode)
typescript
import type { AuditableLogger } from '../audit'
import { defineFrameworkIntegration } from '../shared/integration'
import type { BaseEvlogOptions } from '../shared/middleware'
import { createLoggerStorage } from '../shared/storage'

const { storage, useLogger } = createLoggerStorage(
  'middleware context. Make sure the evlog middleware is registered before your routes.',
  'evlog:{framework}',
)

export type Evlog{Framework}Options = BaseEvlogOptions
export { useLogger }

// Type augmentation for typed logger access (framework-specific):
// - Express: declare module 'express-serve-static-core' { interface Request { log: AuditableLogger } }
// - Hono:    export type EvlogVariables = { Variables: { log: AuditableLogger } }

const integration = defineFrameworkIntegration<{Framework}Context>({
  name: '{framework}',
  extractRequest: (ctx) => ({
    method: /* ctx.method */,
    path: /* ctx.path */,
    headers: /* Web Headers OR Node headers OR plain object */,
    requestId: /* x-request-id header or undefined → auto-generated */,
  }),
  attachLogger: (ctx, logger) => {
    // Store in framework-idiomatic location:
    // - Hono:    c.set('log', logger)
    // - Express: req.log = logger
  },
  storage,
})

export function evlog(options: Evlog{Framework}Options = {}): FrameworkMiddleware {
  return async (ctx, next) => {
    const { skipped, finish, runWith } = integration.start(ctx, options)
    if (skipped) {
      await next()
      return
    }
    try {
      await runWith(() => next())
      await finish({ status: /* extract status from ctx */ })
    } catch (error) {
      await finish({ error: error as Error })
      throw error
    }
  }
}
Reference Implementations
  • Hono: src/hono/index.ts. c.set('log', logger) + ALS useLogger(), streaming deferral via shouldDeferEmitForResponse, waitUntil detection
  • Express: src/express/index.ts. req.log, ALS storage, res.on('finish') for terminal status
  • Fastify: src/fastify/index.ts. Fastify hooks (onRequest / onResponse / onError), fastify-plugin wrapper
  • Elysia: src/elysia/index.ts. Plugin with .derive({ as: 'global' }), storage.enterWith-style ALS, streaming deferral
  • NestJS: src/nestjs/index.ts. EvlogModule.forRoot() / forRootAsync() on top of the manifest
  • oRPC: src/orpc/index.ts. evlog() procedure middleware + withEvlog(handler) wrapper
  • React Router: src/react-router/index.ts. loggerContext = createContext<AuditableLogger>()
  • SvelteKit: src/sveltekit/index.ts. evlog() handle + evlogHandleError() + createEvlogHooks()
  • Workers: src/workers/index.ts. defineWorkerFetch / withEvlog, no ALS useLogger() (compat-flag constraint)

For integrations that bind with enterWith(), use createSharedEnterWithStorage from src/shared/asyncStorageScope.ts. Its capability probe runs in a temporary scope with a distinct store, preserving the importer's async context on Bun and Node.

Key Architecture Rules
  1. Prefer defineFrameworkIntegration: it handles header normalization, request-id generation, ALS, fork attachment, and waitUntil.
  2. Status / error reporting stays framework-side: call finish({ status }) on success and finish({ error }) on failure. finish runs emit + enrich + drain + plugin hooks.
  3. Re-throw errors after finish({ error }) so the framework's own error handler still runs.
  4. Streaming responses: if the framework can return streaming bodies, defer the emit until the stream closes (shouldDeferEmitForResponse; see Hono and Elysia).
  5. Framework SDK is an optional peer dependency: never bundle it.
  6. Never duplicate pipeline logic: runEnrichAndDrain is internal to createMiddlewareLogger/finish.
  7. Export type helpers for typed context access (e.g., EvlogVariables for Hono).
When to fall back to custom mode

Use createMiddlewareLogger directly (skipping defineFrameworkIntegration) when:

  • The middleware doesn't have a clear "request entry / response exit" pair (Next.js App Router server actions, Eve agent turns).
  • Logger creation spans multiple lifecycle phases owned by a module system (Nitro plugins + hooks).
  • The status is not knowable until after the response stream completes and the framework gives you no hook for it.
Show full SKILL.md (552 more words)Show less

Step 2: Build Config

Add a build entry in packages/evlog/tsdown.config.ts:

typescript
'{framework}/index': 'src/{framework}/index.ts',

Also add the framework SDK to the external array (e.g., 'elysia', 'fastify').

Step 3: Package Exports

In packages/evlog/package.json:

In exports (after the last framework entry):

json
"./{framework}": {
  "types": "./dist/{framework}/index.d.mts",
  "import": "./dist/{framework}/index.mjs"
}

In typesVersions["*"]: "{framework}": ["./dist/{framework}/index.d.mts"]

In peerDependencies (version range) + peerDependenciesMeta ("optional": true), and add the framework name to keywords.

Exports without matching tsdown.config.ts entries fail test/toolkit/api-surface.test.ts.

Step 4: Tests

Create packages/evlog/test/frameworks/{framework}.test.ts. Read packages/evlog/test/README.md first, especially the Framework runtime fidelity table.

Two non-negotiables:

  1. Real request driver. Use the framework's own driver: supertest (Express/NestJS), app.request() (Hono), app.inject() (Fastify), app.handle(new Request(...)) (Elysia). If no Node-friendly driver exists, call the user-facing contract directly with realistic input shapes (see the SvelteKit and React Router tests). Never extract internals to test a substitute.
  2. Wire the shared matrix. Call describeStandardHttpMatrix({ name, mount }) from test/helpers/frameworkMatrix.ts. It covers the standard sweep (event emission, x-request-id, route service) for every HTTP framework.

On top of the matrix, cover the framework-specific surface:

  1. Framework-native accessor returns the logger (c.get('log'), req.log, …)
  2. Error handling. Errors captured, event has error level + details, error re-thrown
  3. Route filtering. Skipped routes don't create a logger, skip drain/enrich
  4. Context accumulation. logger.set() data appears in the emitted event
  5. Drain / enrich / keep callbacks (use createPipelineSpies(), assertHttpEventEmitted, waitForDrainCalls, findEventViaDrain from test/helpers/framework.ts)
  6. Drain/enrich error resilience. Errors there never break the request
  7. useLogger(): same logger as the native accessor, works across async boundaries, throws outside context. Skip it for an integration without ALS, and test the accessor it ships instead: on Workers that is the handler's fourth argument, from defineWorkerFetch / withEvlog
  8. Streaming (if applicable). Event deferred until the body closes

Use fake timers for anything time-based; defined() instead of !.

Step 5: Framework Docs Page

Create apps/docs/content/4.integrate/frameworks/{NN}.{framework}.md with a comprehensive, self-contained guide. Check existing files for the next zero-padded number.

Frontmatter:

yaml
---
title: {Framework}
description: Using evlog with {Framework}: automatic wide events, structured errors, drain adapters, enrichers, and tail sampling in {Framework} applications.
navigation:
  title: {Framework}
  icon: i-simple-icons-{framework}
links:
  - label: Source Code
    icon: i-simple-icons-github
    to: https://github.com/evloghq/evlog/tree/main/examples/{framework}
    color: neutral
    variant: subtle
---

Sections (follow the Express/Hono/Elysia pages as reference):

  1. Quick Start: install + register middleware (copy-paste minimum setup)
  2. Wide Events: progressive log.set() usage
  3. useLogger(): accessing the logger from services without passing the request, or, for an integration without ALS, the accessor it ships in its place
  4. Error Handling: createError() + parseError() + framework error handler
  5. Drain & Enrichers: middleware options with inline example
  6. Pipeline (Batching & Retry): createDrainPipeline example
  7. Tail Sampling: keep callback
  8. Route Filtering: include / exclude / routes
  9. Client-Side Logging: HTTP drain (evlog/http) (only if the framework has a client-side story)
  10. Run Locally: clone + pnpm example {framework}
  11. Card group linking to GitHub source

Step 6: Overview & Installation Cards

In apps/docs/content/4.integrate/frameworks/00.overview.md:

  1. Add a row to the Overview table: framework name, import, type, logger access, status
  2. Add a card in the appropriate section, and a row in the API cheat sheet if the bootstrap/access pattern is new

In apps/docs/content/1.start/3.installation.md: add a card in the "Choose Your Framework" ::card-group, in the same order as the frameworks overview.

Step 7: Landing Page

In apps/docs/content/0.landing.md, find the FeatureFrameworks MDC section (slots #nuxt, #nextjs, #hono, …) and add a new slot:

markdown
  #{framework}
  ```ts [src/index.ts]
  // Framework-specific code example showing evlog usage

## Step 8: FeatureFrameworks Component

Update `apps/docs/app/components/features/FeatureFrameworks.vue`:

1. Add the framework to the `frameworks` array with its icon and the next available `tab` index
2. Add a `<div v-if="activeTab === {N}">` with `<slot name="{framework}" />` in the template

Icons use Simple Icons format: `i-simple-icons-{name}`.

## Step 9: Update the Public Skill

In `skills/review-logging-patterns/SKILL.md` (published on evlog.dev):

1. Add `### {Framework}` in the **"Framework Setup"** section, in the same order as the docs
2. Include: import + `initLogger` + middleware setup; native logger access; a `useLogger()` snippet, or the accessor that replaces it when the integration has no ALS; full pipeline example (`drain`, `enrich`, `keep`)
3. Update the `description:` line in the YAML frontmatter to mention the new framework name

## Step 10: Update README

In `packages/evlog/README.md` (root `README.md` is a symlink):

1. Add a `## {Framework}` section near the other framework sections with a minimal setup snippet and a link to the example app
2. Add a row to the **Framework Support** table

Keep the snippet short: init, register middleware, one route handler showing logger access.

## Step 11: Example App

Create `examples/{framework}/` with a runnable app demonstrating all evlog features. It is auto-discovered by the root runner: `pnpm example {framework}` (which loads the root `.env` via dotenv, so no root `package.json` change is needed).

The app must include:

1. **`evlog()` middleware** with `drain` (PostHog) and `enrich` callbacks
2. **Health route**: basic `log.set()` usage
3. **Data route**: context accumulation with user/business data, using `useLogger()` in a service function, or the integration's own accessor when it has no ALS
4. **Error route**: `createError()` with status/why/fix/link
5. **Error handler**: framework's error handler with `parseError()` + manual `log.error()`
6. **Test UI**: served at `/`, a self-contained HTML page with buttons to hit each route and display JSON responses

**Drain must use PostHog** (`createPostHogDrain()` from `evlog/posthog`). `POSTHOG_API_KEY` is set in the root `.env` (maintainer's key, not committed), so every example exercises a real external drain. Without the env var the drain resolves to `null` and skips, so someone cloning the repo sends nothing anywhere unless they opt in with their own key. Enable pretty printing for readable local output.

**Type the `enrich` callback parameter explicitly**, as `(ctx: EnrichContext) => ...` with `type EnrichContext` imported from `evlog`.

### Test UI

Reference: `examples/hono/src/ui.ts`, a single `src/ui.ts` exporting `testUI()` returning a self-contained dark-theme HTML string (route list with method badges, click-to-fetch, JSON display, status colors, response time). Register the `/` route **before** the evlog middleware so it isn't logged.

### Required files

| File | Purpose |
|------|---------|
| `src/index.ts` | App with all features demonstrated |
| `src/ui.ts` | Test UI |
| `package.json` | `dev` and `start` scripts (`bun --watch src/index.ts` / `bun src/index.ts`) |
| `tsconfig.json` | TypeScript config (if needed) |
| `README.md` | How to run + link to the UI |

There is also `examples/community-framework-skeleton/` showing the community-facing (toolkit-only) variant, so keep it in mind if the new integration changes the toolkit contract.

## Step 12: Changeset

Create `.changeset/{framework}-integration.md`:

```markdown
---
"evlog": minor
---

feat({framework}): add {Framework} middleware integration (`evlog/{framework}`) with automatic wide-event logging, drain, enrich, and tail sampling support

Step 13: PR Scopes

Add {framework} to the scopes list in .github/workflows/semantic-pull-request.yml and to the Scopes section of .github/pull_request_template.md, in alphabetical order. Remember the timing caveat from the PR Title section: this registration only takes effect for PRs whose base branch already contains it.

Verification

After a clean install, run pnpm run dev:prepare from the repo root first, then:

bash
pnpm run dev:prepare
cd packages/evlog
pnpm run build    # required before test — api-surface snapshot is gated on dist/
pnpm run test
pnpm run lint

Then type-check the example:

bash
cd examples/{framework}
pnpm exec tsc --noEmit

© evloghq, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/create-framework-integration of evloghq/evlog.

Open the folder on GitHubat commit 59a105f

Compare with similar skills

evlog Framework Integration next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

evlog Framework Integration compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
evlog Framework Integration this skillevloghq/evlog1.9k—~5kAutomated safety check: NotesMIT
Sentry Node SDKgetsentry/sentry-for-ai268—~8.4kAutomated safety check: PassApache-2.0
Twenty Syncable Entity Typestwentyhq/twenty58k—~2.8kAutomated safety check: PassCustom licence
Add Server Env Var for User Settinglobehub/lobehub83k—~644Automated safety check: PassCustom licence
Typescript SecurityHoangNguyen0403/agent-skills-standard570—~817Automated safety check: NotesMIT
Twenty Syncable Entity Validationtwentyhq/twenty58k—~3.3kAutomated safety check: PassCustom licence

Similar skills

  • Sentry Node SDK

    getsentry/sentry-for-ai

    Official

    Full Sentry SDK setup for Node.js, Bun, and Deno. An agent skill from getsentry/sentry-for-ai.

    268 GitHub stars~8.4k tokensUpdated today
    Backend & APIsAuto-check passed
  • Walks through the first of six steps for adding a syncable entity to Twenty's server: metadata name, TypeORM entity, flat types and central constants.

    58k GitHub stars~2.8k tokensUpdated today
    DevelopmentAuto-check passed
  • Adds a server-side environment variable that sets the default for a user setting in LobeHub, wired from the env schema through server config to the user store and docs.

    83k GitHub stars~644 tokensUpdated today
    DevelopmentAuto-check passed
  • Typescript Security

    HoangNguyen0403/agent-skills-standard

    Secure server-side TypeScript input, auth tokens, and injection boundaries.

    570 GitHub stars~817 tokensUpdated today
    DevelopmentAuto-check: notes
  • Contributor guide for step three of adding a syncable entity to the Twenty server: write the validator, the migration action builder and the orchestrator wiring.

    58k GitHub stars~3.3k tokensUpdated today
    Backend & APIsAuto-check passed
  • Ddd

    swamp-club/swamp

    Domain Driven Design guidance for TypeScript/Deno codebases.

    642 GitHub stars~1.4k tokensUpdated today
    DevelopmentAuto-check passed

More from evloghq/evlog

All 22 skills in this repo
  • Walks through adding a new built-in evlog drain adapter for an observability platform: source, build config, exports, tests, docs and PR scope.

    1.9k GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Guides adding a new built-in enricher to the evlog package, covering the source, tests, docs, README, a related skill and a changeset.

    1.9k GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Evlog Log Analyzer

    evloghq/evlog

    Reads the structured wide-event logs that evlog writes to .evlog/logs/ so the agent can debug errors, find slow requests and explain what the app did.

    1.9k GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Walks through adding a new rule or framework adapter to `evlog map` in @evlog/cli, from the rule source and registry to types, tests, docs and the published skill.

    1.9k GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Rules for writing and reviewing evlog docs, blog posts, READMEs, skills and AGENTS.md files, with separate review and rewrite roles, a house voice and a catalog of AI-sounding tells.

    1.9k GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Before After

    evloghq/evlog

    Produce a before/after visual comparison of an evlog surface (landing, docs, telemetry, playgrounds) and share it as public Blob URLs.

    1.9k GitHub stars~2.7k tokensUpdated today
    Auto-check passed

Works with

Questions about evlog Framework Integration

What does evlog Framework Integration do?

Walks a contributor through adding a new HTTP framework integration to the evlog logging package: middleware source, build entry, exports, tests, example app and docs. The preferred route is manifest mode. You call `defineFrameworkIntegration` from `evlog/toolkit` once, passing request extraction and logger attachment functions with optional storage, then write a small middleware that starts the integration and runs the framework's `next()` inside `runWith`.

When should I use evlog Framework Integration?

evlog Framework Integration fits situations like: adding middleware support for a framework such as Koa, H3 or Deno Fresh to evlog; deciding between manifest mode and a custom integration for an unusual lifecycle; checking a new integration against the required API surface before opening a PR.

How do I install evlog Framework Integration in Claude Code?

Run `npx skills add evloghq/evlog --skill create-evlog-framework-integration -a claude-code`. Or copy the skill folder (.agents/skills/create-framework-integration in evloghq/evlog) into .claude/skills/create-evlog-framework-integration in your project. Claude Code loads it when a task matches its description.

How do I install evlog Framework Integration in Codex?

Run `npx skills add evloghq/evlog --skill create-evlog-framework-integration -a codex`. Or copy the skill folder (.agents/skills/create-framework-integration in evloghq/evlog) into .agents/skills/create-evlog-framework-integration in your project. Codex loads it when a task matches its description.

Can I use evlog Framework Integration in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add evloghq/evlog --skill create-evlog-framework-integration -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/create-evlog-framework-integration, .gemini/skills/create-evlog-framework-integration, .github/skills/create-evlog-framework-integration and .opencode/skills/create-evlog-framework-integration in your project.

What does evlog Framework Integration need to run?

Going by SKILL.md and its folder, evlog Framework Integration needs the command-line tools its instructions call (pnpm) and credentials named POSTHOG_API_KEY. Our summary lists: A checkout of the evlog repository.

Does evlog Framework Integration access the network?

SKILL.md names 1 domain. As links in the text: evlog.dev. This is read from the text; nothing was executed.

Is evlog Framework Integration safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does evlog Framework Integration use?

evlog Framework Integration is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does evlog Framework Integration use?

About 5k tokens (SKILL.md is roughly 20k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to evlog Framework Integration?

Skills that share tags, products or a category with evlog Framework Integration: Sentry Node SDK (getsentry/sentry-for-ai, 268 stars), Twenty Syncable Entity Types (twentyhq/twenty, 58k stars), Add Server Env Var for User Setting (lobehub/lobehub, 83k stars) and Typescript Security (HoangNguyen0403/agent-skills-standard, 570 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains evlog Framework Integration?

evloghq (a GitHub organization) maintains it in evloghq/evlog, which has 1,885 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on October 6, 2026.

Source: evloghq/evlog on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.