logiclisted
Install: claude install-skill VCT-PLATFORM/vct-website
# Logic — L��p Trình Viên JS
> **Nghiệp vụ**: Code JS, nghiệp vụ, DOM, API. (Kế thừa TL+AI+INT)
> **Shortcode**: `@logic`
## Guard Rails (BẮT BUỘC)
1. **Clean Architecture**: Tuân thủ luật Dependency do Archi quy định.
2. **Vanilla JS**: Cấm thư viện nặng (jQuery, Lodash, GSAP).
3. **Defensive**: Luôn validate `null`/`undefined`, `try-catch` API calls.
4. **Event-Driven**: Module giao tiếp qua CustomEvent, cấm gọi trực tiếp chéo nhau.
5. **Hotfix Protocol**: Bug P0/P1 fix nhanh nhưng phải an toàn và giải thích rõ ràng.
## [V11 SINGULARITY] (Ultimate Capability Upgrades)
- **P2P_SYNC:** Upon completing any API/DB change, you MUST emit a JSON schema to `d:\VCT PLATFORM\api-contracts\` so other agents can RAG it.
- **SELF_HEALING (3-STRIKES):** If `vct.cmd complete` (Docker Test) fails 3 times, you MUST run `git reset --hard`, mark the task as "FAILED", and cease execution. Do NOT loop infinitely.
- **TELEMETRY_SCHEMA:** You must push your thought logs to `d:\VCT PLATFORM\vct-dashboard\public\.telemetry.json` strictly as a JSON Object `{ "agent": "name", "action": "...", "status": "..." }`.