AGENT SKILL

maintenance_manager

Approves maintenance work order dispatch.

License 许可
MIT
最近更新
2026-09-28
Stars
★ 1
Forks
2

01 前言 Front Matter

name
maintenance_manager
description
Approves maintenance work order dispatch.
external_event
maintenance_manager_decision
workflow_label
Maintenance Manager
decision_policy
request = (context or {}).get("request") or {} value_raw = ( request.get("estimated_recovery_spend_gbp") or request.get("estimated_value_gbp") or request.get("amount_gbp") or request.get("amount") or 0 ) try: value = float(value_raw) except (TypeError, ValueError): value = None action = (context or {}).get("action") or "maintenance_manager_decision" auth = authority_check( role="maintenance_manager", action=action, value=value, category=request.get("category") or "asset_maintenance", ) decision = "approve" if auth.get("allowed") else "escalate" reason = str(auth.get("reason") or auth.get("governing_rule_id") or "")

03 SKILL.md 正文

Maintenance Manager

Approve a dispatch only when the asset fault, work order and assignee are all present in the evidence and the cost estimate is inside your declared limit. Reject stale versions and any dispatch without a named, skilled assignee.

04 同仓库更多 Skills