logging-best-practices
Curated third-party skill source. Run external-skill-auditor before repo promotion.
Curated third-party skill source. Run external-skill-auditor before repo promotion.
Quick Start
Install:
npx skills add boristane/agent-skills --skill logging-best-practices -y -g -a antigravity claude-code codex crush cursor gemini-cli github-copilot grok opencode Use: /logging-best-practices
Works with Claude Code, Gemini CLI, OpenCode, and other agentskills.io-compatible agents.
What It Does
Section titled “What It Does”logging-best-practices teaches the wide-event (canonical log line) pattern: emit one structured, context-rich JSON event per request per service at completion, carrying high-cardinality identifiers, business context, environment characteristics, and outcome. Covers middleware usage, single-logger discipline, two-level logging (info/error), anti-patterns (scattered console.log, multiple loggers, unstructured strings), and references to Stripe canonical lines and observability literature.
Harness Coverage
Section titled “Harness Coverage”Targets verified harnesses: antigravity, claude-code, codex, crush, cursor, gemini-cli, github-copilot, grok, opencode.
Portable multi-harness install command:
npx skills add boristane/agent-skills --skill logging-best-practices -y -g -a antigravity claude-code codex crush cursor gemini-cli github-copilot grok opencodeTrust / Audit
Section titled “Trust / Audit”Trust tier: Curated (curated-trust-gated)
Curated status: install-now-after-trust-gate
Risk notes: Curated third-party skill source. Run external-skill-auditor before repo promotion.
Entry maintained via authoring + research for compose-external-wave-7; provenance and audit notes are authoritative there (research context is advisory).
Install Prerequisites
Section titled “Install Prerequisites”npx skills add boristane/agent-skills --skill logging-best-practices -y -g -a antigravity claude-code codex crush cursor gemini-cli github-copilot grok opencode
Adoption requires a structured logger (JSON) and middleware or finally-block emission pattern in the application.
| Field | Value |
|---|---|
| Source Type | curated-external |
| Display Source | boristane/agent-skills |
| Source Kind | github |
| Installability | portable command |
| Review State | curated |
| Trust Tier | curated-trust-gated |
| Target Agents | antigravity, claude-code, codex, crush, cursor, gemini-cli, github-copilot, grok, opencode |
| Field | Value |
|---|---|
| Name | logging-best-practices |
Curated catalog entry
---name: "logging-best-practices"description: "Curated third-party skill source. Run external-skill-auditor before repo promotion."title: "Logging Best Practices"source_kind: "curated-external"source: "boristane/agent-skills"install_source: "boristane/agent-skills"status: "install-now-after-trust-gate"trust_tier: "curated-trust-gated"provenance_status: "verified-install-command"install_command: "npx skills add boristane/agent-skills --skill logging-best-practices -y -g -a antigravity claude-code codex crush cursor gemini-cli github-copilot grok opencode"target_agents: [antigravity, claude-code, codex, crush, cursor, gemini-cli, github-copilot, grok, opencode]source_url: "https://github.com/boristane/agent-skills"notes: "Curated third-party skill source. Run external-skill-auditor before repo promotion."risk_notes: "Curated third-party skill source. Run external-skill-auditor before repo promotion."promotion_policy: "Install only after trust gate; audit again before repo promotion."provenance_evidence: "Curated `npx skills add` command with named `--skill` selectors under `install-now-after-trust-gate` in config/external-skills.md."---
{/* GENERATED-AUTHORING: source=config/external-skills.md; entry=logging-best-practices; re-run migration to refresh */}
Curated third-party skill source. Run external-skill-auditor before repo promotion.Install / provenance (from authoring frontmatter + research):
| Field | Value |
|---|---|
| install_command | npx skills add boristane/agent-skills --skill logging-best-practices -y -g -a antigravity claude-code codex crush cursor gemini-cli github-copilot grok opencode |
| source | boristane/agent-skills |
| source_url | https://github.com/boristane/agent-skills |
| trust_tier | curated-trust-gated |
| curated_status | install-now-after-trust-gate |
| target_agents | antigravity, claude-code, codex, crush, cursor, gemini-cli, github-copilot, grok, opencode |