59 lines
1.6 KiB
Plaintext
59 lines
1.6 KiB
Plaintext
---
|
||
alwaysApply: true
|
||
---
|
||
##########################################
|
||
# Atlas Project Standard Rules v1.0
|
||
# ISO Ref: DevOps-Config-2025
|
||
# Maintainer: Adastra - InfraOps Team
|
||
##########################################
|
||
|
||
## Metadata
|
||
- Template Name : Atlas Project Standard Rules
|
||
- Version : 1.0
|
||
- Maintainer : InfraOps Team
|
||
- Last Updated : 2025-12-14
|
||
|
||
---
|
||
|
||
## Rule Categories
|
||
|
||
### 🔧 Indentation & Spacing
|
||
[ ] CURSOR-001: Gunakan 2 spasi untuk indentation
|
||
[ ] CURSOR-002: Hindari tab, gunakan spasi konsisten
|
||
|
||
### 📂 Naming Convention
|
||
[ ] CURSOR-010: File harus pakai snake_case
|
||
[ ] CURSOR-011: Folder pakai kebab-case
|
||
[ ] CURSOR-012: Config file wajib ada suffix `.conf`
|
||
[ ] CURSOR-013: Script file wajib ada suffix `.sh`
|
||
[ ] CURSOR-014: Log file wajib ada suffix `.log`
|
||
|
||
### 🗂 File Structure
|
||
[ ] CURSOR-020: Semua file harus ada header metadata
|
||
[ ] CURSOR-021: Pisahkan config, script, dan log folder
|
||
[ ] CURSOR-022: Tidak ada file kosong di repo
|
||
|
||
### ✅ Audit & Compliance
|
||
[ ] CURSOR-030: Checklist harus lengkap sebelum commit
|
||
[ ] CURSOR-031: Semua config tervalidasi linting
|
||
[ ] CURSOR-032: Banner branding wajib ada di setiap template
|
||
|
||
### ⚠️ Error Handling
|
||
[ ] CURSOR-040: Log error harus diarahkan ke folder `/logs`
|
||
[ ] CURSOR-041: Tidak ada hardcoded path di script
|
||
[ ] CURSOR-042: Semua service startup diverifikasi
|
||
|
||
---
|
||
|
||
## Compliance Scoring
|
||
- [ ] 100% → Audit Passed
|
||
- [ ] 80–99% → Minor Findings
|
||
- [ ] <80% → Audit Failed
|
||
|
||
---
|
||
|
||
## Notes
|
||
- Semua rule harus dipetakan ke ID unik (CURSOR-XXX).
|
||
- Versi baru wajib update metadata & banner.
|
||
- Checklist ini bisa dipakai lintas project untuk konsistensi.
|