[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73BQ8JEFNHVWMHK1GW0KCFS":3,"skill-same:01M73BQ8JEFNHVWMHK1GW0KCFS":73},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":8,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":14,"categories":15,"keywords":16,"publishedAt":17,"linkOnly":18,"markdownContent":19,"markdownBody":20,"frontMatter":21,"refName":34,"commitSha":35,"skillDirectory":36,"forksCount":12,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":39,"install":40,"resources":53},"01M73BQ8JEFNHVWMHK1GW0KCFS","OFFICE_SUITE_MASTER",null,"ngdletrung\u002FJKAI-Zenith","ngdletrung","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F88302940?v=4","01M73BJVV5QJ87R3MC4BXJMWDN","01M73BJVWAAM03TM18QHKRDAMH",0,"MIT","https:\u002F\u002Fgithub.com\u002Fngdletrung\u002FJKAI-Zenith\u002Fblob\u002Fmain\u002Fintelligence\u002Fskills\u002FBUSINESS\u002FOFFICE_SUITE_MASTER\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\naliases_vn:\n- skill zenith office master\n- SKILL_ZENITH_OFFICE_MASTER\nauthor: Zenith Forge Auto\ndomain: CORE\nid: OFFICE_SUITE_MASTER\nintent_pairs:\n- - EXECUTE\n  - OFFICE_SUITE_MASTER\nname_vn: Kỹ năng Office Suite Master\npriority: NORMAL\nrelated_skills: []\nversion: 1.0.0\n---\n\n# Kỹ năng Skill zenith office master\n\n## 📖 TỔNG QUAN\nKỹ năng tự động được đúc bởi Zenith Forge.\n\n## 🛠️ CÁC HÀM CỐT LÕI\n- `__init__`\n- `_get_path`\n- `read_any` — đọc mọi file (docx\u002Fxlsx\u002Fpdf\u002Ftxt) → markdown\n- `write_word` — tạo văn bản Word chuẩn hành chính VN (A4, header\u002Ffooter, markdown→table)\n- `edit_word` — chỉnh sửa file Word có sẵn (replace chuỗi giữ định dạng, append)\n- `write_excel` — tạo bảng Excel chuyên nghiệp (header đậm, số format, autofilter, freeze)\n- `edit_excel` — sửa file Excel có sẵn (set ô, append dòng)\n- `add_chart` — vẽ biểu đồ bar\u002Fline\u002Fpie từ dữ liệu\n- `write_pdf` — tạo PDF A4 hỗ trợ tiếng Việt (font Unicode nhúng)\n- `process_office_mission` — điều phối tác vụ, tự hỏi lại thông tin thiếu\n- `execute_office_task` — entrypoint async\n\n## ⚖️ GIAO THỨC VẬN HÀNH\n- Mọi tác vụ đi qua `process_office_mission(action=..., **kwargs)`.\n- Hành động `auto`\u002F`plan_dossier`\u002F`create_document` với goal mơ hồ sẽ trả `status: need_info` + câu hỏi bổ sung thay vì bịa nội dung.\n- Output được ghi vào `FILES_OUTPUT` (mặc định `workspace\u002Foutputs`).\n- Các action: read, write_word, write_excel, write_pdf, add_chart, edit_word, edit_excel.\n\n## ⚠️ SAI LẦM THƯỜNG GẶP (COMMON PITFALLS)\n- **Word Formatting Destruction:** Việc dùng `.text` trực tiếp trên Paragraph hoặc Cell sẽ làm vỡ định dạng font chữ Times New Roman và in đậm\u002Fmàu chữ của template. BẮT BUỘC phải dùng phương pháp XML Deepcopy dòng và thay thế trên từng Run để giữ nguyên định dạng.\n- **Excel openpyxl insert_rows corruption:** Hàm `insert_rows` của openpyxl không tự động dịch chuyển các ô gộp (`merged_cells`) ở dưới, gây hỏng file Excel khi mở. BẮT BUỘC phải viết hàm phụ trợ duyệt `sheet.merged_cells.ranges` để dịch chuyển thủ công các vùng gộp ô khi chèn dòng.\n- Xem chi tiết hướng dẫn lập trình chuẩn tại tệp tin quy tắc hệ thống: `d:\\Docker\\JKAI\\intelligence\\rules\\rule_Office-GUIDE.md`\n\n","# Kỹ năng Skill zenith office master\n\n## 📖 TỔNG QUAN\nKỹ năng tự động được đúc bởi Zenith Forge.\n\n## 🛠️ CÁC HÀM CỐT LÕI\n- `__init__`\n- `_get_path`\n- `read_any` — đọc mọi file (docx\u002Fxlsx\u002Fpdf\u002Ftxt) → markdown\n- `write_word` — tạo văn bản Word chuẩn hành chính VN (A4, header\u002Ffooter, markdown→table)\n- `edit_word` — chỉnh sửa file Word có sẵn (replace chuỗi giữ định dạng, append)\n- `write_excel` — tạo bảng Excel chuyên nghiệp (header đậm, số format, autofilter, freeze)\n- `edit_excel` — sửa file Excel có sẵn (set ô, append dòng)\n- `add_chart` — vẽ biểu đồ bar\u002Fline\u002Fpie từ dữ liệu\n- `write_pdf` — tạo PDF A4 hỗ trợ tiếng Việt (font Unicode nhúng)\n- `process_office_mission` — điều phối tác vụ, tự hỏi lại thông tin thiếu\n- `execute_office_task` — entrypoint async\n\n## ⚖️ GIAO THỨC VẬN HÀNH\n- Mọi tác vụ đi qua `process_office_mission(action=..., **kwargs)`.\n- Hành động `auto`\u002F`plan_dossier`\u002F`create_document` với goal mơ hồ sẽ trả `status: need_info` + câu hỏi bổ sung thay vì bịa nội dung.\n- Output được ghi vào `FILES_OUTPUT` (mặc định `workspace\u002Foutputs`).\n- Các action: read, write_word, write_excel, write_pdf, add_chart, edit_word, edit_excel.\n\n## ⚠️ SAI LẦM THƯỜNG GẶP (COMMON PITFALLS)\n- **Word Formatting Destruction:** Việc dùng `.text` trực tiếp trên Paragraph hoặc Cell sẽ làm vỡ định dạng font chữ Times New Roman và in đậm\u002Fmàu chữ của template. BẮT BUỘC phải dùng phương pháp XML Deepcopy dòng và thay thế trên từng Run để giữ nguyên định dạng.\n- **Excel openpyxl insert_rows corruption:** Hàm `insert_rows` của openpyxl không tự động dịch chuyển các ô gộp (`merged_cells`) ở dưới, gây hỏng file Excel khi mở. BẮT BUỘC phải viết hàm phụ trợ duyệt `sheet.merged_cells.ranges` để dịch chuyển thủ công các vùng gộp ô khi chèn dòng.\n- Xem chi tiết hướng dẫn lập trình chuẩn tại tệp tin quy tắc hệ thống: `d:\\Docker\\JKAI\\intelligence\\rules\\rule_Office-GUIDE.md`\n\n",{"id":5,"author":22,"domain":23,"name_vn":24,"version":25,"priority":26,"aliases_vn":27,"intent_pairs":30,"related_skills":33},"Zenith Forge Auto","CORE","Kỹ năng Office Suite Master","1.0.0","NORMAL",[28,29],"skill zenith office master","SKILL_ZENITH_OFFICE_MASTER",[31],[32,5],"EXECUTE",[],"main","571327a911ec45873180fd5628525b6d4504ed79","intelligence\u002Fskills\u002FBUSINESS\u002FOFFICE_SUITE_MASTER","https:\u002F\u002Fgithub.com\u002Fngdletrung\u002FJKAI-Zenith","https:\u002F\u002Fgithub.com\u002Fngdletrung","2026-11-08 11:23:33",{"source":7,"skillName":5,"commands":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add ngdletrung\u002FJKAI-Zenith --skill OFFICE_SUITE_MASTER",{"tool":46,"command":47},"bunx","bunx skills add ngdletrung\u002FJKAI-Zenith --skill OFFICE_SUITE_MASTER",{"tool":49,"command":50},"pnpm","pnpm dlx skills add ngdletrung\u002FJKAI-Zenith --skill OFFICE_SUITE_MASTER","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fngdletrung\u002FJKAI-Zenith\u002Fblob\u002Fmain\u002Fintelligence\u002Fskills\u002FBUSINESS\u002FOFFICE_SUITE_MASTER\u002FSKILL.md",true,[54,59,65,69],{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":12,"sourceHtmlUrl":58},"__init__.py","SCRIPT","脚本","https:\u002F\u002Fgithub.com\u002Fngdletrung\u002FJKAI-Zenith\u002Fblob\u002Fmain\u002Fintelligence\u002Fskills\u002FBUSINESS\u002FOFFICE_SUITE_MASTER\u002F__init__.py",{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"dossier.md","REFERENCE","参考文档",4726,"https:\u002F\u002Fgithub.com\u002Fngdletrung\u002FJKAI-Zenith\u002Fblob\u002Fmain\u002Fintelligence\u002Fskills\u002FBUSINESS\u002FOFFICE_SUITE_MASTER\u002Fdossier.md",{"path":66,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":67,"sourceHtmlUrl":68},"logic.py",28873,"https:\u002F\u002Fgithub.com\u002Fngdletrung\u002FJKAI-Zenith\u002Fblob\u002Fmain\u002Fintelligence\u002Fskills\u002FBUSINESS\u002FOFFICE_SUITE_MASTER\u002Flogic.py",{"path":70,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":71,"sourceHtmlUrl":72},"manifest.json",2622,"https:\u002F\u002Fgithub.com\u002Fngdletrung\u002FJKAI-Zenith\u002Fblob\u002Fmain\u002Fintelligence\u002Fskills\u002FBUSINESS\u002FOFFICE_SUITE_MASTER\u002Fmanifest.json",[74,81,87,94,100,106],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":8,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":17},"01M73C2NC1W5P3A0V3GQAJ0SJB","standard_plugin","Hướng dẫn kích hoạt và vận hành cho kỹ năng standard_plugin.","https:\u002F\u002Fgithub.com\u002Fngdletrung\u002FJKAI-Zenith\u002Fblob\u002Fmain\u002Fintelligence\u002Fskills\u002Ftemplates\u002Fstandard_plugin\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":8,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":17},"01M73C2KAN3Q7D5XEBKB3KZW1B","_STANDARD","https:\u002F\u002Fgithub.com\u002Fngdletrung\u002FJKAI-Zenith\u002Fblob\u002Fmain\u002Fintelligence\u002Fskills\u002F_STANDARD\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":8,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":17},"01M73C2HV7KDJQTA6ACCR10HZB","test_dynamic_audit","Thao tác kiểm toán động","https:\u002F\u002Fgithub.com\u002Fngdletrung\u002FJKAI-Zenith\u002Fblob\u002Fmain\u002Fintelligence\u002Fskills\u002FTEST\u002Ftest_dynamic_audit\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":8,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":17},"01M73C2FRG0JHZ6W155V1KCHRP","security-audit","https:\u002F\u002Fgithub.com\u002Fngdletrung\u002FJKAI-Zenith\u002Fblob\u002Fmain\u002Fintelligence\u002Fskills\u002FSECURITY\u002Fsecurity-audit\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":8,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":17},"01M73C2EMWYHFTAR9RSZ41TBGP","security-and-hardening","https:\u002F\u002Fgithub.com\u002Fngdletrung\u002FJKAI-Zenith\u002Fblob\u002Fmain\u002Fintelligence\u002Fskills\u002FSECURITY\u002Fsecurity-and-hardening\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":8,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":17},"01M73C2CV0BQ59NAEWXKBQ370Z","performance-optimization","https:\u002F\u002Fgithub.com\u002Fngdletrung\u002FJKAI-Zenith\u002Fblob\u002Fmain\u002Fintelligence\u002Fskills\u002FSECURITY\u002Fperformance-optimization\u002FSKILL.md",[],[]]