anthropics / anthropics/skills

Add semantic shape labels to inventory.py

Đang mở
#632 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
176k
Fork
20.9k
Merge trung bình
7 giờ 21 phút
Pull request đã merge (30 ngày)
5

Mô tả

Update `inventory.py` to assign semantic labels (title, subtitle, body, agenda_item_1, card_1_header, etc.) to shapes based on heuristics.

## Details
- Analyze shape position, size, and text content to infer semantic role
- Assign meaningful labels like `title`, `subtitle`, `body`, `agenda_item_1`, `card_1_header`, etc.
- Output enriched inventory JSON with semantic keys for each shape
- Labels should be deterministic and based on layout heuristics (position on slide, font size, placeholder type)

## Part of: PPTX Skill v6.0 Overhaul

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.