.cursor/skills/logging/SKILL.md
Log directory (LOG_DIR) behavior across the monorepo. Use when adding or changing log directory behavior, LOG_DIR env, or file logging in any app or package.
npx skillsauth add podverse/podverse podverse-logging-log-dirInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
No default value for log directory in any monorepo app. Config must use
process.env.LOG_DIR ?? '' (or equivalent) so that when unset, the value is empty.
When LOG_DIR is empty or unset, logs are console-only (no file transport). This avoids bulky log files inside containers when no external volume is mounted.
When LOG_DIR is set (e.g. in Docker with a volume), use the path that matches the
external volume mount (e.g. /opt/logs in workers local compose).
Do not default to ./logs or /app/logs in app code; that causes file logging inside
containers without a volume and can become bulky.
logDir is non-empty/opt/logs)documentation
Per-job env validation and config patterns for the workers app. Use when adding or changing worker commands, touching workers startup validation, or documenting worker env vars.
development
Common patterns and examples for the podverse-web Next.js application
tools
Ensures client-side time displays use formatDateTimeAbbrev for localized, readable timestamps. Use when rendering dates/times in the UI or when the user mentions time formatting or local timezone display.
testing
--- name: podverse-testing-policy description: Skip test implementation unless the user explicitly asks. Use when a plan or task includes adding unit tests, a test phase, or "Phase 3: Tests". version: 1.0.0 --- # Testing policy — skip tests for now ## When to use - When a plan or task includes adding unit tests, a test phase, or "Phase 3: Tests". - When deciding whether to implement tests for a feature. ## Rules 1. **We are not concerning ourselves with tests at this time.** Skip test imp