[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M758VSYP64358H74QX6AQF91":3,"skill-same:01M758VSYP64358H74QX6AQF91":58},{"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":35,"commitSha":36,"skillDirectory":37,"forksCount":38,"repositoryHtmlUrl":39,"repositoryHomepageUrl":40,"ownerHtmlUrl":41,"ownerBlogUrl":6,"ownerDescription":42,"updatedAt":43,"install":44,"resources":57},"01M758VSYP64358H74QX6AQF91","office-document-generation",null,"Use when producing .docx\u002F.pdf\u002F.md deliverables and files.","lukemcqueen\u002Fsteadfaste-fleet","lukemcqueen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F405240?v=4","01M757MHPAGRXTJAT46SKZP98R","Luke McQueen","01M757MHPZ573KP8DT9GB8SBQ7",4,"MIT","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Foffice-document-generation\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: office-document-generation\ndescription: \"Use when producing .docx\u002F.pdf\u002F.md deliverables and files.\"\nversion: 1.0.0\nmetadata:\n  hermes:\n    tags: [docx, pdf, markdown, documents, deliverables, python-docx, fpdf2]\n---\n\n# Office Document Generation (.docx \u002F .pdf \u002F .md)\n\nProduce polished, downloadable document deliverables — reports, briefings, resumes,\njob descriptions, bios — as Word (.docx), PDF, and Markdown, and send the files in chat.\n\n## When to Use\n- The user asks for a document \"as a .docx \u002F .pdf \u002F Word file\".\n- A recurring report or briefing must ship as formatted attachments.\n- Any deliverable where one body of content must exist in several formats.\n\n## Toolchain\n```bash\npython3 -m pip install python-docx fpdf2     # docx + pdf writers\n# poppler's `pdftotext` (usually preinstalled) extracts PDF text for verification\n```\n\n## Procedure\n1. **Define content once, render to every format.** Write one build script (`build_\u003Cname>.py`):\n   the top holds the content as data (title, contact line, sections, bullet lists); the body\n   renders that same data to `.md`, `.docx`, and `.pdf`. Never hand-edit an output — rerun the\n   script so the three formats cannot drift apart.\n2. **DOCX** (`python-docx`): set the `Normal` style font\u002Fmargins and a section-heading helper\n   (bold, colored, bottom rule via a `w:pBdr`\u002F`w:bottom` XML snippet).\n3. **PDF** (`fpdf2`): register a Unicode font first (pitfall 1), then write headings, paragraphs,\n   and bullets. Set an explicit content width once and reuse it.\n4. **Verify by extracting the produced files** (see Verification) — not by trusting the build log.\n5. **Deliver** every file with an absolute `MEDIA:` line in the chat response.\n6. **Governance**: file writes are gated — `begin_change` first; score with real numbers at\n   `end_change` (a bare note may be refused — supply completeness\u002Fquality\u002Fprogress, or an\n   `unscored_reason`).\n\n## Pitfalls\n- **fpdf2 core fonts are Latin-1 only.** An en dash (–), em dash, curly quote, or other non-ASCII\n  character raises `FPDFUnicodeEncodingException` \u002F `UnicodeEncodeError` mid-render. Register a\n  Unicode TTF and use it everywhere:\n  `pdf.add_font(\"DejaVu\", \"\", \"\u002Fusr\u002Fshare\u002Ffonts\u002Ftruetype\u002Fdejavu\u002FDejaVuSans.ttf\")` plus the\n  `-Bold` file for the `\"B\"` style, then `set_font(\"DejaVu\", ...)`. DejaVu ships on most Linux\n  hosts; Ubuntu\u002FNoto TTF work too.\n- **fpdf2 `multi_cell` leaves the cursor mid-line**, so the NEXT cell starts at the wrong x and\n  text truncates or wraps wrongly — symptoms: `Not enough horizontal space to render a single\n  character`, or a line cut down to a few words. Call `pdf.set_x(pdf.l_margin)` before every\n  `multi_cell` (or pass an explicit width). For inline bold within one line, use `pdf.write()`\n  for both runs, then `pdf.ln()`.\n- **Uppercased section headings defeat mixed-case verification.** Headings rendered via `.upper()`\n  (a common docx\u002FPDF section style) will not match a grep for \"Professional Experience\" even when\n  the document is correct. Verify against the UPPERCASED string, or search case-insensitively.\n- **A clean build is not correct content** — always extract and grep the produced file.\n- **Blank-render check**: print byte sizes (a few hundred bytes = empty\u002Ffailed). For transparent\n  PNGs count alpha, not colour — a white mark on transparency looks \"empty\" to a colour test.\n\n## Verification\n- **DOCX**: `\"\\n\".join(p.text for p in Document(path).paragraphs)` — assert each section marker present.\n- **PDF**: `pdftotext file.pdf -` (or pymupdf) — assert each marker present; magic bytes start `%PDF-`.\n- **MD**: read the file and assert markers.\n\n## Delivery in chat\n- One `MEDIA:\u002Fabsolute\u002Fpath\u002Ffile.ext` line per file; reference only files that exist.\n- Telegram: `.png`\u002F`.jpg` arrive as photos; `.docx`, `.pdf`, `.md`, `.svg` arrive as documents.\n","# Office Document Generation (.docx \u002F .pdf \u002F .md)\n\nProduce polished, downloadable document deliverables — reports, briefings, resumes,\njob descriptions, bios — as Word (.docx), PDF, and Markdown, and send the files in chat.\n\n## When to Use\n- The user asks for a document \"as a .docx \u002F .pdf \u002F Word file\".\n- A recurring report or briefing must ship as formatted attachments.\n- Any deliverable where one body of content must exist in several formats.\n\n## Toolchain\n```bash\npython3 -m pip install python-docx fpdf2     # docx + pdf writers\n# poppler's `pdftotext` (usually preinstalled) extracts PDF text for verification\n```\n\n## Procedure\n1. **Define content once, render to every format.** Write one build script (`build_\u003Cname>.py`):\n   the top holds the content as data (title, contact line, sections, bullet lists); the body\n   renders that same data to `.md`, `.docx`, and `.pdf`. Never hand-edit an output — rerun the\n   script so the three formats cannot drift apart.\n2. **DOCX** (`python-docx`): set the `Normal` style font\u002Fmargins and a section-heading helper\n   (bold, colored, bottom rule via a `w:pBdr`\u002F`w:bottom` XML snippet).\n3. **PDF** (`fpdf2`): register a Unicode font first (pitfall 1), then write headings, paragraphs,\n   and bullets. Set an explicit content width once and reuse it.\n4. **Verify by extracting the produced files** (see Verification) — not by trusting the build log.\n5. **Deliver** every file with an absolute `MEDIA:` line in the chat response.\n6. **Governance**: file writes are gated — `begin_change` first; score with real numbers at\n   `end_change` (a bare note may be refused — supply completeness\u002Fquality\u002Fprogress, or an\n   `unscored_reason`).\n\n## Pitfalls\n- **fpdf2 core fonts are Latin-1 only.** An en dash (–), em dash, curly quote, or other non-ASCII\n  character raises `FPDFUnicodeEncodingException` \u002F `UnicodeEncodeError` mid-render. Register a\n  Unicode TTF and use it everywhere:\n  `pdf.add_font(\"DejaVu\", \"\", \"\u002Fusr\u002Fshare\u002Ffonts\u002Ftruetype\u002Fdejavu\u002FDejaVuSans.ttf\")` plus the\n  `-Bold` file for the `\"B\"` style, then `set_font(\"DejaVu\", ...)`. DejaVu ships on most Linux\n  hosts; Ubuntu\u002FNoto TTF work too.\n- **fpdf2 `multi_cell` leaves the cursor mid-line**, so the NEXT cell starts at the wrong x and\n  text truncates or wraps wrongly — symptoms: `Not enough horizontal space to render a single\n  character`, or a line cut down to a few words. Call `pdf.set_x(pdf.l_margin)` before every\n  `multi_cell` (or pass an explicit width). For inline bold within one line, use `pdf.write()`\n  for both runs, then `pdf.ln()`.\n- **Uppercased section headings defeat mixed-case verification.** Headings rendered via `.upper()`\n  (a common docx\u002FPDF section style) will not match a grep for \"Professional Experience\" even when\n  the document is correct. Verify against the UPPERCASED string, or search case-insensitively.\n- **A clean build is not correct content** — always extract and grep the produced file.\n- **Blank-render check**: print byte sizes (a few hundred bytes = empty\u002Ffailed). For transparent\n  PNGs count alpha, not colour — a white mark on transparency looks \"empty\" to a colour test.\n\n## Verification\n- **DOCX**: `\"\\n\".join(p.text for p in Document(path).paragraphs)` — assert each section marker present.\n- **PDF**: `pdftotext file.pdf -` (or pymupdf) — assert each marker present; magic bytes start `%PDF-`.\n- **MD**: read the file and assert markers.\n\n## Delivery in chat\n- One `MEDIA:\u002Fabsolute\u002Fpath\u002Ffile.ext` line per file; reference only files that exist.\n- Telegram: `.png`\u002F`.jpg` arrive as photos; `.docx`, `.pdf`, `.md`, `.svg` arrive as documents.\n",{"name":5,"version":24,"metadata":25,"description":7},"1.0.0",{"hermes":26},{"tags":27},[28,29,30,31,32,33,34],"docx","pdf","markdown","documents","deliverables","python-docx","fpdf2","main","2e6aa8d15ab0a366c90be54f61bf9c6e97015e83","skills\u002Fproductivity\u002Foffice-document-generation",1,"https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet","steadfaste.com","https:\u002F\u002Fgithub.com\u002Flukemcqueen","AI Architect | Building Hermes Cortex: governed multi-agent AI for autonomous software engineering | Enterprise Tech Consultant","2026-11-14 22:33:34",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add lukemcqueen\u002Fsteadfaste-fleet --skill office-document-generation",{"tool":50,"command":51},"bunx","bunx skills add lukemcqueen\u002Fsteadfaste-fleet --skill office-document-generation",{"tool":53,"command":54},"pnpm","pnpm dlx skills add lukemcqueen\u002Fsteadfaste-fleet --skill office-document-generation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Foffice-document-generation\u002FSKILL.md",true,[],[59,67,74,81,88,95],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":66},"01M7DXY4G8NSVB59K8B6S2AQNP","macbook-linux-maintenance","Legacy MacBook Linux fixes: GPU wedge, reboot hang, thermal.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fmacbook-linux-maintenance\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":66},"01M7DXXYJCXFJ3TGB84ZQ8KFE6","governance-regression-triage","Triage a host's governance issues: what changed.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fgovernance-regression-triage\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":66},"01M7DXXSAP1G8FDRJAMXQGBBMK","enforcement-immutability","Use when enforcement files lose their immutable flag.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fenforcement-immutability\u002FSKILL.md",[],[],{"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":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":66},"01M78SSDQVRYX64Y16X32TC0NS","steadfaste-fleet-repo-deploy","Use when committing to the steadfaste-fleet repo.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fsteadfaste-fleet-repo-deploy\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":66},"01M78SS928F3R2RJAYVW4E30CE","steadfaste-fleet-maintenance","Maintain an installed Steadfaste Fleet instance — update both the upstream Hermes Agent and the fleet repo layer, merge diverged histories, sync skills safely, and troubleshoot common issues. Covers the dual-update workflow (hermes update + fleet-update.sh), encrypted brain data backup, mycortex import, and recovery techniques.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fsteadfaste-fleet-maintenance\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":66},"01M78SP1CHW0T0BWE5ZT6JBPX8","fleet-preflight","DEPRECATED alias — merged into survey-before-action (2026-08-20). Load survey-before-action instead; its \"Repo-Specific Pre-Flight\" section covers git search, Hermes boundary, and deployment verification.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Ffleet-preflight\u002FSKILL.md",[],[]]