[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BVQFFSK15P8JQASD1WJ4GT":3,"skill-same:01M7BVQFFSK15P8JQASD1WJ4GT":68},{"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":46,"commitSha":47,"skillDirectory":48,"forksCount":49,"repositoryHtmlUrl":50,"repositoryHomepageUrl":6,"ownerHtmlUrl":51,"ownerBlogUrl":6,"ownerDescription":52,"updatedAt":53,"install":54,"resources":67},"01M7BVQFFSK15P8JQASD1WJ4GT","doc-pipeline",null,"Chain document operations into reusable pipelines","om-scogo\u002Fskillsh-scraper","om-scogo","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160466840?v=4","01M79AWB6DFVCQ7RK70CS34B96","Om Achrekar","01M79AWB6ZM9SKR8KDH1WSSM22",0,"MIT","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fclaude-office-skills-skills\u002Fdoc-pipeline\u002Fdoc-pipeline\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\n# ═══════════════════════════════════════════════════════════════════════════════\n# CLAUDE OFFICE SKILL - Enhanced Metadata v2.0\n# ═══════════════════════════════════════════════════════════════════════════════\n\n# Basic Information\nname: doc-pipeline\ndescription: \"Chain document operations into reusable pipelines\"\nversion: \"1.0\"\nauthor: claude-office-skills\nlicense: MIT\n\n# Categorization\ncategory: workflow\ntags:\n  - pipeline\n  - workflow\n  - document\n  - automation\ndepartment: All\n\n# AI Model Compatibility\nmodels:\n  recommended:\n    - claude-sonnet-4\n    - claude-opus-4\n  compatible:\n    - claude-3-5-sonnet\n    - gpt-4\n    - gpt-4o\n\n# Skill Capabilities\ncapabilities:\n  - document_workflow\n  - pipeline_automation\n\n# Language Support\nlanguages:\n  - en\n  - zh\n---\n\n# Doc Pipeline Skill\n\n## Overview\n\nThis skill enables building document processing pipelines - chain multiple operations (extract, transform, convert) into reusable workflows with data flowing between stages.\n\n## How to Use\n\n1. Describe what you want to accomplish\n2. Provide any required input data or files\n3. I'll execute the appropriate operations\n\n**Example prompts:**\n- \"PDF → Extract Text → Translate → Generate DOCX\"\n- \"Image → OCR → Summarize → Create Report\"\n- \"Excel → Analyze → Generate Charts → Create PPT\"\n- \"Multiple inputs → Merge → Format → Output\"\n\n## Domain Knowledge\n\n\n### Pipeline Architecture\n\n```\nStage 1      Stage 2      Stage 3      Stage 4\n┌──────┐    ┌──────┐    ┌──────┐    ┌──────┐\n│Extract│ → │Transform│ → │ AI   │ → │Output│\n│ PDF  │    │  Data  │    │Analyze│   │ DOCX │\n└──────┘    └──────┘    └──────┘    └──────┘\n     │           │           │           │\n     └───────────┴───────────┴───────────┘\n                 Data Flow\n```\n\n### Pipeline DSL (Domain Specific Language)\n\n```yaml\n# pipeline.yaml\nname: contract-review-pipeline\ndescription: Extract, analyze, and report on contracts\n\nstages:\n  - name: extract\n    operation: pdf-extraction\n    input: $input_file\n    output: $extracted_text\n    \n  - name: analyze\n    operation: ai-analyze\n    input: $extracted_text\n    prompt: \"Review this contract for risks...\"\n    output: $analysis\n    \n  - name: report\n    operation: docx-generation\n    input: $analysis\n    template: templates\u002Freview_report.docx\n    output: $output_file\n```\n\n### Python Implementation\n\n```python\nfrom typing import Callable, Any\nfrom dataclasses import dataclass\n\n@dataclass\nclass Stage:\n    name: str\n    operation: Callable\n    \nclass Pipeline:\n    def __init__(self, name: str):\n        self.name = name\n        self.stages: list[Stage] = []\n    \n    def add_stage(self, name: str, operation: Callable):\n        self.stages.append(Stage(name, operation))\n        return self  # Fluent API\n    \n    def run(self, input_data: Any) -> Any:\n        data = input_data\n        for stage in self.stages:\n            print(f\"Running stage: {stage.name}\")\n            data = stage.operation(data)\n        return data\n\n# Example usage\npipeline = Pipeline(\"contract-review\")\npipeline.add_stage(\"extract\", extract_pdf_text)\npipeline.add_stage(\"analyze\", analyze_with_ai)\npipeline.add_stage(\"generate\", create_docx_report)\n\nresult = pipeline.run(\"\u002Fpath\u002Fto\u002Fcontract.pdf\")\n```\n\n### Advanced: Conditional Pipelines\n\n```python\nclass ConditionalPipeline(Pipeline):\n    def add_conditional_stage(self, name: str, condition: Callable, \n                               if_true: Callable, if_false: Callable):\n        def conditional_op(data):\n            if condition(data):\n                return if_true(data)\n            return if_false(data)\n        return self.add_stage(name, conditional_op)\n\n# Usage\npipeline.add_conditional_stage(\n    \"ocr_if_needed\",\n    condition=lambda d: d.get(\"has_images\"),\n    if_true=run_ocr,\n    if_false=lambda d: d\n)\n```\n\n\n## Best Practices\n\n1. **Keep stages focused (single responsibility)**\n2. **Use intermediate outputs for debugging**\n3. **Implement stage-level error handling**\n4. **Make pipelines configurable via YAML\u002FJSON**\n\n## Installation\n\n```bash\n# Install required dependencies\npip install python-docx openpyxl python-pptx reportlab jinja2\n```\n\n## Resources\n\n- [Custom Repository](https:\u002F\u002Fgithub.com\u002Fclaude-office-skills\u002Fskills)\n- [Claude Office Skills Hub](https:\u002F\u002Fgithub.com\u002Fclaude-office-skills\u002Fskills)\n","# Doc Pipeline Skill\n\n## Overview\n\nThis skill enables building document processing pipelines - chain multiple operations (extract, transform, convert) into reusable workflows with data flowing between stages.\n\n## How to Use\n\n1. Describe what you want to accomplish\n2. Provide any required input data or files\n3. I'll execute the appropriate operations\n\n**Example prompts:**\n- \"PDF → Extract Text → Translate → Generate DOCX\"\n- \"Image → OCR → Summarize → Create Report\"\n- \"Excel → Analyze → Generate Charts → Create PPT\"\n- \"Multiple inputs → Merge → Format → Output\"\n\n## Domain Knowledge\n\n\n### Pipeline Architecture\n\n```\nStage 1      Stage 2      Stage 3      Stage 4\n┌──────┐    ┌──────┐    ┌──────┐    ┌──────┐\n│Extract│ → │Transform│ → │ AI   │ → │Output│\n│ PDF  │    │  Data  │    │Analyze│   │ DOCX │\n└──────┘    └──────┘    └──────┘    └──────┘\n     │           │           │           │\n     └───────────┴───────────┴───────────┘\n                 Data Flow\n```\n\n### Pipeline DSL (Domain Specific Language)\n\n```yaml\n# pipeline.yaml\nname: contract-review-pipeline\ndescription: Extract, analyze, and report on contracts\n\nstages:\n  - name: extract\n    operation: pdf-extraction\n    input: $input_file\n    output: $extracted_text\n    \n  - name: analyze\n    operation: ai-analyze\n    input: $extracted_text\n    prompt: \"Review this contract for risks...\"\n    output: $analysis\n    \n  - name: report\n    operation: docx-generation\n    input: $analysis\n    template: templates\u002Freview_report.docx\n    output: $output_file\n```\n\n### Python Implementation\n\n```python\nfrom typing import Callable, Any\nfrom dataclasses import dataclass\n\n@dataclass\nclass Stage:\n    name: str\n    operation: Callable\n    \nclass Pipeline:\n    def __init__(self, name: str):\n        self.name = name\n        self.stages: list[Stage] = []\n    \n    def add_stage(self, name: str, operation: Callable):\n        self.stages.append(Stage(name, operation))\n        return self  # Fluent API\n    \n    def run(self, input_data: Any) -> Any:\n        data = input_data\n        for stage in self.stages:\n            print(f\"Running stage: {stage.name}\")\n            data = stage.operation(data)\n        return data\n\n# Example usage\npipeline = Pipeline(\"contract-review\")\npipeline.add_stage(\"extract\", extract_pdf_text)\npipeline.add_stage(\"analyze\", analyze_with_ai)\npipeline.add_stage(\"generate\", create_docx_report)\n\nresult = pipeline.run(\"\u002Fpath\u002Fto\u002Fcontract.pdf\")\n```\n\n### Advanced: Conditional Pipelines\n\n```python\nclass ConditionalPipeline(Pipeline):\n    def add_conditional_stage(self, name: str, condition: Callable, \n                               if_true: Callable, if_false: Callable):\n        def conditional_op(data):\n            if condition(data):\n                return if_true(data)\n            return if_false(data)\n        return self.add_stage(name, conditional_op)\n\n# Usage\npipeline.add_conditional_stage(\n    \"ocr_if_needed\",\n    condition=lambda d: d.get(\"has_images\"),\n    if_true=run_ocr,\n    if_false=lambda d: d\n)\n```\n\n\n## Best Practices\n\n1. **Keep stages focused (single responsibility)**\n2. **Use intermediate outputs for debugging**\n3. **Implement stage-level error handling**\n4. **Make pipelines configurable via YAML\u002FJSON**\n\n## Installation\n\n```bash\n# Install required dependencies\npip install python-docx openpyxl python-pptx reportlab jinja2\n```\n\n## Resources\n\n- [Custom Repository](https:\u002F\u002Fgithub.com\u002Fclaude-office-skills\u002Fskills)\n- [Claude Office Skills Hub](https:\u002F\u002Fgithub.com\u002Fclaude-office-skills\u002Fskills)\n",{"name":5,"tags":24,"author":29,"models":30,"license":15,"version":38,"category":26,"languages":39,"department":42,"description":7,"capabilities":43},[25,26,27,28],"pipeline","workflow","document","automation","claude-office-skills",{"compatible":31,"recommended":35},[32,33,34],"claude-3-5-sonnet","gpt-4","gpt-4o",[36,37],"claude-sonnet-4","claude-opus-4","1.0",[40,41],"en","zh","All",[44,45],"document_workflow","pipeline_automation","main","8859218955d9504cd18b59e7892100718039d3b4","data\u002Fskills\u002Fclaude-office-skills-skills\u002Fdoc-pipeline\u002Fdoc-pipeline",1,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper","https:\u002F\u002Fgithub.com\u002Fom-scogo","SDE-1 @ Scogo ","2026-07-18 12:22:46",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add om-scogo\u002Fskillsh-scraper --skill doc-pipeline",{"tool":60,"command":61},"bunx","bunx skills add om-scogo\u002Fskillsh-scraper --skill doc-pipeline",{"tool":63,"command":64},"pnpm","pnpm dlx skills add om-scogo\u002Fskillsh-scraper --skill doc-pipeline","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fclaude-office-skills-skills\u002Fdoc-pipeline\u002Fdoc-pipeline\u002FSKILL.md",true,[],[69,76,81,88,93,100],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7D6MC9FAAEV4CMNYX8W7JTG","arxiv-search","Search arXiv physics, math, and computer science preprints using natural language queries. Powered by Valyu semantic search.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002Fskills\u002Farxiv-search\u002FSKILL.md",[],[],{"skillNo":77,"name":71,"nameZh":6,"description":72,"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":19},"01M7D6M85CKKN87TA98VCQV4H7","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\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":19},"01M7D4ZTCS4DR3CE4JY06X84T2","working-with-legacy-code","Safely change and test untested codebases using Feathers' \"Working Effectively with Legacy Code\". Use when the user mentions \"legacy code\", \"no tests\", \"untested codebase\", \"how do I test this\", \"seams\", \"characterization tests\", \"golden master\", \"sprout method\", \"afraid to change this code\", \"monster method\", \"dependency breaking\", or \"inherited a messy codebase\". Also trigger when changing code without tests safely, getting a class under test when constructors, statics, or singletons block it, adding features to tangled modules, or planning incremental test coverage for an old codebase. Covers the legacy-code change algorithm, seams, characterization tests, sprout\u002Fwrap, and dependency-breaking techniques. For refactoring code that already has tests, see refactoring-patterns. For day-to-day code quality, see clean-code.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002Fworking-with-legacy-code\u002FSKILL.md",[],[],{"skillNo":89,"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":90,"categories":91,"keywords":92,"publishedAt":19},"01M7D4ZHZKJD2RSNGAF63V14P4","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\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},"01M7D4ZB4CJBFW5JE67CPH2QRV","web-typography","Select, pair, and implement typefaces for web projects. Use when the user mentions \"font pairing\", \"which typeface\", \"line height\", \"responsive typography\", \"web font loading\", \"type hierarchy\", \"variable fonts\", \"FOUT\u002FFOIT\", \"typographic scale\", or \"the text is hard to read\". Also trigger when choosing between system fonts and web fonts, optimizing font-loading performance, or designing readable long-form content. Covers readability evaluation, CSS implementation, and performance optimization. For overall UI design systems, see refactoring-ui. For dramatic typographic experiences, see top-design.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002Fweb-typography\u002FSKILL.md",[],[],{"skillNo":101,"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":102,"categories":103,"keywords":104,"publishedAt":19},"01M7D4Z4MVYVY3NMJ18BNV6WNA","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002FSkill.md",[],[]]