yzsp-studio/mediakit-shared-suite / ppt
ppt
Unverified飞书幻灯片:创建和编辑幻灯片。创建演示文稿、读取幻灯片内容、管理幻灯片页面(创建、删除、读取、局部替换)。当用户需要创建或编辑幻灯片、读取或修改单个页面时使用。
scripts/svg_relation_lib/__init__.py
View on GitHub"""svg_relation_lib · Relation Atelier v2 API for supported PPT relation diagrams.
Layers 分工:
Layer 1 · Schema (svg_relation_lib.schemas) Tree 与基础 Graph 数据结构
Layer 2 · Layout (svg_relation_lib.layouts) 保留图表所需几何算法
Layer 3 · Skin (svg_relation_lib.skins) 视觉风格
Layer 4 · Attribute (svg_relation_lib.attributes) 可选维度
顶层入口(Phase 4 完整实现):
render(schema, layout, skin, attrs, palette, chrome) -> SVG string
Preset 用法(现在可用):
from svg_relation_lib.presets.hero_embed_01_AL_fishbone_v2 import build_al_tree
from svg_relation_lib.schemas import Tree
data = build_al_tree(effect="X", branches=[...])
"""
from __future__ import annotations
from .palettes import (
Palette, ALL_PALETTES, get_palette,
INSTITUTIONAL_WHITE, GS_RESEARCH, HBS_CASE,
CELL_PRESS, CONSUMER_CHRONICLE,
)
from .engine import Pattern, PatternResult, svg_wrapper
from .chrome import BODY, BODY_DANDELION, BodyBox, top_chrome, bottom_chrome
from .render import render, ChromeConfig
# Schemas
from .schemas import (
Graph, Node, Edge,
Tree, TreeNode,
)
# Attributes · 10 attribute + resolver
from .attributes import (
Weighted, Signed, Typed, Temporal, Category,
Size, Status, Highlight, Confidence, Directional,
resolve_channels,
)
__all__ = [
# Palette
"Palette", "ALL_PALETTES", "get_palette",
"INSTITUTIONAL_WHITE", "GS_RESEARCH", "HBS_CASE",
"CELL_PRESS", "CONSUMER_CHRONICLE",
# Engine
"Pattern", "PatternResult", "svg_wrapper",
# Chrome
"BODY", "BODY_DANDELION", "BodyBox", "top_chrome", "bottom_chrome",
# Top-level entry (Phase 4 completes)
"render", "ChromeConfig",
# Schemas
"Graph", "Node", "Edge",
"Tree", "TreeNode",
# Attributes
"Weighted", "Signed", "Typed", "Temporal", "Category",
"Size", "Status", "Highlight", "Confidence", "Directional",
"resolve_channels",
]
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |