nphu0811/pmg-skills

pmg-diagram-motion

Specialized diagram and process motion intelligence for PMG.

View source

How to use

  1. Copy the installation command and review the source package before installing it in your own agent environment.
  2. Check the source document for required tools, credentials and supported hosts.
  3. Describe your input and desired deliverable; review the output against the source material.
npx skills add https://github.com/nphu0811/pmg-skills --skill pmg-diagram-motion

Before you start

  • Installation does not include a model subscription, API allowance or permission to access your files.
  • Repository stars and installation counts describe activity, not an independent quality or security test.
Original skill document

Rendered from the source repository. Headings, examples, code, tables, links, and referenced images are preserved.

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})")
from this repository

More skills

All skills