[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M713WH2B5GJWJ050CJHJA5MC":3,"skill-same:01M713WH2B5GJWJ050CJHJA5MC":69},{"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":23,"publishedAt":43,"linkOnly":44,"markdownContent":45,"markdownBody":46,"frontMatter":47,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":14,"repositoryHtmlUrl":52,"repositoryHomepageUrl":6,"ownerHtmlUrl":53,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":54,"install":55,"resources":68},"01M713WH2B5GJWJ050CJHJA5MC","latex-paper-conversion",null,"This skill should be used when the user asks to convert an academic paper in LaTeX from one format (e.g., Springer, IPOL) to another format (e.g., MDPI, IEEE, Nature). It automates extraction, injection, fixing formatting, and compiling.","sapsapshen\u002Fai-memory-router","sapsapshen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F20347959?v=4","01M6XDQEF1DP50DKF37H81J3J5","shenmian","01M6XDQEJPE41Y3DT2763X8ZJN",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcopilot\u002Flatex-paper-conversion\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000021","资料检索与研究","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42],"paper","latex paper conversion","LaTeX","conversion","Academic","extraction","user","formatting","it","compiling","injection","safe","format","2026","convert","when","ieee","academic paper","community","2026-11-10 10:12:30",false,"---\nname: latex-paper-conversion\ndescription: \"This skill should be used when the user asks to convert an academic paper in LaTeX from one format (e.g., Springer, IPOL) to another format (e.g., MDPI, IEEE, Nature). It automates extraction, injection, fixing formatting, and compiling.\"\nrisk: safe\nsource: community\ndate_added: \"2026-03-14\"\n---\n\n# LaTeX Paper Conversion\n\n## Overview\n\nThis skill automates the tedious and recurring process of converting an academic paper written in LaTeX from one publisher's template to another. Different journals (e.g., Springer, MDPI, IEEE) have vastly different structural requirements, document classes, margin settings, and bibliography styles. This skill streamlines these conversions by executing a structured multi-stage workflow, extracting content, mapping it to a new template, and resolving common compilation errors.\n\n## When to Use This Skill\n\n- Use when the user requests to port an existing LaTeX paper to a new journal's format.\n- Use when the user provides an existing `.tex` file and a new template directory.\n- Use when the user mentions converting from format A (e.g., IPOL\u002FNeural Processing) to format B (e.g., MDPI).\n\n## How It Works\n\n### Step 1: Pre-requisites & Assessment\nIdentify the **Source LaTeX file** and asking the user for the **Target Template Directory**. Understand the core layout mapping (single-column vs. double-column, bibliography style).\n\n### Step 2: Extraction & Injection Script Generation\nCreate a Python script (e.g., `convert_format.py`) to parse the source LaTeX file. Use Regular Expressions to extract core text blocks. Merge the new template's `preamble`, the extracted `body`, and the `backmatter`. Write this to a new file in an output directory.\n\n### Step 3: Systematic Fixing\nPerform generic fixes on the extracted body text before writing the final file, or in subsequent calls:\n- Convert math environment cases (e.g., `\\begin{theorem}` to `\\begin{Theorem}`).\n- Adjust aggressive float placements (e.g., `[!t]` or `[h!]`) to template-supported options. Avoid forcing `[H]` unless the `float` package is explicitly loaded.\n- Ensure `\\includegraphics` paths are relative to the new `.tex` file location.\n- Convert `\\begin{tabular}` to `\\begin{tabularx}{\\textwidth}` or use `\\resizebox` if moving to a double-column layout.\n\n### Step 4: Compilation & Debugging\nRun a build cycle (`pdflatex` -> `bibtex` -> `pdflatex`). Check the `.log` file using `grep` or `rg` to systematically fix any packages conflicts, undefined commands, or compilation halts.\n\n## Examples\n\n### Example 1: Converting IPOL to MDPI\n\\```\nUSER: \"I need to convert my paper 'SAHQR_Paper.tex' to the MDPI format located in the 'MDPI_template_ACS' folder.\"\nAGENT: *Triggers latex-paper-conversion skill*\n1. Analyzes source `.tex` and target `template.tex`.\n2. Creates Python script to extract Introduction through Conclusion.\n3. Injects content into MDPI template.\n4. Updates image paths and table float parameters `[h!]` to `[H]`.\n5. Compiles via pdflatex and bibtex to confirm zero errors.\n\\```\n\n## Best Practices\n\n- ✅ Always write a Python extraction script; DO NOT manually copy-paste thousands of lines of LaTeX.\n- ✅ Always run `pdflatex` and verify the `.log` to ensure the final output compiles.\n- ✅ Explicitly ask the user for the structural mapping if the source and target differ drastically (e.g., merging abstract and keywords).\n- ❌ Don't assume all math packages automatically exist in the new template (e.g., add `\\usepackage{amsmath}` if missing).\n\n## Common Pitfalls\n\n- **Problem:** Overfull hboxes in tables when moving from single to double column.\n  **Solution:** Detect `\\begin{tabular}` and automatically wrap in `\\resizebox{\\columnwidth}{!}{...}` or suggest a format change.\n- **Problem:** Undefined control sequence errors during compilation.\n  **Solution:** Search the `Paper.log` and include the missing `\\usepackage{}` in the converted template.\n\n## Additional Resources\n\n- [Overleaf LaTeX Documentation](https:\u002F\u002Fwww.overleaf.com\u002Flearn)\n","# LaTeX Paper Conversion\n\n## Overview\n\nThis skill automates the tedious and recurring process of converting an academic paper written in LaTeX from one publisher's template to another. Different journals (e.g., Springer, MDPI, IEEE) have vastly different structural requirements, document classes, margin settings, and bibliography styles. This skill streamlines these conversions by executing a structured multi-stage workflow, extracting content, mapping it to a new template, and resolving common compilation errors.\n\n## When to Use This Skill\n\n- Use when the user requests to port an existing LaTeX paper to a new journal's format.\n- Use when the user provides an existing `.tex` file and a new template directory.\n- Use when the user mentions converting from format A (e.g., IPOL\u002FNeural Processing) to format B (e.g., MDPI).\n\n## How It Works\n\n### Step 1: Pre-requisites & Assessment\nIdentify the **Source LaTeX file** and asking the user for the **Target Template Directory**. Understand the core layout mapping (single-column vs. double-column, bibliography style).\n\n### Step 2: Extraction & Injection Script Generation\nCreate a Python script (e.g., `convert_format.py`) to parse the source LaTeX file. Use Regular Expressions to extract core text blocks. Merge the new template's `preamble`, the extracted `body`, and the `backmatter`. Write this to a new file in an output directory.\n\n### Step 3: Systematic Fixing\nPerform generic fixes on the extracted body text before writing the final file, or in subsequent calls:\n- Convert math environment cases (e.g., `\\begin{theorem}` to `\\begin{Theorem}`).\n- Adjust aggressive float placements (e.g., `[!t]` or `[h!]`) to template-supported options. Avoid forcing `[H]` unless the `float` package is explicitly loaded.\n- Ensure `\\includegraphics` paths are relative to the new `.tex` file location.\n- Convert `\\begin{tabular}` to `\\begin{tabularx}{\\textwidth}` or use `\\resizebox` if moving to a double-column layout.\n\n### Step 4: Compilation & Debugging\nRun a build cycle (`pdflatex` -> `bibtex` -> `pdflatex`). Check the `.log` file using `grep` or `rg` to systematically fix any packages conflicts, undefined commands, or compilation halts.\n\n## Examples\n\n### Example 1: Converting IPOL to MDPI\n\\```\nUSER: \"I need to convert my paper 'SAHQR_Paper.tex' to the MDPI format located in the 'MDPI_template_ACS' folder.\"\nAGENT: *Triggers latex-paper-conversion skill*\n1. Analyzes source `.tex` and target `template.tex`.\n2. Creates Python script to extract Introduction through Conclusion.\n3. Injects content into MDPI template.\n4. Updates image paths and table float parameters `[h!]` to `[H]`.\n5. Compiles via pdflatex and bibtex to confirm zero errors.\n\\```\n\n## Best Practices\n\n- ✅ Always write a Python extraction script; DO NOT manually copy-paste thousands of lines of LaTeX.\n- ✅ Always run `pdflatex` and verify the `.log` to ensure the final output compiles.\n- ✅ Explicitly ask the user for the structural mapping if the source and target differ drastically (e.g., merging abstract and keywords).\n- ❌ Don't assume all math packages automatically exist in the new template (e.g., add `\\usepackage{amsmath}` if missing).\n\n## Common Pitfalls\n\n- **Problem:** Overfull hboxes in tables when moving from single to double column.\n  **Solution:** Detect `\\begin{tabular}` and automatically wrap in `\\resizebox{\\columnwidth}{!}{...}` or suggest a format change.\n- **Problem:** Undefined control sequence errors during compilation.\n  **Solution:** Search the `Paper.log` and include the missing `\\usepackage{}` in the converted template.\n\n## Additional Resources\n\n- [Overleaf LaTeX Documentation](https:\u002F\u002Fwww.overleaf.com\u002Flearn)\n",{"name":5,"risk":35,"source":42,"date_added":48,"description":7},"2026-03-14","main","7a38d8e7073e61c16eda85681cb32fb68a8657a5","skills-store\u002Fcopilot\u002Flatex-paper-conversion","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router","https:\u002F\u002Fgithub.com\u002Fsapsapshen","2026-04-14 21:12:12",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add sapsapshen\u002Fai-memory-router --skill latex-paper-conversion",{"tool":61,"command":62},"bunx","bunx skills add sapsapshen\u002Fai-memory-router --skill latex-paper-conversion",{"tool":64,"command":65},"pnpm","pnpm dlx skills add sapsapshen\u002Fai-memory-router --skill latex-paper-conversion","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcopilot\u002Flatex-paper-conversion\u002FSKILL.md",true,[],[70,80,87,95,101,109],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":74,"licenseFileUrl":75,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":79},"01M72R8PZX1ABFHJGTYPA4CAF1","webapp-testing","To test local web applications, write native Python Playwright scripts.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwebapp-testing\u002FSKILL.md",[],[],"2026-11-10 22:39:42",{"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":79},"01M72QG37MMZNDY7X7GXPAK5W6","python-packaging","Comprehensive guide to creating, structuring, and distributing Python packages using modern packaging tools, pyproject.toml, and publishing to PyPI.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fpython-packaging\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":74,"licenseFileUrl":91,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":79},"01M72NXR0QMP9G46TW6A2DH59C","canvas-design","These are instructions for creating design philosophies - aesthetic movements that are then EXPRESSED VISUALLY. Output only .md files, .pdf files, and .png files.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcanvas-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcanvas-design\u002FSKILL.md",[],[],{"skillNo":96,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":74,"licenseFileUrl":97,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":79},"01M72N55TK3EEQ4QK4AWDC2KZS","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":74,"licenseFileUrl":105,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":79},"01M72MTWC150CFAP4Y5GSNKF80","slack-gif-creator","A toolkit providing utilities and knowledge for creating animated GIFs optimized for Slack.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fslack-gif-creator\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":74,"licenseFileUrl":113,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":79},"01M72KPT3VVNSP88MNAY466TZT","frontend-design","You are a frontend designer-engineer, not a layout generator.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Ffrontend-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Ffrontend-design\u002FSKILL.md",[],[]]