What problem does it solve?
This Skill ensures your application's infrastructure layer is robust, secure, and correctly configured, preventing common issues like DI misconfigurations, insecure secrets, and unmanaged database migrations.
Core Features & Use Cases
- DI Registration Validation: Verifies that all necessary components (Config, Repositories, Runners, Deliveries) are correctly registered with the dependency injection framework (Uber fx).
- Configuration Management: Audits environment variable usage, ensuring proper prefixing, default values, and preventing hardcoded secrets.
- Database Migration Integrity: Checks that migrations have proper Up/Down pairs, include necessary indexes, and support soft deletes.
- Security Audits: Detects hardcoded secrets and potential exposure of sensitive information through environment variables.
- Use Case: Before deploying a new microservice, use this Skill to automatically audit its DI setup, configuration, and migration scripts to catch critical errors and security vulnerabilities.
Quick Start
Run the infrastructure-layer skill to audit the DI registration and configuration files for the current project.