@duckmind/deepquark-darwin-arm64 0.9.83 → 0.9.90

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/.deepquark/skills/bundled/knowledge-graph/SKILL.md +385 -0
  2. package/.deepquark/skills/bundled/knowledge-graph/STANDARDS.md +461 -0
  3. package/.deepquark/skills/bundled/knowledge-graph/lib/cli.ts +588 -0
  4. package/.deepquark/skills/bundled/knowledge-graph/lib/config.ts +630 -0
  5. package/.deepquark/skills/bundled/knowledge-graph/lib/connection-profile.ts +629 -0
  6. package/.deepquark/skills/bundled/knowledge-graph/lib/container.ts +756 -0
  7. package/.deepquark/skills/bundled/knowledge-graph/lib/mcp-client.ts +1310 -0
  8. package/.deepquark/skills/bundled/knowledge-graph/lib/output-formatter.ts +997 -0
  9. package/.deepquark/skills/bundled/knowledge-graph/lib/token-metrics.ts +335 -0
  10. package/.deepquark/skills/bundled/knowledge-graph/lib/transformation-log.ts +137 -0
  11. package/.deepquark/skills/bundled/knowledge-graph/lib/wrapper-config.ts +113 -0
  12. package/.deepquark/skills/bundled/knowledge-graph/server/.env.example +129 -0
  13. package/.deepquark/skills/bundled/knowledge-graph/server/compare-embeddings.ts +175 -0
  14. package/.deepquark/skills/bundled/knowledge-graph/server/config-falkordb.yaml +108 -0
  15. package/.deepquark/skills/bundled/knowledge-graph/server/config-neo4j.yaml +111 -0
  16. package/.deepquark/skills/bundled/knowledge-graph/server/diagnose.ts +483 -0
  17. package/.deepquark/skills/bundled/knowledge-graph/server/docker-compose-falkordb-dev.yml +146 -0
  18. package/.deepquark/skills/bundled/knowledge-graph/server/docker-compose-falkordb.yml +151 -0
  19. package/.deepquark/skills/bundled/knowledge-graph/server/docker-compose-neo4j-dev-local.yml +161 -0
  20. package/.deepquark/skills/bundled/knowledge-graph/server/docker-compose-neo4j-dev.yml +161 -0
  21. package/.deepquark/skills/bundled/knowledge-graph/server/docker-compose-neo4j.yml +169 -0
  22. package/.deepquark/skills/bundled/knowledge-graph/server/docker-compose-production.yml +128 -0
  23. package/.deepquark/skills/bundled/knowledge-graph/server/docker-compose-test.yml +10 -0
  24. package/.deepquark/skills/bundled/knowledge-graph/server/docker-compose.yml +84 -0
  25. package/.deepquark/skills/bundled/knowledge-graph/server/entrypoint.sh +40 -0
  26. package/.deepquark/skills/bundled/knowledge-graph/server/install.ts +2054 -0
  27. package/.deepquark/skills/bundled/knowledge-graph/server/podman-compose-falkordb.yml +78 -0
  28. package/.deepquark/skills/bundled/knowledge-graph/server/podman-compose-neo4j.yml +88 -0
  29. package/.deepquark/skills/bundled/knowledge-graph/server/podman-compose.yml +83 -0
  30. package/.deepquark/skills/bundled/knowledge-graph/server/test-all-llms-mcp.ts +387 -0
  31. package/.deepquark/skills/bundled/knowledge-graph/server/test-embedding-models.ts +201 -0
  32. package/.deepquark/skills/bundled/knowledge-graph/server/test-embedding-providers.ts +641 -0
  33. package/.deepquark/skills/bundled/knowledge-graph/server/test-graphiti-model.ts +217 -0
  34. package/.deepquark/skills/bundled/knowledge-graph/server/test-grok-correct.ts +141 -0
  35. package/.deepquark/skills/bundled/knowledge-graph/server/test-grok-llms-mcp.ts +386 -0
  36. package/.deepquark/skills/bundled/knowledge-graph/server/test-grok-models.ts +173 -0
  37. package/.deepquark/skills/bundled/knowledge-graph/server/test-llama-extraction.ts +188 -0
  38. package/.deepquark/skills/bundled/knowledge-graph/server/test-mcp-final.ts +240 -0
  39. package/.deepquark/skills/bundled/knowledge-graph/server/test-mcp-live.ts +187 -0
  40. package/.deepquark/skills/bundled/knowledge-graph/server/test-mcp-session.ts +127 -0
  41. package/.deepquark/skills/bundled/knowledge-graph/server/test-model-combinations.ts +316 -0
  42. package/.deepquark/skills/bundled/knowledge-graph/server/test-ollama-models.ts +228 -0
  43. package/.deepquark/skills/bundled/knowledge-graph/server/test-openrouter-models.ts +460 -0
  44. package/.deepquark/skills/bundled/knowledge-graph/server/test-real-life-mcp.ts +311 -0
  45. package/.deepquark/skills/bundled/knowledge-graph/server/test-search-debug.ts +199 -0
  46. package/.deepquark/skills/bundled/knowledge-graph/tools/Install.md +104 -0
  47. package/.deepquark/skills/bundled/knowledge-graph/tools/README.md +120 -0
  48. package/.deepquark/skills/bundled/knowledge-graph/tools/knowledge-cli.ts +996 -0
  49. package/.deepquark/skills/bundled/knowledge-graph/tools/server-cli.ts +531 -0
  50. package/.deepquark/skills/bundled/knowledge-graph/workflows/BulkImport.md +514 -0
  51. package/.deepquark/skills/bundled/knowledge-graph/workflows/CaptureEpisode.md +242 -0
  52. package/.deepquark/skills/bundled/knowledge-graph/workflows/ClearGraph.md +392 -0
  53. package/.deepquark/skills/bundled/knowledge-graph/workflows/GetRecent.md +352 -0
  54. package/.deepquark/skills/bundled/knowledge-graph/workflows/GetStatus.md +373 -0
  55. package/.deepquark/skills/bundled/knowledge-graph/workflows/HealthReport.md +212 -0
  56. package/.deepquark/skills/bundled/knowledge-graph/workflows/InvestigateEntity.md +142 -0
  57. package/.deepquark/skills/bundled/knowledge-graph/workflows/OntologyManagement.md +201 -0
  58. package/.deepquark/skills/bundled/knowledge-graph/workflows/RunMaintenance.md +302 -0
  59. package/.deepquark/skills/bundled/knowledge-graph/workflows/SearchByDate.md +255 -0
  60. package/.deepquark/skills/bundled/knowledge-graph/workflows/SearchFacts.md +382 -0
  61. package/.deepquark/skills/bundled/knowledge-graph/workflows/SearchKnowledge.md +374 -0
  62. package/.deepquark/skills/bundled/knowledge-graph/workflows/StixImport.md +212 -0
  63. package/bin/deepquark +0 -0
  64. package/package.json +1 -1
  65. package/.deepquark/skills/bundled/ge-payroll/SKILL.md +0 -153
  66. package/.deepquark/skills/bundled/ge-payroll/evals/evals.json +0 -23
  67. package/.deepquark/skills/bundled/ge-payroll/references/pain-points-improvements.md +0 -106
  68. package/.deepquark/skills/bundled/ge-payroll/references/process-detail.md +0 -217
  69. package/.deepquark/skills/bundled/ge-payroll/references/raci-stakeholders.md +0 -85
  70. package/.deepquark/skills/bundled/ge-payroll/references/timeline-mandays.md +0 -64
@@ -1,153 +0,0 @@
1
- ---
2
- name: ge-payroll
3
- description: |
4
- **GE Payroll Process Expert**: Comprehensive knowledge base and assistant for Golden Elephant (GE) payroll operations. Covers the entire monthly payroll cycle: employee data collection, masterlist management, timesheet processing, BHXH (social insurance) compliance, KPI/COM calculation, salary computation, approval workflow, and staff cost reporting.
5
-
6
- MANDATORY TRIGGERS: payroll, tính lương, chấm công, BHXH, bảo hiểm xã hội, masterlist, C&B, bảng lương, phiếu lương, timesheet, manday, staff cost, KPI/COM, phân bổ CF, cost factor, trích nộp BHXH, thuế TNCN, PIT, quy trình lương, payslip, Golden Elephant, GE payroll, nghiệp vụ lương, compensation & benefits
7
-
8
- Use this skill whenever the user asks about payroll processes, wants to create payroll-related documents (presentations, reports, spreadsheets), needs to understand the GE payroll workflow, wants to analyze pain points and propose improvements, or needs guidance on any step of the monthly payroll cycle. Also trigger when discussing HR operations, employee onboarding/offboarding impacts on payroll, BHXH compliance, or staff cost allocation — even if they don't explicitly mention "payroll".
9
- ---
10
-
11
- # GE Payroll Process - Comprehensive Skill
12
-
13
- You are a payroll operations expert for Golden Elephant (GE). You have deep knowledge of GE's monthly payroll cycle — a process that spans ~14.3 mandays per month across 18 major steps involving 8+ stakeholders.
14
-
15
- ## How to Use This Skill
16
-
17
- This skill gives you two levels of information:
18
-
19
- 1. **This file (SKILL.md)** — The overview, key metrics, process summary, and guidance for common tasks. This should be enough for most questions.
20
- 2. **Reference files** — For detailed step-by-step procedures, pain point analysis, RACI matrix, and automation roadmap. Read these when you need depth:
21
- - `references/process-detail.md` — Full 18-step process with inputs, actions, risks, timing, and automation ideas
22
- - `references/timeline-mandays.md` — Day-by-day timeline with manday breakdown per task
23
- - `references/pain-points-improvements.md` — 10+ pain points, impact analysis, and 3-phase improvement roadmap
24
- - `references/raci-stakeholders.md` — RACI matrix and stakeholder responsibilities
25
-
26
- ## Process Overview
27
-
28
- GE's payroll runs on a **monthly cycle** from day 27 of the previous month to day 17 of the current month:
29
-
30
- ### The 3 Main Phases
31
-
32
- **Phase 1: Thu thập thông tin (Data Collection)** — Day 27 to Day 3
33
- - Collect employee on/off info, update Masterlist
34
- - Gather CF (Cost Factor) allocation from department Heads
35
- - Process BHXH (social insurance) enrollment/withdrawal
36
- - Process timesheets from multiple sources (fingerprint, Excel, Power App, email)
37
- - Calculate KPI/COM/CTV compensation
38
-
39
- **Phase 2: Tính lương (Payroll Calculation)** — Day 2 to Day 3
40
- - Set up payroll form with employee data
41
- - Import timesheet data, verify against Masterlist
42
- - Calculate: base salary, BHXH deductions, KPI/COM/bonus, OT, welfare, PIT
43
- - Double-check net salary vs. previous month
44
-
45
- **Phase 3: Phê duyệt & Chi trả (Approval & Payment)** — Day 5 to Day 10
46
- - C&B Manager review → HRM/BOM approval → F&A/BOM approve base request
47
- - Process payment via e-Banking
48
- - Send payslips, archive records
49
- - Submit BHXH documentation to authorities (Day 12-17)
50
-
51
- ### Key Metrics
52
-
53
- | Metric | Value |
54
- |--------|-------|
55
- | Total mandays/month | 14.3 |
56
- | Process steps | 18 |
57
- | Stakeholders | 8+ (TA, C&B, HRM, BOM, F&A, Head/BU, IT, Kế toán) |
58
- | Cycle | Monthly (Day 27 → Day 17) |
59
- | Legal entities | 7 pháp nhân |
60
- | Major pain points | 10+ |
61
- | Current system | Manual + Excel |
62
-
63
- ### Data Flow
64
-
65
- ```
66
- Inputs → MASTERLIST → Processing → PAYROLL → Outputs
67
-
68
- Inputs: Processing: Outputs:
69
- - Thông tin NV on/off - DSNV Phân bổ NS - PAYMENT SALARY
70
- - Thông tin ký HĐLĐ - DS Chấm công - REPORT STAFF COST
71
- - Các TT nhân sự khác - DS trích BHXH - PIT Declaration
72
- - KPI/COM/CTV/GV - BHXH Report
73
- - OT/Welfare/Add/Deduct - Documentation
74
- ```
75
-
76
- ## Stakeholders Quick Reference
77
-
78
- - **TA (Talent Acquisition)**: Provides new employee info → C&B
79
- - **C&B (Compensation & Benefits)**: Core process owner — runs the entire payroll cycle
80
- - **HRM (HR Manager)**: Approves payroll
81
- - **BOM (Board of Management)**: Final approval
82
- - **F&A (Finance & Accounting)**: Verifies and processes salary payment
83
- - **Head/BU (Department Heads)**: CF allocation, timesheet confirmation, KPI/COM data
84
- - **IT**: Exports attendance raw data from fingerprint system
85
- - **Kế toán (Accountant)**: Provides revenue data for COM calculation
86
- - **Cơ quan BHXH**: Receives enrollment docs, issues C12 for reconciliation
87
- - **NV (Employee)**: Provides personal info, receives payslip
88
-
89
- ## Common Tasks & How to Handle Them
90
-
91
- ### When asked to explain the process
92
- Provide a clear, phased explanation. Start with the overview, then drill into whichever phase the user is asking about. Reference the timeline (read `references/timeline-mandays.md`) for specific dates and effort.
93
-
94
- ### When asked to create a presentation
95
- Use the PPTX skill alongside this one. Structure the deck following GE's established format:
96
- 1. Title + Agenda
97
- 2. Overview with key metrics
98
- 3. Data flow diagram explanation
99
- 4. Detailed phases (with timeline)
100
- 5. Pain points analysis
101
- 6. Improvement roadmap (3 phases: Quick Wins → Strategic → Transformation)
102
- 7. RACI matrix
103
- 8. ROI projections
104
-
105
- ### When asked to analyze pain points or propose improvements
106
- Read `references/pain-points-improvements.md` for the full analysis. The top pain points are:
107
- 1. Incomplete/inaccurate employee info from TA
108
- 2. Late responses from department Heads
109
- 3. Heavily manual processes (Excel-based)
110
- 4. No integrated HRIS system
111
- 5. BHXH/Tax compliance risks from late reporting
112
- 6. Multi-department dependencies creating bottlenecks
113
- 7. Lack of standardized processes across departments
114
- 8. No visibility or tracking dashboard
115
-
116
- ### When asked about compliance (BHXH, Tax)
117
- Read `references/process-detail.md` for BHXH conditions and PIT calculation details. Key rules:
118
- - BHXH eligibility: Must have HĐLĐ + unpaid leave ≤ 14 days/month
119
- - PIT: Determine tax type, NPT deductions per employee
120
- - C12 reconciliation: Monthly comparison with BHXH authority figures
121
- - Late reporting risks: Must file adjustment + explanation to BHXH
122
-
123
- ### When asked to create a report or spreadsheet
124
- Use the XLSX or DOCX skill as appropriate. Common report types:
125
- - Payment Salary (chi trả lương)
126
- - Staff Cost Report (báo cáo chi phí nhân sự per 7 legal entities)
127
- - PIT Declaration (tờ khai thuế TNCN)
128
- - BHXH Report
129
- - Manday tracking report
130
-
131
- ### When asked about automation or HRIS
132
- Read `references/pain-points-improvements.md` for the 3-phase roadmap:
133
- - **Phase 1 (Quick Wins, 1-2 months)**: Validated forms, deadline reminders, standardized templates, basic dashboard
134
- - **Phase 2 (Strategic, 3-6 months)**: Power Automate, unified attendance, Employee Self-Service, offboarding workflow
135
- - **Phase 3 (Transformation, 6-12 months)**: Full HRIS, end-to-end payroll automation, AI analytics
136
-
137
- Expected outcomes: 40-50% time reduction, 80% fewer errors, 100% visibility, ROI in 6-8 months.
138
-
139
- ## Language Notes
140
-
141
- This is a Vietnamese business context. Use Vietnamese terminology naturally when communicating with Vietnamese-speaking users. Key terms:
142
- - Bảng lương = Payroll sheet
143
- - Chấm công = Timesheet/Attendance
144
- - Phiếu lương = Payslip
145
- - Trích nộp BHXH = Social insurance deduction
146
- - Phân bổ CF = Cost factor allocation
147
- - Pháp nhân = Legal entity
148
- - HĐLĐ = Labor contract (Hợp đồng lao động)
149
- - PLHĐ = Contract appendix (Phụ lục hợp đồng)
150
- - Thuế TNCN/PIT = Personal income tax
151
- - NPT = Người phụ thuộc (Dependents for tax deduction)
152
- - CTV = Cộng tác viên (Collaborator/Freelancer)
153
- - GV = Giáo viên (Teacher)
@@ -1,23 +0,0 @@
1
- {
2
- "skill_name": "ge-payroll",
3
- "evals": [
4
- {
5
- "id": 1,
6
- "prompt": "Tôi là C&B mới vào GE, bạn giải thích cho tôi quy trình tính lương hàng tháng gồm những bước gì, ai phụ trách và timeline cụ thể ra sao?",
7
- "expected_output": "Giải thích đầy đủ 3 giai đoạn chính (Thu thập TT → Tính lương → Phê duyệt & Chi trả) với 18 bước, timeline từ ngày 27 đến ngày 17, và stakeholders cho mỗi bước. Nên đề cập 14.3 mandays tổng cộng.",
8
- "files": []
9
- },
10
- {
11
- "id": 2,
12
- "prompt": "Phân tích cho tôi các pain points chính trong quy trình payroll hiện tại của GE và đề xuất lộ trình cải tiến 3 giai đoạn. Tôi muốn output là file markdown chi tiết.",
13
- "expected_output": "File markdown liệt kê 10+ pain points với mô tả, impact, và đề xuất. Roadmap 3 phase: Quick Wins (1-2 tháng), Strategic (3-6 tháng), Transformation (6-12 tháng) với ROI projections.",
14
- "files": []
15
- },
16
- {
17
- "id": 3,
18
- "prompt": "Quy trình trích nộp BHXH trong payroll GE hoạt động như thế nào? Điều kiện tham gia BHXH là gì? Ai chịu trách nhiệm và timeline ra sao?",
19
- "expected_output": "Giải thích chi tiết bước 3 (Trích nộp BHXH): điều kiện (có HĐLĐ + nghỉ KL ≤ 14 ngày), timeline (ngày 27-30 chuẩn bị, 12-15 nộp, 15-17 đối chiếu), quy trình đối chiếu C12, rủi ro báo muộn.",
20
- "files": []
21
- }
22
- ]
23
- }
@@ -1,106 +0,0 @@
1
- # GE Payroll - Pain Points & Improvement Roadmap
2
-
3
- ## 10+ Pain Points Analysis
4
-
5
- ### 1. Thông tin không đầy đủ/chính xác
6
- - **Mô tả**: TA không cung cấp đủ thông tin NV mới, sai line phòng ban/title
7
- - **Impact**: C&B mất thời gian check lại với thuế/BHXH/NH, back lại Head confirm
8
- - **Đề xuất**: Form TTNV có validation, cảnh báo thiếu trường trước khi sync Master data
9
-
10
- ### 2. Head phản hồi không đúng thời hạn
11
- - **Mô tả**: Head không phản hồi đúng thời gian đánh giá HĐLĐ, phân bổ CF trễ
12
- - **Impact**: Phải làm lại báo cáo nhiều lần, điều chỉnh sau kỳ lương
13
- - **Đề xuất**: Hệ thống cảnh báo tự động, deadline workflow với escalation
14
-
15
- ### 3. Quy trình thủ công, mất thời gian
16
- - **Mô tả**: Phân bổ CF nhỏ lẻ từng cá nhân = manual. Collect thông tin qua email dễ miss. Tracking nghỉ phép/OT qua email
17
- - **Impact**: 14.3 mandays/tháng, phần lớn là manual work trên Excel
18
- - **Đề xuất**: Tự động hóa với Power Automate, tích hợp dữ liệu từ nhiều nguồn
19
-
20
- ### 4. Thiếu hệ thống tích hợp (No HRIS)
21
- - **Mô tả**: Khó truy xuất PLHĐ/HĐLĐ. Master data chưa đáp ứng truy xuất. Theo dõi bằng file Excel riêng
22
- - **Impact**: Dữ liệu phân tán, thiếu single source of truth
23
- - **Đề xuất**: HRIS tích hợp, Employee Self-Service Portal
24
-
25
- ### 5. Rủi ro tuân thủ BHXH/Thuế
26
- - **Mô tả**: Nghỉ việc báo muộn → giải trình BHXH. Thay đổi mức lương báo sau kỳ. CTV/GV thay đổi hình thức liên tục
27
- - **Impact**: Phải điều chỉnh tháng kế tiếp, làm hồ sơ giải trình, rủi ro vi phạm
28
- - **Đề xuất**: Quy trình offboarding chặt chẽ, cảnh báo sớm khi có thay đổi
29
-
30
- ### 6. Phụ thuộc nhiều bộ phận
31
- - **Mô tả**: C&B phụ thuộc TA, Head, BU, Kế toán, IT. 8+ stakeholders = nhiều điểm chờ
32
- - **Impact**: Bottleneck khi 1 bộ phận chậm, toàn bộ process bị delay
33
- - **Đề xuất**: SLA rõ ràng, escalation process, dashboard theo dõi tiến độ
34
-
35
- ### 7. Thiếu chuẩn hóa quy trình
36
- - **Mô tả**: Các bộ phận chấm công khác nhau (Excel + Power App + Email + Vân tay). Không có form yêu cầu cụ thể cho nhiều thay đổi
37
- - **Impact**: C&B phải xử lý nhiều format, dễ sai sót
38
- - **Đề xuất**: Chuẩn hóa input/output, single source of truth cho chấm công
39
-
40
- ### 8. Thiếu visibility & tracking
41
- - **Mô tả**: Không biết ai đã phản hồi/chưa. Khó track tiến độ từng bước. Follow up manual qua email
42
- - **Impact**: Mất thời gian follow up, dễ miss deadline
43
- - **Đề xuất**: Dashboard tracking, notification system, KPI metrics
44
-
45
- ### 9. NV Sales Part-time thay đổi hình thức liên tục
46
- - **Mô tả**: CTV/GV thay đổi hình thức làm việc (full-time ↔ part-time ↔ freelancer)
47
- - **Impact**: Cản trở apply công thức COM chung, phải điều chỉnh tay
48
- - **Đề xuất**: Hệ thống tracking loại hình NV với rules tự động
49
-
50
- ### 10. Phân bổ CF quá nhỏ lẻ
51
- - **Mô tả**: 1 cá nhân có thể được phân bổ nhiều CF khác nhau → mỗi CF = 1 dòng riêng trong báo cáo
52
- - **Impact**: Báo cáo cho 7 pháp nhân rất phức tạp, hoàn toàn manual
53
- - **Đề xuất**: Tự động tách dòng CF trong báo cáo
54
-
55
- ---
56
-
57
- ## 3-Phase Improvement Roadmap
58
-
59
- ### Phase 1: Quick Wins (1-2 tháng)
60
- **Effort: Thấp | Impact: Cao**
61
-
62
- 1. Form TTNV có validation tự động
63
- 2. Deadline workflow cho Head (reminder email tự động)
64
- 3. Chuẩn hóa input templates cho tất cả bộ phận
65
- 4. Dashboard tracking cơ bản (ai đã phản hồi/chưa)
66
- 5. SLA rõ ràng cho từng bộ phận (timeline + escalation)
67
-
68
- ### Phase 2: Strategic (3-6 tháng)
69
- **Effort: Trung bình | Impact: Cao**
70
-
71
- 1. Tự động hóa với Power Automate (collect data, send reminders, route approvals)
72
- 2. Tích hợp chấm công unified (1 nguồn duy nhất thay vì 4 nguồn)
73
- 3. Employee Self-Service Portal (NV tự cập nhật thông tin, đăng ký phép/OT)
74
- 4. Quy trình offboarding chặt chẽ trên system
75
- 5. Real-time notification system (approval alerts, deadline warnings)
76
-
77
- ### Phase 3: Transformation (6-12 tháng)
78
- **Effort: Cao | Impact: Rất cao**
79
-
80
- 1. HRIS tích hợp toàn diện
81
- - Single source of truth cho tất cả dữ liệu HR
82
- - Workflow automation end-to-end
83
- - Approval chains tự động
84
- 2. Payroll automation
85
- - Tích hợp với hệ thống chấm công
86
- - Tự động tính toán các khoản phát sinh
87
- - Auto-generate reports cho 7 pháp nhân
88
- 3. Advanced Analytics
89
- - AI-assisted anomaly detection
90
- - Predictive analytics cho budget planning
91
- - Employee cost analytics dashboard
92
-
93
- ---
94
-
95
- ## ROI Projections
96
-
97
- | Metric | Hiện tại | Sau Phase 2 | Sau Phase 3 |
98
- |--------|----------|-------------|-------------|
99
- | Mandays/tháng | 14.3 | ~7 | ~4 |
100
- | Tỷ lệ sai sót | Cao | Giảm 60% | Giảm 80% |
101
- | Visibility | Thấp | 80% | 100% |
102
- | Compliance risk | Cao | Trung bình | Thấp |
103
- | Employee experience | Thấp | Trung bình | Cao |
104
-
105
- **Tiết kiệm mandays/năm**: ~84 mandays (sau Phase 2), ~120 mandays (sau Phase 3)
106
- **ROI ước tính**: Hoàn vốn sau 6-8 tháng triển khai Phase 1 & 2
@@ -1,217 +0,0 @@
1
- # GE Payroll - Chi tiết quy trình 18 bước
2
-
3
- ## Table of Contents
4
- 1. [Bước 1.1: Thông tin NV on/off](#bước-11-thông-tin-nv-onoff)
5
- 2. [Bước 1.2: Thông tin ký HĐLĐ](#bước-12-thông-tin-ký-hđlđ)
6
- 3. [Bước 1.3: Các thông tin khác](#bước-13-các-thông-tin-khác)
7
- 4. [Bước 2: Thu thập CF từ Head](#bước-2-thu-thập-cf-từ-head)
8
- 5. [Bước 3: Trích nộp BHXH](#bước-3-trích-nộp-bhxh)
9
- 6. [Bước 4: KPI/COM/CTV](#bước-4-kpicomctv)
10
- 7. [Bước 5: Chấm công (Timesheet)](#bước-5-chấm-công)
11
- 8. [Bước 6: Set up & Tính lương](#bước-6-set-up--tính-lương)
12
- 9. [Bước 7: Phê duyệt & Chi trả](#bước-7-phê-duyệt--chi-trả)
13
- 10. [Bước 8: Báo cáo](#bước-8-báo-cáo)
14
-
15
- ---
16
-
17
- ## Bước 1.1: Thông tin NV on/off
18
-
19
- ### Nhân viên mới (Onboarding)
20
- - **Input**: TA gửi Form TTNV (thông tin nhân viên)
21
- - **Actions**:
22
- - C&B nhận thông tin từ TA, check đầy đủ/chính xác
23
- - Nhập liệu vào file Masterlist
24
- - Cross-check với thuế/BHXH/Ngân hàng
25
- - **Pain points**:
26
- - TA không cung cấp đầy đủ thông tin → C&B mất thời gian check lại
27
- - TA xác định sai line phòng ban/title → phải back lại với Head để confirm
28
- - **Artifact**: Form TTNV, File TTNV chi tiết
29
- - **Automation idea**: Form TTNV có validation, cảnh báo thiếu trường trước khi sync vào Master data
30
-
31
- ### Nhân viên nghỉ việc (Offboarding)
32
- - **Input**: Email xin nghỉ có xác nhận của trưởng bộ phận; thông tin từ đánh giá tái ký HĐLĐ; lay-off
33
- - **Actions**:
34
- - C&B nhận thông tin → nhập file theo dõi Masterlist
35
- - Gửi hướng dẫn bàn giao cho NV (trước 7 ngày so với ngày làm việc cuối)
36
- - Follow bàn giao → bàn giao chưa hoàn tất = không thanh toán lương tháng đó
37
- - **Pain points**:
38
- - Thông tin đến từ nhiều nguồn → collect & xác minh mất thời gian
39
- - Phát sinh báo muộn → chi trả sai trên bảng lương
40
- - **Automation idea**: Offboarding trên system, NV đăng ký trên hệ thống, Head duyệt, cảnh báo bàn giao
41
-
42
- ---
43
-
44
- ## Bước 1.2: Thông tin ký HĐLĐ
45
-
46
- - **Input**: Email phản hồi đánh giá (đính kèm form đánh giá)
47
- - **Timing**: 30-45 ngày trước ngày hết hạn HĐ
48
- - **Actions**:
49
- - C&B lọc thông tin đến hạn hợp đồng → gửi Head đánh giá
50
- - Nhận phản hồi → nhập thông tin hợp đồng mới vào Master
51
- - HĐLĐ mới và PLHĐ hoàn thiện sau kỳ lương
52
- - **Pain points**:
53
- - Head không phản hồi đúng thời gian → điều chỉnh sau kỳ lương
54
- - Truy xuất PLHĐ/HĐLĐ khó khăn, theo dõi bằng Excel riêng
55
- - **Artifact**: Form đánh giá tái ký HĐLĐ
56
- - **Automation idea**: Workflow tự động lọc NV đến hạn, gửi đánh giá cho Head, cảnh báo deadline, lưu vết lịch sử
57
-
58
- ---
59
-
60
- ## Bước 1.3: Các thông tin khác
61
-
62
- - **Input**: Email yêu cầu từ NV, Email điều chỉnh phúc lợi từ Head (phê duyệt bởi BOM)
63
- - **Actions**:
64
- - C&B check email → lọc thông tin thay đổi → update Master
65
- - Đảm bảo phê duyệt từ Head/BOM cho mọi thay đổi
66
- - Check comply với luật và chính sách công ty, tư vấn Head nếu cần
67
- - **Pain points**:
68
- - Gửi qua email → dễ miss thông tin
69
- - Phản hồi sau kỳ lương → phải điều chỉnh kỳ kế tiếp
70
- - **Automation idea**: Employee Self-Service portal, validation tự động, workflow duyệt tăng lương adhoc, lưu vết thay đổi
71
-
72
- ---
73
-
74
- ## Bước 2: Thu thập CF từ Head
75
-
76
- - **Timing**: Ngày 28 đến ngày 2 tháng sau
77
- - **Input**: Head các bộ phận
78
- - **Actions**:
79
- - C&B lọc DS NV làm việc trong tháng từ Masterlist
80
- - Tách từng bộ phận → gửi Head điền phân bổ sản phẩm/CF
81
- - Check kết quả, tư vấn nếu có sai sót
82
- - **Pain points**:
83
- - Head phản hồi không đúng thời gian, apply thông tin tháng trước rồi lại thay đổi → làm lại báo cáo nhiều lần
84
- - Thông tin thay đổi hàng tháng → mất thời gian nhặt từng người
85
- - Phân bổ nhỏ lẻ từng CF cho cá nhân → manual rất mất thời gian
86
- - **Mandays**: 0.5
87
- - **Artifact**: File phân bổ CF
88
- - **Automation idea**: Lọc tự động, gửi yêu cầu đến Head, cảnh báo deadline
89
-
90
- ---
91
-
92
- ## Bước 3: Trích nộp BHXH
93
-
94
- - **Timing**: Ngày 27-30 (chuẩn bị); Ngày 12-15 (nộp hồ sơ); Ngày 15-17 (đối chiếu)
95
- - **Input**: Masterlist
96
- - **Actions**:
97
- 1. Lọc NV đủ điều kiện tham gia BHXH trong tháng
98
- - Điều kiện: Có ký HĐLĐ + Nghỉ KL không quá 14 ngày/tháng
99
- 2. Chuẩn bị thông tin báo tăng/giảm (1.0 manday)
100
- 3. Lập DS theo form gửi BHXH qua phần mềm (dùng CCCD, số sổ BHXH, thông tin cư trú)
101
- 4. Theo dõi kết quả phản hồi từ Cơ quan BHXH
102
- 5. Đối chiếu số tiền trích nộp với C12 (0.5 manday)
103
- 6. Giải trình chênh lệch (do báo tăng/giảm muộn)
104
- - **Pain points**:
105
- - Nghỉ việc không báo/báo muộn → giải trình BHXH
106
- - Thay đổi mức lương báo sau kỳ → điều chỉnh tháng kế tiếp
107
- - **Mandays**: 2.0 (báo tăng/giảm: 1.0, đối chiếu C12: 0.5, nộp hồ sơ: 0.5)
108
- - **Automation idea**: Lập DS tự động từ Masterlist, xuất theo form BHXH, lưu trữ quá trình đóng, cảnh báo sai mức trích
109
-
110
- ---
111
-
112
- ## Bước 4: KPI/COM/CTV
113
-
114
- - **Timing**: Ngày 2
115
- - **Mandays**: 2.3
116
-
117
- ### Trường hợp C&B trực tiếp tính COM
118
- - **Input**: Doanh thu từ Kế toán, thông tin từ BU
119
- - **Actions**:
120
- - Set up bảng tính KPI/COM mới, cập nhật công thức
121
- - Tính KPI/COM theo công thức chính sách
122
- - Gửi Head confirm, điều chỉnh nếu cần
123
- - **Pain points**:
124
- - Không follow scheme → phải điều chỉnh tay
125
- - BU miss thông tin không báo C&B
126
- - NV sales Part-time thay đổi hình thức liên tục → khó apply công thức chung
127
-
128
- ### Trường hợp C&B không trực tiếp tính
129
- - Follow BU có COM/KPI → collect thông tin → double check hard-copy
130
-
131
- ### Thù lao CTV/GV
132
- - Follow BU gửi thù lao → check HĐ CTV, CCCD → tổng hợp file chung
133
-
134
- ---
135
-
136
- ## Bước 5: Chấm công
137
-
138
- - **Timing**: Ngày 29 đến ngày 2
139
- - **Mandays**: 6.0 (chiếm nhiều nhất)
140
-
141
- ### Chấm công lần 1 (Ngày 29-1)
142
- - IT xuất dữ liệu in/out từ máy chấm vân tay
143
- - C&B kết hợp: máy CC + Excel bộ phận + email nghỉ phép
144
- - Chuẩn bị file CC mới (check headcount), tổng hợp phép tồn, OT
145
- - Xuất & check raw data → tổng hợp lên bảng CC chung toàn công ty
146
- - Xử lý raw data → gửi xác nhận cho NV/Head
147
-
148
- ### Gửi xác nhận (Ngày 1-2)
149
- - Gửi thông tin CC cho NV bổ sung
150
- - Collect bổ sung qua mail/Power App
151
-
152
- ### Chấm công lần 2 - Final
153
- - Chỉnh sửa theo bổ sung → final CC
154
- - Release 2 dạng:
155
- - Dạng đường lưới: theo yêu cầu BHXH
156
- - Dạng danh sách: format tính lương
157
-
158
- ### Theo dõi ngày phép
159
- - C&B tracking email nghỉ phép → nhập file theo dõi → tính phép tồn
160
- - Phép tồn chi trả khi NV nghỉ việc
161
-
162
- ### Thông tin OT
163
- - C&B tracking email request OT đã được Head duyệt
164
-
165
- ---
166
-
167
- ## Bước 6: Set up & Tính lương
168
-
169
- - **Timing**: Ngày 1-3
170
- - **Mandays**: 3.5
171
-
172
- ### Set up bảng lương
173
- - Bổ sung NV mới, update thông tin mới
174
- - Import thông tin CC vào bảng lương
175
- - Double check NV on/off, nghỉ chế độ, số lượng NV
176
-
177
- ### Tính lương - Các thành phần
178
- 1. **BHXH & Công đoàn**: Đối chiếu trích nộp trên bảng lương vs bảng theo dõi BHXH (0.8 manday)
179
- 2. **KPI/COM/Bonus**: Import thu nhập khác ngoài lương
180
- 3. **OT**: Tính chi phí OT
181
- 4. **Welfare/Phép/Trợ cấp**: Các khoản phát sinh
182
- 5. **CTV/GV**: Import thông tin lương
183
- 6. **PIT (Thuế TNCN)**: Xác định loại thuế, giảm trừ NPT
184
- 7. **Double check**: So sánh net tháng này vs tháng trước
185
-
186
- ---
187
-
188
- ## Bước 7: Phê duyệt & Chi trả
189
-
190
- - **Timing**: Ngày 5-10
191
- - **Mandays**: 1.5
192
-
193
- 1. C&B Manager kiểm tra bảng lương
194
- 2. HRM/BOM phê duyệt
195
- 3. F&A/BOM phê duyệt Base Request
196
- 4. Chi lương qua e-Banking
197
- 5. Gửi phiếu lương cho NV
198
- 6. Lưu hồ sơ
199
-
200
- ---
201
-
202
- ## Bước 8: Báo cáo
203
-
204
- - **Timing**: Ngày 4
205
- - **Mandays**: 2.3
206
-
207
- - Set up bảng báo cáo mới: update CF, tỷ lệ phân bổ (0.8)
208
- - Import thông tin: tách dòng dữ liệu chạy công thức (0.6)
209
- - Phân báo cáo về 7 pháp nhân (0.3)
210
- - Kiểm tra số liệu báo cáo (0.6)
211
-
212
- ### Outputs
213
- - Payment Salary
214
- - Report Staff Cost (per legal entity)
215
- - PIT Declaration
216
- - BHXH Report
217
- - Documentation/Archives
@@ -1,85 +0,0 @@
1
- # GE Payroll - RACI Matrix & Stakeholder Map
2
-
3
- ## Legend
4
- - **R** = Responsible (thực hiện)
5
- - **A** = Accountable (chịu trách nhiệm)
6
- - **C** = Consulted (tham vấn)
7
- - **I** = Informed (được thông báo)
8
-
9
- ## RACI Matrix
10
-
11
- | Bước | C&B | TA | Head/BU | HRM | BOM | F&A | IT | Kế toán | BHXH | NV |
12
- |------|-----|----|---------|-----|-----|-----|----|---------|----- |----|
13
- | 1.1 NV mới - Thu thập TT | R/A | R | C | I | I | - | - | - | - | C |
14
- | 1.1 NV nghỉ việc | R/A | I | C | I | I | - | - | - | - | R |
15
- | 1.2 Đánh giá ký HĐLĐ | R/A | - | R | C | A | - | - | - | - | I |
16
- | 1.3 Thay đổi TT khác | R/A | - | C | C | A | - | - | - | - | R |
17
- | 2. Phân bổ CF | R/A | - | R | I | I | I | - | - | - | - |
18
- | 3. Trích nộp BHXH | R/A | - | - | I | I | - | - | - | C | I |
19
- | 4.1 KPI/COM (C&B tính) | R/A | - | C | I | I | - | - | C | - | I |
20
- | 4.2 KPI/COM (BU tính) | A | - | R | I | I | - | - | C | - | I |
21
- | 4.3 Thù lao CTV/GV | R/A | - | R | I | I | - | - | - | - | I |
22
- | 5.1 Chấm công lần 1 | R/A | - | C | - | - | - | R | - | - | I |
23
- | 5.2 CC - Xác nhận NV | R/A | - | C | - | - | - | - | - | - | R |
24
- | 5.3 Chấm công lần 2 | R/A | - | I | - | - | - | - | - | - | I |
25
- | 5.4 Theo dõi phép/OT | R/A | - | A | - | - | - | - | - | - | R |
26
- | 6. Set up bảng lương | R/A | - | - | I | I | - | - | - | - | - |
27
- | 7. Tính lương | R/A | - | - | I | I | - | - | - | - | - |
28
- | 8. C&B Manager review | A | - | - | R | - | - | - | - | - | - |
29
- | 9. HRM/BOM phê duyệt | I | - | - | R | A | - | - | - | - | - |
30
- | 10. F&A phê duyệt BR | I | - | - | - | A | R | - | - | - | - |
31
- | 11. Chi lương | I | - | - | - | I | R/A | - | - | - | I |
32
- | 12. Gửi payslip | R/A | - | - | I | I | - | - | - | - | I |
33
- | 13. Nộp hồ sơ BHXH | R/A | - | - | I | - | - | - | - | R | - |
34
- | 14. Đối chiếu C12 | R/A | - | - | I | - | - | - | - | C | - |
35
- | 15. Báo cáo Staff Cost | R/A | - | - | I | I | I | - | I | - | - |
36
-
37
- ## Stakeholder Detail
38
-
39
- ### C&B (Compensation & Benefits) — Process Owner
40
- - Central role in the entire payroll process
41
- - Responsible for 90%+ of tasks
42
- - Directly manages Masterlist, payroll calculation, BHXH filing
43
- - Key bottleneck: everything flows through C&B
44
-
45
- ### TA (Talent Acquisition)
46
- - Provides new hire information
47
- - Critical quality gate: accuracy of employee data
48
- - Pain point: incomplete/inaccurate data hand-off
49
-
50
- ### Head/BU (Department Heads)
51
- - Approve evaluations, confirm timesheets
52
- - Provide CF allocation, KPI/COM data
53
- - Pain point: often late in responding
54
-
55
- ### HRM (HR Manager)
56
- - Reviews and approves payroll before final sign-off
57
- - Escalation point for policy questions
58
-
59
- ### BOM (Board of Management)
60
- - Final approval authority for payroll and policy changes
61
- - Approves benefit adjustments, salary changes
62
-
63
- ### F&A (Finance & Accounting)
64
- - Verifies payment requests (Base Request)
65
- - Processes actual salary payment via e-Banking
66
- - Receives Staff Cost reports
67
-
68
- ### IT
69
- - Exports raw attendance data from fingerprint systems
70
- - Supports system integrations
71
-
72
- ### Kế toán (Accountant)
73
- - Provides confirmed revenue data for COM calculation
74
- - Receives staff cost allocation reports per legal entity
75
-
76
- ### Cơ quan BHXH (Social Insurance Authority)
77
- - External stakeholder
78
- - Receives enrollment/withdrawal documents
79
- - Issues C12 for reconciliation
80
- - May request explanations for discrepancies
81
-
82
- ### NV (Employees)
83
- - Provide personal information, leave/OT requests
84
- - Confirm attendance data
85
- - Receive payslips
@@ -1,64 +0,0 @@
1
- # GE Payroll - Timeline & Mandays Breakdown
2
-
3
- ## Monthly Timeline
4
-
5
- | Ngày | Công việc chính | Người thực hiện | Mandays | Ghi chú |
6
- |------|----------------|-----------------|---------|---------|
7
- | 27 | Chuẩn bị file phân bổ CF | C&B | 0.5 | Gửi Head điền |
8
- | 28 | BHXH: Báo tăng/giảm | C&B | 1.0 | Chuẩn bị DS |
9
- | 28 | BHXH: Đối chiếu C12 | C&B | 0.5 | Đối chiếu BHXH |
10
- | 29 | CC: Chuẩn bị TT chấm công/nghỉ phép | C&B | 0.4 | Gửi quản lý xác nhận |
11
- | 29 | CC: Chuẩn bị file CC mới tháng | C&B | 0.4 | Check headcount |
12
- | 29 | CC: Tổng hợp nghỉ phép | C&B | 0.3 | Theo dõi phép tồn |
13
- | 29 | CC: Tổng hợp OT | C&B | 0.3 | |
14
- | 30 | CC: Xuất & check raw data | C&B, IT | 0.6 | Máy vân tay, Power App, email |
15
- | 30 | CC: Tổng hợp CC bộ phận lên bảng chung | C&B | 0.4 | |
16
- | 30 | CC: Xử lý raw data gửi xác nhận | C&B | 0.6 | |
17
- | 30 | CC: Collect xác nhận từ NV | C&B | 0.3 | |
18
- | 30 | CC: Xuất lại dữ liệu sau bổ sung | C&B | 0.1 | |
19
- | 1 | CC: Xử lý lại dữ liệu (tổng hợp + check) | C&B | 0.6 | Check on/off, phép, công chuẩn |
20
- | 1 | CC: Gửi CC lần 2 cho NV | C&B | 0.4 | |
21
- | 1 | Set up form bảng lương mới | C&B | 0.5 | Bổ sung NV mới |
22
- | 1 | Import CC vào bảng lương, double check | C&B | 0.5 | |
23
- | 1 | Double check BHXH & CĐ trên bảng lương | C&B | 0.8 | |
24
- | 2 | Set up KPI/COM mới | C&B | 0.5 | Cập nhật công thức |
25
- | 2 | Tính KPI/COM | C&B | 0.8 | |
26
- | 2 | Gửi KPI/COM cho BU check | C&B | 0.3 | |
27
- | 2 | Follow BU collect KPI/COM (ko tính trực tiếp) | C&B | 0.4 | |
28
- | 2 | Thù lao CTV: collect, check HĐ, CCCD | C&B | 0.4 | |
29
- | 3 | Import KPI/COM vào bảng lương | C&B | 0.3 | |
30
- | 3 | Tính OT | C&B | 0.3 | |
31
- | 3 | Tính welfare, phép, trợ cấp | C&B | 0.3 | |
32
- | 3 | Import lương CTV/GV | C&B | 0.4 | |
33
- | 3 | Kiểm tra bảng lương lần cuối | C&B | 0.6 | |
34
- | 4 | Set up báo cáo: update CF, tỷ lệ phân bổ | C&B | 0.8 | |
35
- | 4 | Import TT: tách dòng chạy công thức | C&B | 0.6 | |
36
- | 4 | Phân báo cáo 7 pháp nhân | C&B | 0.3 | |
37
- | 4 | Kiểm tra số liệu báo cáo | C&B | 0.6 | |
38
- | 5-7 | Phê duyệt & Chi lương | HRM, BOM, F&A | 1.0 | |
39
- | 10 | Gửi phiếu lương, lưu hồ sơ | C&B | 0.5 | Payslip |
40
- | 12-15 | Nộp hồ sơ BHXH | C&B | 0.5 | Cơ quan BHXH |
41
- | 15-17 | Đối chiếu BHXH với C12 | C&B | 0.3 | Giải trình |
42
-
43
- ## Mandays Summary by Phase
44
-
45
- | Giai đoạn | Mandays | % Tổng |
46
- |-----------|---------|--------|
47
- | Tỷ lệ CF & BHXH (Ngày 27-28) | 2.0 | 14% |
48
- | Timesheet & Set up (Ngày 29 - Ngày 1) | 6.0 | 42% |
49
- | Tính COM/KPI, CTV (Ngày 2) | 2.3 | 16% |
50
- | Payroll (Ngày 3) | 1.8 | 13% |
51
- | Báo cáo (Ngày 4) | 2.3 | 16% |
52
- | **TỔNG** | **14.3** | **100%** |
53
-
54
- Note: Phê duyệt & chi trả (1.5 mandays) tính riêng vì phụ thuộc vào schedule của HRM/BOM/F&A.
55
-
56
- ## Critical Path
57
-
58
- The bottleneck is **Timesheet processing** (6.0 mandays = 42% of total effort). This is because:
59
- - Multiple data sources (fingerprint, Excel, Power App, email)
60
- - Two rounds of attendance checking
61
- - Employee confirmation loop
62
- - Manual data consolidation across departments
63
-
64
- Second bottleneck: **Báo cáo** (2.3 mandays) due to splitting across 7 legal entities with manual CF allocation per individual.