[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AMWTZ8XNC90HAFFFX8CKPR":3,"skill-same:01M7AMWTZ8XNC90HAFFFX8CKPR":53},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7AMWTZ8XNC90HAFFFX8CKPR","full-page-screenshot",null,"Use when the user asks to capture a full-page screenshot, long screenshot, or complete page capture of a web page. Handles SPA scroll containers, lazy-loaded images, and very tall pages via Chrome DevTools Protocol with zero external dependencies.","Cyrilthetecchieee\u002Fcyril-code-","Cyrilthetecchieee","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F219787998?v=4","01M7AF0MMMKRAA0H61XMJPV92H","Julian Cyril D ","01M7AF0MQ10AVG6QJQ1C2BC0F5",2,"MIT","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fengineering\u002Fskills\u002Ffull-page-screenshot\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: \"full-page-screenshot\"\ndescription: \"Use when the user asks to capture a full-page screenshot, long screenshot, or complete page capture of a web page. Handles SPA scroll containers, lazy-loaded images, and very tall pages via Chrome DevTools Protocol with zero external dependencies.\"\n---\n\n# Full Page Screenshot\n\nCapture a full-page screenshot of any web page via Chrome DevTools Protocol. Produces a single PNG that includes all content — even portions that require scrolling. Zero external dependencies beyond Node.js 22+ and Chrome with remote debugging enabled.\n\n## Prerequisites\n\n- **Node.js 22+** (uses built-in `WebSocket`)\n- **Chrome\u002FChromium** with remote debugging enabled\n\nCheck environment readiness:\n\n```bash\nnode \"${SKILL_DIR}\u002Fscripts\u002Ffull-page-screenshot.mjs\" --check\n```\n\nIf Chrome check fails, instruct user to open `chrome:\u002F\u002Finspect\u002F#remote-debugging` and enable **\"Allow remote debugging for this browser instance\"**.\n\n## Workflow\n\n### Option A: Screenshot an already-open tab (recommended for authenticated pages)\n\n1. List available tabs:\n\n```bash\nnode \"${SKILL_DIR}\u002Fscripts\u002Ffull-page-screenshot.mjs\" --list\n```\n\n2. Identify the target by title\u002FURL, then capture:\n\n```bash\nnode \"${SKILL_DIR}\u002Fscripts\u002Ffull-page-screenshot.mjs\" \u003CtargetId> \u002Ftmp\u002Fscreenshot.png --width 1200 --dpr 1\n```\n\n### Option B: Screenshot a URL (opens a background tab, captures, closes)\n\n```bash\nnode \"${SKILL_DIR}\u002Fscripts\u002Ffull-page-screenshot.mjs\" --url \"https:\u002F\u002Fexample.com\" \u002Ftmp\u002Fscreenshot.png --width 1200 --dpr 1 --wait 15000\n```\n\n> **Note:** `--url` mode creates a background tab. Pages requiring authentication (SSO, login walls) should use Option A instead.\n\n### Parameters\n\n| Parameter | Description | Default |\n|-----------|-------------|---------|\n| `output` | Output PNG file path | `\u002Ftmp\u002Fscreenshot.png` |\n| `--width` | Viewport width in CSS pixels (articles: 1200, dashboards: 1440-1920) | 1200 |\n| `--dpr` | Device pixel ratio (2 = Retina, but 4x file size) | 1 |\n| `--wait` | Page load timeout in ms (`--url` mode only) | 15000 |\n| `--css` | Custom CSS to inject before capture (e.g., hide elements) | — |\n\n### Verify Output\n\n```bash\n# macOS\nsips -g pixelWidth -g pixelHeight \u002Ftmp\u002Fscreenshot.png\n\n# Linux\nfile \u002Ftmp\u002Fscreenshot.png\n```\n\n## Core Capabilities\n\n1. **SPA scroll container expansion** — Detects `overflow-y: auto\u002Fscroll` containers, scrolls through them to trigger lazy-loading, then removes overflow constraints (including Tailwind `h-[calc(...)]`) so all content renders in a single pass.\n\n2. **DOM stability detection** — After `readyState=complete`, monitors DOM element count until it stabilizes. This ensures SPA frameworks finish rendering dynamic content.\n\n3. **Lazy-load triggering** — Scrolls the viewport incrementally to fire `IntersectionObserver` callbacks, then waits for all `\u003Cimg>` elements to complete loading.\n\n4. **Tiled capture for very tall pages** — Pages exceeding 16,000px are captured in 8,000px tiles and automatically stitched using Python PIL. Falls back to saving tiles separately if PIL is unavailable.\n\n5. **Auto-discovery of Chrome** — Reads `DevToolsActivePort` file to find the debugging port. Falls back to probing ports 9222, 9229, 9333.\n\n6. **CDP Proxy fallback** — When a CDP proxy holds the browser WebSocket, the script falls back to proxy API endpoints (`\u002Feval`, `\u002Fscreenshot`, `\u002Fscroll`) for capture.\n\n## How It Works\n\n```\n1. Discover Chrome debugging port\n2. Connect via WebSocket (CDP)\n3. Attach to target \u002F create background tab\n4. Set viewport width via Emulation domain\n5. Wait: readyState + DOM stability\n6. Detect & expand scroll containers\n7. Scroll through page (trigger lazy-load)\n8. Wait for images to complete\n9. Measure final content height\n10. Page.captureScreenshot (or tiled capture)\n11. Stitch tiles if needed (PIL)\n12. Restore viewport, detach, clean up\n```\n\n## Anti-Patterns\n\n| Do NOT | Do instead |\n|--------|-----------|\n| Use `--dpr 2` on pages > 10,000px tall | Use `--dpr 1` to avoid Chrome memory issues |\n| Use `--url` for authenticated\u002FSSO pages | Use `--list` + targetId on a tab where user is logged in |\n| Set `--wait` below 5000 for SPAs | SPAs need time to fetch data and render; use 10000-15000 |\n| Capture without checking `--check` first | Always verify Chrome debugging is available |\n| Hardcode viewport widths for all pages | Use 1200 for articles, 1440+ for dashboards\u002Ftables |\n| Skip output verification | Always verify with `sips` or `file` command after capture |\n\n## Troubleshooting\n\n| Symptom | Cause | Fix |\n|---------|-------|-----|\n| \"Cannot find Chrome debugging port\" | Remote debugging not enabled | Open `chrome:\u002F\u002Finspect\u002F#remote-debugging`, enable it |\n| \"WebSocket connection timeout\" | CDP proxy holding the connection | Script auto-falls back to proxy API |\n| Blank\u002Fwhite screenshot | Page not loaded yet | Increase `--wait` value |\n| Truncated at bottom | Scroll container not expanded | Script handles this automatically; file an issue if it persists |\n| Out of memory | Very tall page + high DPR | Reduce `--dpr` to 1 and\u002For reduce `--width` |\n| \"PIL not available for stitching\" | Python Pillow not installed | Install with `pip3 install Pillow` or accept separate tile files |\n\n## Cross-References\n\n- [`engineering\u002Fbrowser-automation`](..\u002Fbrowser-automation\u002FSKILL.md) — General browser automation patterns via CDP\u002FPlaywright\n- [`engineering\u002Fperformance-profiler`](..\u002Fperformance-profiler\u002FSKILL.md) — Performance analysis that may complement visual captures\n","# Full Page Screenshot\n\nCapture a full-page screenshot of any web page via Chrome DevTools Protocol. Produces a single PNG that includes all content — even portions that require scrolling. Zero external dependencies beyond Node.js 22+ and Chrome with remote debugging enabled.\n\n## Prerequisites\n\n- **Node.js 22+** (uses built-in `WebSocket`)\n- **Chrome\u002FChromium** with remote debugging enabled\n\nCheck environment readiness:\n\n```bash\nnode \"${SKILL_DIR}\u002Fscripts\u002Ffull-page-screenshot.mjs\" --check\n```\n\nIf Chrome check fails, instruct user to open `chrome:\u002F\u002Finspect\u002F#remote-debugging` and enable **\"Allow remote debugging for this browser instance\"**.\n\n## Workflow\n\n### Option A: Screenshot an already-open tab (recommended for authenticated pages)\n\n1. List available tabs:\n\n```bash\nnode \"${SKILL_DIR}\u002Fscripts\u002Ffull-page-screenshot.mjs\" --list\n```\n\n2. Identify the target by title\u002FURL, then capture:\n\n```bash\nnode \"${SKILL_DIR}\u002Fscripts\u002Ffull-page-screenshot.mjs\" \u003CtargetId> \u002Ftmp\u002Fscreenshot.png --width 1200 --dpr 1\n```\n\n### Option B: Screenshot a URL (opens a background tab, captures, closes)\n\n```bash\nnode \"${SKILL_DIR}\u002Fscripts\u002Ffull-page-screenshot.mjs\" --url \"https:\u002F\u002Fexample.com\" \u002Ftmp\u002Fscreenshot.png --width 1200 --dpr 1 --wait 15000\n```\n\n> **Note:** `--url` mode creates a background tab. Pages requiring authentication (SSO, login walls) should use Option A instead.\n\n### Parameters\n\n| Parameter | Description | Default |\n|-----------|-------------|---------|\n| `output` | Output PNG file path | `\u002Ftmp\u002Fscreenshot.png` |\n| `--width` | Viewport width in CSS pixels (articles: 1200, dashboards: 1440-1920) | 1200 |\n| `--dpr` | Device pixel ratio (2 = Retina, but 4x file size) | 1 |\n| `--wait` | Page load timeout in ms (`--url` mode only) | 15000 |\n| `--css` | Custom CSS to inject before capture (e.g., hide elements) | — |\n\n### Verify Output\n\n```bash\n# macOS\nsips -g pixelWidth -g pixelHeight \u002Ftmp\u002Fscreenshot.png\n\n# Linux\nfile \u002Ftmp\u002Fscreenshot.png\n```\n\n## Core Capabilities\n\n1. **SPA scroll container expansion** — Detects `overflow-y: auto\u002Fscroll` containers, scrolls through them to trigger lazy-loading, then removes overflow constraints (including Tailwind `h-[calc(...)]`) so all content renders in a single pass.\n\n2. **DOM stability detection** — After `readyState=complete`, monitors DOM element count until it stabilizes. This ensures SPA frameworks finish rendering dynamic content.\n\n3. **Lazy-load triggering** — Scrolls the viewport incrementally to fire `IntersectionObserver` callbacks, then waits for all `\u003Cimg>` elements to complete loading.\n\n4. **Tiled capture for very tall pages** — Pages exceeding 16,000px are captured in 8,000px tiles and automatically stitched using Python PIL. Falls back to saving tiles separately if PIL is unavailable.\n\n5. **Auto-discovery of Chrome** — Reads `DevToolsActivePort` file to find the debugging port. Falls back to probing ports 9222, 9229, 9333.\n\n6. **CDP Proxy fallback** — When a CDP proxy holds the browser WebSocket, the script falls back to proxy API endpoints (`\u002Feval`, `\u002Fscreenshot`, `\u002Fscroll`) for capture.\n\n## How It Works\n\n```\n1. Discover Chrome debugging port\n2. Connect via WebSocket (CDP)\n3. Attach to target \u002F create background tab\n4. Set viewport width via Emulation domain\n5. Wait: readyState + DOM stability\n6. Detect & expand scroll containers\n7. Scroll through page (trigger lazy-load)\n8. Wait for images to complete\n9. Measure final content height\n10. Page.captureScreenshot (or tiled capture)\n11. Stitch tiles if needed (PIL)\n12. Restore viewport, detach, clean up\n```\n\n## Anti-Patterns\n\n| Do NOT | Do instead |\n|--------|-----------|\n| Use `--dpr 2` on pages > 10,000px tall | Use `--dpr 1` to avoid Chrome memory issues |\n| Use `--url` for authenticated\u002FSSO pages | Use `--list` + targetId on a tab where user is logged in |\n| Set `--wait` below 5000 for SPAs | SPAs need time to fetch data and render; use 10000-15000 |\n| Capture without checking `--check` first | Always verify Chrome debugging is available |\n| Hardcode viewport widths for all pages | Use 1200 for articles, 1440+ for dashboards\u002Ftables |\n| Skip output verification | Always verify with `sips` or `file` command after capture |\n\n## Troubleshooting\n\n| Symptom | Cause | Fix |\n|---------|-------|-----|\n| \"Cannot find Chrome debugging port\" | Remote debugging not enabled | Open `chrome:\u002F\u002Finspect\u002F#remote-debugging`, enable it |\n| \"WebSocket connection timeout\" | CDP proxy holding the connection | Script auto-falls back to proxy API |\n| Blank\u002Fwhite screenshot | Page not loaded yet | Increase `--wait` value |\n| Truncated at bottom | Scroll container not expanded | Script handles this automatically; file an issue if it persists |\n| Out of memory | Very tall page + high DPR | Reduce `--dpr` to 1 and\u002For reduce `--width` |\n| \"PIL not available for stitching\" | Python Pillow not installed | Install with `pip3 install Pillow` or accept separate tile files |\n\n## Cross-References\n\n- [`engineering\u002Fbrowser-automation`](..\u002Fbrowser-automation\u002FSKILL.md) — General browser automation patterns via CDP\u002FPlaywright\n- [`engineering\u002Fperformance-profiler`](..\u002Fperformance-profiler\u002FSKILL.md) — Performance analysis that may complement visual captures\n",{"name":5,"description":7},"main","57e7aa6b6e03bce1a7d7862ba9c2ec312f7f19b5","src\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fengineering\u002Fskills\u002Ffull-page-screenshot",0,"https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee","https:\u002F\u002Fwithcyril.me\u002F","Hi, I’m Julian Cyril D, a Computer Science and Business Systems student at PSNACET.\r\nI’m passionate about full-stack development, UI\u002FUX design, and building sma","2026-11-04 23:28:50",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Cyrilthetecchieee\u002Fcyril-code- --skill full-page-screenshot",{"tool":39,"command":40},"bunx","bunx skills add Cyrilthetecchieee\u002Fcyril-code- --skill full-page-screenshot",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Cyrilthetecchieee\u002Fcyril-code- --skill full-page-screenshot","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fengineering\u002Fskills\u002Ffull-page-screenshot\u002FSKILL.md",true,[47],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"scripts\u002Ffull-page-screenshot.mjs","SCRIPT","脚本",35910,"https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fengineering\u002Fskills\u002Ffull-page-screenshot\u002Fscripts\u002Ffull-page-screenshot.mjs",[54,63,70,78,85,92],{"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":58,"licenseFileUrl":59,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7AQV6CYX8RMC78420V9WZ62","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7AQV2895N3S1MEX6K76G6G2","youtube-downloader","Download YouTube videos with customizable quality and format options. Use this skill when the user asks to download, save, or grab YouTube videos. Supports various quality settings (best, 1080p, 720p, 480p, 360p), multiple formats (mp4, webm, mkv), and audio-only downloads as MP3.","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fvideo-downloader\u002FSKILL.md",[],[],{"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":58,"licenseFileUrl":74,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7AQTRNX62DNKVZ5GXEHRBKB","theme-factory","Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors\u002Ffonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftheme-factory\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftheme-factory\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7AQTNNVHAAN9H6DA8T6ZVE0","template-skill","Replace with description of the skill and when Claude should use it.","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftemplate-skill\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7AQTJ3MQ6AKX152MEX2MYCC","tailored-resume-generator","Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftailored-resume-generator\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":58,"licenseFileUrl":96,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7AQTD7D5MYET2YWG7HG9WM3","slack-gif-creator","Toolkit for creating animated GIFs optimized for Slack, with validators for size constraints and composable animation primitives. This skill applies when users request animated GIFs or emoji animations for Slack from descriptions like \"make me a GIF for Slack of X doing Y\".","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fslack-gif-creator\u002FSKILL.md",[],[]]