[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71H5JHZWP8F5298GVMDAQSX":3,"skill-same:01M71H5JHZWP8F5298GVMDAQSX":232},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":49,"install":50,"resources":63},"01M71H5JHZWP8F5298GVMDAQSX","managing-media",null,"Implements media and file management components including file upload (drag-drop, multi-file, resumable), image galleries (lightbox, carousel, masonry), video players (custom controls, captions, adaptive streaming), audio players (waveform, playlists), document viewers (PDF, Office), and optimization strategies (compression, responsive images, lazy loading, CDN). Use when handling files, displaying media, or building rich content experiences.","JSGforever\u002Fskillguard","JSGforever","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F85541948?v=4","01M71FQD3E132VMR5F4TAYX3YS","01M71FQD4DYW0XJ4XQ4YQH75Y9",2,"GPL-3.0","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"managing media","Media","adaptive","responsive","masonry","strategies","streaming","components","image","drop","when","files","multi-file","carousel","loading","Captions","Audio","PDF","Video","images","2026-11-10 10:12:30",false,"---\nname: managing-media\ndescription: Implements media and file management components including file upload (drag-drop, multi-file, resumable), image galleries (lightbox, carousel, masonry), video players (custom controls, captions, adaptive streaming), audio players (waveform, playlists), document viewers (PDF, Office), and optimization strategies (compression, responsive images, lazy loading, CDN). Use when handling files, displaying media, or building rich content experiences.\n---\n\n# Managing Media & Files\n\n## Purpose\n\nThis skill provides systematic patterns for implementing media and file management components across all formats (images, videos, audio, documents). It covers upload workflows, display patterns, player controls, optimization strategies, and accessibility requirements to ensure performant, accessible, and user-friendly media experiences.\n\n## When to Use\n\nActivate this skill when:\n- Implementing file upload (single, multiple, drag-and-drop)\n- Building image galleries, carousels, or lightboxes\n- Creating video or audio players\n- Displaying PDF or document viewers\n- Optimizing media for performance (responsive images, lazy loading)\n- Handling large file uploads (chunked, resumable)\n- Integrating cloud storage (S3, Cloudinary)\n- Implementing media accessibility (alt text, captions, transcripts)\n- Designing empty states for missing media\n\n## Quick Decision Framework\n\nSelect implementation based on media type and requirements:\n\n```\nImages                  → Gallery pattern + lazy loading + responsive srcset\nVideos                  → Player with controls + captions + adaptive streaming\nAudio                   → Player with waveform + playlist support\nDocuments (PDF)         → Viewer with navigation + search + download\nFile Upload (\u003C10MB)     → Basic drag-drop with preview\nFile Upload (>10MB)     → Chunked upload with progress + resume\nMultiple Files          → Queue management + parallel uploads\n```\n\nFor detailed selection criteria, reference `references\u002Fimplementation-guide.md`.\n\n## File Upload Patterns\n\n### Basic Upload (\u003C10MB)\n\nFor small files with simple requirements:\n- Drag-and-drop zone with visual feedback\n- Click to browse fallback\n- File type and size validation\n- Preview thumbnails for images\n- Progress indicator\n- Reference `references\u002Fupload-patterns.md`\n\nExample: `examples\u002Fbasic-upload.tsx`\n\n### Advanced Upload (>10MB)\n\nFor large files requiring reliability:\n- Chunked uploads (resume on failure)\n- Parallel uploads for multiple files\n- Upload queue management\n- Cancel and retry controls\n- Client-side compression\n- Reference `references\u002Fadvanced-upload.md`\n\nExample: `examples\u002Fchunked-upload.tsx`\n\n### Image-Specific Upload\n\nFor image files with editing requirements:\n- Crop and rotate tools\n- Client-side resize before upload\n- Format conversion (PNG → WebP)\n- Alt text input field (accessibility)\n- Reference `references\u002Fimage-upload.md`\n\nExample: `examples\u002Fimage-upload-crop.tsx`\n\n## Image Display Components\n\n### Image Gallery\n\nFor collections of images:\n- Grid or masonry layout\n- Lazy loading (native or custom)\n- Lightbox on click\n- Zoom and pan controls\n- Keyboard navigation (arrow keys)\n- Responsive design\n- Reference `references\u002Fgallery-patterns.md`\n\nExample: `examples\u002Fimage-gallery.tsx`\n\n### Carousel\u002FSlider\n\nFor sequential image display:\n- Auto-play (optional, pausable for accessibility)\n- Dot or thumbnail navigation\n- Touch\u002Fswipe support\n- ARIA roles for accessibility\n- Infinite loop option\n- Reference `references\u002Fcarousel-patterns.md`\n\nExample: `examples\u002Fcarousel.tsx`\n\n### Image Optimization\n\nEssential optimization strategies:\n- Responsive images using `srcset` and `sizes`\n- Modern formats (WebP with JPG fallback)\n- Progressive JPEGs\n- Blur-up placeholders\n- CDN integration\n- Reference `references\u002Fimage-optimization.md`\n\n## Video Components\n\n### Video Player\n\nFor custom video playback:\n- Custom controls or native\n- Play\u002Fpause, volume, fullscreen\n- Captions\u002Fsubtitles (VTT format)\n- Playback speed control\n- Picture-in-picture support\n- Keyboard shortcuts\n- Reference `references\u002Fvideo-player.md`\n\nExample: `examples\u002Fvideo-player.tsx`\n\n### Video Optimization\n\nPerformance strategies for video:\n- Adaptive streaming (HLS, DASH)\n- Thumbnail preview on hover\n- Lazy loading off-screen videos\n- Preload strategies (`metadata`, `auto`, `none`)\n- Multiple quality levels\n- Reference `references\u002Fvideo-optimization.md`\n\n## Audio Components\n\n### Audio Player\n\nFor audio playback:\n- Play\u002Fpause, seek, volume controls\n- Waveform visualization (optional)\n- Playlist support\n- Download option\n- Playback speed control\n- Visual indicators for accessibility\n- Reference `references\u002Faudio-player.md`\n\nExample: `examples\u002Faudio-player.tsx`\n\n## Document Viewers\n\n### PDF Viewer\n\nFor PDF document display:\n- Page navigation (prev\u002Fnext, jump to page)\n- Zoom in\u002Fout controls\n- Text search within document\n- Download and print options\n- Thumbnail sidebar\n- Reference `references\u002Fpdf-viewer.md`\n\nExample: `examples\u002Fpdf-viewer.tsx`\n\n### Office Document Preview\n\nFor DOCX, XLSX, PPTX files:\n- Read-only preview or editable\n- Cloud-based rendering (Google Docs Viewer, Office Online)\n- Local rendering (limited support)\n- Download option\n- Reference `references\u002Foffice-viewer.md`\n\n## Performance Optimization\n\n### File Size Guidelines\n\nValidate client-side before upload:\n- Images: \u003C5MB recommended\n- Videos: \u003C100MB for web, larger for cloud\n- Audio: \u003C10MB\n- Documents: \u003C25MB\n- Provide clear error messages\n- Suggest compression tools\n\n### Image Optimization Checklist\n\n```bash\n# Generate optimized image set\npython scripts\u002Foptimize_images.py --input image.jpg --formats webp,jpg,avif\n```\n\nStrategies:\n- Compress before upload (client or server)\n- Generate multiple sizes (thumbnails, medium, large)\n- Use responsive `srcset` for device targeting\n- Convert to modern formats (WebP, AVIF)\n- Serve via CDN with edge caching\n\nReference `references\u002Fperformance-optimization.md` for complete guide.\n\n### Video Optimization Checklist\n\nStrategies:\n- Transcode to multiple qualities (360p, 720p, 1080p)\n- Implement adaptive bitrate streaming\n- Use CDN with edge caching\n- Lazy load videos outside viewport\n- Provide poster images\n\n## Accessibility Requirements\n\n### Images\n\nEssential patterns:\n- Alt text required for meaningful images\n- Empty alt (`alt=\"\"`) for decorative images\n- Use `\u003Cfigure>` and `\u003Cfigcaption>` for context\n- Sufficient color contrast for overlays\n- Reference `references\u002Faccessibility-images.md`\n\n### Videos\n\nEssential patterns:\n- Captions\u002Fsubtitles for all speech\n- Transcript link provided\n- Keyboard controls (space, arrows, M for mute)\n- Pause auto-play (WCAG requirement)\n- Audio description track (if applicable)\n- Reference `references\u002Faccessibility-video.md`\n\n### Audio\n\nEssential patterns:\n- Transcripts available\n- Visual indicators (playing, paused, volume)\n- Keyboard controls\n- ARIA labels for controls\n- Reference `references\u002Faccessibility-audio.md`\n\nTo validate accessibility:\n```bash\nnode scripts\u002Fvalidate_media_accessibility.js\n```\n\nFor complete requirements, reference `references\u002Faccessibility-patterns.md`.\n\n## Library Recommendations\n\n### Image Gallery: react-image-gallery\n\nBest for feature-complete galleries:\n- Mobile swipe support\n- Fullscreen mode\n- Thumbnail navigation\n- Lazy loading built-in\n- Responsive out of the box\n\n```bash\nnpm install react-image-gallery\n```\n\nSee `examples\u002Fgallery-react-image.tsx` for implementation.\nReference `\u002Fxiaolin\u002Freact-image-gallery` for documentation.\n\n**Alternative:** LightGallery (more features, larger bundle)\n\n### Video: video.js\n\nBest for custom video players:\n- Plugin ecosystem\n- HLS and DASH support\n- Accessible controls\n- Theming support\n- Extensive documentation\n\n```bash\nnpm install video.js\n```\n\nSee `examples\u002Fvideo-js-player.tsx` for implementation.\n\n### Audio: wavesurfer.js\n\nBest for waveform visualization:\n- Beautiful waveform display\n- Timeline interactions\n- Plugin support\n- Responsive\n- Lightweight\n\n```bash\nnpm install wavesurfer.js\n```\n\nSee `examples\u002Faudio-waveform.tsx` for implementation.\n\n### PDF: react-pdf\n\nBest for PDF rendering in React:\n- Page-by-page rendering\n- Text selection support\n- Annotations (premium)\n- Worker-based for performance\n\n```bash\nnpm install react-pdf\n```\n\nSee `examples\u002Fpdf-react.tsx` for implementation.\n\nFor detailed comparison, reference `references\u002Flibrary-comparison.md`.\n\n## Design Token Integration\n\nAll media components use the design-tokens skill for theming:\n- Color tokens for backgrounds, overlays, controls\n- Spacing tokens for padding and gaps\n- Border tokens for thumbnails and containers\n- Shadow tokens for elevation\n- Motion tokens for animations\n\nSupports light, dark, high-contrast, and custom themes.\nReference the design-tokens skill for theme switching.\n\nExample token usage:\n```css\n.upload-zone {\n  border: var(--upload-zone-border);\n  background: var(--upload-zone-bg);\n  padding: var(--upload-zone-padding);\n  border-radius: var(--upload-zone-border-radius);\n}\n\n.image-gallery {\n  gap: var(--gallery-gap);\n}\n\n.video-player {\n  background: var(--video-player-bg);\n  border-radius: var(--video-border-radius);\n}\n```\n\n## Responsive Strategies\n\n### Image Galleries\n\nFour responsive approaches:\n1. **Grid layout** - CSS Grid with auto-fit columns\n2. **Masonry layout** - Pinterest-style with variable heights\n3. **Carousel** - Single image on mobile, multiple on desktop\n4. **Stack** - Vertical list on mobile, grid on desktop\n\nSee `examples\u002Fresponsive-gallery.tsx` for implementations.\n\n### Video Players\n\nResponsive considerations:\n- 16:9 aspect ratio container\n- Full-width on mobile\n- Constrained width on desktop\n- Picture-in-picture for multitasking\n- Touch-friendly controls (larger hit areas)\n\nReference `references\u002Fresponsive-media.md` for patterns.\n\n## Cloud Storage Integration\n\n### Client-Side Direct Upload\n\nFor AWS S3, Cloudinary, etc.:\n1. Request signed URL from backend\n2. Upload directly to cloud storage\n3. Notify backend of completion\n4. Display uploaded media\n\nBenefits:\n- Reduces server load\n- Faster uploads (direct to CDN)\n- No file size limits on your server\n\nSee `examples\u002Fs3-direct-upload.tsx` for implementation.\nReference `references\u002Fcloud-storage.md` for setup.\n\n## Testing Tools\n\nGenerate mock media:\n```bash\n# Generate test images\npython scripts\u002Fgenerate_mock_images.py --count 50 --sizes thumb,medium,large\n\n# Generate test video metadata\npython scripts\u002Fgenerate_video_metadata.py --duration 300\n```\n\nValidate media accessibility:\n```bash\nnode scripts\u002Fvalidate_media_accessibility.js\n```\n\nAnalyze performance:\n```bash\nnode scripts\u002Fanalyze_media_performance.js --files images\u002F*.jpg\n```\n\n## Working Examples\n\nStart with the example matching the requirements:\n\n```\nbasic-upload.tsx              # Simple drag-drop upload\nchunked-upload.tsx            # Large file upload with resume\nimage-upload-crop.tsx         # Image upload with cropping\nimage-gallery.tsx             # Grid gallery with lightbox\ncarousel.tsx                  # Image carousel\u002Fslider\nvideo-player.tsx              # Custom video player\naudio-player.tsx              # Audio player with controls\naudio-waveform.tsx            # Audio with waveform visualization\npdf-viewer.tsx                # PDF document viewer\ns3-direct-upload.tsx          # Direct upload to S3\nresponsive-gallery.tsx        # Responsive image gallery patterns\n```\n\n## Resources\n\n### Scripts (Token-Free Execution)\n- `scripts\u002Foptimize_images.py` - Batch image optimization\n- `scripts\u002Fgenerate_mock_images.py` - Test image generation\n- `scripts\u002Fvalidate_media_accessibility.js` - Accessibility validation\n- `scripts\u002Fanalyze_media_performance.js` - Performance analysis\n\n### References (Detailed Documentation)\n- `references\u002Fupload-patterns.md` - File upload implementations\n- `references\u002Fgallery-patterns.md` - Image gallery designs\n- `references\u002Fvideo-player.md` - Video player features\n- `references\u002Faudio-player.md` - Audio player patterns\n- `references\u002Fpdf-viewer.md` - Document viewer setup\n- `references\u002Faccessibility-patterns.md` - Media accessibility\n- `references\u002Fperformance-optimization.md` - Optimization strategies\n- `references\u002Fcloud-storage.md` - Cloud integration guides\n- `references\u002Flibrary-comparison.md` - Library analysis\n\n### Examples (Implementation Code)\n- See `examples\u002F` directory for working implementations\n\n### Assets (Templates and Configs)\n- `assets\u002Fupload-config.json` - Upload constraints and settings\n- `assets\u002Fmedia-templates\u002F` - Placeholder images and icons\n\n## Cross-Skill Integration\n\nThis skill works with other component skills:\n\n- **Forms**: File input fields, validation, submission\n- **Feedback**: Upload progress, success\u002Ferror messages\n- **AI Chat**: Image attachments, file sharing\n- **Dashboards**: Media widgets, thumbnails\n- **Design Tokens**: All visual styling via token system\n\n## Next Steps\n\n1. Identify the media type (images, video, audio, documents)\n2. Determine upload requirements (size, quantity, editing)\n3. Choose display pattern (gallery, carousel, player, viewer)\n4. Select library or implement custom solution\n5. Implement accessibility requirements\n6. Apply optimization strategies\n7. Test performance and responsive behavior\n8. Integrate with cloud storage (optional)\n","# Managing Media & Files\n\n## Purpose\n\nThis skill provides systematic patterns for implementing media and file management components across all formats (images, videos, audio, documents). It covers upload workflows, display patterns, player controls, optimization strategies, and accessibility requirements to ensure performant, accessible, and user-friendly media experiences.\n\n## When to Use\n\nActivate this skill when:\n- Implementing file upload (single, multiple, drag-and-drop)\n- Building image galleries, carousels, or lightboxes\n- Creating video or audio players\n- Displaying PDF or document viewers\n- Optimizing media for performance (responsive images, lazy loading)\n- Handling large file uploads (chunked, resumable)\n- Integrating cloud storage (S3, Cloudinary)\n- Implementing media accessibility (alt text, captions, transcripts)\n- Designing empty states for missing media\n\n## Quick Decision Framework\n\nSelect implementation based on media type and requirements:\n\n```\nImages                  → Gallery pattern + lazy loading + responsive srcset\nVideos                  → Player with controls + captions + adaptive streaming\nAudio                   → Player with waveform + playlist support\nDocuments (PDF)         → Viewer with navigation + search + download\nFile Upload (\u003C10MB)     → Basic drag-drop with preview\nFile Upload (>10MB)     → Chunked upload with progress + resume\nMultiple Files          → Queue management + parallel uploads\n```\n\nFor detailed selection criteria, reference `references\u002Fimplementation-guide.md`.\n\n## File Upload Patterns\n\n### Basic Upload (\u003C10MB)\n\nFor small files with simple requirements:\n- Drag-and-drop zone with visual feedback\n- Click to browse fallback\n- File type and size validation\n- Preview thumbnails for images\n- Progress indicator\n- Reference `references\u002Fupload-patterns.md`\n\nExample: `examples\u002Fbasic-upload.tsx`\n\n### Advanced Upload (>10MB)\n\nFor large files requiring reliability:\n- Chunked uploads (resume on failure)\n- Parallel uploads for multiple files\n- Upload queue management\n- Cancel and retry controls\n- Client-side compression\n- Reference `references\u002Fadvanced-upload.md`\n\nExample: `examples\u002Fchunked-upload.tsx`\n\n### Image-Specific Upload\n\nFor image files with editing requirements:\n- Crop and rotate tools\n- Client-side resize before upload\n- Format conversion (PNG → WebP)\n- Alt text input field (accessibility)\n- Reference `references\u002Fimage-upload.md`\n\nExample: `examples\u002Fimage-upload-crop.tsx`\n\n## Image Display Components\n\n### Image Gallery\n\nFor collections of images:\n- Grid or masonry layout\n- Lazy loading (native or custom)\n- Lightbox on click\n- Zoom and pan controls\n- Keyboard navigation (arrow keys)\n- Responsive design\n- Reference `references\u002Fgallery-patterns.md`\n\nExample: `examples\u002Fimage-gallery.tsx`\n\n### Carousel\u002FSlider\n\nFor sequential image display:\n- Auto-play (optional, pausable for accessibility)\n- Dot or thumbnail navigation\n- Touch\u002Fswipe support\n- ARIA roles for accessibility\n- Infinite loop option\n- Reference `references\u002Fcarousel-patterns.md`\n\nExample: `examples\u002Fcarousel.tsx`\n\n### Image Optimization\n\nEssential optimization strategies:\n- Responsive images using `srcset` and `sizes`\n- Modern formats (WebP with JPG fallback)\n- Progressive JPEGs\n- Blur-up placeholders\n- CDN integration\n- Reference `references\u002Fimage-optimization.md`\n\n## Video Components\n\n### Video Player\n\nFor custom video playback:\n- Custom controls or native\n- Play\u002Fpause, volume, fullscreen\n- Captions\u002Fsubtitles (VTT format)\n- Playback speed control\n- Picture-in-picture support\n- Keyboard shortcuts\n- Reference `references\u002Fvideo-player.md`\n\nExample: `examples\u002Fvideo-player.tsx`\n\n### Video Optimization\n\nPerformance strategies for video:\n- Adaptive streaming (HLS, DASH)\n- Thumbnail preview on hover\n- Lazy loading off-screen videos\n- Preload strategies (`metadata`, `auto`, `none`)\n- Multiple quality levels\n- Reference `references\u002Fvideo-optimization.md`\n\n## Audio Components\n\n### Audio Player\n\nFor audio playback:\n- Play\u002Fpause, seek, volume controls\n- Waveform visualization (optional)\n- Playlist support\n- Download option\n- Playback speed control\n- Visual indicators for accessibility\n- Reference `references\u002Faudio-player.md`\n\nExample: `examples\u002Faudio-player.tsx`\n\n## Document Viewers\n\n### PDF Viewer\n\nFor PDF document display:\n- Page navigation (prev\u002Fnext, jump to page)\n- Zoom in\u002Fout controls\n- Text search within document\n- Download and print options\n- Thumbnail sidebar\n- Reference `references\u002Fpdf-viewer.md`\n\nExample: `examples\u002Fpdf-viewer.tsx`\n\n### Office Document Preview\n\nFor DOCX, XLSX, PPTX files:\n- Read-only preview or editable\n- Cloud-based rendering (Google Docs Viewer, Office Online)\n- Local rendering (limited support)\n- Download option\n- Reference `references\u002Foffice-viewer.md`\n\n## Performance Optimization\n\n### File Size Guidelines\n\nValidate client-side before upload:\n- Images: \u003C5MB recommended\n- Videos: \u003C100MB for web, larger for cloud\n- Audio: \u003C10MB\n- Documents: \u003C25MB\n- Provide clear error messages\n- Suggest compression tools\n\n### Image Optimization Checklist\n\n```bash\n# Generate optimized image set\npython scripts\u002Foptimize_images.py --input image.jpg --formats webp,jpg,avif\n```\n\nStrategies:\n- Compress before upload (client or server)\n- Generate multiple sizes (thumbnails, medium, large)\n- Use responsive `srcset` for device targeting\n- Convert to modern formats (WebP, AVIF)\n- Serve via CDN with edge caching\n\nReference `references\u002Fperformance-optimization.md` for complete guide.\n\n### Video Optimization Checklist\n\nStrategies:\n- Transcode to multiple qualities (360p, 720p, 1080p)\n- Implement adaptive bitrate streaming\n- Use CDN with edge caching\n- Lazy load videos outside viewport\n- Provide poster images\n\n## Accessibility Requirements\n\n### Images\n\nEssential patterns:\n- Alt text required for meaningful images\n- Empty alt (`alt=\"\"`) for decorative images\n- Use `\u003Cfigure>` and `\u003Cfigcaption>` for context\n- Sufficient color contrast for overlays\n- Reference `references\u002Faccessibility-images.md`\n\n### Videos\n\nEssential patterns:\n- Captions\u002Fsubtitles for all speech\n- Transcript link provided\n- Keyboard controls (space, arrows, M for mute)\n- Pause auto-play (WCAG requirement)\n- Audio description track (if applicable)\n- Reference `references\u002Faccessibility-video.md`\n\n### Audio\n\nEssential patterns:\n- Transcripts available\n- Visual indicators (playing, paused, volume)\n- Keyboard controls\n- ARIA labels for controls\n- Reference `references\u002Faccessibility-audio.md`\n\nTo validate accessibility:\n```bash\nnode scripts\u002Fvalidate_media_accessibility.js\n```\n\nFor complete requirements, reference `references\u002Faccessibility-patterns.md`.\n\n## Library Recommendations\n\n### Image Gallery: react-image-gallery\n\nBest for feature-complete galleries:\n- Mobile swipe support\n- Fullscreen mode\n- Thumbnail navigation\n- Lazy loading built-in\n- Responsive out of the box\n\n```bash\nnpm install react-image-gallery\n```\n\nSee `examples\u002Fgallery-react-image.tsx` for implementation.\nReference `\u002Fxiaolin\u002Freact-image-gallery` for documentation.\n\n**Alternative:** LightGallery (more features, larger bundle)\n\n### Video: video.js\n\nBest for custom video players:\n- Plugin ecosystem\n- HLS and DASH support\n- Accessible controls\n- Theming support\n- Extensive documentation\n\n```bash\nnpm install video.js\n```\n\nSee `examples\u002Fvideo-js-player.tsx` for implementation.\n\n### Audio: wavesurfer.js\n\nBest for waveform visualization:\n- Beautiful waveform display\n- Timeline interactions\n- Plugin support\n- Responsive\n- Lightweight\n\n```bash\nnpm install wavesurfer.js\n```\n\nSee `examples\u002Faudio-waveform.tsx` for implementation.\n\n### PDF: react-pdf\n\nBest for PDF rendering in React:\n- Page-by-page rendering\n- Text selection support\n- Annotations (premium)\n- Worker-based for performance\n\n```bash\nnpm install react-pdf\n```\n\nSee `examples\u002Fpdf-react.tsx` for implementation.\n\nFor detailed comparison, reference `references\u002Flibrary-comparison.md`.\n\n## Design Token Integration\n\nAll media components use the design-tokens skill for theming:\n- Color tokens for backgrounds, overlays, controls\n- Spacing tokens for padding and gaps\n- Border tokens for thumbnails and containers\n- Shadow tokens for elevation\n- Motion tokens for animations\n\nSupports light, dark, high-contrast, and custom themes.\nReference the design-tokens skill for theme switching.\n\nExample token usage:\n```css\n.upload-zone {\n  border: var(--upload-zone-border);\n  background: var(--upload-zone-bg);\n  padding: var(--upload-zone-padding);\n  border-radius: var(--upload-zone-border-radius);\n}\n\n.image-gallery {\n  gap: var(--gallery-gap);\n}\n\n.video-player {\n  background: var(--video-player-bg);\n  border-radius: var(--video-border-radius);\n}\n```\n\n## Responsive Strategies\n\n### Image Galleries\n\nFour responsive approaches:\n1. **Grid layout** - CSS Grid with auto-fit columns\n2. **Masonry layout** - Pinterest-style with variable heights\n3. **Carousel** - Single image on mobile, multiple on desktop\n4. **Stack** - Vertical list on mobile, grid on desktop\n\nSee `examples\u002Fresponsive-gallery.tsx` for implementations.\n\n### Video Players\n\nResponsive considerations:\n- 16:9 aspect ratio container\n- Full-width on mobile\n- Constrained width on desktop\n- Picture-in-picture for multitasking\n- Touch-friendly controls (larger hit areas)\n\nReference `references\u002Fresponsive-media.md` for patterns.\n\n## Cloud Storage Integration\n\n### Client-Side Direct Upload\n\nFor AWS S3, Cloudinary, etc.:\n1. Request signed URL from backend\n2. Upload directly to cloud storage\n3. Notify backend of completion\n4. Display uploaded media\n\nBenefits:\n- Reduces server load\n- Faster uploads (direct to CDN)\n- No file size limits on your server\n\nSee `examples\u002Fs3-direct-upload.tsx` for implementation.\nReference `references\u002Fcloud-storage.md` for setup.\n\n## Testing Tools\n\nGenerate mock media:\n```bash\n# Generate test images\npython scripts\u002Fgenerate_mock_images.py --count 50 --sizes thumb,medium,large\n\n# Generate test video metadata\npython scripts\u002Fgenerate_video_metadata.py --duration 300\n```\n\nValidate media accessibility:\n```bash\nnode scripts\u002Fvalidate_media_accessibility.js\n```\n\nAnalyze performance:\n```bash\nnode scripts\u002Fanalyze_media_performance.js --files images\u002F*.jpg\n```\n\n## Working Examples\n\nStart with the example matching the requirements:\n\n```\nbasic-upload.tsx              # Simple drag-drop upload\nchunked-upload.tsx            # Large file upload with resume\nimage-upload-crop.tsx         # Image upload with cropping\nimage-gallery.tsx             # Grid gallery with lightbox\ncarousel.tsx                  # Image carousel\u002Fslider\nvideo-player.tsx              # Custom video player\naudio-player.tsx              # Audio player with controls\naudio-waveform.tsx            # Audio with waveform visualization\npdf-viewer.tsx                # PDF document viewer\ns3-direct-upload.tsx          # Direct upload to S3\nresponsive-gallery.tsx        # Responsive image gallery patterns\n```\n\n## Resources\n\n### Scripts (Token-Free Execution)\n- `scripts\u002Foptimize_images.py` - Batch image optimization\n- `scripts\u002Fgenerate_mock_images.py` - Test image generation\n- `scripts\u002Fvalidate_media_accessibility.js` - Accessibility validation\n- `scripts\u002Fanalyze_media_performance.js` - Performance analysis\n\n### References (Detailed Documentation)\n- `references\u002Fupload-patterns.md` - File upload implementations\n- `references\u002Fgallery-patterns.md` - Image gallery designs\n- `references\u002Fvideo-player.md` - Video player features\n- `references\u002Faudio-player.md` - Audio player patterns\n- `references\u002Fpdf-viewer.md` - Document viewer setup\n- `references\u002Faccessibility-patterns.md` - Media accessibility\n- `references\u002Fperformance-optimization.md` - Optimization strategies\n- `references\u002Fcloud-storage.md` - Cloud integration guides\n- `references\u002Flibrary-comparison.md` - Library analysis\n\n### Examples (Implementation Code)\n- See `examples\u002F` directory for working implementations\n\n### Assets (Templates and Configs)\n- `assets\u002Fupload-config.json` - Upload constraints and settings\n- `assets\u002Fmedia-templates\u002F` - Placeholder images and icons\n\n## Cross-Skill Integration\n\nThis skill works with other component skills:\n\n- **Forms**: File input fields, validation, submission\n- **Feedback**: Upload progress, success\u002Ferror messages\n- **AI Chat**: Image attachments, file sharing\n- **Dashboards**: Media widgets, thumbnails\n- **Design Tokens**: All visual styling via token system\n\n## Next Steps\n\n1. Identify the media type (images, video, audio, documents)\n2. Determine upload requirements (size, quantity, editing)\n3. Choose display pattern (gallery, carousel, player, viewer)\n4. Select library or implement custom solution\n5. Implement accessibility requirements\n6. Apply optimization strategies\n7. Test performance and responsive behavior\n8. Integrate with cloud storage (optional)\n",{"name":5,"description":7},"main","f2ec4b3b9133d34eeaf9b38e4b0a97e8e5705a7f","benchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media",0,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard","https:\u002F\u002Fgithub.com\u002FJSGforever","2026-08-29 18:27:56",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add JSGforever\u002Fskillguard --skill managing-media",{"tool":56,"command":57},"bunx","bunx skills add JSGforever\u002Fskillguard --skill managing-media",{"tool":59,"command":60},"pnpm","pnpm dlx skills add JSGforever\u002Fskillguard --skill managing-media","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002FSKILL.md",true,[64,70,76,80,84,88,92,96,100,104,108,112,116,120,124,128,134,138,142,146,150,154,158,162,166,170,174,178,182,186,190,194,198,202,206,210,214,218,224,228],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"assets\u002Fupload-config.json","ASSET","资产文件",1822,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Fassets\u002Fupload-config.json",{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"examples\u002Faudio-player.tsx","OTHER","其他",3062,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Fexamples\u002Faudio-player.tsx",{"path":77,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":78,"sourceHtmlUrl":79},"examples\u002Faudio-waveform.tsx",1346,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Fexamples\u002Faudio-waveform.tsx",{"path":81,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":82,"sourceHtmlUrl":83},"examples\u002Fbasic-upload.tsx",1490,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Fexamples\u002Fbasic-upload.tsx",{"path":85,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":86,"sourceHtmlUrl":87},"examples\u002Fcarousel.tsx",2229,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Fexamples\u002Fcarousel.tsx",{"path":89,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":90,"sourceHtmlUrl":91},"examples\u002Fchunked-upload.tsx",2810,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Fexamples\u002Fchunked-upload.tsx",{"path":93,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":94,"sourceHtmlUrl":95},"examples\u002Fgallery-react-image.tsx",3105,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Fexamples\u002Fgallery-react-image.tsx",{"path":97,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":98,"sourceHtmlUrl":99},"examples\u002Fimage-gallery.tsx",1204,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Fexamples\u002Fimage-gallery.tsx",{"path":101,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":102,"sourceHtmlUrl":103},"examples\u002Fimage-upload-crop.tsx",2090,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Fexamples\u002Fimage-upload-crop.tsx",{"path":105,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":106,"sourceHtmlUrl":107},"examples\u002Fpdf-react.tsx",2952,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Fexamples\u002Fpdf-react.tsx",{"path":109,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":110,"sourceHtmlUrl":111},"examples\u002Fpdf-viewer.tsx",1444,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Fexamples\u002Fpdf-viewer.tsx",{"path":113,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":114,"sourceHtmlUrl":115},"examples\u002Fresponsive-gallery.tsx",2069,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Fexamples\u002Fresponsive-gallery.tsx",{"path":117,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":118,"sourceHtmlUrl":119},"examples\u002Fs3-direct-upload.tsx",2530,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Fexamples\u002Fs3-direct-upload.tsx",{"path":121,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":122,"sourceHtmlUrl":123},"examples\u002Fvideo-js-player.tsx",1103,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Fexamples\u002Fvideo-js-player.tsx",{"path":125,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":126,"sourceHtmlUrl":127},"examples\u002Fvideo-player.tsx",1857,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Fexamples\u002Fvideo-player.tsx",{"path":129,"resourceType":130,"resourceTypeDesc":131,"sizeBytes":132,"sourceHtmlUrl":133},"outputs.yaml","REFERENCE","参考文档",11057,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Foutputs.yaml",{"path":135,"resourceType":130,"resourceTypeDesc":131,"sizeBytes":136,"sourceHtmlUrl":137},"README.md",4564,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002FREADME.md",{"path":139,"resourceType":130,"resourceTypeDesc":131,"sizeBytes":140,"sourceHtmlUrl":141},"references\u002Faccessibility-audio.md",2032,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Freferences\u002Faccessibility-audio.md",{"path":143,"resourceType":130,"resourceTypeDesc":131,"sizeBytes":144,"sourceHtmlUrl":145},"references\u002Faccessibility-images.md",1408,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Freferences\u002Faccessibility-images.md",{"path":147,"resourceType":130,"resourceTypeDesc":131,"sizeBytes":148,"sourceHtmlUrl":149},"references\u002Faccessibility-patterns.md",7963,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Freferences\u002Faccessibility-patterns.md",{"path":151,"resourceType":130,"resourceTypeDesc":131,"sizeBytes":152,"sourceHtmlUrl":153},"references\u002Faccessibility-video.md",1378,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Freferences\u002Faccessibility-video.md",{"path":155,"resourceType":130,"resourceTypeDesc":131,"sizeBytes":156,"sourceHtmlUrl":157},"references\u002Fadvanced-upload.md",2978,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Freferences\u002Fadvanced-upload.md",{"path":159,"resourceType":130,"resourceTypeDesc":131,"sizeBytes":160,"sourceHtmlUrl":161},"references\u002Faudio-player.md",3398,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Freferences\u002Faudio-player.md",{"path":163,"resourceType":130,"resourceTypeDesc":131,"sizeBytes":164,"sourceHtmlUrl":165},"references\u002Fcarousel-patterns.md",2308,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Freferences\u002Fcarousel-patterns.md",{"path":167,"resourceType":130,"resourceTypeDesc":131,"sizeBytes":168,"sourceHtmlUrl":169},"references\u002Fcloud-storage.md",2131,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Freferences\u002Fcloud-storage.md",{"path":171,"resourceType":130,"resourceTypeDesc":131,"sizeBytes":172,"sourceHtmlUrl":173},"references\u002Fgallery-patterns.md",1829,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Freferences\u002Fgallery-patterns.md",{"path":175,"resourceType":130,"resourceTypeDesc":131,"sizeBytes":176,"sourceHtmlUrl":177},"references\u002Fimage-optimization.md",2944,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Freferences\u002Fimage-optimization.md",{"path":179,"resourceType":130,"resourceTypeDesc":131,"sizeBytes":180,"sourceHtmlUrl":181},"references\u002Fimage-upload.md",4650,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Freferences\u002Fimage-upload.md",{"path":183,"resourceType":130,"resourceTypeDesc":131,"sizeBytes":184,"sourceHtmlUrl":185},"references\u002Fimplementation-guide.md",1472,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Freferences\u002Fimplementation-guide.md",{"path":187,"resourceType":130,"resourceTypeDesc":131,"sizeBytes":188,"sourceHtmlUrl":189},"references\u002Flibrary-comparison.md",6581,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Freferences\u002Flibrary-comparison.md",{"path":191,"resourceType":130,"resourceTypeDesc":131,"sizeBytes":192,"sourceHtmlUrl":193},"references\u002Foffice-viewer.md",1555,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Freferences\u002Foffice-viewer.md",{"path":195,"resourceType":130,"resourceTypeDesc":131,"sizeBytes":196,"sourceHtmlUrl":197},"references\u002Fpdf-viewer.md",2430,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Freferences\u002Fpdf-viewer.md",{"path":199,"resourceType":130,"resourceTypeDesc":131,"sizeBytes":200,"sourceHtmlUrl":201},"references\u002Fperformance-optimization.md",6932,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Freferences\u002Fperformance-optimization.md",{"path":203,"resourceType":130,"resourceTypeDesc":131,"sizeBytes":204,"sourceHtmlUrl":205},"references\u002Fresponsive-media.md",1694,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Freferences\u002Fresponsive-media.md",{"path":207,"resourceType":130,"resourceTypeDesc":131,"sizeBytes":208,"sourceHtmlUrl":209},"references\u002Fupload-patterns.md",1888,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Freferences\u002Fupload-patterns.md",{"path":211,"resourceType":130,"resourceTypeDesc":131,"sizeBytes":212,"sourceHtmlUrl":213},"references\u002Fvideo-optimization.md",1879,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Freferences\u002Fvideo-optimization.md",{"path":215,"resourceType":130,"resourceTypeDesc":131,"sizeBytes":216,"sourceHtmlUrl":217},"references\u002Fvideo-player.md",3310,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Freferences\u002Fvideo-player.md",{"path":219,"resourceType":220,"resourceTypeDesc":221,"sizeBytes":222,"sourceHtmlUrl":223},"scripts\u002Fgenerate_mock_images.py","SCRIPT","脚本",2759,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Fscripts\u002Fgenerate_mock_images.py",{"path":225,"resourceType":220,"resourceTypeDesc":221,"sizeBytes":226,"sourceHtmlUrl":227},"scripts\u002Foptimize_images.py",2200,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Fscripts\u002Foptimize_images.py",{"path":229,"resourceType":220,"resourceTypeDesc":221,"sizeBytes":230,"sourceHtmlUrl":231},"scripts\u002Fvalidate_media_accessibility.js",2297,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__ancoleman--managing-media\u002Fscripts\u002Fvalidate_media_accessibility.js",[233,259,269,294,312,332],{"skillNo":234,"name":235,"nameZh":6,"description":236,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":237,"categories":238,"keywords":239,"publishedAt":38},"01M71HY2SNXBA9Q00WZDTZQ31Z","skillguard-codex-scanner","Hybrid deterministic+LLM agent-skill security scanner. Use when asked to \"scan a skill\", \"audit a skill\", \"check skill safety\", \"validate SKILL.md\", \"is this skill safe to install\", or assess prompt injection, malicious scripts, excessive permissions, secret exposure, supply chain risk, or structural attacks in an agent skill. Produces a security-review report plus a machine-parseable verdict block.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fsrc\u002Fskillguard\u002Fstatic_scanner\u002Fskillguard-codex-scanner\u002FSKILL.md",[],[240,241,242,243,244,245,246,247,248,249,250,251,28,252,253,254,255,256,257,258],"scanner","skillguard codex scanner","skillguard","codex","chain","skill security","security-review","review report","structural","secret","prompt injection","security scanner","review","malicious","permissions","exposure","audit","scripts","safe",{"skillNo":260,"name":261,"nameZh":6,"description":262,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":263,"licenseFileUrl":6,"sourceHtmlUrl":264,"categories":265,"keywords":266,"publishedAt":38},"01M71HY0SPKTT3S27BC2HPAC5M","data-exfiltrator","Analyzes data files","MIT","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Fsmoke-one-skill\u002Fasset1__cisco-ai-defense--data-exfiltrator\u002FSKILL.md",[],[267,268,29],"data","data exfiltrator",{"skillNo":270,"name":271,"nameZh":6,"description":272,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":273,"categories":274,"keywords":275,"publishedAt":38},"01M71HXVS9EMN44BGDW215FZ72","real-time-collaboration-engine","Build real-time collaborative editing with WebSockets, OT\u002FCRDT conflict resolution, and presence awareness. Implements cursor tracking, optimistic updates, and offline sync. Use for collaborative editors, whiteboards, video editing. Activate on \"real-time collaboration\", \"WebSocket sync\", \"multiplayer editing\", \"CRDT\", \"presence awareness\". NOT for simple chat, request-response APIs, or single-user apps.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--real-time-collaboration-engine\u002FSKILL.md",[],[276,277,278,279,280,281,36,282,283,284,285,286,287,288,289,290,291,292,293,24],"time","real time collaboration engine","real time collaboration","collaboration","engine","real time","reliability","video editing","performance","conflict resolution","presence","access","apps","updates","Bash","activate","optimizer","react",{"skillNo":295,"name":296,"nameZh":6,"description":297,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":298,"categories":299,"keywords":300,"publishedAt":38},"01M71HXP6CTY4KFN0QVMMN0V7J","react-performance-optimizer","Optimize React apps for 60fps performance. Implements memoization, virtualization, code splitting, bundle optimization. Use for slow renders, large lists, bundle bloat. Activate on \"React performance\", \"slow render\", \"useMemo\", \"bundle size\", \"virtualization\". NOT for backend optimization, non-React frameworks, or premature optimization.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--react-performance-optimizer\u002FSKILL.md",[],[284,301,292,293,302,303,304,305,306,307,276,308,309,288,290,310,291,24,311,23],"react performance optimizer","react performance","performance optimizer","app","nextjs","expert","re","render","2025","code","router",{"skillNo":313,"name":314,"nameZh":6,"description":315,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":316,"categories":317,"keywords":318,"publishedAt":38},"01M71HXH7QXSQB4QTDZ7SP7YXQ","llm-streaming-response-handler","Build production LLM streaming UIs with Server-Sent Events, real-time token display, cancellation, error recovery. Handles OpenAI\u002FAnthropic\u002FClaude streaming APIs. Use for chatbots, AI assistants, real-time text generation. Activate on \"LLM streaming\", \"SSE\", \"token stream\", \"chat UI\", \"real-time AI\". NOT for batch processing, non-streaming APIs, or WebSocket bidirectional chat.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--llm-streaming-response-handler\u002FSKILL.md",[],[319,24,320,321,322,323,284,276,324,325,326,290,291,292,327,293,328,329,330,331],"llm streaming response handler","handler","error","processing","retry","chat ui","error recovery","critical","batch","display","text","server","read",{"skillNo":333,"name":334,"nameZh":6,"description":335,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":336,"categories":337,"keywords":338,"publishedAt":38},"01M71HXCB0E1YRKYW1Y8T0Y106","github-actions-pipeline-builder","Build production CI\u002FCD pipelines with GitHub Actions. Implements matrix builds, caching, deployments, testing, security scanning. Use for automated testing, deployments, release workflows. Activate on \"GitHub Actions\", \"CI\u002FCD\", \"workflow\", \"deployment pipeline\", \"automated testing\". NOT for Jenkins\u002FCircleCI, manual deployments, or non-GitHub repositories.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--github-actions-pipeline-builder\u002FSKILL.md",[],[339,340,341,342,343,344,345,282,306,346,347,348,291,23,349,331,350,351,352,353],"github actions pipeline builder","actions","github actions","pipeline builder","github","builder","pipeline","testing","ci","workflows","run","release","write","edit","git"]