aiskillstore/marketplace / skills/2025emma/snapdom
snapdom
VerifiedsnapDOM is a fast, accurate DOM-to-image capture tool that converts HTML elements into scalable SVG images. Use for capturing HTML elements, converting DOM to images (SVG, PNG, JPG, WebP), preserving styles, fonts, and pseudo-elements.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 7.5 KB |
| references/index.md | markdown | 90 B |
| references/other.md | markdown | 883 B |
| skill-report.json | config | 57.3 KB |
skill-report.json
View on GitHub{
"schema_version": "2.0",
"meta": {
"generated_at": "2026-07-09T01:38:07.894Z",
"slug": "2025emma-snapdom",
"source_url": "https://github.com/2025Emma/vibe-coding-cn/tree/main/i18n/zh/skills/snapdom",
"source_ref": "main",
"model": "claude",
"analysis_version": "3.0.0",
"source_type": "community",
"content_hash": "0246aedbf889e0882da6cba2669f496fd94deb1a7cd2b511044ffe2f44c3cc24",
"tree_hash": "91adf5e1db2a075e57fc5d1fa0bd784d33715672e95df4deb293c202b51cdb74",
"provenance": {
"model_requested": "claude-sonnet-4.6",
"model_effective": "claude:claude-sonnet-4.6",
"fallback_chain": [
{
"agent": "claude",
"model": "claude-sonnet-4.6",
"outcome": "success"
}
],
"analysis_version": "3.0.0"
}
},
"skill": {
"name": "snapdom",
"description": "snapDOM helps developers capture styled HTML elements and export them as SVG, PNG, JPG, WebP, Canvas, or Blob outputs.",
"summary": "Capture styled DOM elements and export them as reusable image assets.",
"icon": "📦",
"version": "1.0.0",
"author": "2025Emma",
"license": "MIT",
"tags": [
"dom-capture",
"screenshots",
"svg-export",
"frontend",
"image-export"
],
"supported_tools": [
"claude",
"codex",
"claude-code"
],
"risk_factors": [
"external_commands",
"network"
],
"category": "coding"
},
"security_audit": {
"risk_level": "medium",
"is_blocked": false,
"safe_to_publish": true,
"analysis_status": "ok",
"summary": "Most static findings are false positives caused by markdown code fences, inline option names, documented setup commands, and public resource links. No prompt injection, covert upload behavior, or hidden command execution was found. The only substantive risk is privacy exposure when users route captured page resources through a CORS proxy.",
"remediation": [
{
"issue": "CORS proxy guidance lacks a privacy warning.",
"suggestion": "Tell users to avoid third-party proxies for sensitive pages and to use a trusted same-origin or self-hosted proxy when proxy fallback is required.",
"severity": "medium"
},
{
"issue": "CDN import examples depend on remote package delivery.",
"suggestion": "Recommend pinned package versions or npm installation for production use to reduce supply-chain and availability risk.",
"severity": "low"
}
],
"risk_factor_evidence": [
{
"factor": "external_commands",
"evidence": [
{
"file": "SKILL.md",
"line_start": 53,
"line_end": 57
},
{
"file": "SKILL.md",
"line_start": 57,
"line_end": 60
},
{
"file": "SKILL.md",
"line_start": 60,
"line_end": 64
},
{
"file": "SKILL.md",
"line_start": 64,
"line_end": 67
},
{
"file": "SKILL.md",
"line_start": 67,
"line_end": 69
},
{
"file": "SKILL.md",
"line_start": 69,
"line_end": 74
},
{
"file": "SKILL.md",
"line_start": 74,
"line_end": 87
},
{
"file": "SKILL.md",
"line_start": 87,
"line_end": 90
},
{
"file": "SKILL.md",
"line_start": 90,
"line_end": 94
},
{
"file": "SKILL.md",
"line_start": 94,
"line_end": 97
},
{
"file": "SKILL.md",
"line_start": 97,
"line_end": 101
},
{
"file": "SKILL.md",
"line_start": 101,
"line_end": 104
},
{
"file": "SKILL.md",
"line_start": 104,
"line_end": 117
},
{
"file": "SKILL.md",
"line_start": 117,
"line_end": 123
},
{
"file": "SKILL.md",
"line_start": 123,
"line_end": 124
},
{
"file": "SKILL.md",
"line_start": 124,
"line_end": 125
},
{
"file": "SKILL.md",
"line_start": 125,
"line_end": 126
},
{
"file": "SKILL.md",
"line_start": 126,
"line_end": 127
},
{
"file": "SKILL.md",
"line_start": 127,
"line_end": 128
},
{
"file": "SKILL.md",
"line_start": 128,
"line_end": 129
},
{
"file": "SKILL.md",
"line_start": 129,
"line_end": 130
},
{
"file": "SKILL.md",
"line_start": 130,
"line_end": 135
},
{
"file": "SKILL.md",
"line_start": 135,
"line_end": 140
},
{
"file": "SKILL.md",
"line_start": 140,
"line_end": 143
},
{
"file": "SKILL.md",
"line_start": 143,
"line_end": 148
},
{
"file": "SKILL.md",
"line_start": 148,
"line_end": 151
},
{
"file": "SKILL.md",
"line_start": 151,
"line_end": 157
},
{
"file": "SKILL.md",
"line_start": 157,
"line_end": 160
},
{
"file": "SKILL.md",
"line_start": 160,
"line_end": 165
},
{
"file": "SKILL.md",
"line_start": 165,
"line_end": 168
},
{
"file": "SKILL.md",
"line_start": 168,
"line_end": 182
},
{
"file": "SKILL.md",
"line_start": 182,
"line_end": 197
},
{
"file": "SKILL.md",
"line_start": 197,
"line_end": 201
},
{
"file": "SKILL.md",
"line_start": 201,
"line_end": 204
},
{
"file": "SKILL.md",
"line_start": 204,
"line_end": 206
},
{
"file": "SKILL.md",
"line_start": 206,
"line_end": 209
},
{
"file": "SKILL.md",
"line_start": 209,
"line_end": 211
},
{
"file": "SKILL.md",
"line_start": 211,
"line_end": 230
},
{
"file": "SKILL.md",
"line_start": 230,
"line_end": 231
},
{
"file": "SKILL.md",
"line_start": 231,
"line_end": 232
},
{
"file": "SKILL.md",
"line_start": 232,
"line_end": 247
},
{
"file": "SKILL.md",
"line_start": 247,
"line_end": 247
},
{
"file": "SKILL.md",
"line_start": 248,
"line_end": 249
},
{
"file": "SKILL.md",
"line_start": 249,
"line_end": 251
},
{
"file": "SKILL.md",
"line_start": 251,
"line_end": 259
},
{
"file": "SKILL.md",
"line_start": 259,
"line_end": 262
},
{
"file": "SKILL.md",
"line_start": 262,
"line_end": 267
},
{
"file": "SKILL.md",
"line_start": 267,
"line_end": 272
},
{
"file": "SKILL.md",
"line_start": 272,
"line_end": 273
}
]
},
{
"factor": "network",
"evidence": [
{
"file": "SKILL.md",
"line_start": 62,
"line_end": 62
},
{
"file": "SKILL.md",
"line_start": 68,
"line_end": 68
},
{
"file": "SKILL.md",
"line_start": 163,
"line_end": 163
},
{
"file": "SKILL.md",
"line_start": 198,
"line_end": 198
},
{
"file": "SKILL.md",
"line_start": 223,
"line_end": 223
},
{
"file": "SKILL.md",
"line_start": 224,
"line_end": 224
},
{
"file": "SKILL.md",
"line_start": 225,
"line_end": 225
},
{
"file": "SKILL.md",
"line_start": 243,
"line_end": 243
}
]
}
],
"static_findings": [
{
"id": "external_commands:SKILL.md:53:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 53,
"line_end": 57,
"snippet": "```bash"
},
{
"id": "external_commands:SKILL.md:57:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 57,
"line_end": 60,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:60:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 60,
"line_end": 64,
"snippet": "```html"
},
{
"id": "external_commands:SKILL.md:64:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 64,
"line_end": 67,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:67:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 67,
"line_end": 69,
"snippet": "```html"
},
{
"id": "external_commands:SKILL.md:69:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 69,
"line_end": 74,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:74:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 74,
"line_end": 87,
"snippet": "```javascript"
},
{
"id": "external_commands:SKILL.md:87:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 87,
"line_end": 90,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:90:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 90,
"line_end": 94,
"snippet": "```javascript"
},
{
"id": "external_commands:SKILL.md:94:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 94,
"line_end": 97,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:97:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 97,
"line_end": 101,
"snippet": "```javascript"
},
{
"id": "external_commands:SKILL.md:101:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 101,
"line_end": 104,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:104:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 104,
"line_end": 117,
"snippet": "```javascript"
},
{
"id": "external_commands:SKILL.md:117:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 117,
"line_end": 123,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:123:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 123,
"line_end": 124,
"snippet": "| `scale` | Number | Scale output (e.g., 2 for 2x resolution) |"
},
{
"id": "external_commands:SKILL.md:124:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 124,
"line_end": 125,
"snippet": "| `width` | Number | Custom output width in pixels |"
},
{
"id": "external_commands:SKILL.md:125:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 125,
"line_end": 126,
"snippet": "| `height` | Number | Custom output height in pixels |"
},
{
"id": "external_commands:SKILL.md:126:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 126,
"line_end": 127,
"snippet": "| `embedFonts` | Boolean | Include non-icon @font-face rules |"
},
{
"id": "external_commands:SKILL.md:127:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 127,
"line_end": 128,
"snippet": "| `useProxy` | String\\|Boolean | Enable CORS proxy (URL or true for default) |"
},
{
"id": "external_commands:SKILL.md:128:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 128,
"line_end": 129,
"snippet": "| `exclude` | String | CSS selector for elements to hide |"
},
{
"id": "external_commands:SKILL.md:129:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 129,
"line_end": 130,
"snippet": "| `straighten` | Boolean | Remove translate/rotate transforms |"
},
{
"id": "external_commands:SKILL.md:130:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 130,
"line_end": 135,
"snippet": "| `noShadows` | Boolean | Strip shadow effects |"
},
{
"id": "external_commands:SKILL.md:135:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 135,
"line_end": 140,
"snippet": "```javascript"
},
{
"id": "external_commands:SKILL.md:140:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 140,
"line_end": 143,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:143:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 143,
"line_end": 148,
"snippet": "```javascript"
},
{
"id": "external_commands:SKILL.md:148:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 148,
"line_end": 151,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:151:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 151,
"line_end": 157,
"snippet": "```javascript"
},
{
"id": "external_commands:SKILL.md:157:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 157,
"line_end": 160,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:160:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 160,
"line_end": 165,
"snippet": "```javascript"
},
{
"id": "external_commands:SKILL.md:165:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 165,
"line_end": 168,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:168:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 168,
"line_end": 182,
"snippet": "```javascript"
},
{
"id": "external_commands:SKILL.md:182:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 182,
"line_end": 197,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:197:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 197,
"line_end": 201,
"snippet": "```bash"
},
{
"id": "external_commands:SKILL.md:201:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 201,
"line_end": 204,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:204:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 204,
"line_end": 206,
"snippet": "```bash"
},
{
"id": "external_commands:SKILL.md:206:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 206,
"line_end": 209,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:209:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 209,
"line_end": 211,
"snippet": "```bash"
},
{
"id": "external_commands:SKILL.md:211:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 211,
"line_end": 230,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:230:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 230,
"line_end": 231,
"snippet": "- `batch-screenshot.js` - Capture multiple elements"
},
{
"id": "external_commands:SKILL.md:231:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 231,
"line_end": 232,
"snippet": "- `pdf-export.js` - Convert snapshots to PDF"
},
{
"id": "external_commands:SKILL.md:232:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 232,
"line_end": 247,
"snippet": "- `compare-outputs.js` - Compare SVG vs PNG quality"
},
{
"id": "external_commands:SKILL.md:247:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 247,
"line_end": 247,
"snippet": "1. **Performance**: Use `scale` instead of `width`/`height` for better performance"
},
{
"id": "external_commands:SKILL.md:248:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 248,
"line_end": 249,
"snippet": "2. **Fonts**: Set `embedFonts: true` to ensure custom fonts appear correctly"
},
{
"id": "external_commands:SKILL.md:249:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 249,
"line_end": 251,
"snippet": "3. **CORS Issues**: Use `useProxy: true` if images fail to load"
},
{
"id": "external_commands:SKILL.md:251:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 251,
"line_end": 259,
"snippet": "5. **Quality**: For PNG/JPG, use `quality: 0.95` for best quality"
},
{
"id": "external_commands:SKILL.md:259:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 259,
"line_end": 262,
"snippet": "- Try `straighten: false` if transforms are causing issues"
},
{
"id": "external_commands:SKILL.md:262:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 262,
"line_end": 267,
"snippet": "- Set `embedFonts: true`"
},
{
"id": "external_commands:SKILL.md:267:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 267,
"line_end": 272,
"snippet": "- Enable `useProxy: true`"
},
{
"id": "external_commands:SKILL.md:272:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 272,
"line_end": 273,
"snippet": "- Reduce `scale` value"
},
{
"id": "network:SKILL.md:62:hardcoded-url",
"category": "network",
"severity": "low",
"pattern": "Hardcoded URL",
"file": "SKILL.md",
"line_start": 62,
"line_end": 62,
"snippet": "import { snapdom } from \"https://unpkg.com/@zumer/snapdom/dist/snapdom.mjs\";"
},
{
"id": "network:SKILL.md:68:hardcoded-url",
"category": "network",
"severity": "low",
"pattern": "Hardcoded URL",
"file": "SKILL.md",
"line_start": 68,
"line_end": 68,
"snippet": "<script src=\"https://unpkg.com/@zumer/snapdom/dist/snapdom.umd.js\"></script>"
},
{
"id": "network:SKILL.md:163:hardcoded-url",
"category": "network",
"severity": "low",
"pattern": "Hardcoded URL",
"file": "SKILL.md",
"line_start": 163,
"line_end": 163,
"snippet": "useProxy: 'https://cors.example.com/?' // Custom proxy"
},
{
"id": "network:SKILL.md:198:hardcoded-url",
"category": "network",
"severity": "low",
"pattern": "Hardcoded URL",
"file": "SKILL.md",
"line_start": 198,
"line_end": 198,
"snippet": "git clone https://github.com/zumerlab/snapdom.git"
},
{
"id": "network:SKILL.md:223:hardcoded-url",
"category": "network",
"severity": "low",
"pattern": "Hardcoded URL",
"file": "SKILL.md",
"line_start": 223,
"line_end": 223,
"snippet": "- **Official Website:** https://snapdom.dev/"
},
{
"id": "network:SKILL.md:224:hardcoded-url",
"category": "network",
"severity": "low",
"pattern": "Hardcoded URL",
"file": "SKILL.md",
"line_start": 224,
"line_end": 224,
"snippet": "- **GitHub Repository:** https://github.com/zumerlab/snapdom"
},
{
"id": "network:SKILL.md:225:hardcoded-url",
"category": "network",
"severity": "low",
"pattern": "Hardcoded URL",
"file": "SKILL.md",
"line_start": 225,
"line_end": 225,
"snippet": "- **NPM Package:** https://www.npmjs.com/package/@zumer/snapdom"
},
{
"id": "network:SKILL.md:243:hardcoded-url",
"category": "network",
"severity": "low",
"pattern": "Hardcoded URL",
"file": "SKILL.md",
"line_start": 243,
"line_end": 243,
"snippet": "- **Orbit CSS Toolkit** - Companion toolkit by Zumerlab (https://github.com/zumerlab/orbit)"
},
{
"id": "blocker:SKILL.md:230:screen-capture-upload",
"category": "blocker",
"severity": "high",
"pattern": "Screen capture upload",
"file": "SKILL.md",
"line_start": 230,
"line_end": 230,
"snippet": "- `batch-screenshot.js` - Capture multiple elements"
}
],
"finding_verdicts": [
{
"id": "external_commands:SKILL.md:53:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.94,
"reason": "This is a markdown code fence for documented npm, git, build, or test commands. The skill does not execute these commands automatically or interpolate user input into a shell."
},
{
"id": "external_commands:SKILL.md:57:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "external_commands:SKILL.md:60:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "This is a markdown code fence for an HTML import example. It documents browser usage and is not Ruby or shell backtick execution."
},
{
"id": "external_commands:SKILL.md:64:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "external_commands:SKILL.md:67:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "This is a markdown code fence for an HTML import example. It documents browser usage and is not Ruby or shell backtick execution."
},
{
"id": "external_commands:SKILL.md:69:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "external_commands:SKILL.md:74:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "This is a markdown code fence for JavaScript usage examples. The snippets demonstrate calling snapDOM APIs and are not shell execution."
},
{
"id": "external_commands:SKILL.md:87:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "external_commands:SKILL.md:90:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "This is a markdown code fence for JavaScript usage examples. The snippets demonstrate calling snapDOM APIs and are not shell execution."
},
{
"id": "external_commands:SKILL.md:94:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "external_commands:SKILL.md:97:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "This is a markdown code fence for JavaScript usage examples. The snippets demonstrate calling snapDOM APIs and are not shell execution."
},
{
"id": "external_commands:SKILL.md:101:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "external_commands:SKILL.md:104:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "This is a markdown code fence for JavaScript usage examples. The snippets demonstrate calling snapDOM APIs and are not shell execution."
},
{
"id": "external_commands:SKILL.md:117:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "external_commands:SKILL.md:123:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "external_commands:SKILL.md:124:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "external_commands:SKILL.md:125:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "external_commands:SKILL.md:126:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "external_commands:SKILL.md:127:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "external_commands:SKILL.md:128:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "external_commands:SKILL.md:129:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "external_commands:SKILL.md:130:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "external_commands:SKILL.md:135:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "This is a markdown code fence for JavaScript usage examples. The snippets demonstrate calling snapDOM APIs and are not shell execution."
},
{
"id": "external_commands:SKILL.md:140:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "external_commands:SKILL.md:143:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "This is a markdown code fence for JavaScript usage examples. The snippets demonstrate calling snapDOM APIs and are not shell execution."
},
{
"id": "external_commands:SKILL.md:148:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "external_commands:SKILL.md:151:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "This is a markdown code fence for JavaScript usage examples. The snippets demonstrate calling snapDOM APIs and are not shell execution."
},
{
"id": "external_commands:SKILL.md:157:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "external_commands:SKILL.md:160:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "This is a markdown code fence for JavaScript usage examples. The snippets demonstrate calling snapDOM APIs and are not shell execution."
},
{
"id": "external_commands:SKILL.md:165:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "external_commands:SKILL.md:168:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "This is a markdown code fence for JavaScript usage examples. The snippets demonstrate calling snapDOM APIs and are not shell execution."
},
{
"id": "external_commands:SKILL.md:182:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "external_commands:SKILL.md:197:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.94,
"reason": "This is a markdown code fence for documented npm, git, build, or test commands. The skill does not execute these commands automatically or interpolate user input into a shell."
},
{
"id": "external_commands:SKILL.md:201:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "external_commands:SKILL.md:204:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.94,
"reason": "This is a markdown code fence for documented npm, git, build, or test commands. The skill does not execute these commands automatically or interpolate user input into a shell."
},
{
"id": "external_commands:SKILL.md:206:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "external_commands:SKILL.md:209:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.94,
"reason": "This is a markdown code fence for documented npm, git, build, or test commands. The skill does not execute these commands automatically or interpolate user input into a shell."
},
{
"id": "external_commands:SKILL.md:211:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "external_commands:SKILL.md:230:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "external_commands:SKILL.md:231:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "external_commands:SKILL.md:232:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "external_commands:SKILL.md:247:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "external_commands:SKILL.md:248:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "external_commands:SKILL.md:249:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "external_commands:SKILL.md:251:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "external_commands:SKILL.md:259:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "external_commands:SKILL.md:262:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "external_commands:SKILL.md:267:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "external_commands:SKILL.md:272:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The snippet is markdown documentation or inline code formatting for options and example filenames. It is not executable shell logic and contains no user-controlled command construction."
},
{
"id": "network:SKILL.md:62:hardcoded-url",
"verdict": "false_positive",
"confidence": 0.9,
"reason": "The URL is a documented CDN import path for the snapDOM package. It is user-visible installation guidance, not covert network activity by the skill."
},
{
"id": "network:SKILL.md:68:hardcoded-url",
"verdict": "false_positive",
"confidence": 0.9,
"reason": "The URL is a documented CDN import path for the snapDOM package. It is user-visible installation guidance, not covert network activity by the skill."
},
{
"id": "network:SKILL.md:163:hardcoded-url",
"verdict": "false_positive",
"confidence": 0.82,
"reason": "The URL is an illustrative placeholder for configuring a CORS proxy. It is documented behavior rather than a hardcoded exfiltration endpoint, though proxy use has separate privacy considerations."
},
{
"id": "network:SKILL.md:198:hardcoded-url",
"verdict": "false_positive",
"confidence": 0.92,
"reason": "The URL appears in documentation or resource links for the project, repository, package, or related tool. No evidence shows automatic requests or data exfiltration."
},
{
"id": "network:SKILL.md:223:hardcoded-url",
"verdict": "false_positive",
"confidence": 0.92,
"reason": "The URL appears in documentation or resource links for the project, repository, package, or related tool. No evidence shows automatic requests or data exfiltration."
},
{
"id": "network:SKILL.md:224:hardcoded-url",
"verdict": "false_positive",
"confidence": 0.92,
"reason": "The URL appears in documentation or resource links for the project, repository, package, or related tool. No evidence shows automatic requests or data exfiltration."
},
{
"id": "network:SKILL.md:225:hardcoded-url",
"verdict": "false_positive",
"confidence": 0.92,
"reason": "The URL appears in documentation or resource links for the project, repository, package, or related tool. No evidence shows automatic requests or data exfiltration."
},
{
"id": "network:SKILL.md:243:hardcoded-url",
"verdict": "false_positive",
"confidence": 0.92,
"reason": "The URL appears in documentation or resource links for the project, repository, package, or related tool. No evidence shows automatic requests or data exfiltration."
},
{
"id": "blocker:SKILL.md:230:screen-capture-upload",
"verdict": "false_positive",
"confidence": 0.9,
"reason": "Line 230 lists a hypothetical helper script named batch-screenshot.js. It does not upload captures, define network transfer behavior, or include executable code."
}
],
"semantic_findings": [
{
"title": "CORS proxy guidance may expose captured resources",
"description": "The skill recommends proxy fallback for CORS-blocked assets, including useProxy examples and troubleshooting guidance. A third-party proxy can receive resource URLs or asset contents from pages being captured, so users need explicit privacy and trust warnings.",
"severity": "medium",
"locations": [
{
"file": "SKILL.md",
"line_start": 17,
"line_end": 18
},
{
"file": "SKILL.md",
"line_start": 44,
"line_end": 45
},
{
"file": "SKILL.md",
"line_start": 111,
"line_end": 111
},
{
"file": "SKILL.md",
"line_start": 127,
"line_end": 127
},
{
"file": "SKILL.md",
"line_start": 159,
"line_end": 164
},
{
"file": "SKILL.md",
"line_start": 266,
"line_end": 268
}
],
"confidence": 0.76,
"confidence_reasoning": "The documentation repeatedly promotes proxy fallback for blocked resources. The risk depends on user configuration, but the privacy impact is clear enough to document."
}
],
"critical_findings": [],
"high_findings": [],
"medium_findings": [
{
"title": "CORS proxy guidance may expose captured resources",
"description": "The skill recommends proxy fallback for CORS-blocked assets, including useProxy examples and troubleshooting guidance. A third-party proxy can receive resource URLs or asset contents from pages being captured, so users need explicit privacy and trust warnings.",
"locations": [
{
"file": "SKILL.md",
"line_start": 17,
"line_end": 18
},
{
"file": "SKILL.md",
"line_start": 44,
"line_end": 45
},
{
"file": "SKILL.md",
"line_start": 111,
"line_end": 111
},
{
"file": "SKILL.md",
"line_start": 127,
"line_end": 127
},
{
"file": "SKILL.md",
"line_start": 159,
"line_end": 164
},
{
"file": "SKILL.md",
"line_start": 266,
"line_end": 268
}
],
"review_kind": "security",
"source_category": "semantic",
"source_severity": "medium",
"confidence": 0.76,
"confidence_reasoning": "The documentation repeatedly promotes proxy fallback for blocked resources. The risk depends on user configuration, but the privacy impact is clear enough to document."
}
],
"low_findings": [],
"dangerous_patterns": [],
"files_scanned": 3,
"total_lines": 337,
"audit_model": "claude",
"audited_at": "2026-07-09T01:38:07.894Z",
"agent_auto_install_policy": "allowed",
"manual_install_policy": "allowed"
},
"content": {
"user_title": "Capture DOM Elements as Images",
"value_statement": "Frontend teams often need accurate screenshots of styled components without a browser automation stack. This skill shows how to use snapDOM to export DOM elements as SVG, PNG, JPG, WebP, Canvas, or Blob outputs.",
"seo_keywords": [
"Claude",
"Codex",
"Claude Code",
"snapDOM",
"DOM screenshot",
"HTML to image",
"SVG export",
"PNG export",
"frontend capture",
"CORS proxy"
],
"actual_capabilities": [
"Explains when to use snapDOM for DOM-to-image capture.",
"Shows npm, yarn, CDN module, and UMD installation options.",
"Provides examples for SVG, PNG, JPG, WebP, Canvas, and Blob exports.",
"Documents capture options for scale, dimensions, fonts, shadows, and exclusions.",
"Covers CORS fallback, plugin extension, troubleshooting, and performance guidance."
],
"limitations": [
"It is documentation only and does not include runnable helper scripts.",
"CORS proxy examples require careful trust and privacy review before use.",
"Browser rendering differences can affect final image output.",
"Large or complex captures may need tuning for performance and memory use."
],
"use_cases": [
{
"title": "Export component previews",
"description": "Create reusable image assets from styled UI components for design reviews or documentation.",
"target_user": "Frontend developers"
},
{
"title": "Generate social images",
"description": "Capture fixed-size DOM layouts for cards, banners, and marketing previews.",
"target_user": "Product engineers"
},
{
"title": "Compare rendering quality",
"description": "Evaluate SVG and raster outputs when building visual export workflows.",
"target_user": "QA engineers"
}
],
"prompt_templates": [
{
"title": "Start with a basic capture",
"scenario": "Beginner setup for one element.",
"prompt": "Show me the simplest way to capture a DOM element with snapDOM and export it as a PNG."
},
{
"title": "Tune output size and quality",
"scenario": "Adjust resolution for production assets.",
"prompt": "Help me configure snapDOM options for a high-resolution export with fixed width, fixed height, and good image quality."
},
{
"title": "Handle missing fonts or resources",
"scenario": "Debug incomplete captures.",
"prompt": "My snapDOM capture is missing fonts and some images. Walk me through safe troubleshooting steps."
},
{
"title": "Design a custom export flow",
"scenario": "Advanced workflow with exclusions and plugins.",
"prompt": "Design a snapDOM workflow that excludes controls, embeds fonts, exports SVG and PNG, and leaves room for a PDF plugin."
}
],
"output_examples": [
{
"input": "I need a sharp image of a styled chart for a product page.",
"output": "Use SVG export first because charts benefit from scalable vector output. Enable font embedding, wait for styles to load, and test the result across target browsers."
},
{
"input": "My capture includes buttons that should not appear in the final image.",
"output": "Use an exclusion selector for controls or data attributes. Keep the selector narrow so important content is not removed from the capture."
},
{
"input": "Images fail because they are loaded from another domain.",
"output": "Prefer same-origin assets when possible. If you use a proxy, choose a trusted proxy and avoid sending sensitive page resources through third parties."
}
],
"best_practices": [
"Wait for fonts, images, and CSS to finish loading before capturing.",
"Use SVG for charts and interface previews that need scalable output.",
"Use a trusted proxy only when same-origin resource handling is not possible."
],
"anti_patterns": [
"Do not capture sensitive user data into shareable images without review.",
"Do not send private page resources through an untrusted CORS proxy.",
"Do not use very high scale values on large elements without testing memory use."
],
"faq": [
{
"question": "What does this skill help me do?",
"answer": "It helps you use snapDOM to capture HTML elements and export them as image formats or canvas data."
},
{
"question": "Which image formats are covered?",
"answer": "The skill covers SVG, PNG, JPG, WebP, Canvas, and Blob outputs."
},
{
"question": "Can it preserve styles and fonts?",
"answer": "Yes. The guidance covers embedded styles, pseudo-elements, shadows, and optional font embedding."
},
{
"question": "Does it include executable scripts?",
"answer": "No. The reviewed skill is documentation and examples. It does not include runnable automation files."
},
{
"question": "Is CORS proxy use safe?",
"answer": "It can be safe with a trusted proxy, but it may expose resource URLs or content to that proxy."
},
{
"question": "Who should use this skill?",
"answer": "Frontend developers, product engineers, and QA teams can use it for DOM capture and image export workflows."
}
]
},
"file_structure": [
{
"name": "references",
"type": "dir",
"path": "references",
"children": [
{
"name": "index.md",
"type": "file",
"path": "references/index.md",
"lines": 8
},
{
"name": "other.md",
"type": "file",
"path": "references/other.md",
"lines": 54
}
]
},
{
"name": "SKILL.md",
"type": "file",
"path": "SKILL.md",
"lines": 275
}
]
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |