nphu0811/pmg-skills

pmg-map-motion

Specialized geospatial and map motion intelligence for PMG.

Voir la source

Mode d’emploi

  1. Copiez la commande et examinez le paquet avant de l’installer dans votre environnement agent.
  2. Consultez le document original pour les outils, identifiants et environnements requis.
  3. Décrivez les entrées et le livrable souhaité ; comparez la sortie aux sources.
npx skills add https://github.com/nphu0811/pmg-skills --skill pmg-map-motion

Avant de commencer

  • L’installation n’inclut ni abonnement au modèle, ni quota API, ni accès aux fichiers.
  • Étoiles et installations reflètent l’activité, pas un test indépendant de qualité ou de sécurité.
Document Skill original

Rendu depuis le dépôt source en conservant titres, exemples, code, tableaux, liens et images.

PMG Map Motion (pmg-map-motion)

Specialized motion intelligence for geographic maps, territorial markets, logistics routes, and location markers in PowerPoint presentations.

Core Mental Model

Preserve geographic truth, spatial proportions, and verified coordinates. - Landmass baselines settle into place to orient the viewer. - Location markers drop into verified coordinates with authoritative settling. - Hub radar rings ripple outward to indicate active regional clusters. - Logistics and travel routes progressively trace along the travel trajectory. - Telemetry and demographic overlays dock adjacent to active territory highlights.

Supported Patterns

PatternShared PrimitiveNative PPTX EffectSemantic Application
`region_highlight`HIGHLIGHTpulse / fadeIlluminates territory polygon with glowing accent fill.
`route_progression`DRAWwipe (directional)Route path vector traces from origin to destination.
`marker_drop`MOVEfly_in (down)Pin marker drops into geographic coordinate.
`marker_pulse`HIGHLIGHTpulseConcentric radar ring ripples from active hub.
`geo_zoom`FOCUSscale (1.15x - 1.25x)Macro push-in focusing on metropolitan sub-region.

Python API Usage

python
from pmg.motion_planners import MapMotionPlanner

planner = MapMotionPlanner()
intents = planner.plan_motion({
    "pattern": "route_progression",
    "base_map_id": "vietnam_map",
    "locations": [
        {"id": "pin_hanoi", "label": "Hanoi Hub", "pulse_id": "pulse_hanoi"},
        {"id": "pin_danang", "label": "Da Nang Node"},
        {"id": "pin_hcmc", "label": "HCMC Hub", "pulse_id": "pulse_hcmc"},
    ],
    "routes": [
        {"id": "route_hn_dn", "direction": "down"},
        {"id": "route_dn_hcm", "direction": "down"},
    ]
})

for intent in intents:
    print(f"[{intent.target_id}] -> {intent.primitive.value} ({intent.semantic_purpose})")
du même dépôt

Autres Skills

Tous les Skills