anthropics / anthropics/skills

Add semantic shape labels to inventory.py

Abierto
#632 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
176k
Forks
20.9k
Merge medio
7 h 21 min
PR fusionados (30 d)
5

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.