ui-actions-policies

Create and manage ServiceNow UI Actions and UI Policies programmatically.

77|23|Updated Jul 16, 2025
One-click install
npx skills add https://github.com/serac-labs/serac --skill ui-actions-policies-serac-labs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ui-actions-policies
Source: https://github.com/serac-labs/serac/tree/main/packages/opencode/src/bundled-skills/ui-actions-policies
Command: npx skills add https://github.com/serac-labs/serac --skill ui-actions-policies-serac-labs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables teams to quickly create and manage ServiceNow UI Actions and UI Policies, eliminating repetitive manual configuration and reducing human error.

Core Features & Use Cases

  • Programmatic UI Action creation (form button, form context menu, list button, etc.) and UI Policy definitions to enforce consistent form behavior across tables such as incident and change_request.
  • Centralized policy validation and quick application of behaviors like field visibility, mandatory fields, and read-only states.
  • Use Case: Define a button that triggers a workflow upon incident resolution and a policy that requires a close-note when state changes to Resolved.

Quick Start

Create a UI Action for the incident table and attach a UI Policy that requires a resolution note when the incident is resolved.

Frequently Asked Questions about ui-actions-policies

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

FAQPage Schema
How do I automate ServiceNow UI actions and UI policies?

Automate ServiceNow UI actions and UI policies by using back-end scripts or MCP tools to programmatically generate form buttons, list actions, and dynamic field behaviors. This eliminates repetitive manual configuration and reduces human error.

Can I programmatically create a form button on the incident table in ServiceNow?

Yes, you can programmatically create a form button on the incident table by generating a ServiceNow UI Action. The skill supports configuring form buttons, context menus, and list actions across core tables like incident and change_request.

How do I make a field mandatory based on a state change in ServiceNow?

Make a field mandatory based on a state change by applying a ServiceNow UI Policy. The skill enforces consistent form behavior by centrally defining conditions for field visibility, mandatory fields, and read-only states.

Does this work with MCP tools for code generation?

Yes, the skill supports programmatic generation via MCP tools. It validates essential fields during setup to ensure correctly configured ServiceNow UI Actions and UI Policies are generated through automation and code generation.

What is the best way to enforce consistent form behavior across multiple ServiceNow tables?

The best way to enforce consistent form behavior across tables is by centrally defining UI Policies. This skill applies dynamic behaviors like field visibility and read-only states consistently across core tables like incident and change_request.