bdsqqq/dots/emitting-context-rich-events
Claude Code and agent skill by bdsqqq/dots
- community
Checking that the SKILL.md file is still in the repository.
guides logging through context-rich events at the granularity of significant operations. use when adding, changing, or reviewing logging, structured events, or instrumentation.
Install
npx vskill@latest install bdsqqq/dots/emitting-context-rich-eventsSKILL.md
CONTEXT-RICH EVENTS \\
emit context-rich events at the granularity of significant operations.
source: igorbedesqui.com pattern language.
consider first: WORKFLOW = DATA
forces: autonomous agents act on your behalf — you need to reconstruct what happened after the fact. scattered log lines optimized for writing (log("payment failed")) can't answer the questions you actually ask during debugging: "which workflow, for which issue, at what step, with what inputs?"
low-context logs force you to grep across files, correlate by timestamp, and hope the right fields were included. they answer "something happened" but not "what happened to THIS request." the more autonomous the system, the wider the gap between what was logged and what you need to know.
therefore: emit context-rich events at the granularity of significant operations. each event carries the full context needed to understand that operation in isolation — identifiers, business state, timing, outcome. one event per operation, not many log lines scattered across the call stack. transport (console, structured platform, both) is an orthogonal decision.
intended consequences:
- ✓ debugging becomes querying — filter by workflow, step, outcome
- ✓ events are self-contained — no cross-referencing needed
- ✓ high-cardinality fields (workflow ID, issue ID) enable precise queries
- △ requires discipline — every call site must attach context, not just
a message string
- △ event size grows with context; cost scales with dimensionality
consider next: HUMAN-FRIENDLY IDENTIFIERS
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingmodules/agents/skills/emitting-context-rich-events/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/bdsqqq/dots/emitting-context-rich-events)