How this skill is triggered — by the user, by Claude, or both
Slash command
/openspec-plugin:loggingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
```typescript
function processData(input) {
logger.info('processData started', { input });
try {
const result = await fetchFromDB(id);
logger.info('DB fetch succeeded', { id, result });
const processed = transform(result);
logger.info('processData completed', { processed });
return processed;
} catch (error) {
logger.error('processData failed', { input, error });
throw error;
}
}
「どこまで成功したか」を特定できるログにする。
npx claudepluginhub shin902/shi-marketplace --plugin openspecGuides log level selection, structured logging, and error tracking integration. Use when implementing logging in application code to keep error tracking actionable.
Provides structured JSON logging patterns with correlation IDs, context propagation, log levels, and required fields for observability and production incident debugging.
Implements structured logging with levels, request context, PII sanitization using Winston in Node.js. Covers Python structlog, Go zap, ELK/CloudWatch integration for log bloat, PII exposure, missing context.