Skip to content
cccskills
FreePublished on GitHub

logging-and-errors

Add useful diagnostics, choose log levels, preserve context, and handle player-facing failures safely.

The English summary is being prepared. Showing the original description.

See how to install

Files included (2)

  • SKILL.md1.5 KB
  • agents/openai.yaml224 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

Logs should help operators locate a failure without flooding normal operation or exposing sensitive information.

Log levels

Use debug/verbose output for development-only detail, information for meaningful operational transitions, warnings for recoverable unexpected state, and errors for failed operations requiring investigation. Avoid logging normal rejection paths as errors.

Context

Include subsystem, entity or prototype identity, operation, and important non-sensitive parameters. Prefer structured or consistent messages that can be searched. Do not log tokens, credentials, private messages, or complete user-provided payloads without necessity.

Exceptions

Catch exceptions only when the caller can recover, add useful context, translate to a domain result, or perform cleanup. Do not swallow failures. Preserve stack information when rethrowing.

Player-facing errors

Localize player messages and avoid exposing internal stack traces, file paths, SQL, or permission internals. Keep operator diagnostics separate from player feedback.

Hot paths

Do not log every tick, every entity in a broad query, or every expected network rejection. Add rate limiting or aggregation when repeated diagnostics are necessary.

Verification

Exercise success, expected rejection, malformed input, and exception paths. Confirm logs contain enough context and no secrets.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Implement actions, cooldowns, DoAfter flows, interruption, cancellation, and authoritative completion safely.

The English summary is being prepared. Showing the original description.

ArcaneSS14/arcane-new11Updated Oct 20, 2026

Implement privileged commands, admin UI, role checks, audit logs, and safe operational controls.

The English summary is being prepared. Showing the original description.

ArcaneSS14/arcane-new11Updated Oct 20, 2026

Plan, verify, implement, and deliver repository work through evidence-backed ownership and quality gates.

The English summary is being prepared. Showing the original description.

ArcaneSS14/arcane-new11Updated Oct 20, 2026

Implement replicated appearance data, GenericVisualizer mappings, sprite layers, overlays, and client visual systems.

The English summary is being prepared. Showing the original description.

ArcaneSS14/arcane-new11Updated Oct 20, 2026

atmos

Free

Modify atmos simulation, gases, fire, pressure, pipes, devices, UI, and hot paths safely.

The English summary is being prepared. Showing the original description.

ArcaneSS14/arcane-new11Updated Oct 20, 2026

audio

Free

Add data-driven audio with correct prediction, audience, resources, attribution, and verification.

The English summary is being prepared. Showing the original description.

ArcaneSS14/arcane-new11Updated Oct 20, 2026

See all skills by ArcaneSS14

Report a problem with this skill