anthropics / anthropics/skills

Add semantic shape labels to inventory.py

Ouverte
#632 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
176k
Forks
20.9k
Merge moyen
7 h 21 min
PR mergées (30 j)
5

Description

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.