nphu0811/pmg-skills

pmg-chart-motion

Specialized quantitative chart and numerical motion intelligence for PMG.

ソースを見る

使い方

  1. インストールコマンドをコピーし、自分の環境へ導入する前にソースを確認します。
  2. 必要なツール、認証情報、対応環境を原文で確認します。
  3. 入力と成果物を指定し、出力を資料と照合します。
npx skills add https://github.com/nphu0811/pmg-skills --skill pmg-chart-motion

開始前の確認

  • 導入にはモデル契約、API枠、ファイルへのアクセス許可は含まれません。
  • スター数や導入数は活動の指標であり、独立した品質・安全性試験ではありません。
リポジトリの原文

見出し、例、コード、表、リンク、参照画像を含む原文を表示しています。

PMG Chart Motion (pmg-chart-motion)

Specialized motion intelligence for quantitative data charts, numerical value counters, and metric indicators in PowerPoint presentations.

Core Mental Model

Never apply generic Fade In to quantitative data. Animation must reflect the data's geometry, scale, and narrative takeaway: - Coordinate axes ground the visual field before numbers appear. - Data bars grow directionally from the baseline (upward for column, rightward for horizontal). - Time-series lines trace chronologically from left to right. - Doughnut sectors reveal proportionally in radial progression. - Numeric counters synchronize with physical bar tips. - The peak metric or conclusion is emphasized with an intentional scale punch.

Supported Patterns

PatternShared PrimitiveNative PPTX EffectSemantic Application
`axis_setup`DRAWwipeGrounds coordinate baseline before data disclosure.
`bar_growth`GROWwipe (up or right)Bar grows from zero to quantitative target value.
`line_draw`DRAWwipe (right)Line charts draw along chronological time axis.
`doughnut_reveal`GROWwheel / zoomSlices unfold sequentially in proportional radial order.
`value_counter_sync`COUNTappearNumeric callout synchronizes with bar growth.
`peak_emphasis`EMPHASIZEscale (1.06x - 1.12x)Focal pop drawing eye to the primary takeaway metric.

Python API Usage

python
from pmg.motion_planners import ChartMotionPlanner

planner = ChartMotionPlanner()
intents = planner.plan_motion({
    "chart_type": "bar",
    "axis_id": "chart_axes",
    "items": [
        {"id": "bar_q1", "value": "$1.2M", "label_id": "val_q1"},
        {"id": "bar_q2", "value": "$1.8M", "label_id": "val_q2"},
        {"id": "bar_q3", "value": "$2.9M", "label_id": "val_q3", "is_peak": True},
    ]
})

for intent in intents:
    print(f"[{intent.target_id}] -> {intent.primitive.value} ({intent.semantic_purpose})")
同じリポジトリから

関連する Skills

すべての Skills