anthropics / anthropics/skills

Add semantic shape labels to inventory.py

未关闭
#632 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
176k
派生
20.8k
平均合并
7 小时 21 分钟
30 天内合并 PR
5

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。