environment-monitoring-add-route

Maintains EnvironmentMonitoring observation point routes in routes.json and regenerates pipeline assets.

3.7k|317|Updated Mar 18, 2022
One-click install
npx skills add https://github.com/MaaEnd/MaaEnd --skill environment-monitoring-add-route
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: environment-monitoring-add-route
Source: https://github.com/MaaEnd/MaaEnd/tree/main/.agents/skills/environment-monitoring-add-route
Command: npx skills add https://github.com/MaaEnd/MaaEnd --skill environment-monitoring-add-route

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Adding or updating EnvironmentMonitoring observation point routes in MaaEnd requires coordinating game data sync, routes.json edits, pipeline generation, and five-language locale updates, which is error-prone when done manually.

Core Features & Use Cases

  • Route Configuration Maintenance: Syncs zmdmap game data, creates metadata-only entries for new missions, and updates routes.json in place keyed by MissionId.
  • Route Validation: Verifies EnterMap teleport nodes exist, checks NavZoneId/NavAssert/NavPath field combinations, and lists incomplete entries via check_missing.mjs.
  • Pipeline Generation: Runs the EnvironmentMonitoring generator to produce per-station pipeline JSON and five-language failure messages without overwriting manual translations.
  • Use Case: A contributor records a new observation point route with MapNavigator and asks the assistant to adapt it; the Skill syncs data, collects NavPath and optional Heading/Replace fields, updates routes.json, and regenerates the pipeline.

Quick Start

Add the newly recorded environment monitoring observation point route to routes.json and regenerate the EnvironmentMonitoring pipeline.

Frequently Asked Questions about environment-monitoring-add-route

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a new environment monitoring observation point route in MaaEnd?

Run pnpm fetch:zmdmap and the sync-routes.mjs script to create a metadata-only entry, then collect real recorded route data such as EnterMap and NavPath, update the entry by MissionId in routes.json, and run pnpm generate:EnvironmentMonitoring.

How do I check which environment monitoring routes are incomplete?

Run node .agents/skills/environment-monitoring-add-route/check_missing.mjs from the repository root. It compares synced mission data against routes.json and prints each pending entry with its missing fields.

What is the difference between NavPath routes and teleport-then-shoot routes?

NavPath routes configure NavZoneId, NavAssert, and a full MapNavigator path array for normal traversable routes. Teleport-then-shoot routes omit all map and navigation fields and only optionally set Heading, and must be verified by in-game testing.

Can I use placeholder teleport nodes when EnterMap data is missing?

No. If the EnterMap node does not exist in assets/resource/pipeline, keep the metadata-only entry unadapted and record a TODO. Placeholder values like SceneAnyEnterWorld are only for rendering unreachable nodes, not valid route data.

When should I set target_deck_y in a NavPath?

Set target_deck_y only on NAVMESH actions whose target point sits on overlapping walkable surfaces such as corridors or rooftops. Read the layer height from the MapNavigator tool output rather than estimating it manually.