nphu0811/pmg-skills

pmg-diagram-motion

Specialized diagram and process motion intelligence for PMG.

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/nphu0811/pmg-skills --skill pmg-diagram-motion

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

PMG Diagram Motion (pmg-diagram-motion)

Specialized motion intelligence for flowcharts, process pipelines, and system architecture diagrams in PowerPoint presentations.

Core Mental Model

Diagram animation must strictly follow causal topology. Never reveal nodes randomly or all at once: $$\text{Node A} \longrightarrow \text{Connector AB} \longrightarrow \text{Node B} \longrightarrow \text{Connector BC} \longrightarrow \text{Node C}$$ - Connectors wipe in the exact direction of causal flow (left-to-right, top-to-bottom). - Hierarchical architectures expand from central core roots outward to child modules. - Data packet indicators travel along pipelines to demonstrate real-time throughput.

Supported Patterns

PatternShared PrimitiveNative PPTX EffectSemantic Application
`process_flow`SEQUENCEfly_in / appearSequential node appearance following causality.
`connector_drawing`DRAWwipe (directional)Connector vector drawn in flow direction.
`hierarchical_expansion`FOCUS + STAGGERzoom + wipeCore root anchors $\to$ child modules cascade.
`data_flow`MOVEmotion_pathSignal packet travels through architecture pipeline.
`cycle_flow`SEQUENCE + DRAWappear + wipeContinuous feedback loop between circular stages.

Python API Usage

python
from pmg.motion_planners import DiagramMotionPlanner

planner = DiagramMotionPlanner()
intents = planner.plan_motion({
    "pattern": "process_flow",
    "steps": [
        {"id": "ingest_node", "label": "Data Ingestion"},
        {"id": "process_node", "label": "Neural Processing"},
        {"id": "output_node", "label": "Decision Output"},
    ],
    "connectors": [
        {"id": "conn_1_2", "source": "ingest_node", "direction": "right"},
        {"id": "conn_2_3", "source": "process_node", "direction": "right"},
    ]
})

for intent in intents:
    print(f"[{intent.target_id}] -> {intent.primitive.value} ({intent.semantic_purpose})")
来自同一仓库

更多 Skills

全部 Skills