一键导入
ows-new-service
Checklist and patterns for building a new OWS service element. Use when asked to create or design a service.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Checklist and patterns for building a new OWS service element. Use when asked to create or design a service.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Validate CIT account-upgrade tickets sitting in the AUTIN approval queue. Reports APPROVE / REJECT / NEEDS_REVIEW per ticket based on attachment rules derived from the requester's USER_EXTRA profile, then awaits user confirmation to execute approval.
Trace and debug end-to-end flows in OWS — page → service, service → service, and page → page navigation. TRIGGER when the user asks "why is X failing", "what's wrong with this page/service", "trace the flow of Y", "audit the call chain", or describes broken behavior in an OWS app. Inspects flow steps, RunScript bodies, input/output schemas, log traces, and reference graph; identifies bad code patterns (silent catch, hardcoded IDs, missing validation), schema mismatches (caller passes X but service expects Y), and dead branches; reports findings with concrete file/step/line locations and recommended fixes.
Capture a reusable OWS/ADC platform finding into the knowledge vault. Use when you confirm a non-obvious, reusable fact about the OWS platform (an API path, a TQL quirk, an auth detail, a service contract) that future sessions should know — so it's recorded once and read first via get_help_home / search_help instead of re-derived.
Decision tree for choosing the right OWS MCP tool. TRIGGER whenever the user asks about OWS, GDE, Huawei tickets, or anything that requires calling an `mcp__ows-gde__*` tool — including queries about tickets (CM, INC, BOT, TTS, CTT), pages, services, models, triggers, scripts, processes, modules, projects, logs, or Studio elements. Use BEFORE making the first MCP call to pick the leanest tool variant and avoid over-fetching.
Checklist and patterns for building a new OWS page element. Use when asked to create or design a page.
Analyze an OWS Studio page — understand its components, service wiring, and JS behavior. Use when asked to explain, audit, or modify a page element.
| name | ows-new-service |
| description | Checklist and patterns for building a new OWS service element. Use when asked to create or design a service. |
get_model_fields(tenant, asset_uri) to know what fields are availablelist_services(tenant, project, module) to find similar services to referenceInput → [Validate Input] → [Build TQL] → [Query Model] → [Transform Output] → Output
QueryModel step with TQLstart + limit in input, return total + data[]Input → [Validate] → [Check Permissions] → [Write Model] → [Trigger Side Effects] → Output
CreateData or UpdateData stepsInput → [Prepare Request] → [RunScript: build payload] → [InvokeService: target] → [Handle Response] → Output
RunScript (Rhino2/JS) for payload transformationInvokeService step to call other services// Access input fields
var fieldValue = input.get("fieldName");
// Set output fields
output.put("result", value);
// Log for debugging
logger.info("Processing: " + fieldValue);
// Throw on validation failure
if (!fieldValue) {
throw new Error("fieldName is required");
}
open_level set correctly (public / protected / private)invoke_service on testbed before deployingcentralize_inquiry_ticket_get_listcit_, cm_, inc_