docker-database-package-copy
CommunityFix TS2307 errors with correct database COPY lines.
System Documentation
What problem does it solve?
In monorepos with a shared Prisma/database package consumed by multiple containerized services, adding or changing TypeScript files re-exported via the package's index.ts causes container builds to fail with TS2307 errors if service Dockerfiles do not include corresponding COPY lines, even when local builds pass successfully.
Core Features & Use Cases
- Dockerfile Identification: Locates all service Dockerfiles that contain COPY lines for the shared database package.
- COPY List Maintenance: Adds required COPY entries for new or renamed re-exported database package files to every relevant Dockerfile, keeping the COPY block organized with existing database package lines.
- Use Case: For teams maintaining multiple containerized services that share a common database package, this skill eliminates CI build failures and manual Dockerfile updates when the shared package's exported file set changes.
Quick Start
Use this skill to update all service Dockerfiles with missing COPY lines for new or changed re-exported database package files to resolve TS2307 container build errors.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: docker-database-package-copy Download link: https://github.com/eric-sabe/engsys/archive/main.zip#docker-database-package-copy Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 537,000+ vetted skills library on demand.