[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KFYGGE5665EPEE4N8BGH31":3,"skill-same:01M6KFYGGE5665EPEE4N8BGH31":55},{"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":22,"linkOnly":23,"markdownContent":24,"markdownBody":25,"frontMatter":26,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":14,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M6KFYGGE5665EPEE4N8BGH31","reportlab-styles",null,"Use reportlab's pre-defined styles from getSampleStyleSheet() correctly","xyliu-cs\u002FOpenSpace-GDPval","xyliu-cs","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F89236536?v=4","01M6KF8Z1V4TXS86CKSH48BY8T","xy","01M6KF8Z67443W0SHXM85JEF0B",0,"MIT","https:\u002F\u002Fgithub.com\u002Fxyliu-cs\u002FOpenSpace-GDPval\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Freportlab-styles\u002FSKILL.md",[],[19,20,21],"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","af1b40a42167d09c30b3a63000aa14ace4c1e229","gdpval_bench\u002Fskills\u002Freportlab-styles","https:\u002F\u002Fgithub.com\u002Fxyliu-cs\u002FOpenSpace-GDPval","https:\u002F\u002Fgithub.com\u002Fxyliu-cs","https:\u002F\u002Fxyliu-cs.github.io","PhD Student in CS, CUHK-Shenzhen.","2026-04-06 20:32:15",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add xyliu-cs\u002FOpenSpace-GDPval --skill reportlab-styles",{"tool":41,"command":42},"bunx","bunx skills add xyliu-cs\u002FOpenSpace-GDPval --skill reportlab-styles",{"tool":44,"command":45},"pnpm","pnpm dlx skills add xyliu-cs\u002FOpenSpace-GDPval --skill reportlab-styles","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fxyliu-cs\u002FOpenSpace-GDPval\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Freportlab-styles\u002FSKILL.md",true,[49],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},".skill_id","OTHER","其他",30,"https:\u002F\u002Fgithub.com\u002Fxyliu-cs\u002FOpenSpace-GDPval\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Freportlab-styles\u002F.skill_id",[56,69,77,93,119,141],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":22},"01M6KG8MF1S664SWBDENYRSCK8","zip-export-deliverable","Ensures codebase deliverables are properly exported as ZIP archives through a dedicated finalization step","https:\u002F\u002Fgithub.com\u002Fxyliu-cs\u002FOpenSpace-GDPval\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fzip-export-deliverable\u002FSKILL.md",[],[63,64,65,66,67,68],"zip export deliverable","zip","export","deliverables","codebase","as",{"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":22},"01M6KG8GAZWHHEK7VNJDW0ME21","zip-deliverable-finalization","Ensure codebase deliverables are properly packaged as ZIP exports in a dedicated final step","https:\u002F\u002Fgithub.com\u002Fxyliu-cs\u002FOpenSpace-GDPval\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fzip-deliverable-finalization\u002FSKILL.md",[],[76,64,66,67,68],"zip deliverable finalization",{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":22},"01M6KG8CMQQ1PYMNTSRZ9VS1MD","zero-iteration-failure-analysis","Identify and handle agent failures with 0 iterations as pre-execution system issues","https:\u002F\u002Fgithub.com\u002Fxyliu-cs\u002FOpenSpace-GDPval\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fzero-iteration-failure-analysis\u002FSKILL.md",[],[84,85,86,87,88,89,90,91,68,92],"failure analysis","ZeRO","analysis","iteration","zero iteration failure analysis","with","issues","execution","system",{"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":104,"publishedAt":22},"01M6KG86W3PA07FT9W58YHHERM","write-file-fallback-report","Generate professional documents using write_file when primary data sources fail, leveraging embedded domain knowledge instead of external retrieval","https:\u002F\u002Fgithub.com\u002Fxyliu-cs\u002FOpenSpace-GDPval\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fwrite-file-fallback-report\u002FSKILL.md",[99],{"categoryNo":100,"categoryName":101,"taxonomyType":102,"taxonomyTypeDesc":103},"01JBSEEDCAT000000000000034","行政与办公人员","PROFESSION","适用职业",[105,106,107,108,109,110,111,112,113,114,115,116,117,118],"fallback","write","file","report","write file fallback report","domain","professional","sources","retrieval","generate","embedded","documents","data","knowledge",{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":130,"publishedAt":22},"01M6KG82GAEY3GG77CMGCK1C2T","fallback-doc-with-delegation","Generate professional documents after tool failures using shell_agent for complex formats or write_file for simple text\u002Fmarkdown","https:\u002F\u002Fgithub.com\u002Fxyliu-cs\u002FOpenSpace-GDPval\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fwrite-file-fallback-report-enhanced\u002FSKILL.md",[125],{"categoryNo":126,"categoryName":127,"taxonomyType":128,"taxonomyTypeDesc":129},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[131,89,105,132,133,134,116,114,107,135,136,137,106,138,111,139,140],"fallback doc with delegation","doc","delegation","shell","markdown","tool","text","simple","formats","for",{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":148,"publishedAt":22},"01M6KG7WT7GX5NYCGEFHW22NV7","context-anchored-fallback-report","Generate documents with write_file when retrieval tools fail, with explicit guardrails against task context drift","https:\u002F\u002Fgithub.com\u002Fxyliu-cs\u002FOpenSpace-GDPval\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fwrite-file-fallback-report-enhanced-4bc5c2\u002FSKILL.md",[147],{"categoryNo":100,"categoryName":101,"taxonomyType":102,"taxonomyTypeDesc":103},[105,108,149,150,114,107,151,152,106,153,154,113,89,155,116],"context","context anchored fallback report","Guardrails","Tools","task","drift","context drift"]