[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C1D8ER2XZNGV9P1C8F59GR":3,"skill-same:01M7C1D8ER2XZNGV9P1C8F59GR":51},{"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":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":33,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M7C1D8ER2XZNGV9P1C8F59GR","writer",null,"Document creation, format conversion (ODT\u002FDOCX\u002FPDF), mail merge, and automation with LibreOffice Writer.","YYC-Cube\u002FYYC3-Knowledge-Base","YYC-Cube","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F235006543?v=4","01M79J2PH4SWD2X0825X6PN748","yyc3","01M79J2PHVK3F6ZBYT8K2SCZCW",1,"MIT","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fplugins\u002Fantigravity-awesome-skills-claude\u002Fskills\u002Flibreoffice\u002Fwriter\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: writer\ndescription: \"Document creation, format conversion (ODT\u002FDOCX\u002FPDF), mail merge, and automation with LibreOffice Writer.\"\ncategory: document-processing\nrisk: safe\nsource: personal\ndate_added: \"2026-02-27\"\n---\n\n# LibreOffice Writer\n\n## Overview\n\nLibreOffice Writer skill for creating, editing, converting, and automating document workflows using the native ODT (OpenDocument Text) format.\n\n## When to Use This Skill\n\nUse this skill when:\n- Creating new documents in ODT format\n- Converting documents between formats (ODT \u003C-> DOCX, PDF, HTML, RTF, TXT)\n- Automating document generation workflows\n- Performing batch document operations\n- Creating templates and standardized document formats\n\n## Core Capabilities\n\n### 1. Document Creation\n- Create new ODT documents from scratch\n- Generate documents from templates\n- Create mail merge documents\n- Build forms with fillable fields\n\n### 2. Format Conversion\n- ODT to other formats: DOCX, PDF, HTML, RTF, TXT, EPUB\n- Other formats to ODT: DOCX, DOC, RTF, HTML, TXT\n- Batch conversion of multiple documents\n\n### 3. Document Automation\n- Template-based document generation\n- Mail merge with data sources (CSV, spreadsheet, database)\n- Batch document processing\n- Automated report generation\n\n### 4. Content Manipulation\n- Text extraction and insertion\n- Style management and application\n- Table creation and manipulation\n- Header\u002Ffooter management\n\n### 5. Integration\n- Command-line automation via soffice\n- Python scripting with UNO\n- Integration with workflow automation tools\n\n## Workflows\n\n### Creating a New Document\n\n#### Method 1: Command-Line\n```bash\nsoffice --writer template.odt\n```\n\n#### Method 2: Python with UNO\n```python\nimport uno\n\ndef create_document():\n    local_ctx = uno.getComponentContext()\n    resolver = local_ctx.ServiceManager.createInstanceWithContext(\n        \"com.sun.star.bridge.UnoUrlResolver\", local_ctx\n    )\n    ctx = resolver.resolve(\n        \"uno:socket,host=localhost,port=8100;urp;StarOffice.ComponentContext\"\n    )\n    smgr = ctx.ServiceManager\n    doc = smgr.createInstanceWithContext(\"com.sun.star.text.TextDocument\", ctx)\n    text = doc.Text\n    cursor = text.createTextCursor()\n    text.insertString(cursor, \"Hello from LibreOffice Writer!\", 0)\n    doc.storeToURL(\"file:\u002F\u002F\u002Fpath\u002Fto\u002Fdocument.odt\", ())\n    doc.close(True)\n```\n\n#### Method 3: Using odfpy\n```python\nfrom odf.opendocument import OpenDocumentText\nfrom odf.text import P, H\n\ndoc = OpenDocumentText()\nh1 = H(outlinelevel='1', text='Document Title')\ndoc.text.appendChild(h1)\ndoc.save(\"document.odt\")\n```\n\n### Converting Documents\n\n```bash\n# ODT to DOCX\nsoffice --headless --convert-to docx document.odt\n\n# ODT to PDF\nsoffice --headless --convert-to pdf document.odt\n\n# DOCX to ODT\nsoffice --headless --convert-to odt document.docx\n\n# Batch convert\nfor file in *.odt; do\n    soffice --headless --convert-to pdf \"$file\"\ndone\n```\n\n### Template-Based Generation\n```python\nimport subprocess\nimport tempfile\nfrom pathlib import Path\n\ndef generate_from_template(template_path, variables, output_path):\n    with tempfile.TemporaryDirectory() as tmpdir:\n        subprocess.run(['unzip', '-q', template_path, '-d', tmpdir])\n        content_file = Path(tmpdir) \u002F 'content.xml'\n        content = content_file.read_text()\n        for key, value in variables.items():\n            content = content.replace(f'${{{key}}}', str(value))\n        content_file.write_text(content)\n        subprocess.run(['zip', '-rq', output_path, '.'], cwd=tmpdir)\n    return output_path\n```\n\n## Format Conversion Reference\n\n### Supported Input Formats\n- ODT (native), DOCX, DOC, RTF, HTML, TXT, EPUB\n\n### Supported Output Formats\n- ODT, DOCX, PDF, PDF\u002FA, HTML, RTF, TXT, EPUB\n\n## Command-Line Reference\n\n```bash\nsoffice --headless\nsoffice --headless --convert-to \u003Cformat> \u003Cfile>\nsoffice --writer    # Writer\nsoffice --calc      # Calc\nsoffice --impress   # Impress\nsoffice --draw      # Draw\n```\n\n## Python Libraries\n\n```bash\npip install odfpy     # ODF manipulation\npip install ezodf     # Easier ODF handling\n```\n\n## Best Practices\n\n1. Use styles for consistency\n2. Create templates for recurring documents\n3. Ensure accessibility (heading hierarchy, alt text)\n4. Fill document metadata\n5. Store ODT source files in version control\n6. Test conversions thoroughly\n7. Embed fonts for PDF distribution\n8. Handle conversion failures gracefully\n9. Log automation operations\n10. Clean temporary files\n\n## Troubleshooting\n\n### Cannot open socket\n```bash\nkillall soffice.bin\nsoffice --headless --accept=\"socket,host=localhost,port=8100;urp;\"\n```\n\n### Conversion Quality Issues\n```bash\nsoffice --headless --convert-to pdf:writer_pdf_Export document.odt\n```\n\n## Resources\n\n- [LibreOffice Writer Guide](https:\u002F\u002Fdocumentation.libreoffice.org\u002F)\n- [LibreOffice SDK](https:\u002F\u002Fwiki.documentfoundation.org\u002FDocumentation\u002FDevGuide)\n- [UNO API Reference](https:\u002F\u002Fapi.libreoffice.org\u002F)\n- [odfpy](https:\u002F\u002Fpypi.org\u002Fproject\u002Fodfpy\u002F)\n\n## Related Skills\n\n- calc\n- impress\n- draw\n- base\n- docx-official\n- pdf-official\n- workflow-automation\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n","# LibreOffice Writer\n\n## Overview\n\nLibreOffice Writer skill for creating, editing, converting, and automating document workflows using the native ODT (OpenDocument Text) format.\n\n## When to Use This Skill\n\nUse this skill when:\n- Creating new documents in ODT format\n- Converting documents between formats (ODT \u003C-> DOCX, PDF, HTML, RTF, TXT)\n- Automating document generation workflows\n- Performing batch document operations\n- Creating templates and standardized document formats\n\n## Core Capabilities\n\n### 1. Document Creation\n- Create new ODT documents from scratch\n- Generate documents from templates\n- Create mail merge documents\n- Build forms with fillable fields\n\n### 2. Format Conversion\n- ODT to other formats: DOCX, PDF, HTML, RTF, TXT, EPUB\n- Other formats to ODT: DOCX, DOC, RTF, HTML, TXT\n- Batch conversion of multiple documents\n\n### 3. Document Automation\n- Template-based document generation\n- Mail merge with data sources (CSV, spreadsheet, database)\n- Batch document processing\n- Automated report generation\n\n### 4. Content Manipulation\n- Text extraction and insertion\n- Style management and application\n- Table creation and manipulation\n- Header\u002Ffooter management\n\n### 5. Integration\n- Command-line automation via soffice\n- Python scripting with UNO\n- Integration with workflow automation tools\n\n## Workflows\n\n### Creating a New Document\n\n#### Method 1: Command-Line\n```bash\nsoffice --writer template.odt\n```\n\n#### Method 2: Python with UNO\n```python\nimport uno\n\ndef create_document():\n    local_ctx = uno.getComponentContext()\n    resolver = local_ctx.ServiceManager.createInstanceWithContext(\n        \"com.sun.star.bridge.UnoUrlResolver\", local_ctx\n    )\n    ctx = resolver.resolve(\n        \"uno:socket,host=localhost,port=8100;urp;StarOffice.ComponentContext\"\n    )\n    smgr = ctx.ServiceManager\n    doc = smgr.createInstanceWithContext(\"com.sun.star.text.TextDocument\", ctx)\n    text = doc.Text\n    cursor = text.createTextCursor()\n    text.insertString(cursor, \"Hello from LibreOffice Writer!\", 0)\n    doc.storeToURL(\"file:\u002F\u002F\u002Fpath\u002Fto\u002Fdocument.odt\", ())\n    doc.close(True)\n```\n\n#### Method 3: Using odfpy\n```python\nfrom odf.opendocument import OpenDocumentText\nfrom odf.text import P, H\n\ndoc = OpenDocumentText()\nh1 = H(outlinelevel='1', text='Document Title')\ndoc.text.appendChild(h1)\ndoc.save(\"document.odt\")\n```\n\n### Converting Documents\n\n```bash\n# ODT to DOCX\nsoffice --headless --convert-to docx document.odt\n\n# ODT to PDF\nsoffice --headless --convert-to pdf document.odt\n\n# DOCX to ODT\nsoffice --headless --convert-to odt document.docx\n\n# Batch convert\nfor file in *.odt; do\n    soffice --headless --convert-to pdf \"$file\"\ndone\n```\n\n### Template-Based Generation\n```python\nimport subprocess\nimport tempfile\nfrom pathlib import Path\n\ndef generate_from_template(template_path, variables, output_path):\n    with tempfile.TemporaryDirectory() as tmpdir:\n        subprocess.run(['unzip', '-q', template_path, '-d', tmpdir])\n        content_file = Path(tmpdir) \u002F 'content.xml'\n        content = content_file.read_text()\n        for key, value in variables.items():\n            content = content.replace(f'${{{key}}}', str(value))\n        content_file.write_text(content)\n        subprocess.run(['zip', '-rq', output_path, '.'], cwd=tmpdir)\n    return output_path\n```\n\n## Format Conversion Reference\n\n### Supported Input Formats\n- ODT (native), DOCX, DOC, RTF, HTML, TXT, EPUB\n\n### Supported Output Formats\n- ODT, DOCX, PDF, PDF\u002FA, HTML, RTF, TXT, EPUB\n\n## Command-Line Reference\n\n```bash\nsoffice --headless\nsoffice --headless --convert-to \u003Cformat> \u003Cfile>\nsoffice --writer    # Writer\nsoffice --calc      # Calc\nsoffice --impress   # Impress\nsoffice --draw      # Draw\n```\n\n## Python Libraries\n\n```bash\npip install odfpy     # ODF manipulation\npip install ezodf     # Easier ODF handling\n```\n\n## Best Practices\n\n1. Use styles for consistency\n2. Create templates for recurring documents\n3. Ensure accessibility (heading hierarchy, alt text)\n4. Fill document metadata\n5. Store ODT source files in version control\n6. Test conversions thoroughly\n7. Embed fonts for PDF distribution\n8. Handle conversion failures gracefully\n9. Log automation operations\n10. Clean temporary files\n\n## Troubleshooting\n\n### Cannot open socket\n```bash\nkillall soffice.bin\nsoffice --headless --accept=\"socket,host=localhost,port=8100;urp;\"\n```\n\n### Conversion Quality Issues\n```bash\nsoffice --headless --convert-to pdf:writer_pdf_Export document.odt\n```\n\n## Resources\n\n- [LibreOffice Writer Guide](https:\u002F\u002Fdocumentation.libreoffice.org\u002F)\n- [LibreOffice SDK](https:\u002F\u002Fwiki.documentfoundation.org\u002FDocumentation\u002FDevGuide)\n- [UNO API Reference](https:\u002F\u002Fapi.libreoffice.org\u002F)\n- [odfpy](https:\u002F\u002Fpypi.org\u002Fproject\u002Fodfpy\u002F)\n\n## Related Skills\n\n- calc\n- impress\n- draw\n- base\n- docx-official\n- pdf-official\n- workflow-automation\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n",{"name":5,"risk":24,"source":25,"category":26,"date_added":27,"description":7},"safe","personal","document-processing","2026-02-27","main","87afe6ce96220accf50a345dea46784c8c9f210e","YYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fplugins\u002Fantigravity-awesome-skills-claude\u002Fskills\u002Flibreoffice\u002Fwriter",0,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base","https:\u002F\u002Fkb.yyc3.top\u002F","https:\u002F\u002Fgithub.com\u002FYYC-Cube","万象归元于云枢 | 深栈智启新纪元","2026-11-10 10:37:32",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill writer",{"tool":43,"command":44},"bunx","bunx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill writer",{"tool":46,"command":47},"pnpm","pnpm dlx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill writer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fplugins\u002Fantigravity-awesome-skills-claude\u002Fskills\u002Flibreoffice\u002Fwriter\u002FSKILL.md",true,[],[52,59,66,73,80,87],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7CTDWHERCXPQCP0K03A86AS","vercel-sandbox","Run agent-browser + Chrome inside Vercel Sandbox microVMs for browser automation from any Vercel-deployed app. Use when the user needs browser automation in a Vercel app (Next.js, SvelteKit, Nuxt, Remix, Astro, etc.), wants to run headless Chrome without binary size limits, needs persistent browser sessions across commands, or wants ephemeral isolated browser environments. Triggers include \"Vercel Sandbox browser\", \"microVM Chrome\", \"agent-browser in sandbox\", \"browser automation on Vercel\", or any task requiring Chrome in a Vercel Sandbox.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fvercel-sandbox\u002FSKILL.md",[],[],{"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":19},"01M7CTD8D2BNJY54S65M47HEJA","slack","Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include \"check my Slack\", \"what channels have unreads\", \"send a message to\", \"search Slack for\", \"extract from Slack\", \"find who said\", or any task requiring programmatic Slack interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fslack\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7CTCSSB8ZP3Q58C3YZDZK1W","electron","Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include \"automate Slack app\", \"control VS Code\", \"interact with Discord app\", \"test this Electron app\", \"connect to desktop app\", or any task requiring automation of a native Electron application.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Felectron\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7CTCBJY76688V4DCZGWFHGQ","dogfood","Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to \"dogfood\", \"QA\", \"exploratory test\", \"find issues\", \"bug hunt\", \"test this app\u002Fsite\u002Fplatform\", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fdogfood\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7CTC4H0FFGVEAQR9PA4GA1A","agent-browser","Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to \"open a website\", \"fill out a form\", \"click a button\", \"take a screenshot\", \"scrape data from a page\", \"test this web app\", \"login to a site\", \"automate browser actions\", or any task requiring programmatic web interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fagent-browser\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7CTBKVFYBG78FDSABSDJTTQ","shadcn","Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn\u002Fui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for \"shadcn init\", \"create an app with --preset\", \"switch to --preset\", and for building a design system or applying a DESIGN.md or brand spec to shadcn\u002Fui.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-UI-界面组件\u002FYYC3-UI-界面组件-ui\u002Fskills\u002Fshadcn\u002FSKILL.md",[],[]]