スキル一覧に戻る
atiati82

media-intelligence-v1

by atiati82

0🍴 0📅 2026年1月25日
GitHubで見るManusで実行

SKILL.md


name: media-intelligence-v1 description: Image and video registry management with automated slot injection

Media Intelligence Skill v1.0

Purpose: Manage the asset registry, video ingestion, and image transparency fixes.

1) Non-Negotiables (Policy)

Asset Organization

client/src/assets/
├── products/           # Product images (True Alpha PNGs)
├── backgrounds/        # Video backgrounds
├── icons/              # UI icons
└── images/             # General images

public/
└── videos/             # Hosted video files

Image Standards

  • Product images: True Alpha (transparent backgrounds)
  • No baked checkerboard artifacts
  • Preferred format: PNG with transparency
  • Use rembg for background removal when needed

Video Standards

  • Registry: client/src/lib/video-registry.ts
  • All videos must be registered
  • Generate poster images for preload

2) Inputs & Outputs

Video Registration

interface VideoEntry {
  id: string;
  src: string;
  poster?: string;
  keywords: string[];
  category: 'product' | 'nature' | 'science' | 'abstract';
}

Scripts Available

ScriptPurpose
scripts/index-videos.tsScan and register videos
scripts/generate-video-posters.tsCreate poster images
scripts/remove_bg.pyRemove image backgrounds
scripts/validate-asset-usage.tsFind unused assets

3) Quality Gates

Before Adding Media

  • Asset placed in correct directory
  • Registered in appropriate registry
  • Transparent background (for products)
  • Optimized file size

After Adding Media

npm run validate:assets

Background Removal Workflow

Using rembg (Python)

python scripts/remove_bg.py input.png output.png

Batch Processing

# Process all product images
for f in client/src/assets/products/*.png; do
  python scripts/remove_bg.py "$f" "${f%.png}-clean.png"
done

Video Ingestion Workflow

  1. Add video to public/videos/
  2. Run indexer: tsx scripts/index-videos.ts
  3. Generate poster: tsx scripts/generate-video-posters.ts
  4. Update registry with keywords

スコア

総合スコア

40/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です