[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74BA776MJ89E62PPRYM24YW":3,"skill-same:01M74BA776MJ89E62PPRYM24YW":80},{"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":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M74BA776MJ89E62PPRYM24YW","doc",null,"Use when the task involves reading, creating, or editing `.docx` documents, especially when formatting or layout fidelity matters; prefer `python-docx` plus the bundled `scripts\u002Frender_docx.py` for visual checks.","CarlosCaPe\u002Foctorato","CarlosCaPe","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F39838249?v=4","01M72WXX4ZRR8MBH1EP1QND2FQ","dataqbs","01M72WXX5NA7YCKRSJ54GW1GQ8",18,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fdoc\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fdoc\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: \"doc\"\ndescription: \"Use when the task involves reading, creating, or editing `.docx` documents, especially when formatting or layout fidelity matters; prefer `python-docx` plus the bundled `scripts\u002Frender_docx.py` for visual checks.\"\n---\n\n\n# DOCX Skill\n\n## When to use\n- Read or review DOCX content where layout matters (tables, diagrams, pagination).\n- Create or edit DOCX files with professional formatting.\n- Validate visual layout before delivery.\n\n## Workflow\n1. Prefer visual review (layout, tables, diagrams).\n   - If `soffice` and `pdftoppm` are available, convert DOCX -> PDF -> PNGs.\n   - Or use `scripts\u002Frender_docx.py` (requires `pdf2image` and Poppler).\n   - If these tools are missing, install them or ask the user to review rendered pages locally.\n2. Use `python-docx` for edits and structured creation (headings, styles, tables, lists).\n3. After each meaningful change, re-render and inspect the pages.\n4. If visual review is not possible, extract text with `python-docx` as a fallback and call out layout risk.\n5. Keep intermediate outputs organized and clean up after final approval.\n\n## Temp and output conventions\n- Use `tmp\u002Fdocs\u002F` for intermediate files; delete when done.\n- Write final artifacts under `output\u002Fdoc\u002F` when working in this repo.\n- Keep filenames stable and descriptive.\n\n## Dependencies (install if missing)\nPrefer `uv` for dependency management.\n\nPython packages:\n```\nuv pip install python-docx pdf2image\n```\nIf `uv` is unavailable:\n```\npython3 -m pip install python-docx pdf2image\n```\nSystem tools (for rendering):\n```\n# macOS (Homebrew)\nbrew install libreoffice poppler\n\n# Ubuntu\u002FDebian\nsudo apt-get install -y libreoffice poppler-utils\n```\n\nIf installation isn't possible in this environment, tell the user which dependency is missing and how to install it locally.\n\n## Environment\nNo required environment variables.\n\n## Rendering commands\nDOCX -> PDF:\n```\nsoffice -env:UserInstallation=file:\u002F\u002F\u002Ftmp\u002Flo_profile_$$ --headless --convert-to pdf --outdir $OUTDIR $INPUT_DOCX\n```\n\nPDF -> PNGs:\n```\npdftoppm -png $OUTDIR\u002F$BASENAME.pdf $OUTDIR\u002F$BASENAME\n```\n\nBundled helper:\n```\npython3 scripts\u002Frender_docx.py \u002Fpath\u002Fto\u002Ffile.docx --output_dir \u002Ftmp\u002Fdocx_pages\n```\n\n## Quality expectations\n- Deliver a client-ready document: consistent typography, spacing, margins, and clear hierarchy.\n- Avoid formatting defects: clipped\u002Foverlapping text, broken tables, unreadable characters, or default-template styling.\n- Charts, tables, and visuals must be legible in rendered pages with correct alignment.\n- Use ASCII hyphens only. Avoid U+2011 (non-breaking hyphen) and other Unicode dashes.\n- Citations and references must be human-readable; never leave tool tokens or placeholder strings.\n\n## Final checks\n- Re-render and inspect every page at 100% zoom before final delivery.\n- Fix any spacing, alignment, or pagination issues and repeat the render loop.\n- Confirm there are no leftovers (temp files, duplicate renders) unless the user asks to keep them.\n\n## Lessons Learned\n\n### LibreOffice footer rendering limitations (2026-03-27)\n**Context:** Generating DOCX with python-docx, rendering to PDF via LibreOffice headless.\n\n1. **PAGE fields created programmatically don't render in footers.**\n   - `fldChar` (BEGIN\u002FSEPARATE\u002FEND) created by python-docx → LibreOffice ignores them in footer paragraphs.\n   - `fldSimple` created by python-docx → same result.\n   - **But** PAGE fields that already exist in the template DOCX → render correctly.\n   - **Fix:** Preserve the original template text box containing the PAGE field. Don't recreate it.\n\n2. **SDT (Structured Document Tags) block subsequent runs in footer paragraphs.**\n   - A `w:sdt` element in a footer paragraph causes LibreOffice to ignore any `w:r` (run) placed after it.\n   - **Fix:** Replace the entire SDT with a plain `w:r` run (copy `w:rPr` from SDT for font matching). Never append runs after an SDT in a footer.\n\n3. **Text box vertical alignment requires per-footer-type calibration.**\n   - `tIns=\"0\"` on `a:bodyPr` removes internal top padding but is not sufficient alone.\n   - `posOffset` (EMU) varies by footer type: regular footers ≠ first-page footers.\n   - **Tested values (client project, anonymized):** regular = -36576 EMU, first_page = 18288 EMU.\n   - **Fix:** Set `tIns=0` on bodyPr, then calibrate `posOffset` per footer type. Verify with pixel comparison (render page → measure Y coordinates).\n\n4. **Flatpak sandbox file visibility.**\n   - `flatpak-spawn --host pdftoppm` writes to the **host** `\u002Ftmp\u002F`, not visible from inside the Flatpak sandbox.\n   - **Fix:** Render to a path inside the user's home directory (visible to both host and sandbox).\n","# DOCX Skill\n\n## When to use\n- Read or review DOCX content where layout matters (tables, diagrams, pagination).\n- Create or edit DOCX files with professional formatting.\n- Validate visual layout before delivery.\n\n## Workflow\n1. Prefer visual review (layout, tables, diagrams).\n   - If `soffice` and `pdftoppm` are available, convert DOCX -> PDF -> PNGs.\n   - Or use `scripts\u002Frender_docx.py` (requires `pdf2image` and Poppler).\n   - If these tools are missing, install them or ask the user to review rendered pages locally.\n2. Use `python-docx` for edits and structured creation (headings, styles, tables, lists).\n3. After each meaningful change, re-render and inspect the pages.\n4. If visual review is not possible, extract text with `python-docx` as a fallback and call out layout risk.\n5. Keep intermediate outputs organized and clean up after final approval.\n\n## Temp and output conventions\n- Use `tmp\u002Fdocs\u002F` for intermediate files; delete when done.\n- Write final artifacts under `output\u002Fdoc\u002F` when working in this repo.\n- Keep filenames stable and descriptive.\n\n## Dependencies (install if missing)\nPrefer `uv` for dependency management.\n\nPython packages:\n```\nuv pip install python-docx pdf2image\n```\nIf `uv` is unavailable:\n```\npython3 -m pip install python-docx pdf2image\n```\nSystem tools (for rendering):\n```\n# macOS (Homebrew)\nbrew install libreoffice poppler\n\n# Ubuntu\u002FDebian\nsudo apt-get install -y libreoffice poppler-utils\n```\n\nIf installation isn't possible in this environment, tell the user which dependency is missing and how to install it locally.\n\n## Environment\nNo required environment variables.\n\n## Rendering commands\nDOCX -> PDF:\n```\nsoffice -env:UserInstallation=file:\u002F\u002F\u002Ftmp\u002Flo_profile_$$ --headless --convert-to pdf --outdir $OUTDIR $INPUT_DOCX\n```\n\nPDF -> PNGs:\n```\npdftoppm -png $OUTDIR\u002F$BASENAME.pdf $OUTDIR\u002F$BASENAME\n```\n\nBundled helper:\n```\npython3 scripts\u002Frender_docx.py \u002Fpath\u002Fto\u002Ffile.docx --output_dir \u002Ftmp\u002Fdocx_pages\n```\n\n## Quality expectations\n- Deliver a client-ready document: consistent typography, spacing, margins, and clear hierarchy.\n- Avoid formatting defects: clipped\u002Foverlapping text, broken tables, unreadable characters, or default-template styling.\n- Charts, tables, and visuals must be legible in rendered pages with correct alignment.\n- Use ASCII hyphens only. Avoid U+2011 (non-breaking hyphen) and other Unicode dashes.\n- Citations and references must be human-readable; never leave tool tokens or placeholder strings.\n\n## Final checks\n- Re-render and inspect every page at 100% zoom before final delivery.\n- Fix any spacing, alignment, or pagination issues and repeat the render loop.\n- Confirm there are no leftovers (temp files, duplicate renders) unless the user asks to keep them.\n\n## Lessons Learned\n\n### LibreOffice footer rendering limitations (2026-03-27)\n**Context:** Generating DOCX with python-docx, rendering to PDF via LibreOffice headless.\n\n1. **PAGE fields created programmatically don't render in footers.**\n   - `fldChar` (BEGIN\u002FSEPARATE\u002FEND) created by python-docx → LibreOffice ignores them in footer paragraphs.\n   - `fldSimple` created by python-docx → same result.\n   - **But** PAGE fields that already exist in the template DOCX → render correctly.\n   - **Fix:** Preserve the original template text box containing the PAGE field. Don't recreate it.\n\n2. **SDT (Structured Document Tags) block subsequent runs in footer paragraphs.**\n   - A `w:sdt` element in a footer paragraph causes LibreOffice to ignore any `w:r` (run) placed after it.\n   - **Fix:** Replace the entire SDT with a plain `w:r` run (copy `w:rPr` from SDT for font matching). Never append runs after an SDT in a footer.\n\n3. **Text box vertical alignment requires per-footer-type calibration.**\n   - `tIns=\"0\"` on `a:bodyPr` removes internal top padding but is not sufficient alone.\n   - `posOffset` (EMU) varies by footer type: regular footers ≠ first-page footers.\n   - **Tested values (client project, anonymized):** regular = -36576 EMU, first_page = 18288 EMU.\n   - **Fix:** Set `tIns=0` on bodyPr, then calibrate `posOffset` per footer type. Verify with pixel comparison (render page → measure Y coordinates).\n\n4. **Flatpak sandbox file visibility.**\n   - `flatpak-spawn --host pdftoppm` writes to the **host** `\u002Ftmp\u002F`, not visible from inside the Flatpak sandbox.\n   - **Fix:** Render to a path inside the user's home directory (visible to both host and sandbox).\n",{"name":5,"description":7},"master","b4414608cd5a3f87d1525b518f1c6add8363540d","skills\u002Fdoc",6,"https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato","https:\u002F\u002Fwww.dataqbs.com\u002Foctorato","https:\u002F\u002Fgithub.com\u002FCarlosCaPe","www.dataqbs.com"," AI-powered data engineering\r\n& consulting\r\n\r\nWe build data platforms that turn complexity into clarity — from cloud architecture and ETL pipelines to AI-driven","2026-11-14 00:21:00",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add CarlosCaPe\u002Foctorato --skill doc",{"tool":41,"command":42},"bunx","bunx skills add CarlosCaPe\u002Foctorato --skill doc",{"tool":44,"command":45},"pnpm","pnpm dlx skills add CarlosCaPe\u002Foctorato --skill doc","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fdoc\u002FSKILL.md",true,[49,55,61,65,70,76],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"agents\u002Fopenai.yaml","REFERENCE","参考文档",271,"https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fdoc\u002Fagents\u002Fopenai.yaml",{"path":56,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":59,"sourceHtmlUrl":60},"assets\u002Fdoc-small.svg","ASSET","资产文件",1678,"https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fdoc\u002Fassets\u002Fdoc-small.svg",{"path":62,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":63,"sourceHtmlUrl":64},"assets\u002Fdoc.png",1211,"https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fdoc\u002Fassets\u002Fdoc.png",{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":16},"LICENSE.txt","LICENSE","许可证",10776,{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"scripts\u002Frender_docx.py","SCRIPT","脚本",9700,"https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fdoc\u002Fscripts\u002Frender_docx.py",{"path":77,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":78,"sourceHtmlUrl":79},"skill.json",321,"https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fdoc\u002Fskill.json",[81,89,97,105,113,121],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":85,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":20},"01M74EVAA4A4B4AKR5TT732GP4","yeet","Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":93,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":20},"01M74EV4WMRDKP2NQS4YWR8PXH","wrangler","Cloudflare Workers CLI for deploying, developing, and managing Workers, KV, R2, D1, Vectorize, Hyperdrive, Workers AI, Containers, Queues, Workflows, Pipelines, and Secrets Store. Load before running wrangler commands to ensure correct syntax and best practices. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fwrangler\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fwrangler\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":101,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":20},"01M74EV05MHTXKEXD4B2QJEYTF","workspace-skill-discovery","Discover and include ALL skills across the workspace — not just global ones. Use at the start of every session or when the user asks about available skills. Ensures project-level skills (under .claude\u002Fskills\u002F or skills\u002F in any repo) are never missed.","MIT","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fworkspace-skill-discovery\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":109,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":20},"01M74ETV78525B4VP2F28Z6NRD","workers-best-practices","Reviews and authors Cloudflare Workers code against production best practices. Load when writing new Workers, reviewing Worker code, configuring wrangler.jsonc, or checking for common Workers anti-patterns (streaming, floating promises, global state, secrets, bindings, observability). Biases towards retrieval from Cloudflare docs over pre-trained knowledge.","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fworkers-best-practices\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fworkers-best-practices\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":117,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":20},"01M74ETR75NF67WGVEN7288ACV","winui-app","Create, build and design WinUI 3 desktop apps with C# and the Windows App SDK following Microsoft's official guidance and CommunityToolkit. Covers XAML, navigation, theming, accessibility and deployment.","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fwinui-app\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fwinui-app\u002FSKILL.md",[],[],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":101,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":20},"01M74ETJFRNPPNSQZ36C6HD6CW","windows-brain-script-portability","Scripts in ~\u002F.claude\u002Fscripts\u002F that run on a Windows brain: use the python3.cmd shim and not bare python3, and reconfigure stdout to UTF-8 if you print symbols. Use it when writing a brain script or triaging a Windows-only crash.","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fwindows-brain-script-portability\u002FSKILL.md",[],[]]