structured-logging
Add structured JSON logging to code following project standards. Includes correct log levels, required fields, and what never to log.
Works with
---
name: structured-logging
description: Add structured JSON logging to code following project standards. Includes correct log levels, required fields, and what never to log.
license: MIT
---
## What I do
Produce structured JSON log statements with the correct fields and log level for the situation.
Required fields in every log entry:
- `timestamp` — ISO 8601 with timezone
- `level` — `debug` | `info` | `warn` | `error` | `fatal`
- `message` — Human-readable description
- `service` — Service or application name
## When to use me
Use this skill when adding logging to new code or reviewing existing log statements for compliance.
## Log level guide
| Level | Use case |
|-------|----------|
| `debug` | Dev details, variable dumps, function entry/exit |
| `info` | Normal operations, state changes, successful outcomes |
| `warn` | Recoverable issues, deprecations, retries |
| `error` | Failures requiring attention, unhandled exceptions |
| `fatal` | Critical failures causing process termination |
## Never log
- Passwords, tokens, API keys, or any secrets
- Full PII (email, SSN, credit card numbers)
- Full request/response bodies (may contain secrets or be too large)
- String-concatenated messages — use structured context fields instead
## Example
```json
{
"timestamp": "2024-01-15T09:23:45Z",
"level": "info",
"message": "Payment processed",
"service": "payment-service",
"context": {
"transaction_id": "tx_123",
"amount_cents": 4999,
"currency": "USD",
"duration_ms": 1200
}
}
```More Observability skills
google-agents-cli-observability
google/agents-cli
>
azure-observability
microsoft/azure-skills
Azure Observability Services including Azure Monitor, Application Insights, Log Analytics, Alerts, and Workbooks. Provides metrics, APM, distributed tracing, KQL queries, and interactive reports. USE FOR: Azure Monitor, Application Insights, Log Analytics, Alerts, Workbooks, metrics, APM, distributed tracing, KQL queries, interactive reports, observability, monitoring dashboards. DO NOT USE FOR: instrumenting apps with App Insights SDK (use appinsights-instrumentation), querying Kusto/ADX clusters (use azure-kusto), cost analysis (use azure-cost-optimization).
social
coreyhaines31/marketingskills
When the user wants help creating, scheduling, or optimizing social media content for LinkedIn, Twitter/X, Instagram, TikTok, Facebook, or other platforms, or wants to do social listening and engagement triage. Also use when the user mentions 'LinkedIn post,' 'Twitter thread,' 'social media,' 'content calendar,' 'social scheduling,' 'engagement,' 'viral content,' 'what should I post,' 'repurpose this content,' 'tweet ideas,' 'LinkedIn carousel,' 'social media strategy,' 'grow my following,' 'TikTok video,' 'Reels,' 'Shorts,' 'video script,' 'video hook,' 'short-form video,' 'create a reel,' 'social listening,' 'brand mentions,' 'competitor monitoring,' 'top posts to comment on,' 'find people asking for,' 'carousel,' 'slide-by-slide,' or 'document post.' Use this for social media content creation, repurposing, scheduling, short-form video scripting, and social listening. For broader content strategy, see content-strategy. For paid ads, see ad-creative. For earned media, see public-relations.

