.cursor/skills/workers/SKILL.md
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.
npx skillsauth add podverse/podverse podverse-workers-patternsInstall 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.
Per-job env validation, command-first bootstrap, and checklist for adding worker commands.
apps/workers/src/lib/startup/validation.ts).KNOWN_COMMANDS in
commandNames.ts.BASE_ORM_COMMANDS, FULL_STACK_COMMANDS) so it gets the right categories—validation then runs
the existing category validators for that command. Only add a new category and validate*
function in validation.ts if the command
needs env vars that don't fit existing categories.| Category | Env vars / scope | | ----------------- | --------------------------------------------------- | | Base | USER_AGENT, LOG_LEVEL, LOG_DIR, LOG_TIMER, NODE_ENV | | ORM | DB_*, DEFAULT_ACCOUNT_SETTINGS_LOCALE | | MQ | MESSAGEQUEUE* | | Parser | PARSER_* | | PodcastIndex | PODCASTINDEX* | | Web/Notifications | WEB**, BRAND_NAME, WEBPUSH_, GOOGLEFIREBASE*_ |
Reference ENV.md and validation.ts for which commands need which categories.
apps/workers/.@podverse/helpers-config (validateRequired, validateOptional), @podverse/orm,
@podverse/mq, @podverse/parser, @podverse/external-services, @podverse/notifications.apps/workers/src/lib/startup/validation.ts.apps/workers/src/config/index.ts (category-scoped getters).apps/workers/src/index.ts (command-first, then validate, then load config/contexts
by category).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
development
Enforces import ordering so styles (CSS/SCSS module) imports are last. Use when editing React components or pages in .tsx/.jsx files, or when the user mentions import order or style imports.