- 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
25 lines
934 B
Markdown
25 lines
934 B
Markdown
---
|
|
name: "SonarQube"
|
|
description: "Tool adapter to execute static analysis scans, verify code quality gates, and patch security hot spots."
|
|
---
|
|
|
|
# Skill: SonarQube
|
|
|
|
## 1. Purpose
|
|
Integrate static analysis checks into the validation workflow to catch bugs, vulnerabilities, code smells, and security violations early.
|
|
|
|
## 2. When to Use
|
|
During quality assurance, before finalizing code and documentation for pull requests.
|
|
|
|
## 3. Preconditions
|
|
* SonarQube scan configuration exists in the repository.
|
|
|
|
## 4. Step-by-Step Checklist
|
|
1. Execute the local static analysis command or SonarQube scanner.
|
|
2. Check reports for:
|
|
- Security Vulnerabilities (e.g. OWASP Top 10 issues, hardcoded keys).
|
|
- Code Smells (e.g. complex methods, redundant imports).
|
|
- Test Coverage percentage (must meet project thresholds, e.g. 80%).
|
|
- Duplicate Lines threshold.
|
|
3. Fix issues exceeding quality gate limits.
|
|
4. Report quality gate status.
|