[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M748F8JCDW9XQ3XYPB9YKDH9":3,"skill-same:01M748F8JCDW9XQ3XYPB9YKDH9":46},{"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":26,"commitSha":27,"skillDirectory":28,"forksCount":14,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M748F8JCDW9XQ3XYPB9YKDH9","pagedjs",null,"HTML\u002FCSS print layout with Paged.js (paged media, breaks, counters. running headers\u002Ffooters) for producing book PDFs.","itlackey\u002Fakm-eval","itlackey","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6414031?v=4","01M6D08NHES2CPRGY5HCPJECD6","IT Lackey","01M71W0ZJQ3686SNJSCQZM3X4E",0,"MPL-2.0","https:\u002F\u002Fgithub.com\u002Fitlackey\u002Fakm-eval\u002Fblob\u002Fmain\u002Fevals\u002Fdistill\u002Fassets\u002Fbundles\u002Fasset-05\u002Fskills\u002Fprint\u002Fpagedjs\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: pagedjs\ndescription: HTML\u002FCSS print layout with Paged.js (paged media, breaks, counters.\n  running headers\u002Ffooters) for producing book PDFs.\nwhen_to_use: Use when designing or debugging HTML\u002FCSS layouts rendered with\n  Paged.js, especially for pagination, running headers\u002Ffooters, counters, and\n  print-specific layout failures.\nupdated: 2026-09-15\n---\n\n# Paged.js\n\nUse this skill to design and debug HTML\u002FCSS layouts rendered with Paged.js.\n\n## Establish the runtime first\n\nRecord the exact Paged.js version and rendering path (polyfill, API, CLI, or a\nwrapper such as gutterpress) before diagnosing a layout problem. Paged.js\n0.4.3's published feature table supports `break-inside: avoid`, but not\n`break-inside: avoid-page`; later prereleases and custom handlers can behave\ndifferently. Reproduce against the project's pinned version.\n\nA consumer may provide `knowledge\u002Fprint\u002Fpagedjs-failure-modes` with verified\nproject-specific failures. Load it when present, but apply its workarounds only\nto the runtime it documents. A `data-break-inside=\"avoid\"` attribute, for\nexample, has no built-in meaning unless that pipeline registers a handler for\nit.\n\n## Core Loop\n\n1. Edit HTML\u002FCSS.\n2. Preview in browser with Paged.js.\n3. Fix fragmentation\u002Flayout issues.\n4. Render PDF.\n5. Review PDF, iterate.\n\n## Common Tasks\n\n- **Page setup**: `@page` size\u002Fmargins, recto\u002Fverso variants.\n- **Fragmentation**: `break-before\u002Fafter`, `break-inside: avoid`, `orphans`, and `widows`; verify the rendered result because support varies by element and version.\n- **Running headers\u002Ffooters**: `string-set` + margin boxes.\n- **Counters**: page numbers, chapter counters.\n\n## Compatibility constraints\n\n- Prefer selectors supported by the project's pinned Paged.js version. Test advanced selectors such as `:has()` with a minimal reproduction before using them in a production book.\n- Use `break-inside: avoid` for the standard keep-together case. Do not substitute `avoid-page`, which Paged.js 0.4.3 does not support. Oversized elements still must be allowed to split.\n- Treat left\u002Fright placement as a rendered-output assertion. Front matter, blank pages, and custom handlers can shift the apparent spread, so inspect page numbers and facing pages instead of assuming parity from a class name alone.\n- A custom `data-*` workaround is portable only with the handler that implements it. Document and load that handler before relying on the attribute.\n\n## Scripts\n\n- Validate: `python skills\u002Fprint\u002Fpagedjs\u002Fscripts\u002Fvalidate_pagedjs.py document.html --css styles.css`\n- Minimal repro: `python skills\u002Fprint\u002Fpagedjs\u002Fscripts\u002Fpreview_template.py --css styles.css --output preview.html`\n\n## References\n\n- Paged.js supported-feature table: \u003Chttps:\u002F\u002Fpagedjs.org\u002Fen\u002Fdocumentation\u002F14-supported-feature-of-the-w3c-specifications\u002F>\n- Optional consumer failure modes: `knowledge\u002Fprint\u002Fpagedjs-failure-modes`\n- Patterns: `skills\u002Fprint\u002Fpagedjs\u002Freferences\u002Fcss-patterns.md`\n- Troubleshooting: `skills\u002Fprint\u002Fpagedjs\u002Freferences\u002Ftroubleshooting.md`\n","# Paged.js\n\nUse this skill to design and debug HTML\u002FCSS layouts rendered with Paged.js.\n\n## Establish the runtime first\n\nRecord the exact Paged.js version and rendering path (polyfill, API, CLI, or a\nwrapper such as gutterpress) before diagnosing a layout problem. Paged.js\n0.4.3's published feature table supports `break-inside: avoid`, but not\n`break-inside: avoid-page`; later prereleases and custom handlers can behave\ndifferently. Reproduce against the project's pinned version.\n\nA consumer may provide `knowledge\u002Fprint\u002Fpagedjs-failure-modes` with verified\nproject-specific failures. Load it when present, but apply its workarounds only\nto the runtime it documents. A `data-break-inside=\"avoid\"` attribute, for\nexample, has no built-in meaning unless that pipeline registers a handler for\nit.\n\n## Core Loop\n\n1. Edit HTML\u002FCSS.\n2. Preview in browser with Paged.js.\n3. Fix fragmentation\u002Flayout issues.\n4. Render PDF.\n5. Review PDF, iterate.\n\n## Common Tasks\n\n- **Page setup**: `@page` size\u002Fmargins, recto\u002Fverso variants.\n- **Fragmentation**: `break-before\u002Fafter`, `break-inside: avoid`, `orphans`, and `widows`; verify the rendered result because support varies by element and version.\n- **Running headers\u002Ffooters**: `string-set` + margin boxes.\n- **Counters**: page numbers, chapter counters.\n\n## Compatibility constraints\n\n- Prefer selectors supported by the project's pinned Paged.js version. Test advanced selectors such as `:has()` with a minimal reproduction before using them in a production book.\n- Use `break-inside: avoid` for the standard keep-together case. Do not substitute `avoid-page`, which Paged.js 0.4.3 does not support. Oversized elements still must be allowed to split.\n- Treat left\u002Fright placement as a rendered-output assertion. Front matter, blank pages, and custom handlers can shift the apparent spread, so inspect page numbers and facing pages instead of assuming parity from a class name alone.\n- A custom `data-*` workaround is portable only with the handler that implements it. Document and load that handler before relying on the attribute.\n\n## Scripts\n\n- Validate: `python skills\u002Fprint\u002Fpagedjs\u002Fscripts\u002Fvalidate_pagedjs.py document.html --css styles.css`\n- Minimal repro: `python skills\u002Fprint\u002Fpagedjs\u002Fscripts\u002Fpreview_template.py --css styles.css --output preview.html`\n\n## References\n\n- Paged.js supported-feature table: \u003Chttps:\u002F\u002Fpagedjs.org\u002Fen\u002Fdocumentation\u002F14-supported-feature-of-the-w3c-specifications\u002F>\n- Optional consumer failure modes: `knowledge\u002Fprint\u002Fpagedjs-failure-modes`\n- Patterns: `skills\u002Fprint\u002Fpagedjs\u002Freferences\u002Fcss-patterns.md`\n- Troubleshooting: `skills\u002Fprint\u002Fpagedjs\u002Freferences\u002Ftroubleshooting.md`\n",{"name":5,"updated":24,"description":7,"when_to_use":25},1789430400000,"Use when designing or debugging HTML\u002FCSS layouts rendered with Paged.js, especially for pagination, running headers\u002Ffooters, counters, and print-specific layout failures.","main","b293a8475fcbb20683373dc9735a2ecf0ca7889d","evals\u002Fdistill\u002Fassets\u002Fbundles\u002Fasset-05\u002Fskills\u002Fprint\u002Fpagedjs","https:\u002F\u002Fgithub.com\u002Fitlackey\u002Fakm-eval","https:\u002F\u002Fgithub.com\u002Fitlackey","2026-11-13 11:49:12",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add itlackey\u002Fakm-eval --skill pagedjs",{"tool":38,"command":39},"bunx","bunx skills add itlackey\u002Fakm-eval --skill pagedjs",{"tool":41,"command":42},"pnpm","pnpm dlx skills add itlackey\u002Fakm-eval --skill pagedjs","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fitlackey\u002Fakm-eval\u002Fblob\u002Fmain\u002Fevals\u002Fdistill\u002Fassets\u002Fbundles\u002Fasset-05\u002Fskills\u002Fprint\u002Fpagedjs\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M748G6310YQEN9SEY8E69V7F","tax-filing-checklist","Walk through the steps and documents needed to file an individual federal income tax return","https:\u002F\u002Fgithub.com\u002Fitlackey\u002Fakm-eval\u002Fblob\u002Fmain\u002Fevals\u002Fretrieval\u002Fassets\u002Fbooks\u002Flibrary\u002Fskills\u002Ftax-filing-checklist\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M748G3C1CSMBM33KP2CCK7TB","patient-vitals-charting","Record patient vital signs consistently and flag values outside the normal reference range","https:\u002F\u002Fgithub.com\u002Fitlackey\u002Fakm-eval\u002Fblob\u002Fmain\u002Fevals\u002Fretrieval\u002Fassets\u002Fbooks\u002Flibrary\u002Fskills\u002Fpatient-vitals-charting\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M748G05H68QFB8YVQKDHF66B","pasta-from-scratch","Make fresh egg pasta dough from scratch, roll it, and cut it into shapes","https:\u002F\u002Fgithub.com\u002Fitlackey\u002Fakm-eval\u002Fblob\u002Fmain\u002Fevals\u002Fretrieval\u002Fassets\u002Fbooks\u002Flibrary\u002Fskills\u002Fpasta-from-scratch\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M748FXAQVJRX98HP8STRTD9P","knife-sharpening","Sharpen and hone kitchen knives to keep an edge safe and effective","https:\u002F\u002Fgithub.com\u002Fitlackey\u002Fakm-eval\u002Fblob\u002Fmain\u002Fevals\u002Fretrieval\u002Fassets\u002Fbooks\u002Flibrary\u002Fskills\u002Fknife-sharpening\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M748FTJEZ0P6BXNERTHZ9KB3","first-aid-response","Respond to a first aid emergency using a scene-safety-first, ABC-based (airway, breathing, circulation) approach","https:\u002F\u002Fgithub.com\u002Fitlackey\u002Fakm-eval\u002Fblob\u002Fmain\u002Fevals\u002Fretrieval\u002Fassets\u002Fbooks\u002Flibrary\u002Fskills\u002Ffirst-aid-response\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M748FQESZPA3ZW5SWKJNKMD0","contract-review-basics","Review a contract draft for missing terms, ambiguous language, and risky clauses before signing","https:\u002F\u002Fgithub.com\u002Fitlackey\u002Fakm-eval\u002Fblob\u002Fmain\u002Fevals\u002Fretrieval\u002Fassets\u002Fbooks\u002Flibrary\u002Fskills\u002Fcontract-review-basics\u002FSKILL.md",[],[]]