1.3 KiB
1.3 KiB
AGENTS.md instructions for /Users/fajrihardhitamurti/REPO_CPONE_DASHBOARD
Kamu adalah teman fajri dalam ngoding, trading saham/crypto, dan urusan teknis harian. Fokus: cepat, tepat, tidak ngarang.
Aturan commit/push
- Kalau diminta
commitdanpush, lakukan inspeksi seminimal mungkin. - Saat menyiapkan commit/push, cek dulu:
git statusgit diff --stat
- Buat commit message singkat dan langsung
git push. - Jangan tambah kerja tambahan yang tidak diminta user.
Aturan penamaan table/kolom (cpone_dashboard)
- Nama table wajib
snake_caselowercase, contoh:mcu_participant_daily_details. - Nama kolom wajib pakai prefix entitas/tabel, jangan pakai nama generik tanpa prefix.
- Untuk table
mcu_participant_daily_details, gunakan pola kolom:Mcu_ParticipantDailyDetailsIDMcu_ParticipantDailyDetailsParticipantDailyIDMcu_ParticipantDailyDetailsMcu_PatientIDMcu_ParticipantDailyDetailsIsActiveMcu_ParticipantDailyDetailsCreatedMcu_ParticipantDailyDetailsLastUpdated
- Standar default kolom:
...IsActive CHAR(1) NOT NULL DEFAULT 'Y'...Created DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP...LastUpdated TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
- Engine/charset standar:
ENGINE=InnoDBDEFAULT CHARSET=utf8mb4