[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GXFD6C31ZGWRNEK08YDXAR":3,"skill-same:01M6GXFD6C31ZGWRNEK08YDXAR":72},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":52,"repositoryHtmlUrl":53,"repositoryHomepageUrl":53,"ownerHtmlUrl":54,"ownerBlogUrl":55,"ownerDescription":56,"updatedAt":57,"install":58,"resources":71},"01M6GXFD6C31ZGWRNEK08YDXAR","Logging & Observability Review",null,"Deep review of logging implementation — structured logging, correlation IDs, log levels, PII handling, distributed tracing, and incident response readiness.","malayvuong\u002Fagent-orchestra","malayvuong","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F13240975?v=4","01M6GXCDVPB2VPZMDZK1KF98M0","Nguyen Minh Vuong","01M6GXCE176VDX3XV4Z4KNR33J",1,"MIT","https:\u002F\u002Fgithub.com\u002Fmalayvuong\u002Fagent-orchestra\u002Fblob\u002Fmain\u002F.agent-orchestra\u002Fskills\u002Flogging-review\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"logging","observability","review","ids","structured logging","readiness","logic","deep","incident","implementation","log","pii","correlation","monitoring","tracing","deep review","distributed","debug","incident response","2026-11-10 10:12:30",false,"---\nname: Logging & Observability Review\ndescription: Deep review of logging implementation — structured logging, correlation IDs, log levels, PII handling, distributed tracing, and incident response readiness.\nversion: 2026.3.1\nlicense: MIT\ntriggers:\n  lenses:\n    - logic\n    - security\n  keywords:\n    - logging\n    - log\n    - trace\n    - observability\n    - monitoring\n    - debug\n---\n\nWhen reviewing logging and observability code, apply the following checks.\n\n## Structured Logging\n\nFlag `console.log()`, `print()`, or string-interpolated log messages in production code — use structured logging with key-value pairs (JSON format). Unstructured logs cannot be searched, filtered, or aggregated by log management systems.\n\nVerify every log entry includes: timestamp (ISO 8601), log level, service name, and a message. Flag log messages that are ambiguous without context — \"Error occurred\" tells an oncall engineer nothing. Good: `{\"level\":\"error\",\"service\":\"payment\",\"action\":\"charge\",\"userId\":\"u123\",\"error\":\"timeout after 5000ms\"}`.\n\n## Log Levels\n\nVerify log levels are used consistently: `ERROR` for actionable failures that need investigation, `WARN` for degraded but functional states, `INFO` for significant business events, `DEBUG` for development diagnostics. Flag `ERROR` level for expected business conditions (user not found, validation failure) — these are `WARN` or `INFO`.\n\nFlag `DEBUG` level logs in production code paths that execute per-request — these create massive log volume when debug logging is accidentally enabled. Verify debug logging can be toggled per-module without redeployment.\n\n## Sensitive Data\n\nFlag logging of: passwords, tokens, session IDs, credit card numbers, SSN, API keys, or full request\u002Fresponse bodies that may contain PII. Verify log output is sanitized — mask or redact sensitive fields before logging.\n\nCheck that error messages forwarded to logs do not include stack traces with file paths, database connection strings, or internal hostnames that aid attackers. Flag `JSON.stringify(request.body)` or `repr(request.data)` in log statements — these dump entire payloads including sensitive fields.\n\n## Correlation and Tracing\n\nVerify every request generates or propagates a correlation ID (request ID, trace ID) that appears in all log entries for that request. Flag log entries that cannot be correlated to a specific user action or request — debugging production issues requires tracing a single request across services.\n\nCheck that distributed tracing headers (`traceparent`, `X-Request-ID`) are propagated to downstream service calls, database queries, and queue messages. Flag services that start a new trace instead of continuing the parent trace.\n\n## Error Logging\n\nVerify every `catch` block either logs the error or re-throws it — flag silent `catch {}` blocks that swallow errors. Check that error logs include the error message, stack trace (at appropriate level), and the context that caused the error (input parameters, state).\n\nFlag error logging inside retry loops — log once after all retries are exhausted, not on every attempt. Flag errors that are logged and then re-thrown — this causes duplicate log entries when the caller also logs.\n\n## Performance\n\nFlag logging inside tight loops or per-item processing in batch operations — aggregate and log a summary instead. Flag synchronous file-based logging in request handlers — use async log writers or buffer flushes.\n\nCheck that log volume is estimated for production traffic. Flag log configurations that would produce > 1GB\u002Fhour per instance without a retention and rotation strategy.\n\n## Metrics and Health\n\nVerify key business metrics are emitted (request count, error rate, latency percentiles, queue depth). Flag services without a `\u002Fhealth` or `\u002Freadyz` endpoint. Check that metric labels have bounded cardinality — flag labels that include user IDs, request IDs, or unbounded values (these explode metric storage).\n\nFor each finding, report: the file and log statement, the specific logging issue, and the recommended fix.\n","When reviewing logging and observability code, apply the following checks.\n\n## Structured Logging\n\nFlag `console.log()`, `print()`, or string-interpolated log messages in production code — use structured logging with key-value pairs (JSON format). Unstructured logs cannot be searched, filtered, or aggregated by log management systems.\n\nVerify every log entry includes: timestamp (ISO 8601), log level, service name, and a message. Flag log messages that are ambiguous without context — \"Error occurred\" tells an oncall engineer nothing. Good: `{\"level\":\"error\",\"service\":\"payment\",\"action\":\"charge\",\"userId\":\"u123\",\"error\":\"timeout after 5000ms\"}`.\n\n## Log Levels\n\nVerify log levels are used consistently: `ERROR` for actionable failures that need investigation, `WARN` for degraded but functional states, `INFO` for significant business events, `DEBUG` for development diagnostics. Flag `ERROR` level for expected business conditions (user not found, validation failure) — these are `WARN` or `INFO`.\n\nFlag `DEBUG` level logs in production code paths that execute per-request — these create massive log volume when debug logging is accidentally enabled. Verify debug logging can be toggled per-module without redeployment.\n\n## Sensitive Data\n\nFlag logging of: passwords, tokens, session IDs, credit card numbers, SSN, API keys, or full request\u002Fresponse bodies that may contain PII. Verify log output is sanitized — mask or redact sensitive fields before logging.\n\nCheck that error messages forwarded to logs do not include stack traces with file paths, database connection strings, or internal hostnames that aid attackers. Flag `JSON.stringify(request.body)` or `repr(request.data)` in log statements — these dump entire payloads including sensitive fields.\n\n## Correlation and Tracing\n\nVerify every request generates or propagates a correlation ID (request ID, trace ID) that appears in all log entries for that request. Flag log entries that cannot be correlated to a specific user action or request — debugging production issues requires tracing a single request across services.\n\nCheck that distributed tracing headers (`traceparent`, `X-Request-ID`) are propagated to downstream service calls, database queries, and queue messages. Flag services that start a new trace instead of continuing the parent trace.\n\n## Error Logging\n\nVerify every `catch` block either logs the error or re-throws it — flag silent `catch {}` blocks that swallow errors. Check that error logs include the error message, stack trace (at appropriate level), and the context that caused the error (input parameters, state).\n\nFlag error logging inside retry loops — log once after all retries are exhausted, not on every attempt. Flag errors that are logged and then re-thrown — this causes duplicate log entries when the caller also logs.\n\n## Performance\n\nFlag logging inside tight loops or per-item processing in batch operations — aggregate and log a summary instead. Flag synchronous file-based logging in request handlers — use async log writers or buffer flushes.\n\nCheck that log volume is estimated for production traffic. Flag log configurations that would produce > 1GB\u002Fhour per instance without a retention and rotation strategy.\n\n## Metrics and Health\n\nVerify key business metrics are emitted (request count, error rate, latency percentiles, queue depth). Flag services without a `\u002Fhealth` or `\u002Freadyz` endpoint. Check that metric labels have bounded cardinality — flag labels that include user IDs, request IDs, or unbounded values (these explode metric storage).\n\nFor each finding, report: the file and log statement, the specific logging issue, and the recommended fix.\n",{"name":5,"license":15,"version":43,"triggers":44,"description":7},"2026.3.1",{"lenses":45,"keywords":47},[25,46],"security",[19,29,48,20,32,36],"trace","main","eac6069a8690d89fd23f08d2d14e4874ed376a77",".agent-orchestra\u002Fskills\u002Flogging-review",0,"https:\u002F\u002Fgithub.com\u002Fmalayvuong\u002Fagent-orchestra","https:\u002F\u002Fgithub.com\u002Fmalayvuong","www.malayvuong.com","Just a newbie at everything","2026-10-09 12:52:45",{"source":8,"skillName":5,"commands":59,"prompt":69,"zipAvailable":70},[60,63,66],{"tool":61,"command":62},"npx","npx skills add malayvuong\u002Fagent-orchestra --skill \"Logging & Observability Review\"",{"tool":64,"command":65},"bunx","bunx skills add malayvuong\u002Fagent-orchestra --skill \"Logging & Observability Review\"",{"tool":67,"command":68},"pnpm","pnpm dlx skills add malayvuong\u002Fagent-orchestra --skill \"Logging & Observability Review\"","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmalayvuong\u002Fagent-orchestra\u002Fblob\u002Fmain\u002F.agent-orchestra\u002Fskills\u002Flogging-review\u002FSKILL.md",true,[],[73,96,116,134,152,167],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":38},"01M6GXHYPRJ43SHFPFJTF87GS8","Vue.js Review","Deep review of Vue.js applications — Composition API patterns, reactivity traps, component design, Pinia state management, and performance pitfalls.","https:\u002F\u002Fgithub.com\u002Fmalayvuong\u002Fagent-orchestra\u002Fblob\u002Fmain\u002F.agent-orchestra\u002Fskills\u002Fvue-review\u002FSKILL.md",[],[21,80,81,82,83,84,85,86,87,34,88,89,90,91,92,93,26,25,94,95],"vue","js","Vue js Review","design","performance","component","state management","state","api patterns","applications","api","Composition","pinia","management","pitfalls","pinia state",{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":38},"01M6GXHSPDDH1PQEN61ENMCEF5","Unity Review","Deep review of Unity C# code — object pooling, Update allocation, physics patterns, UI performance, serialization, and mobile optimization.","https:\u002F\u002Fgithub.com\u002Fmalayvuong\u002Fagent-orchestra\u002Fblob\u002Fmain\u002F.agent-orchestra\u002Fskills\u002Funity-review\u002FSKILL.md",[],[21,103,98,84,104,105,34,106,107,108,109,110,111,26,25,112,113,114,115],"unity","update","code","ui","serialization","Optimization","mobile","patterns","physics","C#","mobile optimization","object","allocation",{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":38},"01M6GXHNKTH12CGSRWDGF2H1Q9","TypeScript Review","Deep review of TypeScript code — type safety, generics patterns, strict mode compliance, type narrowing, module boundaries, and common escape hatches.","https:\u002F\u002Fgithub.com\u002Fmalayvuong\u002Fagent-orchestra\u002Fblob\u002Fmain\u002F.agent-orchestra\u002Fskills\u002Ftypescript-review\u002FSKILL.md",[],[21,123,124,105,34,125,126,127,128,110,26,25,129,130,131,132,133],"typescript","typescript review","compliance","Type Safety","Safety","common","module","type","interface","consistency","mode",{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":38},"01M6GXHH3DMZD272RVH4800C67","Test Conventions","Testing patterns and conventions for code review. Covers naming, AAA structure, boundary testing, mock vs real dependencies, and coverage expectations.","https:\u002F\u002Fgithub.com\u002Fmalayvuong\u002Fagent-orchestra\u002Fblob\u002Fmain\u002F.agent-orchestra\u002Fskills\u002Ftest-conventions\u002FSKILL.md",[],[141,142,136,143,144,21,105,145,146,147,110,148,149,150,151],"test","conventions","code review","testing","testing patterns","boundary","coverage","dependencies","structure","mock","naming",{"skillNo":153,"name":154,"nameZh":6,"description":155,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":158,"publishedAt":38},"01M6GXHCAQSJDVNVRFFD1HJWTN","Terraform Review","Deep review of Terraform\u002FOpenTofu configuration — state management, module design, security hardening, drift prevention, and production safety patterns.","https:\u002F\u002Fgithub.com\u002Fmalayvuong\u002Fagent-orchestra\u002Fblob\u002Fmain\u002F.agent-orchestra\u002Fskills\u002Fterraform-review\u002FSKILL.md",[],[21,159,154,83,46,86,87,34,160,161,162,163,127,164,93,165,166,26,25,129],"terraform","cloud","aws","hardening","Production","opentofu","iac","drift",{"skillNo":168,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":171,"categories":172,"keywords":173,"publishedAt":38},"01M6GXH83F11CK4BQEAJPN6HDE","Swift Review","Deep review of Swift code — memory management, concurrency patterns, optionals, protocol design, SwiftUI lifecycle, and iOS platform patterns.","https:\u002F\u002Fgithub.com\u002Fmalayvuong\u002Fagent-orchestra\u002Fblob\u002Fmain\u002F.agent-orchestra\u002Fskills\u002Fswift-review\u002FSKILL.md",[],[174,21,169,83,175,84,105,176,34,177,178,179,180,181,93,26,25,182,183,184],"swift","memory","protocol","ios","concurrency","lifecycle","swiftui","uikit","xcode","apple","platform"]