observability-master

Audit Gleam/Erlang/OTP code for unlogged error branches and add wisp.log_* calls.

2|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/aboio-labs/aboio-skills --skill observability-master
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: observability-master
Source: https://github.com/aboio-labs/aboio-skills/tree/main/skills/observability-master
Command: npx skills add https://github.com/aboio-labs/aboio-skills --skill observability-master

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the critical need for comprehensive and consistent logging in Gleam/Erlang/OTP applications, ensuring that all potential failure points are identified and logged with sufficient context.

Core Features & Use Cases

  • Error Branch Logging: Automatically identifies and adds wisp.log_* calls with string.inspect(err) to unlogged error conditions in recently modified code.
  • Log Auditing: Verifies correct log levels, canonical log line middleware usage, and flags sensitive data in logs.
  • Use Case: After a new feature is implemented, this Skill can be used to automatically audit all new error handling paths, ensuring that critical failures are captured and logged according to best practices, preventing silent failures and aiding in debugging.

Quick Start

Use the observability-master skill to audit the recently modified Gleam code for unlogged error branches and ensure proper logging.

Frequently Asked Questions about observability-master

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

FAQPage Schema
How do I add logging to unlogged error branches in Gleam and Erlang applications?

To add logging to unlogged error branches in Gleam and Erlang, the system automatically identifies unhandled error conditions in modified code and instruments them with wisp.log_* calls using string.inspect(err). This prevents silent failures by ensuring all error paths are captured with sufficient context.

What is the best way to audit Gleam OTP logging for sensitive data and correct log levels?

Auditing Gleam OTP logging for sensitive data involves verifying correct log levels, checking canonical log line middleware usage, and flagging sensitive information within the Wisp framework. This ensures structured logging adheres to operational security best practices.

Does Wisp logging framework support structured logging for Erlang OTP applications?

Yes, the Wisp logging framework supports structured logging for Erlang OTP applications. The system focuses on implementing structured logs with appropriate log levels and context-rich error handling to address operational visibility gaps during debugging.

Why do my Erlang OTP applications experience silent failures after adding new features?

Erlang OTP applications experience silent failures when new error handling paths lack instrumentation. The system audits recently modified code to identify these unlogged error branches and adds comprehensive logging to capture critical failures.

Can I automatically instrument error handling paths in recently modified Gleam code?

Yes, you can automatically instrument error handling paths in recently modified Gleam code. The system scans new features to find unlogged error conditions and automatically inserts appropriate wisp.log_* calls with detailed error inspection.

When should I audit my Gleam codebase for unlogged error conditions?

You should audit your Gleam codebase for unlogged error conditions immediately after implementing a new feature. This ensures all new error handling paths are captured and logged according to best practices, preventing future debugging difficulties.