Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Adds structured API request logging with correlation IDs, response timing, PII redaction, and audit-ready JSON for ELK, Loki, or CloudWatch.
43% 70%+26 ptsof test cases passed
Passed 16 of 23 test cases with the skill, and 10 of 23 without it.
Our compliance officer asks for the log retention period for security audit logs compared to standard application logs. What retention windows in days should be configured for each?
Sets application log retention duration to 30 days.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Implement structured API request logging with correlation IDs, performance timing, security audit trails, and PII redaction. Capture request/response metadata in JSON format suitable for aggregation in ELK Stack, Loki, or CloudWatch Logs, enabling debugging, performance analysis, and compliance auditing across distributed services.
X-Request-ID header)X-Request-ID) for each request if not provided by the caller, and propagate it to all downstream service calls and log entries within the request scope.info for successful requests, warn for 4xx client errors, error for 5xx server errors with stack traces, and debug for request/response bodies (development only).audit: true for separate indexing.See references/implementation.md for the full implementation guide.
${CLAUDE_SKILL_DIR}/src/middleware/request-logger.js - Structured request/response logging middleware${CLAUDE_SKILL_DIR}/src/middleware/correlation-id.js - Correlation ID generation and propagation${CLAUDE_SKILL_DIR}/src/utils/pii-redactor.js - Field-level PII redaction with configurable patterns${CLAUDE_SKILL_DIR}/src/utils/audit-logger.js - Security audit event logger for sensitive operations${CLAUDE_SKILL_DIR}/src/config/logging.js - Log level, format, and output destination configuration${CLAUDE_SKILL_DIR}/tests/logging/ - Logging middleware tests including PII redaction verification| Error | Cause | Solution |
Next to this one in the catalogue, plus more from the same author.