Skip to main content
skill CX Codex

logging-and-error-reporting — Claude Code skill: what it does

Logging-and-error-reporting is a Claude Code skill that standardizes log levels and Sentry error reporting. It runs during development or code review to ensure consistent error handling.

AGPL-3.0 ★ 720 updated 2026-11-10

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add dominikmartn/harp --skill logging-and-error-reporting -a claude-code
Open on GitHub

What logging-and-error-reporting does

The skill guides the selection between log::* macros for local diagnostics and report_error! for actionable Sentry events. It ensures developers avoid log::error! for issues requiring engineering attention, as it does not trigger a Sentry issue by itself.

It enforces security protocols by requiring safe_* macros when handling file paths or user data, preventing PII from leaking into logs. The logic relies on the SentryLogger wrapper; keep in mind that debug! and trace! levels are discarded from Sentry entirely to maintain performance.

What it helps with

  • Select correct logging levels
  • Decide between log and report_error!
  • Sanitize sensitive data in logs
  • Identify actionable bugs for Sentry

Example prompts for the agent

  • Check if the logging levels in this module are correct
  • Use report_error! instead of log::error! for bugs that need fixing
  • Refactor this code to use safe_error! for sensitive information

How to install logging-and-error-reporting

1Skills CLI (Vercel)

npx skills add dominikmartn/harp --skill logging-and-error-reporting -a claude-code

2Manually: put the files in place

~/.claude/skills/logging-and-error-reporting/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/logging-and-error-reporting/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about logging-and-error-reporting

How to install logging-and-error-reporting in Claude Code?

Run npx skills add dominikmartn/harp --skill logging-and-error-reporting -a claude-code in your project terminal.

What does logging-and-error-reporting do?

It acts as a guide for using logging and error macros, ensuring that logs stay clean and errors are correctly routed to Sentry with the right level of severity.

What is required for logging-and-error-reporting?

The skill is designed for the Warp codebase. You must use the provided log::* and report_error! macros, and have a build configured with SentryLogger for error reporting to function.

Similar skills

All skills for Code review and refactoring →

From the same set62

The whole set →
gui-create-launch-modal gui-create-launch-modal is a Claude Code skill for building a one-time launch modal in Warp’s GUI. A feature flag controls the startup display for each user. CX Codex +1 ★ 720repo stars changelog-draft changelog-draft is a Claude Code skill that turns pull requests merged between two release tags into a changelog draft, keeping explicit CHANGELOG markers and sorting the rest into categories. CX Codex +1 ★ 720repo stars oz-platform oz-platform is a Claude Code skill for running and inspecting Oz cloud agents through Warp's REST API and CLI. It also handles schedules and agent environments. CX Codex +1 ★ 720repo stars rust-unit-tests rust-unit-tests is a Claude Code skill that writes and improves Rust unit tests within the codebase. It assists when handling data transformations or fixing reproducible bugs. CX Codex +1 ★ 720repo stars gui-settings-ui gui-settings-ui is a Claude Code skill for editing Warp GUI settings pages. It keeps widget visibility and settings search aligned with the page structure. CX Codex +1 ★ 720repo stars gui-integration-test gui-integration-test is a Claude Code skill that writes and debugs integration tests for Warp's GUI desktop app on the Builder/TestStep harness. Runs when a test is added or fixed. CX Codex +1 ★ 720repo stars tui-verify-change tui-verify-change is a Claude Code skill that runs Warp’s headless TUI and reads its rendered screen after UI, input, or behavior changes. CX Codex +1 ★ 720repo stars gui-onboarding-verification-skill gui-onboarding-verification-skill is a Claude Code skill that checks Warp’s first-run setup on Linux. It captures screenshots for logged-in and logged-out onboarding flows. CX Codex +1 ★ 720repo stars

More in the catalog

Project sponsors

Companies that keep this analytics open