AGENT SKILL

observability-audit

Use when reviewing whether code has enough operational evidence: structured logs, correlation IDs, metrics, traces, run summaries, error normalization, and safe redaction. Trigger for production readiness reviews, sync/job reviews, incident-prone code, or before delivery of backend workflows. Do not use for visual UI-only review.

License 许可
MIT
所属仓库
marcioaltoe/skills
最近更新
2026-11-14
Stars
★ 0
Forks
2

01 前言 Front Matter

name
observability-audit
metadata
{ "tags": [ "observability", "logging", "qa", "backend" ], "author": "Marcio Altoé", "source": "https://github.com/marcioaltoe/skills", "version": "0.1.0", "category": "observability" }
description
Use when reviewing whether code has enough operational evidence: structured logs, correlation IDs, metrics, traces, run summaries, error normalization, and safe redaction. Trigger for production readiness reviews, sync/job reviews, incident-prone code, or before delivery of backend workflows. Do not use for visual UI-only review.

03 SKILL.md 正文

Observability Audit

Use this skill to verify that a change can be operated after it ships.

Audit Questions

  • Can an operator tell whether the workflow ran?
  • Can failures be grouped by cause?
  • Can a user report be traced to request, job, tenant, account, or external system IDs?
  • Are retries, partial failures, and skipped records visible?
  • Are secrets and personal data excluded from logs and evidence?
  • Does the code preserve external request IDs or provider correlation IDs?

Required Evidence by Surface

HTTP APIs

  • request or correlation ID
  • route or operation name
  • status code and duration
  • authenticated actor or tenant ID when safe
  • normalized error kind

Background Jobs and Syncs

  • run ID
  • source system
  • checkpoint before and after
  • counts for fetched, changed, skipped, failed
  • retry count
  • failure categories

External Adapters

  • external system name
  • operation name
  • safe external identifier
  • request ID returned by provider
  • timeout/retry classification

Log Quality Checklist

  • Logs are structured, not interpolated blobs.
  • Levels match operational severity.
  • Sensitive fields are redacted or omitted.
  • Log lines include enough context to join related events.
  • Expected validation failures are not logged as process errors.
  • Exceptions preserve stack traces at the boundary that handles them.

Review Output

When auditing, report:

## Observability Findings

- [severity] [file:line] Finding and operational impact.

## Missing Evidence

- Request/job/correlation IDs:
- Counts/status summaries:
- External provider metadata:
- Redaction concerns:

## Recommended Fixes

- Concrete code or logging changes.

Common Mistakes

  • Logging only at startup and final failure.
  • Logging raw request bodies, tokens, headers, or presigned URLs.
  • Recording "success" without counts or checkpoint evidence.
  • Hiding provider request IDs.
  • Treating observability as comments instead of executable code paths.

04 同仓库更多 Skills

marcioaltoe
marcioaltoe/skills

startup-validator

Comprehensive startup idea validation and market analysis tool. Use when users need to evaluate a startup idea, assess market fit, analyze competition, validate problem-solution fit, or determine market positioning. Triggers include requests to "validate my startup idea", "analyze market opportunity", "check if there's demand for", "research competition for", "evaluate business idea", or "see if my idea is viable". Provides data-driven analysis using web search, market frameworks, competitive research, and positioning recommendations.

★ 0
marcioaltoe
marcioaltoe/skills

positioning-icp

When the user wants to define their ideal customer profile, position an AI product, build messaging architecture, or validate product-market fit. Also use when the user mentions 'ICP,' 'ideal customer profile,' 'positioning,' 'PMF,' 'product-market fit,' 'messaging,' 'buyer persona,' 'enrichment signals,' 'market positioning,' or 'competitive positioning.' This skill covers market positioning, ICP definition, messaging architecture, and PMF validation for AI-native products. Do NOT use for technical implementation, code review, or software architecture.

★ 0
marcioaltoe
marcioaltoe/skills

copywriting

When the user wants to write or rewrite page copy (homepage, landing, pricing, feature), or asks which headline, promise, or message to lead with. Diagnoses the input first (blank brief, real voice, or point edit) and changes only what it calls for. Claims must be supportable; a declined claim names the evidence that would unlock it. No AI tells like 'it's not X, it's Y' or 'no X, no Y, no Z'. For editing, see copy-editing. For emails, see emails. For the offer, see offers.

★ 0
marcioaltoe
marcioaltoe/skills

business-storyteller

Transforms technical work into persuasive business-language documents for non-technical stakeholders, including internal announcements, approval proposals, incident explainers, technical-debt cases, product explainers, and investor or partner memos. Use when the user asks to present technical work to the company, explain software to business teams, write a business case, make an approval document, or convert a technical artifact into stakeholder communication in the requested language. Do not use for READMEs, specs, ADRs, external marketing pages, or customer-facing sales copy.

★ 0
marcioaltoe
marcioaltoe/skills

brand-storytelling

Help users craft compelling brand narratives. Use when someone is defining brand strategy, writing company positioning, creating pitch narratives, developing messaging frameworks, or trying to make their company story more memorable.

★ 0
marcioaltoe
marcioaltoe/skills

skill-creator

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

★ 0