[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6XBXHQXSTKMAWY1VEKWZ6HT":3,"skill-same:01M6XBXHQXSTKMAWY1VEKWZ6HT":52},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":21,"linkOnly":22,"markdownContent":23,"markdownBody":24,"frontMatter":25,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":13,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M6XBXHQXSTKMAWY1VEKWZ6HT","reportlab-styles",null,"Use reportlab's pre-defined styles from getSampleStyleSheet() correctly","UF-gzj\u002Fopenspace-claude-evolution","UF-gzj","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F272393507?v=4","01M6XBCZB755P01VVYGQWPYZY3","01M6XBCZFJA5AREA17WGETA3FW",0,"MIT","https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Freportlab-styles\u002FSKILL.md",[],[18,19,20],"styles","reportlab styles","use","2026-11-10 10:12:30",false,"---\nname: reportlab-styles\ndescription: Use reportlab's pre-defined styles from getSampleStyleSheet() correctly\n---\n\n# ReportLab Pre-Defined Styles Reference\n\n## Overview\n\nReportLab's `reportlab.lib.styles.getSampleStyleSheet()` provides a collection of pre-defined paragraph styles. Use these existing styles rather than redefining them to avoid `KeyError` exceptions.\n\n## Available Pre-Defined Styles\n\nThe standard stylesheet includes these commonly-used styles:\n\n| Style Name | Purpose |\n|------------|---------|\n| `Normal` | Default body text |\n| `Title` | Document title (large, bold) |\n| `Heading1` | Level 1 section heading |\n| `Heading2` | Level 2 section heading |\n| `Heading3` | Level 3 section heading |\n| `Heading4` | Level 4 section heading |\n| `Heading5` | Level 5 section heading |\n| `Heading6` | Level 6 section heading |\n| `Bullet` | Bulleted list items |\n| `Definition` | Definition list terms |\n| `Italic` | Italicized text |\n| `Code` | Monospace code text |\n\n## Correct Usage Pattern\n\n```python\nfrom reportlab.lib.styles import getSampleStyleSheet\nfrom reportlab.platypus import Paragraph\n\n# Get the stylesheet\nstyles = getSampleStyleSheet()\n\n# Use existing styles directly (CORRECT)\ntitle = Paragraph(\"My Document Title\", styles['Title'])\nheading = Paragraph(\"Section Header\", styles['Heading1'])\nbody = Paragraph(\"Regular text content\", styles['Normal'])\n```\n\n## Common Mistake to Avoid\n\n```python\n# WRONG - Don't redefine existing style names\nfrom reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle\n\nstyles = getSampleStyleSheet()\n\n# This will cause KeyError when you try to use 'Title' later\nstyles.add(ParagraphStyle(\n    name='Title',  # Overwrites the pre-defined 'Title' style\n    fontSize=24,\n    # ... incomplete definition\n))\n\n# Later code expecting the full 'Title' style will fail\nparagraph = Paragraph(\"Title Text\", styles['Title'])  # KeyError!\n```\n\n## Best Practices\n\n1. **Use existing styles as-is** when they meet your needs\n2. **Create new style names** for custom styles (e.g., `MyCustomTitle`, `CustomHeading`)\n3. **Base custom styles on existing ones** when you need modifications:\n\n```python\nfrom reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle\n\nstyles = getSampleStyleSheet()\n\n# Create a NEW style with a unique name\ncustom_title = ParagraphStyle(\n    name='CustomTitle',  # Unique name, doesn't conflict\n    parent=styles['Title'],  # Base it on existing Title\n    fontSize=28,\n    spaceAfter=30\n)\nstyles.add(custom_title)\n\n# Now both styles are available\nstyles['Title']       # Original pre-defined style\nstyles['CustomTitle'] # Your custom variant\n```\n\n## Quick Reference Checklist\n\n- [ ] Import `getSampleStyleSheet()` from `reportlab.lib.styles`\n- [ ] Call `styles = getSampleStyleSheet()` once at the start\n- [ ] Access styles via `styles['StyleName']` (case-sensitive)\n- [ ] Do NOT add styles with names that already exist in the stylesheet\n- [ ] Use unique names for any custom styles you create\n- [ ] Common available styles: `Normal`, `Title`, `Heading1-6`, `Bullet`, `Code`, `Italic`","# ReportLab Pre-Defined Styles Reference\n\n## Overview\n\nReportLab's `reportlab.lib.styles.getSampleStyleSheet()` provides a collection of pre-defined paragraph styles. Use these existing styles rather than redefining them to avoid `KeyError` exceptions.\n\n## Available Pre-Defined Styles\n\nThe standard stylesheet includes these commonly-used styles:\n\n| Style Name | Purpose |\n|------------|---------|\n| `Normal` | Default body text |\n| `Title` | Document title (large, bold) |\n| `Heading1` | Level 1 section heading |\n| `Heading2` | Level 2 section heading |\n| `Heading3` | Level 3 section heading |\n| `Heading4` | Level 4 section heading |\n| `Heading5` | Level 5 section heading |\n| `Heading6` | Level 6 section heading |\n| `Bullet` | Bulleted list items |\n| `Definition` | Definition list terms |\n| `Italic` | Italicized text |\n| `Code` | Monospace code text |\n\n## Correct Usage Pattern\n\n```python\nfrom reportlab.lib.styles import getSampleStyleSheet\nfrom reportlab.platypus import Paragraph\n\n# Get the stylesheet\nstyles = getSampleStyleSheet()\n\n# Use existing styles directly (CORRECT)\ntitle = Paragraph(\"My Document Title\", styles['Title'])\nheading = Paragraph(\"Section Header\", styles['Heading1'])\nbody = Paragraph(\"Regular text content\", styles['Normal'])\n```\n\n## Common Mistake to Avoid\n\n```python\n# WRONG - Don't redefine existing style names\nfrom reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle\n\nstyles = getSampleStyleSheet()\n\n# This will cause KeyError when you try to use 'Title' later\nstyles.add(ParagraphStyle(\n    name='Title',  # Overwrites the pre-defined 'Title' style\n    fontSize=24,\n    # ... incomplete definition\n))\n\n# Later code expecting the full 'Title' style will fail\nparagraph = Paragraph(\"Title Text\", styles['Title'])  # KeyError!\n```\n\n## Best Practices\n\n1. **Use existing styles as-is** when they meet your needs\n2. **Create new style names** for custom styles (e.g., `MyCustomTitle`, `CustomHeading`)\n3. **Base custom styles on existing ones** when you need modifications:\n\n```python\nfrom reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle\n\nstyles = getSampleStyleSheet()\n\n# Create a NEW style with a unique name\ncustom_title = ParagraphStyle(\n    name='CustomTitle',  # Unique name, doesn't conflict\n    parent=styles['Title'],  # Base it on existing Title\n    fontSize=28,\n    spaceAfter=30\n)\nstyles.add(custom_title)\n\n# Now both styles are available\nstyles['Title']       # Original pre-defined style\nstyles['CustomTitle'] # Your custom variant\n```\n\n## Quick Reference Checklist\n\n- [ ] Import `getSampleStyleSheet()` from `reportlab.lib.styles`\n- [ ] Call `styles = getSampleStyleSheet()` once at the start\n- [ ] Access styles via `styles['StyleName']` (case-sensitive)\n- [ ] Do NOT add styles with names that already exist in the stylesheet\n- [ ] Use unique names for any custom styles you create\n- [ ] Common available styles: `Normal`, `Title`, `Heading1-6`, `Bullet`, `Code`, `Italic`",{"name":5,"description":7},"main","0650921d63895de3997bc81f1ff1d0ac67032072","gdpval_bench\u002Fskills\u002Freportlab-styles","https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution","https:\u002F\u002Fgithub.com\u002FUF-gzj","2026-04-16 09:31:03",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add UF-gzj\u002Fopenspace-claude-evolution --skill reportlab-styles",{"tool":38,"command":39},"bunx","bunx skills add UF-gzj\u002Fopenspace-claude-evolution --skill reportlab-styles",{"tool":41,"command":42},"pnpm","pnpm dlx skills add UF-gzj\u002Fopenspace-claude-evolution --skill reportlab-styles","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Freportlab-styles\u002FSKILL.md",true,[46],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},".skill_id","OTHER","其他",30,"https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Freportlab-styles\u002F.skill_id",[53,78,95,104,134,150],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":21},"01M6XCCXD3NCM2YKR3WNGBASPC","write-special-chars-ts-check","Workaround for write_file failures caused by special characters (apostrophes, backticks, template literals) using a Python heredoc script, plus a reliable TypeScript type-checking step that filters output to only the newly-written files to avoid being misled by pre-existing errors.","https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fwrite-special-chars-ts-check\u002FSKILL.md",[],[60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77],"check","write","write special chars ts check","typescript","filters","characters","Existing","type-checking","for","errors","script","output","type","files","only","template","file","python",{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":21},"01M6XCCT7E3J922Q345PBGSHPN","write-special-chars-readback","Workaround for write_file failures caused by special characters (apostrophes, backticks, template literals) using a Python heredoc script, with mandatory post-write verification via read_file and cleanup of \u002Ftmp helper scripts.","https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fwrite-special-chars-readback\u002FSKILL.md",[],[85,86,61,76,87,77,88,89,90,91,92,75,93,94,65,68,70],"readback","write special chars readback","helper","post","via","scripts","cleanup","read","verification","with",{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":21},"01M6XCCMQX1R8B6FECWB3P63T7","write-special-chars-heredoc","Workaround for write_file failures caused by special characters (apostrophes, backticks, template literals) by using a Python heredoc script executed via shell.","https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fwrite-special-chars-heredoc\u002FSKILL.md",[],[102,61,65,103,70,89,75,76,77,68],"write special chars heredoc","shell",{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":115,"publishedAt":21},"01M6XCCG41M994JJEX6VN52PEP","worldmonitor-reference","Curated architecture index of the WorldMonitor open-source dashboard. Reference for extracting patterns — vanilla TypeScript, Panel class hierarchy, service layer, CSS grid, API edge functions, refresh scheduler, and 60+ data source integrations.","https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fworldmonitor-reference\u002FSKILL.md",[110],{"categoryNo":111,"categoryName":112,"taxonomyType":113,"taxonomyTypeDesc":114},"01JBSEEDCAT000000000000033","数据分析师","PROFESSION","适用职业",[116,117,118,119,120,63,121,122,123,124,125,68,126,127,128,129,130,131,132,133],"reference","worldmonitor","worldmonitor reference","architecture","dashboard","css","scheduler","layer","hierarchy","source","extracting","panel","patterns","edge functions","integrations","open","api","data",{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":21},"01M6XCCCHWNKG2W4VH9E6A10HF","virtual-list","Implement efficient virtual scrolling for rendering large lists with DOM recycling, chunk-based rendering, and performance optimizations","https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fvirtual-list\u002FSKILL.md",[],[141,142,143,144,68,145,94,146,147,148,149],"virtual list","list","virtual","chunk","dom","rendering","recycling","implement","performance",{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":21},"01M6XCC7X8PKMR2DEW91XGHYSV","verify-directory-structure","Diagnose and resolve file access issues by first verifying the directory structure.","https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fverify-directory-structure\u002FSKILL.md",[],[157,158,159,160,161,162,76,163,164,165],"directory","verify directory structure","structure","verify","access","first","issues","diagnose","file access"]