- Backend: FastAPI app with all models, services, schemas, routes - Admin Panel: Next.js dashboard with all modules (CRM, POS, repairs, warranties, billing, notifications, etc.) - Ecommerce: storefront (submodule) + product catalog - AI Agents: .agents/ skill library for Antigravity IDE - Docs: architecture, billing, notification gateway markdown - Submodules: Backend/OpenWA, Ecommerce/File 2/storefront
36 lines
1 KiB
Markdown
36 lines
1 KiB
Markdown
---
|
|
name: "Dependency Updates"
|
|
description: "Manage and audit third-party python packages and npm packages"
|
|
---
|
|
|
|
# Skill: Dependency Updates
|
|
|
|
## 1. Purpose
|
|
Keep third-party libraries up-to-date, patch security vulnerabilities, and resolve dependency conflict warnings.
|
|
|
|
## 2. When to Use
|
|
During sprint updates or when vulnerability scanning tools report alert warnings.
|
|
|
|
## 3. Preconditions
|
|
* Access to package lock files (package-lock.json, requirements.txt).
|
|
|
|
## 4. Step-by-Step Checklist
|
|
1. Run dependency audit commands (`npm audit` or `pip-audit`).
|
|
2. Update minor package versions using standard commands.
|
|
3. Re-run tests to ensure compatibility.
|
|
4. Save lock files to preserve changes.
|
|
|
|
## 5. Validation Checklist
|
|
* Vulnerability audits output zero warnings.
|
|
* Code compiles and test suite passes successfully.
|
|
|
|
## 6. Examples
|
|
```bash
|
|
# Audit frontend packages:
|
|
npm audit fix
|
|
# Check python dependencies:
|
|
pip-audit
|
|
```
|
|
|
|
## 7. Failure Cases
|
|
* Upgrading major versions blindly, causing compilation failures across legacy modules.
|