servicenow-scripting

Enforce standardized ServiceNow server-side scripting patterns for Script Includes and Business Rules.

Updated Mar 24, 2026
One-click install
npx skills add https://github.com/Xerrion/servicenow-opencode-config --skill servicenow-scripting
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: servicenow-scripting
Source: https://github.com/Xerrion/servicenow-opencode-config/tree/main/skills/servicenow-scripting
Command: npx skills add https://github.com/Xerrion/servicenow-opencode-config --skill servicenow-scripting

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ensures consistent, safe, and maintainable ServiceNow server-side scripting by codifying patterns for Script Includes, Business Rules, and other server-side code.

Core Features & Use Cases

  • Standardized class patterns, naming conventions, error handling, and JSDoc practices for Script Includes and related code
  • Clear anti-pattern guidelines to prevent common pitfalls in server-side scripting
  • Guidance applicable to Script Includes, Business Rules, Scheduled Jobs, Fix Scripts, and similar artifacts

Quick Start

Review and implement the standard scripting patterns across your ServiceNow server-side codebase to reduce defects and speed development.

Frequently Asked Questions about servicenow-scripting

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

FAQPage Schema
How do I standardize ServiceNow server-side scripting across Script Includes and Business Rules?

Standardize ServiceNow server-side scripting by enforcing consistent class patterns, naming conventions, error handling, and JSDoc practices across Script Includes and Business Rules to ensure predictable structure and safer implementations.

What are common anti-patterns to avoid in ServiceNow Business Rules?

Common anti-patterns in ServiceNow Business Rules include inconsistent class patterns, poor naming conventions, inadequate error handling, and missing JSDoc, which this standardization approach prevents to ensure maintainable server-side code.

Does this approach work for Scheduled Jobs and Fix Scripts in ServiceNow?

Yes, this standardization approach works for Scheduled Jobs and Fix Scripts in ServiceNow, applying consistent class patterns and error handling guidance across all server-side code artifacts to reduce defects.

How do I add JSDoc to ServiceNow Script Includes?

Add JSDoc to ServiceNow Script Includes by following the standardized coding practices that capture specific requirements for documentation, ensuring consistent and maintainable server-side code structure across your implementation.

Why do I need standardized class patterns for ServiceNow server-side code?

Standardized class patterns for ServiceNow server-side code are needed to solve the lack of consistent practices, ensuring predictable structure and safer implementations that reduce defects and speed development across your codebase.