Scaffolding воркера для загрузки данных в packages-db
engineering
packages-worker-add-entrypoint is a Claude Code skill that scaffolds a new sub-worker inside `services/apps/packages_worker/` following the project's single-package, multi-entry-point structure — covering workers like npm-sync, osv-sync, or scorecard-runner that ingest data into packages-db. The skill creates the `src/<worker>/` directory with `index.ts` and `types.ts`, a `src/bin/<name>.ts` entry point with SIGINT/SIGTERM handling and liveness probe files, a typed config getter in `config.ts` using `requireEnv`/`requireEnvInt` with no fallback defaults, a docker-compose service file under `scripts/services/<name>.yaml`, and `start:<name>` / `dev:<name>` scripts in `package.json`. It uses the Read, Write, Edit, Bash, and Glob tools, and runs `pnpm tsc --noEmit` before finishing. Aimed at engineers who need to wire up a new data-ingestion worker without deviating from the established monorepo conventions.
- #packages-worker
- #scaffolding
- #worker-setup
- #data-ingestion
- #database-integration