plugin-logging

Community

Use client.app.log for structured plugin logs.

Authorbenjaminshafii
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill replaces ad-hoc console.log calls in OpenCode plugins with a standardized client.app.log interface, ensuring consistent, structured logging across plugins.

Core Features & Use Cases

  • Structured logging: Logs are emitted with fields like service, level, message, and extra for better filtering and observability.
  • Consistent instrumentation: Replaces direct console output with a unified logging pathway suitable for production diagnostics.
  • Use Case: OpenCode plugin developers can quickly adopt logging best practices during initialization, operation, and error handling.

Quick Start

Use the plugin-logging pattern to replace console.log calls with client.app.log in your OpenCode plugin code.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: plugin-logging
Download link: https://github.com/benjaminshafii/digital-empire/archive/main.zip#plugin-logging

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.