Demo

Prompt Engineering အသုံးပြုခြင်း

Workflow ကို ဦးစားပေးသော Agent Plan ရေးသားပါ — CRUD checklist သက်သက် မဟုတ်ပါ။ HR pre-build prompt ကို ကိုးကားပုံစံအဖြစ် အသုံးပြုပြီး၊ သင့် plugin အတွက် ပြင်ဆင်ပါ။

Prompt အကြံပြုချက်များ

  • Pre-build Prompts → HR Plugins မှ ပုံစံကို ကူးယူပြီး၊ လုပ်ငန်းနယ်ပယ်ကို ပြောင်းပါ
  • အလုပ်တိုင်းတွင် “.agents/skills/quan-erp နှင့် quan-erp-plugins ကို ဦးစွာ ဖတ်ပါ” ဟု တောင်းဆိုပါ
  • Workflow ရလဒ်များ (approve / post / transfer / payroll) ကို တောင်းဆိုပါ — list / create / edit သက်သက် မလက်ခံပါ
  • DB entity class တိုင်းသည် Entity ဖြင့် အဆုံးသတ်ပြီး BaseEntity ကို extend ရပါမည် — entity တိုင်းအတွက် detail props အပြည့် ဖော်ပြပါ
  • Builtin service / entity (Partner၊ User၊ Branch၊ Currency၊ File၊ Notification စသည်) ကို ပြန်လည် အသုံးပြုပါ — ဒေသခံ မိတ္တူ မဖန်တီးပါနှင့်
  • Service ကို domain logic၊ API ကို action၊ Page ကို ops UI (inbox၊ timeline၊ report) အဖြစ် ဖော်ပြပါ
  • Plugin id / folder နှင့် backend၊ frontend သို့မဟုတ် နှစ်ခုလုံး ပါမပါ ရေးပါ — demo လမ်းကြောင်းနှင့် checklist ဖြင့် အဆုံးသတ်ပါ

အကြံပြု plan ပုံစံ (HR မှ)

Agent က အပြည့်အစုံ တည်ဆောက်မှု သဘောတူညီချက် ရရှိစေရန် HR Agent Plan အပိုင်းများကို လိုက်နာပါ။

  • 0. Intro & detail — skill၊ builtin ပြန်သုံးခြင်း၊ အမည်ပေးစည်းမျဉ်းနှင့် CRUD မဟုတ်သော ရလဒ်များ မဖြစ်မနေ
  • 1. Features — workflow ကို ဦးစားပေးသော နံပါတ်တပ် စွမ်းရည်များ
  • 2. Entity — *Entity class များနှင့် detail props အပြည့် (လိုအပ်လျှင် မှတ်တမ်းအလိုက် ကွဲပြားချက်)
  • 3. Service — domain service များ၊ CRUD wrapper မဟုတ်
  • 4. Apis — action endpoint များ (approve၊ change-salary၊ generate payroll စသည်)
  • 5. Dto — action DTO များနှင့် validation စည်းမျဉ်းများ
  • 6. Pages — detail view နှင့် ops မျက်နှာပြင်များ
  • 7. Goal — demo လမ်းကြောင်း၊ register / role checklist နှင့် README ယူဆချက်များ

နမူနာ prompt (HR ပုံစံ starter)

Paste လုပ်၍ စတင်နိုင်သော အတို starter ဖြစ်ပါသည်။ ထို့နောက် Pre-build Prompts → HR အပြည့်အစုံ သို့မဟုတ် သင့်လုပ်ငန်းနယ်ပယ် plan ဖြင့် အစားထိုးပါ။

TSexample prompt
1Read .agents/skills/quan-erp/SKILL.md and quan-erp-plugins first. 2Use the Pre-build Prompts → HR Plugins plan as the reference format. 3 4Build plugins/hr/ as a full people-ops plugin — NOT CRUD only. 5Mandatory: EmployeeDetailEntity dossier; per-employee EmployeeSalaryHistoryEntity 6(different current amount/currency/frequency allowed); LeaveTypeEntity + LeavePolicyEntity 7+ optional EmployeeLeaveEntitlementEntity overrides; AttendanceRecordEntity; 8PayrollRunEntity → PayslipEntity/PayslipLineEntity from each employee's own current salary. 9 10Naming: every DB entity class must end with Entity and extend BaseEntity. 11List full detail props for every entity. Reuse User/Branch/Currency/File/Notification builtins. 12Deliver workflow services + action APIs + ops pages (leave inbox, salary timeline, payroll run). 13Demo: hire two employees with different salaries → leave + attendance → payroll finalize. 14End with registration checklist and README assumptions (leave-day rules, payroll deductions).

Pre-build Prompts အသုံးပြုခြင်း

အသင့်သုံး Agent Plan အပြည့်အစုံအတွက် Build with AI Agent → Pre-build Prompts → HR Plugins ကို ဖွင့်ပြီး prompt ကို ကူးယူကာ Cursor Agent ထဲ paste လုပ်ပါ။ CRM၊ Inventory၊ Accounting နှင့် အခြား domain များအတွက် section ပုံစံတူအောင် ပြင်ဆင်ပါ။

  • HR သည် အပြည့်စုံဆုံး ကိုးကားချက် ဖြစ်ပါသည် (detail၊ salary history၊ leave စည်းမျဉ်း၊ attendance၊ payroll)
  • Domain prompt အသစ် ရေးသည့်အခါ 0–7 section အစီအစဉ်ကို ဆက်လက် ထိန်းသိမ်းပါ
  • “CRUD page ထည့်ပါ” ကဲ့သို့ အတိုတောင်းဆိုမှုထက် Pre-build Prompts ကို ကူးယူအသုံးပြုခြင်းကို ဦးစားပေးပါ