[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F46Z6MMBQ0AP2ZA5HW5R4X":3,"skill-same:01M7F46Z6MMBQ0AP2ZA5HW5R4X":57},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7F46Z6MMBQ0AP2ZA5HW5R4X","working-on-ops",null,"Hướng dẫn nghiệp vụ dashboard CRM, export, và import dữ liệu trong module ops của backend Cluvix. Dùng skill này KHI đụng report\u002Fdashboard CRM, thêm cột export (`?columns=`), hoặc import khách hàng (migration onboard SAAS client) — đọc trước khi đổi bất kỳ hành vi nào trong các luồng này.","cluvix\u002Fcluvix-crm","cluvix","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F324537109?v=4","01M7F40XX639HYM8HRW4JW1TA5","Cluvix Solutions","01M7F40XYG6YMX0CD0QZNV61K4",21,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002Fcluvix\u002Fcluvix-crm\u002Fblob\u002Fmain\u002Fskill\u002Fskills\u002Fworking-on-ops\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: working-on-ops\ndescription: >-\n  Hướng dẫn nghiệp vụ dashboard CRM, export,\n  và import dữ liệu trong module ops của backend Cluvix. Dùng skill này KHI\n  đụng report\u002Fdashboard CRM, thêm cột export\n  (`?columns=`), hoặc import khách hàng (migration\n  onboard SAAS client) — đọc trước khi đổi\n  bất kỳ hành vi nào trong các luồng này.\n---\n\n# Ops — Dashboard, Export, Import\n\n> `reference\u002Fexport.md` = cơ chế export list (`?_export=1`, colDef core\u002Foptional); (cron\u002Fscheduler đã bỏ 2026-10-17); `reference\u002Fimport.md` = import migration onboard SAAS client một lần.\n\n\n\n## Accountant — đã bỏ\n\nCRM standalone đã xoá module `webapp\u002Faccountant\u002F` (công nợ đơn hàng\u002Fđiều trị\u002Fkhách hàng\u002Fbuổi điều trị, sổ cái, khoá kỳ — D2, xem `bmad\u002Fcrm-standalone\u002Farchitecture.md` §scope) và company (D15). Không còn báo cáo công nợ nào để sửa.\n\n## CRM Dashboard (20 API)\nRoute prefix: `\u002Fdashboard\u002Fcrm\u002F`\n\n### Tài chính\n- `payment-in-month` — doanhSo + doanhThu + thucThu + hoanDV + hoanCoc + so sánh tháng trước\n- `payment-branch-overview` — 7 metrics per branch (1 query, 7 LEFT JOIN subqueries)\n- `marketing-view` — budget + thucThu online + doanhSo online + ROI\n\n### Thống kê nhanh\n- `quick-starts` — customer (month\u002Ftoday) + appointment (today\u002Fcoming) + orderNew + serviceNew\n- `additional-stats` — reminder + customerLead + customerCare + broker + coupon\n\n### Lịch hẹn\n- `compare-appointment` — Lịch hẹn theo ngày tháng này vs tháng trước\n- `appointment-accepted-stats` — Trạng thái đồng ý hôm nay\n- `overview-appointment` — lichHen\u002FdaDen\u002FdongY\u002Fhuy\u002FconLai (unique customer, cached)\n- `report-statistics` — Pie chart is_accepted tháng, top 5 + Khác\n\n### Marketing & Funnel\n- `overview-online` — Tỷ lệ chuyển đổi online (lead→lịch→đến→đồng ý)\n- `estimate-price-marketing` — Chi phí per-action marketing (budget \u002F count)\n- `customer-status-marketing` — Funnel marketing online\n- `status-customer-overview` — Funnel customer status (ticket→lead→hẹn→đến→đồng ý→hoàn thành)\n\n### Charts\n- `report-customer-by-region` — Top 8 tỉnh + Khu vực khác (cached 300s)\n- `overview-service-type-accepted` — Top 3 nhóm DV đồng ý + Khác\n- `overview-chart-source` — Top 5 nguồn KH + Nguồn khác\n- `overview-chart-event` — Top 10 sự kiện + Sự kiện khác\n- `overview-service-type-interest` — Top 10 nhóm DV quan tâm + Khác\n- `service-used-statistics` — Top 10 DV (quantity + revenue) + Dịch vụ khác\n\n## Lưu ý FE\n- Tất cả route GET, response trả raw numbers → FE tự format VND\n- ROI trả float (85.5) → FE thêm `%`\n- `calcTrend`: 0=không đổi, 1=giảm, 2=tăng\n- Chart data: `[{name, value}]` hoặc `[{name, value, itemStyle}]`\n","# Ops — Dashboard, Export, Import\n\n> `reference\u002Fexport.md` = cơ chế export list (`?_export=1`, colDef core\u002Foptional); (cron\u002Fscheduler đã bỏ 2026-10-17); `reference\u002Fimport.md` = import migration onboard SAAS client một lần.\n\n\n\n## Accountant — đã bỏ\n\nCRM standalone đã xoá module `webapp\u002Faccountant\u002F` (công nợ đơn hàng\u002Fđiều trị\u002Fkhách hàng\u002Fbuổi điều trị, sổ cái, khoá kỳ — D2, xem `bmad\u002Fcrm-standalone\u002Farchitecture.md` §scope) và company (D15). Không còn báo cáo công nợ nào để sửa.\n\n## CRM Dashboard (20 API)\nRoute prefix: `\u002Fdashboard\u002Fcrm\u002F`\n\n### Tài chính\n- `payment-in-month` — doanhSo + doanhThu + thucThu + hoanDV + hoanCoc + so sánh tháng trước\n- `payment-branch-overview` — 7 metrics per branch (1 query, 7 LEFT JOIN subqueries)\n- `marketing-view` — budget + thucThu online + doanhSo online + ROI\n\n### Thống kê nhanh\n- `quick-starts` — customer (month\u002Ftoday) + appointment (today\u002Fcoming) + orderNew + serviceNew\n- `additional-stats` — reminder + customerLead + customerCare + broker + coupon\n\n### Lịch hẹn\n- `compare-appointment` — Lịch hẹn theo ngày tháng này vs tháng trước\n- `appointment-accepted-stats` — Trạng thái đồng ý hôm nay\n- `overview-appointment` — lichHen\u002FdaDen\u002FdongY\u002Fhuy\u002FconLai (unique customer, cached)\n- `report-statistics` — Pie chart is_accepted tháng, top 5 + Khác\n\n### Marketing & Funnel\n- `overview-online` — Tỷ lệ chuyển đổi online (lead→lịch→đến→đồng ý)\n- `estimate-price-marketing` — Chi phí per-action marketing (budget \u002F count)\n- `customer-status-marketing` — Funnel marketing online\n- `status-customer-overview` — Funnel customer status (ticket→lead→hẹn→đến→đồng ý→hoàn thành)\n\n### Charts\n- `report-customer-by-region` — Top 8 tỉnh + Khu vực khác (cached 300s)\n- `overview-service-type-accepted` — Top 3 nhóm DV đồng ý + Khác\n- `overview-chart-source` — Top 5 nguồn KH + Nguồn khác\n- `overview-chart-event` — Top 10 sự kiện + Sự kiện khác\n- `overview-service-type-interest` — Top 10 nhóm DV quan tâm + Khác\n- `service-used-statistics` — Top 10 DV (quantity + revenue) + Dịch vụ khác\n\n## Lưu ý FE\n- Tất cả route GET, response trả raw numbers → FE tự format VND\n- ROI trả float (85.5) → FE thêm `%`\n- `calcTrend`: 0=không đổi, 1=giảm, 2=tăng\n- Chart data: `[{name, value}]` hoặc `[{name, value, itemStyle}]`\n",{"name":5,"description":7},"main","ea9f5ed9bd4eaf32e9489bcbe9603955c1462a63","skill\u002Fskills\u002Fworking-on-ops",20,"https:\u002F\u002Fgithub.com\u002Fcluvix\u002Fcluvix-crm","https:\u002F\u002Fgithub.com\u002Fcluvix","cluvixsolutions.com","Cluvix Solutions is a technology outsourcing company specializing in custom software development for growing businesses. We build end-to-end enterprise solution","2026-11-02 19:55:39",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add cluvix\u002Fcluvix-crm --skill working-on-ops",{"tool":39,"command":40},"bunx","bunx skills add cluvix\u002Fcluvix-crm --skill working-on-ops",{"tool":42,"command":43},"pnpm","pnpm dlx skills add cluvix\u002Fcluvix-crm --skill working-on-ops","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcluvix\u002Fcluvix-crm\u002Fblob\u002Fmain\u002Fskill\u002Fskills\u002Fworking-on-ops\u002FSKILL.md",true,[47,53],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"reference\u002Fexport.md","REFERENCE","参考文档",17266,"https:\u002F\u002Fgithub.com\u002Fcluvix\u002Fcluvix-crm\u002Fblob\u002Fmain\u002Fskill\u002Fskills\u002Fworking-on-ops\u002Freference\u002Fexport.md",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"reference\u002Fimport.md",3186,"https:\u002F\u002Fgithub.com\u002Fcluvix\u002Fcluvix-crm\u002Fblob\u002Fmain\u002Fskill\u002Fskills\u002Fworking-on-ops\u002Freference\u002Fimport.md",[58,65,72,79,86,93],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7F47FCP2MP548SWCP0BJ6B1","writing-mysql-migrations","Viết migration MySQL cho Cluvix (golang-migrate, Go + GORM): quy ước timestamp, idempotent ADD\u002FDROP COLUMN, FK constraint thật, decimal tiền, MySQL 9.7 LTS syntax mới\u002Fcũ, và luật CẤM tuyệt đối test\u002Fmigrate chạm DB dev\u002Fprod thật. Dùng skill này TRƯỚC KHI tạo file migration mới, sửa schema, thêm cột\u002FFK, backfill dữ liệu, hoặc trước khi chạy `cmd\u002Fmigrate`\u002Fintegration test đụng tới database — kể cả migration chỉ 1-2 dòng.","https:\u002F\u002Fgithub.com\u002Fcluvix\u002Fcluvix-crm\u002Fblob\u002Fmain\u002Fskill\u002Fskills\u002Fwriting-mysql-migrations\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7F475VEPATD0D8KP8V2HHYV","writing-backend-resources","Hướng dẫn quy trình 6 bước TẠO MỚI resource backend Go (entity, dao, repository, service, handler, router, DTO, module layout) cho ERP Cluvix. Dùng skill này TRƯỚC KHI tạo resource CRUD mới hoặc module mới trong internal\u002Fmodules\u002F, khi cần biết Handler DI\u002FRouter\u002FRepository Reader\u002FDTO pattern chuẩn, hoặc trước khi đụng module service (status filter 2 tầng, cascade, optimistic lock). KHÔNG dùng skill này để debug\u002Fsửa query đang sai — xem debugging-backend-queries cho việc đó.","https:\u002F\u002Fgithub.com\u002Fcluvix\u002Fcluvix-crm\u002Fblob\u002Fmain\u002Fskill\u002Fskills\u002Fwriting-backend-resources\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7F46PPNCK976F4SYWVHXAHC","working-on-hr","Quy tắc và pattern nghiệp vụ HR Cluvix trong CRM standalone: user nội bộ, role\u002FRBAC, đổi\u002Fđặt lại mật khẩu, import user. Dùng skill này KHI làm feature\u002Fsửa bug đụng module hr (chỉ còn `hr\u002Fuser`) — trước khi đọc code.","https:\u002F\u002Fgithub.com\u002Fcluvix\u002Fcluvix-crm\u002Fblob\u002Fmain\u002Fskill\u002Fskills\u002Fworking-on-hr\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7F468VEARVSRRYBJ8VHJSJ3","working-on-crm","Quy tắc và pattern nghiệp vụ CRM Cluvix: khách hàng, lịch hẹn, liệu trình, đơn hàng, thanh toán. Dùng skill này KHI làm feature\u002Fsửa bug đụng module crm (customer, appointment, order, treatment, payment) — trước khi đọc code, để tránh phá vỡ business rule đã có (tái khai thác, customer status IN(...)).","https:\u002F\u002Fgithub.com\u002Fcluvix\u002Fcluvix-crm\u002Fblob\u002Fmain\u002Fskill\u002Fskills\u002Fworking-on-crm\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7F45Y15Q0CBEP06CFF2AAEY","working-on-config","Quy tắc và pattern nghiệp vụ Config Cluvix còn sống trong CRM standalone: mẫu in (print_template), control field trong bảng (control_field_in_table), IndexedDB sync của config. Dùng skill này KHI làm feature\u002Fsửa bug đụng các module đó — trước khi đọc code. Tổng đài\u002Fchữ ký số\u002FAI config đã bỏ (chỉ còn mô tả lịch sử trong skill, KHÔNG áp dụng).","https:\u002F\u002Fgithub.com\u002Fcluvix\u002Fcluvix-crm\u002Fblob\u002Fmain\u002Fskill\u002Fskills\u002Fworking-on-config\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7F45FK4E7YJ0MENAWJT9NGY","testing-backend","Hạ tầng test Go: unit test, integration test với TEST_MYSQL_DSN (MySQL disposable thật, KHÔNG dockertest), FreshTenant helper, HTTP handler test qua httptest, và mutation test (`go test -overlay`) để chứng minh test thật sự neo hành vi. Dùng skill này TRƯỚC KHI viết test mới cho backend Go, khi cần biết cách dựng DB test sạch mỗi lần chạy, trước khi báo một AC dạng phủ định\u002Fmặc định là Done, hoặc trước khi verify build\u002Ftest theo Development Protocol bước 4 (Validate).","https:\u002F\u002Fgithub.com\u002Fcluvix\u002Fcluvix-crm\u002Fblob\u002Fmain\u002Fskill\u002Fskills\u002Ftesting-backend\u002FSKILL.md",[],[]]