← Back to list

image-verification
by do-ops885
Dermatology GOAP Orchestrator
⭐ 0🍴 0📅 Jan 25, 2026
SKILL.md
name: image-verification description: Validates image file signatures using Magic Bytes and calculates SHA-256 cryptographic hash license: MIT compatibility: opencode metadata: audience: developers workflow: clinical-pipeline
What I do
I verify image authenticity before processing. I check file signatures (Magic Bytes) to confirm the file is a valid image type and calculate a SHA-256 hash for audit trails and duplicate detection.
When to use me
Use this when:
- An image is uploaded and needs validation
- You need to ensure the file is actually an image (not malicious content)
- You need a cryptographic hash for the image (audit/duplicate check)
Key Concepts
- Magic Bytes: File signature bytes that identify the format (e.g.,
FF D8 FFfor JPEG) - SHA-256 Hash: 256-bit cryptographic hash for integrity and identification
- Crypto Subtle: Browser Web Crypto API for cryptographic operations
Source Files
services/crypto.ts: Cryptographic operationsservices/vision.ts: Image validation helpers
Code Patterns
- Use
crypto.subtle.digest('SHA-256', ...)for hashing - Check first bytes of ArrayBuffer for magic bytes
- Reject invalid files immediately with clear error messages
Operational Constraints
- Must reject non-image files before any processing
- Hash is used for deduplication and audit trail
- Always log verification results for traceability
Score
Total Score
50/100
Based on repository quality metrics
✓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
Reviews
💬
Reviews coming soon